Test: /ext/standard/tests/streams/bug40459.phpt - Version 5.4.13-dev        

Bug #40459 Stat and Dir stream wrapper methods do not call constructor
Submitted: 2007-02-13 07:01:33 Modified: 2012-08-09 07:13:42
From: clay Assigned: stas
Status: Closed Package: Streams related
PHP Version: 5.2.1 OS: irrelevant

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
001+ stream_open:
002+ Warning: fopen(): test:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug40459.php on line 56
003+
004+ Warning: fopen(test://test): failed to open stream: no suitable wrapper could be found in %s/bug40459.php on line 56
005+
006+ url_stat:
007+ Warning: stat(): stat failed for test://test in %s/bug40459.php on line 60
008+
009+ dir_opendir:
001- stream_open: yes
002- url_stat: yes
003- dir_opendir: yes
004- rmdir: yes
005- mkdir: yes
006- rename: yes
007- unlink: yes
008- touch: yes
009- ==DONE==
010+ Warning: opendir(): test:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug40459.php on line 64
011+
012+ Warning: opendir(test://test): failed to open dir: no suitable wrapper could be found in %s/bug40459.php on line 64
013+
014+ rmdir:
015+ mkdir:
016+ rename:
017+ Warning: rename(): Unable to locate stream wrapper in %s/bug40459.php on line 76
018+
019+ unlink:
020+ Warning: unlink(): Unable to locate stream wrapper in %s/bug40459.php on line 80
021+
022+ touch:
023+ Warning: touch(): Can not call touch() for a non-standard stream in %s/bug40459.php on line 84
024+
025+ ==DONE==