php code for Heredoc and NOWdoc
php code for Heredoc and NOWdoc
Example :
<?php
echo <<<"EOF"
Heredoc representation<br>
Good morning!!!<br>
How are you??<br>
EOF;
echo <<<'NOW'
NOWdoc representation<br>
Good mkorning!!!<br>
How are you??<br>
NOW;
?>
<?php
//print echo("");
?>
Output :
Comments