From: vexal at ifrance dot com Operating system: Win2k PHP version: 5.0.0b4 (beta4) PHP Bug Type: Compile Failure Bug description: unable to go to parent directory with require_once !
Description: ------------ Works with php5b3 but not php5b4. With the require_once statement, it's impossible to go to a parent directory. a fatal error occurs while the compilation. Reproduce code: --------------- file test1.php in directory test1/ : <?php require_once "../test2.php"; echo $hello; ?> file test2.php in the parent directory : <?php $hello="Hello World !"; ?> Expected result: ---------------- compilation ok and print "Hello World !" Actual result: -------------- A fatal error occurs while compilation because it is unable to locate test2.php -- Edit bug report at http://bugs.php.net/?id=27309&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27309&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27309&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=27309&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=27309&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=27309&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=27309&r=needscript Try newer version: http://bugs.php.net/fix.php?id=27309&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=27309&r=support Expected behavior: http://bugs.php.net/fix.php?id=27309&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=27309&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=27309&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=27309&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27309&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=27309&r=dst IIS Stability: http://bugs.php.net/fix.php?id=27309&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=27309&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=27309&r=float