On Apr 30, 2007, at 2:17 PM, Greg Donald wrote:
On 4/30/07, Nick Gorbikoff <ngorbikoff@xxxxxxxxxxxxxxxxx> 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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php