php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46298 Regression to bug 37476
Submitted: 2008-10-15 10:11 UTC Modified: 2008-10-19 14:14 UTC
From: gb10hkzo-phpbugs at yahoo dot co dot uk Assigned:
Status: Not a bug Package: Filesystem function related
PHP Version: 5.2.6 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: gb10hkzo-phpbugs at yahoo dot co dot uk
New email:
PHP Version: OS:

 

 [2008-10-15 10:11 UTC] gb10hkzo-phpbugs at yahoo dot co dot uk
Description:
------------
There appears to have been a regression to bug 37476 which was 
apparently fixed way back in php 4.2 ?

Reproduce code:
---------------
<?php
ini_set('include_path',ini_get('include_path').':lib/php:');
$file = 'test.php';
if (file_exists($file)) {
require ($file);
}
?>

Expected result:
----------------
File lib/php/test.php should be included

Actual result:
--------------
"file not found"

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-10-19 14:14 UTC] jani@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Oct 06 15:01:27 2024 UTC