cvs: php-src /ext/standard/tests/streams bug44712.phpt stream_get_meta_data_dir_basic.phpt stream_get_meta_data_file_basic.phpt
stream_get_meta_data_file_variation1.phpt stream_get_meta_data_file_variation2.phpt stream_get_meta_data_file_variation4.phpt
stream_get_meta_data_file_variation5.phpt stream_get_meta_data_process_basic.phpt stream_get_meta_data_socket_basic.phpt
stream_get_meta_data_socket_variation1.phpt stream_get_meta_data_socket_variation2.phpt stream_get_meta_data_socket_variation3.phpt
stream_get_meta_data_socket_variation4.phpt

From: Date: Tue, 27 May 2008 07:46:51 +0000
Subject: cvs: php-src /ext/standard/tests/streams bug44712.phpt stream_get_meta_data_dir_basic.phpt stream_get_meta_data_file_basic.phpt
stream_get_meta_data_file_variation1.phpt stream_get_meta_data_file_variation2.phpt stream_get_meta_data_file_variation4.phpt
stream_get_meta_data_file_variation5.phpt stream_get_meta_data_process_basic.phpt stream_get_meta_data_socket_basic.phpt
stream_get_meta_data_socket_variation1.phpt stream_get_meta_data_socket_variation2.phpt stream_get_meta_data_socket_variation3.phpt
stream_get_meta_data_socket_variation4.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-50164@lists.php.net to get a copy of this message
sfox Tue May 27 07:46:51 2008 UTC Modified files: /php-src/ext/standard/tests/streams bug44712.phpt stream_get_meta_data_dir_basic.phpt stream_get_meta_data_file_basic.phpt stream_get_meta_data_file_variation1.phpt stream_get_meta_data_file_variation2.phpt stream_get_meta_data_file_variation4.phpt stream_get_meta_data_file_variation5.phpt stream_get_meta_data_process_basic.phpt stream_get_meta_data_socket_basic.phpt stream_get_meta_data_socket_variation1.phpt stream_get_meta_data_socket_variation2.phpt stream_get_meta_data_socket_variation3.phpt stream_get_meta_data_socket_variation4.phpt Log: - killed off UEXPECT

http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/streams/bug44712.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/standard/tests/streams/bug44712.phpt diff -u php-src/ext/standard/tests/streams/bug44712.phpt:1.2 php-src/ext/standard/tests/streams/bug44712.phpt:1.3 --- php-src/ext/standard/tests/streams/bug44712.phpt:1.2 Sun Apr 13 22:40:35 2008 +++ php-src/ext/standard/tests/streams/bug44712.phpt Tue May 27 07:46:51 2008 @@ -7,4 +7,3 @@ ?> --EXPECTF-- Warning: stream_context_set_params(): Invalid stream/context parameter in %sbug44712.php on line %s - http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/streams/stream_get_meta_data_dir_basic.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/streams/stream_get_meta_data_dir_basic.phpt diff -u php-src/ext/standard/tests/streams/stream_get_meta_data_dir_basic.phpt:1.1 php-src/ext/standard/tests/streams/stream_get_meta_data_dir_basic.phpt:1.2 --- php-src/ext/standard/tests/streams/stream_get_meta_data_dir_basic.phpt:1.1 Wed Mar 19 17:38:20 2008 +++ php-src/ext/standard/tests/streams/stream_get_meta_data_dir_basic.phpt Tue May 27 07:46:51 2008 @@ -13,47 +13,6 @@ ?> --EXPECT-- array(9) { - ["wrapper_type"]=> - string(9) "plainfile" - ["stream_type"]=> - string(3) "dir" - ["mode"]=> - string(1) "r" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(true) - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} -array(9) { - ["wrapper_type"]=> - string(9) "plainfile" - ["stream_type"]=> - string(3) "dir" - ["mode"]=> - string(1) "r" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(true) - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} ---UEXPECT-- -array(9) { [u"wrapper_type"]=> unicode(9) "plainfile" [u"stream_type"]=> http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/streams/stream_get_meta_data_file_basic.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/streams/stream_get_meta_data_file_basic.phpt diff -u php-src/ext/standard/tests/streams/stream_get_meta_data_file_basic.phpt:1.1 php-src/ext/standard/tests/streams/stream_get_meta_data_file_basic.phpt:1.2 --- php-src/ext/standard/tests/streams/stream_get_meta_data_file_basic.phpt:1.1 Wed Mar 19 17:38:20 2008 +++ php-src/ext/standard/tests/streams/stream_get_meta_data_file_basic.phpt Tue May 27 07:46:51 2008 @@ -12,29 +12,6 @@ ?> --EXPECTF-- array(10) { - ["wrapper_type"]=> - string(9) "plainfile" - ["stream_type"]=> - string(5) "STDIO" - ["mode"]=> - string(1) "r" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(true) - ["uri"]=> - string(%i) "%sstream_get_meta_data_file_basic.php" - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} ---UEXPECTF-- -array(10) { [u"wrapper_type"]=> unicode(9) "plainfile" [u"stream_type"]=> http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/streams/stream_get_meta_data_file_variation1.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/streams/stream_get_meta_data_file_variation1.phpt diff -u php-src/ext/standard/tests/streams/stream_get_meta_data_file_variation1.phpt:1.1 php-src/ext/standard/tests/streams/stream_get_meta_data_file_variation1.phpt:1.2 --- php-src/ext/standard/tests/streams/stream_get_meta_data_file_variation1.phpt:1.1 Wed Mar 19 17:38:20 2008 +++ php-src/ext/standard/tests/streams/stream_get_meta_data_file_variation1.phpt Tue May 27 07:46:51 2008 @@ -29,535 +29,6 @@ ?> --EXPECTF-- array(10) { - ["wrapper_type"]=> - string(9) "plainfile" - ["stream_type"]=> - string(5) "STDIO" - ["mode"]=> - string(1) "r" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(true) - ["uri"]=> - string(%i) "%s.tmp" - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} -array(10) { - ["wrapper_type"]=> - string(9) "plainfile" - ["stream_type"]=> - string(5) "STDIO" - ["mode"]=> - string(2) "r+" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(true) - ["uri"]=> - string(%i) "%s.tmp" - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} -array(10) { - ["wrapper_type"]=> - string(9) "plainfile" - ["stream_type"]=> - string(5) "STDIO" - ["mode"]=> - string(1) "w" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(true) - ["uri"]=> - string(%i) "%s.tmp" - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} -array(10) { - ["wrapper_type"]=> - string(9) "plainfile" - ["stream_type"]=> - string(5) "STDIO" - ["mode"]=> - string(2) "w+" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(true) - ["uri"]=> - string(%i) "%s.tmp" - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} -array(10) { - ["wrapper_type"]=> - string(9) "plainfile" - ["stream_type"]=> - string(5) "STDIO" - ["mode"]=> - string(1) "a" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(true) - ["uri"]=> - string(%i) "%s.tmp" - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} -array(10) { - ["wrapper_type"]=> - string(9) "plainfile" - ["stream_type"]=> - string(5) "STDIO" - ["mode"]=> - string(2) "a+" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(true) - ["uri"]=> - string(%i) "%s.tmp" - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} -array(10) { - ["wrapper_type"]=> - string(9) "plainfile" - ["stream_type"]=> - string(5) "STDIO" - ["mode"]=> - string(1) "x" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(true) - ["uri"]=> - string(%i) "%s.tmp" - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} -array(10) { - ["wrapper_type"]=> - string(9) "plainfile" - ["stream_type"]=> - string(5) "STDIO" - ["mode"]=> - string(2) "x+" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(true) - ["uri"]=> - string(%i) "%s.tmp" - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} -array(10) { - ["wrapper_type"]=> - string(9) "plainfile" - ["stream_type"]=> - string(5) "STDIO" - ["mode"]=> - string(2) "rb" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(true) - ["uri"]=> - string(%i) "%s.tmp" - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} -array(10) { - ["wrapper_type"]=> - string(9) "plainfile" - ["stream_type"]=> - string(5) "STDIO" - ["mode"]=> - string(3) "rb+" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(true) - ["uri"]=> - string(%i) "%s.tmp" - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} -array(10) { - ["wrapper_type"]=> - string(9) "plainfile" - ["stream_type"]=> - string(5) "STDIO" - ["mode"]=> - string(2) "wb" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(true) - ["uri"]=> - string(%i) "%s.tmp" - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} -array(10) { - ["wrapper_type"]=> - string(9) "plainfile" - ["stream_type"]=> - string(5) "STDIO" - ["mode"]=> - string(3) "wb+" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(true) - ["uri"]=> - string(%i) "%s.tmp" - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} -array(10) { - ["wrapper_type"]=> - string(9) "plainfile" - ["stream_type"]=> - string(5) "STDIO" - ["mode"]=> - string(2) "ab" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(true) - ["uri"]=> - string(%i) "%s.tmp" - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} -array(10) { - ["wrapper_type"]=> - string(9) "plainfile" - ["stream_type"]=> - string(5) "STDIO" - ["mode"]=> - string(3) "ab+" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(true) - ["uri"]=> - string(%i) "%s.tmp" - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} -array(10) { - ["wrapper_type"]=> - string(9) "plainfile" - ["stream_type"]=> - string(5) "STDIO" - ["mode"]=> - string(2) "xb" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(true) - ["uri"]=> - string(%i) "%s.tmp" - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} -array(10) { - ["wrapper_type"]=> - string(9) "plainfile" - ["stream_type"]=> - string(5) "STDIO" - ["mode"]=> - string(3) "xb+" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(true) - ["uri"]=> - string(%i) "%s.tmp" - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} -array(10) { - ["wrapper_type"]=> - string(9) "plainfile" - ["stream_type"]=> - string(5) "STDIO" - ["mode"]=> - string(2) "rt" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(true) - ["uri"]=> - string(%i) "%s.tmp" - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} -array(10) { - ["wrapper_type"]=> - string(9) "plainfile" - ["stream_type"]=> - string(5) "STDIO" - ["mode"]=> - string(3) "rt+" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(true) - ["uri"]=> - string(%i) "%s.tmp" - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} -array(10) { - ["wrapper_type"]=> - string(9) "plainfile" - ["stream_type"]=> - string(5) "STDIO" - ["mode"]=> - string(2) "wt" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(true) - ["uri"]=> - string(%i) "%s.tmp" - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} -array(10) { - ["wrapper_type"]=> - string(9) "plainfile" - ["stream_type"]=> - string(5) "STDIO" - ["mode"]=> - string(3) "wt+" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(true) - ["uri"]=> - string(%i) "%s.tmp" - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} -array(10) { - ["wrapper_type"]=> - string(9) "plainfile" - ["stream_type"]=> - string(5) "STDIO" - ["mode"]=> - string(2) "at" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(true) - ["uri"]=> - string(%i) "%s.tmp" - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} -array(10) { - ["wrapper_type"]=> - string(9) "plainfile" - ["stream_type"]=> - string(5) "STDIO" - ["mode"]=> - string(3) "at+" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(true) - ["uri"]=> - string(%i) "%s.tmp" - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} -array(10) { - ["wrapper_type"]=> - string(9) "plainfile" - ["stream_type"]=> - string(5) "STDIO" - ["mode"]=> - string(2) "xt" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(true) - ["uri"]=> - string(%i) "%s.tmp" - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} -array(10) { - ["wrapper_type"]=> - string(9) "plainfile" - ["stream_type"]=> - string(5) "STDIO" - ["mode"]=> - string(3) "xt+" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(true) - ["uri"]=> - string(%i) "%s.tmp" - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} ---UEXPECTF-- -array(10) { [u"wrapper_type"]=> unicode(9) "plainfile" [u"stream_type"]=> http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/streams/stream_get_meta_data_file_variation2.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/streams/stream_get_meta_data_file_variation2.phpt diff -u php-src/ext/standard/tests/streams/stream_get_meta_data_file_variation2.phpt:1.1 php-src/ext/standard/tests/streams/stream_get_meta_data_file_variation2.phpt:1.2 --- php-src/ext/standard/tests/streams/stream_get_meta_data_file_variation2.phpt:1.1 Wed Mar 19 17:38:20 2008 +++ php-src/ext/standard/tests/streams/stream_get_meta_data_file_variation2.phpt Tue May 27 07:46:51 2008 @@ -42,107 +42,6 @@ ?> --EXPECTF-- Write some data to the file: -array(10) { - ["wrapper_type"]=> - string(9) "plainfile" - ["stream_type"]=> - string(5) "STDIO" - ["mode"]=> - string(2) "w+" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(true) - ["uri"]=> - string(%i) "%s.tmp" - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} - - -Read a line of the file, causing data to be buffered: -string(15) "a line of data -" -array(10) { - ["wrapper_type"]=> - string(9) "plainfile" - ["stream_type"]=> - string(5) "STDIO" - ["mode"]=> - string(2) "w+" - ["unread_bytes"]=> - int(285) - ["unread_chars"]=> - int(285) - ["seekable"]=> - bool(true) - ["uri"]=> - string(%i) "%s.tmp" - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} - - -Read 20 bytes from the file: -array(10) { - ["wrapper_type"]=> - string(9) "plainfile" - ["stream_type"]=> - string(5) "STDIO" - ["mode"]=> - string(2) "w+" - ["unread_bytes"]=> - int(265) - ["unread_chars"]=> - int(265) - ["seekable"]=> - bool(true) - ["uri"]=> - string(%i) "%s.tmp" - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} - - -Read entire file: -array(10) { - ["wrapper_type"]=> - string(9) "plainfile" - ["stream_type"]=> - string(5) "STDIO" - ["mode"]=> - string(2) "w+" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(true) - ["uri"]=> - string(%i) "%s.tmp" - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(true) -} ---UEXPECTF-- -Write some data to the file: Notice: fwrite(): 15 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/streams/stream_get_meta_data_file_variation4.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/streams/stream_get_meta_data_file_variation4.phpt diff -u php-src/ext/standard/tests/streams/stream_get_meta_data_file_variation4.phpt:1.1 php-src/ext/standard/tests/streams/stream_get_meta_data_file_variation4.phpt:1.2 --- php-src/ext/standard/tests/streams/stream_get_meta_data_file_variation4.phpt:1.1 Wed Mar 19 17:38:20 2008 +++ php-src/ext/standard/tests/streams/stream_get_meta_data_file_variation4.phpt Tue May 27 07:46:51 2008 @@ -28,54 +28,6 @@ --EXPECTF-- Create a file: array(10) { - ["wrapper_type"]=> - string(9) "plainfile" - ["stream_type"]=> - string(5) "STDIO" - ["mode"]=> - string(2) "w+" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(true) - ["uri"]=> - string(%i) "File://%sstream_get_meta_data_file_variation4.php.tmp" - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} - -Change to file's directory and open with a relative path: -array(10) { - ["wrapper_type"]=> - string(9) "plainfile" - ["stream_type"]=> - string(5) "STDIO" - ["mode"]=> - string(1) "r" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(true) - ["uri"]=> - string(%i) "stream_get_meta_data_file_variation4.php.tmp" - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} ---UEXPECTF-- -Create a file: -array(10) { [u"wrapper_type"]=> unicode(9) "plainfile" [u"stream_type"]=> http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/streams/stream_get_meta_data_file_variation5.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/streams/stream_get_meta_data_file_variation5.phpt diff -u php-src/ext/standard/tests/streams/stream_get_meta_data_file_variation5.phpt:1.1 php-src/ext/standard/tests/streams/stream_get_meta_data_file_variation5.phpt:1.2 --- php-src/ext/standard/tests/streams/stream_get_meta_data_file_variation5.phpt:1.1 Wed Mar 19 17:38:20 2008 +++ php-src/ext/standard/tests/streams/stream_get_meta_data_file_variation5.phpt Tue May 27 07:46:51 2008 @@ -32,55 +32,6 @@ ?> --EXPECTF-- Write some data to the file: -array(10) { - ["wrapper_type"]=> - string(9) "plainfile" - ["stream_type"]=> - string(5) "STDIO" - ["mode"]=> - string(2) "w+" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(true) - ["uri"]=> - string(%i) "%s" - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} - - -Read entire file: -array(10) { - ["wrapper_type"]=> - string(9) "plainfile" - ["stream_type"]=> - string(5) "STDIO" - ["mode"]=> - string(2) "w+" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(true) - ["uri"]=> - string(%i) "%s" - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(true) -} ---UEXPECTF-- -Write some data to the file: Notice: fwrite(): 15 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/streams/stream_get_meta_data_process_basic.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/streams/stream_get_meta_data_process_basic.phpt diff -u php-src/ext/standard/tests/streams/stream_get_meta_data_process_basic.phpt:1.1 php-src/ext/standard/tests/streams/stream_get_meta_data_process_basic.phpt:1.2 --- php-src/ext/standard/tests/streams/stream_get_meta_data_process_basic.phpt:1.1 Wed Mar 19 17:38:20 2008 +++ php-src/ext/standard/tests/streams/stream_get_meta_data_process_basic.phpt Tue May 27 07:46:51 2008 @@ -18,26 +18,6 @@ ?> --EXPECT-- array(8) { - ["stream_type"]=> - string(5) "STDIO" - ["mode"]=> - string(2) "rb" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(false) - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} -Done ---UEXPECT-- -array(8) { [u"stream_type"]=> unicode(5) "STDIO" [u"mode"]=> @@ -55,4 +35,4 @@ [u"eof"]=> bool(false) } -Done \ No newline at end of file +Done http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/streams/stream_get_meta_data_socket_basic.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/streams/stream_get_meta_data_socket_basic.phpt diff -u php-src/ext/standard/tests/streams/stream_get_meta_data_socket_basic.phpt:1.3 php-src/ext/standard/tests/streams/stream_get_meta_data_socket_basic.phpt:1.4 --- php-src/ext/standard/tests/streams/stream_get_meta_data_socket_basic.phpt:1.3 Thu Mar 20 12:13:57 2008 +++ php-src/ext/standard/tests/streams/stream_get_meta_data_socket_basic.phpt Tue May 27 07:46:51 2008 @@ -10,25 +10,6 @@ ?> --EXPECTF-- array(8) { - ["stream_type"]=> - string(%d) "tcp_socke%s" - ["mode"]=> - string(2) "r+" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(false) - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} ---UEXPECTF-- -array(8) { [u"stream_type"]=> unicode(%d) "tcp_socke%s" [u"mode"]=> http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/streams/stream_get_meta_data_socket_variation1.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/streams/stream_get_meta_data_socket_variation1.phpt diff -u php-src/ext/standard/tests/streams/stream_get_meta_data_socket_variation1.phpt:1.3 php-src/ext/standard/tests/streams/stream_get_meta_data_socket_variation1.phpt:1.4 --- php-src/ext/standard/tests/streams/stream_get_meta_data_socket_variation1.phpt:1.3 Thu Mar 20 12:13:57 2008 +++ php-src/ext/standard/tests/streams/stream_get_meta_data_socket_variation1.phpt Tue May 27 07:46:51 2008 @@ -35,89 +35,6 @@ ?> --EXPECTF-- Write some data: -array(8) { - ["stream_type"]=> - string(%d) "tcp_socke%s" - ["mode"]=> - string(2) "r+" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(false) - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} - - -Read a line from the client, causing data to be buffered: -array(8) { - ["stream_type"]=> - string(%d) "tcp_socke%s" - ["mode"]=> - string(2) "r+" - ["unread_bytes"]=> - int(15) - ["unread_chars"]=> - int(15) - ["seekable"]=> - bool(false) - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} - - -Read 3 bytes of data from the client: -array(8) { - ["stream_type"]=> - string(%d) "tcp_socke%s" - ["mode"]=> - string(2) "r+" - ["unread_bytes"]=> - int(12) - ["unread_chars"]=> - int(12) - ["seekable"]=> - bool(false) - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} - - -Close the server side socket and read the remaining data from the client: -array(8) { - ["stream_type"]=> - string(%d) "tcp_socke%s" - ["mode"]=> - string(2) "r+" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(false) - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(true) -} ---UEXPECTF-- -Write some data: Notice: fwrite(): 23 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d array(8) { http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/streams/stream_get_meta_data_socket_variation2.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/streams/stream_get_meta_data_socket_variation2.phpt diff -u php-src/ext/standard/tests/streams/stream_get_meta_data_socket_variation2.phpt:1.3 php-src/ext/standard/tests/streams/stream_get_meta_data_socket_variation2.phpt:1.4 --- php-src/ext/standard/tests/streams/stream_get_meta_data_socket_variation2.phpt:1.3 Thu Mar 20 12:13:57 2008 +++ php-src/ext/standard/tests/streams/stream_get_meta_data_socket_variation2.phpt Tue May 27 07:46:51 2008 @@ -34,88 +34,6 @@ ?> --EXPECTF-- array(8) { - ["stream_type"]=> - string(%d) "tcp_socke%s" - ["mode"]=> - string(2) "r+" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(false) - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} - - -Set a timeout on the client and attempt a read: -array(8) { - ["stream_type"]=> - string(%d) "tcp_socke%s" - ["mode"]=> - string(2) "r+" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(false) - ["timed_out"]=> - bool(true) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} - - -Write some data from the server: -array(8) { - ["stream_type"]=> - string(%d) "tcp_socke%s" - ["mode"]=> - string(2) "r+" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(false) - ["timed_out"]=> - bool(true) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} - - -Read some data from the client: -array(8) { - ["stream_type"]=> - string(%d) "tcp_socke%s" - ["mode"]=> - string(2) "r+" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(false) - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} ---UEXPECTF-- -array(8) { [u"stream_type"]=> unicode(%d) "tcp_socke%s" [u"mode"]=> http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/streams/stream_get_meta_data_socket_variation3.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/streams/stream_get_meta_data_socket_variation3.phpt diff -u php-src/ext/standard/tests/streams/stream_get_meta_data_socket_variation3.phpt:1.3 php-src/ext/standard/tests/streams/stream_get_meta_data_socket_variation3.phpt:1.4 --- php-src/ext/standard/tests/streams/stream_get_meta_data_socket_variation3.phpt:1.3 Thu Mar 20 12:13:57 2008 +++ php-src/ext/standard/tests/streams/stream_get_meta_data_socket_variation3.phpt Tue May 27 07:46:51 2008 @@ -29,69 +29,6 @@ ?> --EXPECTF-- array(8) { - ["stream_type"]=> - string(%d) "tcp_socke%s" - ["mode"]=> - string(2) "r+" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(false) - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} - - -Set blocking to false: -bool(true) -array(8) { - ["stream_type"]=> - string(%d) "tcp_socke%s" - ["mode"]=> - string(2) "r+" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(false) - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(false) - ["eof"]=> - bool(false) -} - - -Set blocking to true: -bool(true) -array(8) { - ["stream_type"]=> - string(%d) "tcp_socke%s" - ["mode"]=> - string(2) "r+" - ["unread_bytes"]=> - int(0) - ["unread_chars"]=> - int(0) - ["seekable"]=> - bool(false) - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} ---UEXPECTF-- -array(8) { [u"stream_type"]=> unicode(%d) "tcp_socke%s" [u"mode"]=> http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/streams/stream_get_meta_data_socket_variation4.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/standard/tests/streams/stream_get_meta_data_socket_variation4.phpt diff -u php-src/ext/standard/tests/streams/stream_get_meta_data_socket_variation4.phpt:1.2 php-src/ext/standard/tests/streams/stream_get_meta_data_socket_variation4.phpt:1.3 --- php-src/ext/standard/tests/streams/stream_get_meta_data_socket_variation4.phpt:1.2 Thu Mar 20 08:35:11 2008 +++ php-src/ext/standard/tests/streams/stream_get_meta_data_socket_variation4.phpt Tue May 27 07:46:51 2008 @@ -33,68 +33,6 @@ ?> --EXPECTF-- Write some data: -array(8) { - ["stream_type"]=> - string(%d) "tcp_socke%s" - ["mode"]=> - string(2) "r+" - ["unread_bytes"]=> - int(%i) - ["unread_chars"]=> - int(%i) - ["seekable"]=> - bool(false) - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} - - -Read a line from the client: -array(8) { - ["stream_type"]=> - string(%d) "tcp_socke%s" - ["mode"]=> - string(2) "r+" - ["unread_bytes"]=> - int(%i) - ["unread_chars"]=> - int(%i) - ["seekable"]=> - bool(false) - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(false) -} - - -Close the server side socket and read the remaining data from the client: -array(8) { - ["stream_type"]=> - string(%d) "tcp_socke%s" - ["mode"]=> - string(2) "r+" - ["unread_bytes"]=> - int(%i) - ["unread_chars"]=> - int(%i) - ["seekable"]=> - bool(false) - ["timed_out"]=> - bool(false) - ["blocked"]=> - bool(true) - ["eof"]=> - bool(true) -} ---UEXPECTF-- -Write some data: Notice: fwrite(): 23 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d array(8) {
« previous php.cvs (#50164) next »