ID:               27309
 User updated by:  vexal at ifrance dot com
 Reported By:      vexal at ifrance dot com
-Status:           Feedback
+Status:           Closed
 Bug Type:         Zend Engine 2 problem
 Operating System: win32 only
 PHP Version:      5.0.0b4 (beta4)
 New Comment:

thank you, it's ok now :)


Previous Comments:
------------------------------------------------------------------------

[2004-02-18 11:50:19] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip



------------------------------------------------------------------------

[2004-02-18 06:14:26] vexal at ifrance dot com

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 this bug report at http://bugs.php.net/?id=27309&edit=1

Reply via email to