note 79502 added to function.token-get-all
| From: | smp_info at yahoo dot com | Date: | Fri, 30 Nov 2007 14:50:32 +0000 |
| Subject: | note 79502 added to function.token-get-all | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-132694@lists.php.net to get a copy of this message | ||
As far as I am aware, there is no way to tell if the source code passed is free of parse errors.
You might come across such a situation when you're using PHP to analyze PHP source code.
In a case like this.. You'll get a warning similar to (but varying) Warning: Unexpected
character in input: ''' (ASCII=39) state=1
If it doesn't matter to you that the source is free of parse errors, use
@token_get_all($source) to suppress the error.
----
Server IP: 208.69.120.35
Probable Submitter: 65.29.86.162
----
Manual Page -- http://www.php.net/manual/en/function.token-get-all.php
Edit -- https://master.php.net/note/edit/79502
Del: integrated -- https://master.php.net/note/delete/79502/integrated
Del: useless -- https://master.php.net/note/delete/79502/useless
Del: bad code -- https://master.php.net/note/delete/79502/bad+code
Del: spam -- https://master.php.net/note/delete/79502/spam
Del: non-english -- https://master.php.net/note/delete/79502/non-english
Del: in docs -- https://master.php.net/note/delete/79502/in+docs
Del: other reasons-- https://master.php.net/note/delete/79502
Reject -- https://master.php.net/note/reject/79502
Search -- https://master.php.net/manage/user-notes.php