ID: 40459 Updated by: [EMAIL PROTECTED] 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