Bug #52769 [Opn]: realpath not working inside phar
| From: | felipe@php.net | Date: | Tue, 15 Nov 2011 16:01:06 +0000 |
| Subject: | Bug #52769 [Opn]: realpath not working inside phar | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-165172@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=52769&edit=1
ID: 52769
Updated by: felipe@php.net
Reported by: miha dot vrhovnik at domenca dot com
Summary: realpath not working inside phar
Status: Open
Type: Bug
Package: PHAR related
Operating System: any
PHP Version: 5.3.3
Block user comment: N
Private report: N
New Comment:
Probably related to bug #51806
Previous Comments:
------------------------------------------------------------------------
[2010-09-03 12:45:51] miha dot vrhovnik at domenca dot com
Description:
------------
When you run a realpath returns false when run on phar paths.
Test script:
---------------
put a test script inside \foo\bar\test.php
and create a phar where \bar\test.php is inisde it
run created phar..
<?php
echo (realpath(dirname(__FILE__) . '/../'));
Expected result:
----------------
see the full path
Actual result:
--------------
nothing
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=52769&edit=1