farkewie Posted December 10, 2007 Share Posted December 10, 2007 can anyone tell me what this code means and how to use it? or the general rules of it? i noticed you dont seem to need to add slashes to quotes? echo <<<EOA why dont people just use this all the time if you dont need to comment anything out? i have looked at the manual and google cant really see anything? thanks Quote Link to comment https://forums.phpfreaks.com/topic/80976-echo/ Share on other sites More sharing options...
rajivgonsalves Posted December 10, 2007 Share Posted December 10, 2007 its the heredoc string type see more at http://php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc Quote Link to comment https://forums.phpfreaks.com/topic/80976-echo/#findComment-410801 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.