Code accross multiple lines (PHP)
Naar navigatie springen
Naar zoeken springen
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Ja dus. En je hebt er geen speciale tekens voor nodig (zoals " \" of zoiets in Bash)
<?php # # Test if commands can span multiple lines ########################################## # echo "\n\n". "Here is the first line. ". "Here is the second line. ". # So much emptiness! "Here is the third line.\n\n";
Output:
strompf@dell2016$ php -f 04.php Here is the first line. Here is the second line. Here is the third line. strompf@dell2016$