ID: 32881
Updated by: [EMAIL PROTECTED]
Reported By: zapco dot bo197_php at gadz dot org
-Status: Bogus
+Status: Wont fix
-Bug Type: Unknown/Other Function
+Bug Type: *General Issues
Operating System: windows XP
PHP Version: 5.0.4
New Comment:
php_check_syntax() will be removed in next PHP versions due to the fact
that it can't be made reliable/stable, ever.
So plain and simple: Do not use it. It's dangerous.
Use something like 'system("php -l foo.php");' to check the syntax..
Previous Comments:
------------------------------------------------------------------------
[2005-04-29 01:38:51] [EMAIL PROTECTED]
php_check_syntax() function is removed as of PHP 5.0.5
------------------------------------------------------------------------
[2005-04-29 01:12:51] zapco dot bo197_php at gadz dot org
Description:
------------
I have some problems with the function php_check_syntax, require_once
and ReflectionClass.
when I use the script at this page : http://zapco.free.fr/bug.txt , I
don't know if the included file (fichier_a.php or fichier_b.php in my
exemple) herite or not from an other class, so index_x.php haven't the
same result if the class in file used herite or not from an other
class.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32881&edit=1