#40459 [Opn->Asn]: Stat and Dir stream wrapper methods do not call constructor
| From: | tony2001@php.net | Date: | Tue, 13 Feb 2007 09:19:50 +0000 |
| Subject: | #40459 [Opn->Asn]: Stat and Dir stream wrapper methods do not call constructor | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-108788@lists.php.net to get a copy of this message | ||
ID: 40459
Updated by: tony2001@php.net
Reported By: clay at killersoft dot com
-Status: Open
+Status: Assigned
Bug Type: Streams related
Operating System: irrelevant
PHP Version: 5.2.1
-Assigned To:
+Assigned To: wez
Previous Comments:
------------------------------------------------------------------------
[2007-02-13 07:01:33] clay at killersoft dot com
Description:
------------
The following methods in a userspace stream wrapper will not call the
constructor:
url_stat()
dir_opendir()
rmdir()
mkdir()
rename()
unlink()
Reproduce code:
---------------
http://killersoft.com/misc/Test_Stream.php.txt
Expected result:
----------------
Any time a line of output beginning with '== [method] CALLED' appears,
that line should contain an 'obj: ' value with a uniqid value,
indicating that the constructor was called.
Actual result:
--------------
== dir_opendir METHOD CALLED (obj: ) ==
...
== dir_readdir METHOD CALLED (obj: ) ==
...
== dir_closedir METHOD CALLED (obj: ) ==
...
== url_stat METHOD CALLED (obj: ) ==
...
== mkdir METHOD CALLED (obj: ) ==
...
== rmdir METHOD CALLED (obj: ) ==
...
== unlink METHOD CALLED (obj: ) ==
...
== rename METHOD CALLED (obj: ) ==
...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40459&edit=1