drewbee Posted April 18, 2008 Share Posted April 18, 2008 Everyone, I have been trying to explain to someone how to use the >>> code, but I have not used it in a long time and my syntax is off slightly. What are these called? I have been looking around for the name of it... but obviously searching google for ">>>" doesn't really help to much. These are called ........ blocks... ? echo BLAH>>> my text BLAH; Link to comment https://forums.phpfreaks.com/topic/101756-what-is-it-called-when-you-blocks-of-code/ Share on other sites More sharing options...
jonsjava Posted April 18, 2008 Share Posted April 18, 2008 you mean echo <<<END /* Code goes here */ END; ? it's called echo end Link to comment https://forums.phpfreaks.com/topic/101756-what-is-it-called-when-you-blocks-of-code/#findComment-520599 Share on other sites More sharing options...
phpretard Posted April 18, 2008 Share Posted April 18, 2008 <!-- do you mean this --> Link to comment https://forums.phpfreaks.com/topic/101756-what-is-it-called-when-you-blocks-of-code/#findComment-520600 Share on other sites More sharing options...
drewbee Posted April 18, 2008 Author Share Posted April 18, 2008 jonsjava Yes --- what are they called? php, thoes are html comments :x Link to comment https://forums.phpfreaks.com/topic/101756-what-is-it-called-when-you-blocks-of-code/#findComment-520602 Share on other sites More sharing options...
Barand Posted April 18, 2008 Share Posted April 18, 2008 "heredoc" syntax Link to comment https://forums.phpfreaks.com/topic/101756-what-is-it-called-when-you-blocks-of-code/#findComment-520604 Share on other sites More sharing options...
drewbee Posted April 18, 2008 Author Share Posted April 18, 2008 Thanks Barand. I have the hardest time remembering that name for some reason! Link to comment https://forums.phpfreaks.com/topic/101756-what-is-it-called-when-you-blocks-of-code/#findComment-520605 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.