php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #24137 A small problem for refering file.
Submitted: 2003-06-11 16:33 UTC Modified: 2003-06-11 17:09 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: ncsoft at go dot ro Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 4.3.1 OS: Windows
Private report: No CVE-ID: None
 [2003-06-11 16:33 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-11 17:09 UTC] sniper@php.net
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'..

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC