Print out heredoc in PHP
Description
The following code shows how to print out heredoc.
Example
<?php/*ww w .ja v a 2 s .c o m*/
print <<< HERE
line 1
line 2
line 3
HERE;
?>
The code above generates the following result.
The following code shows how to print out heredoc.
<?php/*ww w .ja v a 2 s .c o m*/
print <<< HERE
line 1
line 2
line 3
HERE;
?>
The code above generates the following result.