Explanation of parse errors
| From: | Sander Roobol | Date: | Mon, 01 Apr 2002 17:52:09 +0000 |
| Subject: | Explanation of parse errors | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969343917@lists.php.net to get a copy of this message | ||
Hello,
Various parts of the PHP language are represented internally by stuff like T_SR. PHP outputs identifiers like this one in parse errors, like "Parse error: unexpected T_SR, expecting ',' or ';' in script.php on line 10."
You're supposed to know that T_SR means >>. For everybody who doesn't know that, I've made table with those identifiers, PHP-syntax and references to the appropriate places in the manual.
I've experienced some difficulties adding the section to the manual, so I would appreciate it if anyone could give me a hand with that.
I think it should be in the manual as an appendix, but if you don't agree with me, speak now or forever hold your peace ;)
For the curious, I've attached the XML-file.
Sander
Attachment: [application/x-gzip] parseerrors.xml.gz
Attachment: [application/x-gzip] parseerrors.xml.gz