note 82780 added to function.php-check-syntax
| From: | alx at inbox dot lv | Date: | Fri, 25 Apr 2008 11:20:38 +0000 |
| Subject: | note 82780 added to function.php-check-syntax | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-138768@lists.php.net to get a copy of this message | ||
2: kevin at metalaxe dot com
Hm.. i think your function didnt work...
try this:
$php = 'asfvsd <? echo \'\'aaa\'; ?> asvsdgb';
checkEval( $php );
it returns actual error... from eval(); and not expected array..
but i liked the idea about return after function.. and pattern of error, thanx :) I will complete my
function
----
Server IP: 212.47.220.13
Probable Submitter: 88.196.124.149
----
Manual Page -- http://www.php.net/manual/en/function.php-check-syntax.php
Edit -- https://master.php.net/note/edit/82780
Del: integrated -- https://master.php.net/note/delete/82780/integrated
Del: useless -- https://master.php.net/note/delete/82780/useless
Del: bad code -- https://master.php.net/note/delete/82780/bad+code
Del: spam -- https://master.php.net/note/delete/82780/spam
Del: non-english -- https://master.php.net/note/delete/82780/non-english
Del: in docs -- https://master.php.net/note/delete/82780/in+docs
Del: other reasons-- https://master.php.net/note/delete/82780
Reject -- https://master.php.net/note/reject/82780
Search -- https://master.php.net/manage/user-notes.php