php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32881 php_check_syntax / require_once
Submitted: 2005-04-29 01:12 UTC Modified: 2005-04-29 01:43 UTC
From: zapco dot bo197_php at gadz dot org Assigned:
Status: Wont fix Package: *General Issues
PHP Version: 5.0.4 OS: windows XP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: zapco dot bo197_php at gadz dot org
New email:
PHP Version: OS:

 

 [2005-04-29 01:12 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-04-29 01:38 UTC] iliaa@php.net
php_check_syntax() function is removed as of PHP 5.0.5
 [2005-04-29 01:43 UTC] sniper@php.net
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..

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 00:01:32 2024 UTC