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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ncsoft at go dot ro
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Thu Apr 18 09:01:27 2024 UTC