note 104320 added to phar.using.stream
| From: | staff at pro-unreal dot de | Date: | Thu, 09 Jun 2011 05:52:04 +0000 |
| Subject: | note 104320 added to phar.using.stream | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-180345@lists.php.net to get a copy of this message | ||
Please note that the phar stream wrapper does not work with any glob.
When you decide to move your project to phar archives you need to consider this.
The following won't work:
<?php
glob('phar://some.phar/*');
new DirectoryIterator('glob://phar://some.phar/*');
?>
While the following will work:
<?php
new DirectoryIterator('phar://some.phar/');
?>
----
Server IP: 69.147.83.197
Probable Submitter: 79.243.77.12
----
Manual Page -- http://www.php.net/manual/en/phar.using.stream.php
Edit -- https://master.php.net/note/edit/104320
Del: integrated -- https://master.php.net/note/delete/104320/integrated
Del: useless -- https://master.php.net/note/delete/104320/useless
Del: bad code -- https://master.php.net/note/delete/104320/bad+code
Del: spam -- https://master.php.net/note/delete/104320/spam
Del: non-english -- https://master.php.net/note/delete/104320/non-english
Del: in docs -- https://master.php.net/note/delete/104320/in+docs
Del: other reasons-- https://master.php.net/note/delete/104320
Reject -- https://master.php.net/note/reject/104320
Search -- https://master.php.net/manage/user-notes.php