More here documents : here document « String « PHP






More here documents

 
<?
print <<< PARSLEY
line 1:
line
line
line
PARSLEY;

print <<< DOGS
line
line!
DOGS;
?>
  
  








Related examples in the same category

1.Concatenation with a here document
2.Interpolating in a here document
3.Defining a here document
4.Printing HTML with a here document