Can I write PHP code across multiple lines per statement?



PHP Snippet 1:

mysql_select_db(
    'my_dbase', 
    // don't call mysql_connect here!!!
    mysql_connect( 
        'localhost', 
        'mysql_user', 
        'mysql_password'
    )
);

PHP Snippet 2:

$conn = mysql_connect( 
        'localhost', 
        'mysql_user', 
        'mysql_password'
) or die( mysql_error() );

mysql_select_db(
    'my_dbase', 
    $conn // optional parameter, but useful nonetheless.
);

PHP Snippet 3:

$someText = " blah blah blah ".
"some more blah blah blah";

PHP Snippet 4:

$str = <<<EOF

   You can put whatever <p>text</p>. <b>you want to put</b> 
in here, for as
many lines as you want ()I)(#*$)#*($)#

EOF;