I know in C++ when you do a loop or if statement or something the brackes {} are not necessary if you only need to execute one statement inside the block that is looping or being IFed.
Is this true with PHP? I know this is a dumb question, but I just want to make sure.
Examples:
if( $iamsmart == "true")
{
conquertheworld();
}
for( $i = 0; $i < 10; $i++)
{
print " $i \n ";
}
is the same as
if( $iamsmart == "true")
conquertheworld();
for( $i = 0; $i < 10; $i++)
print " $i \n ";