Re: What does "<<<" mean?

From: Date: Mon, 30 Apr 2007 22:38:46 +0000
Subject: Re: What does "<<<" mean?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-254164@lists.php.net to get a copy of this message
On Apr 30, 2007, at 2:17 PM, Greg Donald wrote:
On 4/30/07, Nick Gorbikoff <ngorbikoff@initialplants.com> wrote:
Hello, folks. I rember I've since this somewhere in perl and it has somethign to do with blocks of code. I came across the same thing in some PHP code. <<< END ....some code.... END What exactly does it mean. BTW: PHP .net search breaks if you search for <<<
It's heredoc syntax. http://us2.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc
Ok, let's gather some stats to see how many people actually use the heredoc syntax. I created this quick little form to gather the data. It's takes 2 seconds (literally) - vote here: http://thril.uark.edu/heredoc/ I'm interested in knowing if this is used a lot. If it is, then I may consider tying it into my code (if it calls for it). ~Philip

« previous php.general (#254164) next »