Thread: What is <<<
View Single Post
Old 04-24-2008, 08:39 PM   #17 (permalink)
Salathe
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
Salathe is on a distinguished road
Default

It's accepted that the Heredoc identifier be all uppercase alphabetical characters, that's the convention. The rules for naming the identifier are the same as for any other label in PHP (like naming a variable): it can only contain alphanumeric characters or the underscore, with the first character being either alphabetical or underscore (ie, no numbers at the beginning).
Salathe is offline  
Reply With Quote