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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Mon Jul 08 20:01:30 2024 UTC