|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58743 interceptFileFuncs does not work with mount
Submitted: 2009-06-30 20:56 UTC Modified: -
From: mail at ic-gallery dot com Assigned:
Status: Open Package: phar (PECL)
PHP Version: 5.3.0RC4 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
21 + 41 = ?
Subscribe to this entry?

 [2009-06-30 20:56 UTC] mail at ic-gallery dot com
If you use Phar::mount to mount a directory, is_dir() will return false for the mounted directory.

Using PHP 5.3.0 final.

Reproduce code:
Stub contains:

Phar::mount('albums/', '/home/nibbler/public_html/phar/data/albums/');

Application contains:


Expected result:
returns true

Actual result:
returns false


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Oct 20 01:01:23 2020 UTC