ID: 9387
Updated by: torben
Old-Status: Bogus
Status: Open
Bug Type: Feature/Change Request
Assigned To: 

The doc part is taken care of, I'm reopening in case someone wants to present
a really good solution. :)

Previous Comments:

[2001-02-21 17:38:07] [EMAIL PROTECTED]
This is not a bug. Check the third sentence below, from the PHP Manual at

 Another way to delimit strings is by using here doc syntax ("<<<"). One should 
 provide an identifier after <<<, then the string, and then the same identifier to 
 close the quotation. The closing identifier must begin in the first column of the 
 line. The label used must follow the same naming rules as any other label in PHP: 
 it must contain only alphanumeric characters and underscores, and must start with 
 a non-digit character or underscore. 


[2001-02-21 17:21:34] [EMAIL PROTECTED]
When you are using doc string quoting or something, php doesn't recognize the thing 
that stops it if indented at all or something.  There are two examples to illistrate 
my point:

echo <<<BARFY
This is a good example.
It works perfectly.

echo <<<BARFY
This is a bad example.
It fails miserably.
Note the space before BARFY.

Maybe this is a bug, maybe it is a feature.  I don't know, but please fix it or make 
note of it in the manual.  Thanks.


ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to