Original Post
Hi, I have a little question about a fragment of PHP I found on the net. Please don't bash me for not doing proper research, but I have a deadline to meet this evening and can't spend much time on language details, so here goes... $dir = ( $path { strlen( $path ) - 1 } == '/' ) ? substr( $path, 0, strlen( $path ) - 1 ) : dirname( $path ); What's that syntax element called where a variable ($path) is followed with a set of braces {}? Is it an index? Sorry for the dumb question, I'm a PHP newbie.