PHP More Here Documents – String Function

<?
print <<< PARSLEY
line 1:
line
line
line
PARSLEY;print <<< DOGS
line
line!
DOGS;
?>

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.