#24137 [Opn->Bgs]: A small problem for refering file.
ID: 24137
Updated by: sniper@php.net
Reported By: ncsoft at go dot ro
-Status: Open
+Status: Bogus
Bug Type: Feature/Change Request
Operating System: Windows
PHP Version: 4.3.1
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
You really need to read the manual and/or some basic
tutorial before reporting any 'bugs'..
Previous Comments:
------------------------------------------------------------------------
[2003-06-11 16:33:53] ncsoft at go dot ro
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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24137&edit=1
Thread (2 messages)