php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56451 bcmpiler include_path
Submitted: 2005-07-12 04:15 UTC Modified: 2005-07-18 11:43 UTC
From: llabatut at mobivillage dot com Assigned: val (profile)
Status: Closed Package: bcompiler (PECL)
PHP Version: 4.3.10 OS: linux
Private report: No CVE-ID: None
 [2005-07-12 04:15 UTC] llabatut at mobivillage dot com
Description:
------------
bcompiler version  0.6s  
current bytecode version  0.5  
can parse bytecode version  0.3, 0.5  


require and include need complete path


Reproduce code:
---------------
#index.php
<?
require('data/a.php');
?>

#data/a.php
<?
require('b.php');
?>



Expected result:
----------------
nothing

Actual result:
--------------
Warning: main(b.php) [function.main]: failed to open stream: No such file or directory in /www/data/a.php on line 2

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-07-18 11:43 UTC] val@php.net
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 13:01:31 2024 UTC