Monday, April 4, 2016

PHP heredoc

<?php
$str="<h1>molto bene</h1>";
$var = <<<HERE
saasd
asdasdasd'
sadasd
$str
HERE;
echo $h;
?>

No comments:

Post a Comment