Answers for "php getting double quotation marks at the end of heredoc"

PHP
5

php heredoc

$output = <<<HTML
	<p>Lorem ipsum dolor sit amet consectetur<p>
	<a href="{$foobar}">click here</a>
HTML;
Posted by: Guest on March-13-2020
1

heredoc php

$str = <<<MYTEXT
This is a
demo message
with heredoc.
MYTEXT;
 
echo $str;
Posted by: Guest on December-17-2020

Code answers related to "php getting double quotation marks at the end of heredoc"

Browse Popular Code Answers by Language