ID: 40459 Updated by: [EMAIL PROTECTED] Reported By: clay at killersoft dot com -Status: Assigned +Status: Feedback Bug Type: Streams related Operating System: irrelevant PHP Version: 5.2.1 Assigned To: wez New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.2-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.2-win32-installer-latest.msi 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
