|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-06-11 17:09 UTC] sniper@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 19 04:00:01 2025 UTC |
Description: ------------ //x.php located in / $is=file_exists("y.php"/*located in / too*/); //y.php located in /dir/ echo $is; it shows 0 . all file addresses should be ralated to their first parent . so the file_exists even if called in y.php in /dir/ should see that it`s included from / and search it there . and another problem listed in code section . Reproduce code: --------------- <? $x="xxxxxxxxxx"; function y() { echo $x; } y(); //shows nothing ?> Expected result: ---------------- xxxxxxxxxx