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

Add a Patch

Pull Requests

Add a Pull Request

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-2021 The PHP Group
All rights reserved.
Last updated: Mon Dec 06 21:03:34 2021 UTC