Answers for "PHP echo multi lines Using Heredoc variable"

0

PHP echo multi lines Using Heredoc variable

<?php
//Heredoc variable
$var=<<<EOD
We
\tWelcome
You
On
Our
Softhunt
Website
EOD;
echo $var;
?>
Posted by: Guest on December-29-2021

Python Answers by Framework

Browse Popular Code Answers by Language