string show error | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

string show error

hi i will creat heredoc string problem but it showing error my sorce code is <?php $string = <<<TEST I am vinay? how are you! TEST; echo $string; ?> Why i wil face error ?

29th Aug 2016, 1:38 AM
vinay
vinay - avatar
1 Answer
+ 1
Use double cautions or sing cautions. They are now consider as Constants
4th Sep 2016, 12:37 PM
Vishal Prajapati