Test: /ext/openssl/tests/bug72333.phpt - Version 7.4.14        

Bug #72333 fwrite() on non-blocking SSL sockets doesn't work
Submitted: 2016-06-04 09:45:18 Modified: 2017-03-14 18:16:57
From: webmaster_20160604 Assigned: bukka
Status: Closed Package: OpenSSL related
PHP Version: 5.6.22 OS: All

There are 10 different diffs reported by users for this test.

Count Diff
1 (10%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10011 (Connection refused) in /root/upgrades/2021-01/php-7.4.14/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 4 002+ 003+ Warning: stream_set_blocking() expects parameter 1 to be resource, bool given in /root/upgrades/2021-01/php-7.4.14/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 5 004+ 005+ Warning: stream_select(): supplied argument is not a valid stream resource in /root/upgrades/2021-01/php-7.4.14/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 006+ 007+ Warning: stream_select(): No stream arrays were passed in /root/upgrades/2021-01/php-7.4.14/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
1 (10%)
001+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: 001- done 002+ error:1408F10B:SSL routines:ssl3_get_record:wrong version number in /opt/php/build/php-7.4.14/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 4 003+ 004+ Warning: stream_socket_client(): Failed to enable crypto in /opt/php/build/php-7.4.14/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 4 005+ 006+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10011 (Unknown error) in /opt/php/build/php-7.4.14/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 4 007+ 008+ Warning: stream_set_blocking() expects parameter 1 to be resource, bool given in /opt/php/build/php-7.4.14/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 5 009+ 010+ Warning: stream_select(): supplied argument is not a valid stream resource in /opt/php/build/php-7.4.14/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 011+ 012+ Warning: stream_select(): No stream arrays were passed in /opt/php/build/php-7.4.14/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 013+ done
1 (10%)
001+ PHP Warning: PHP Startup: pdo_mysql: Unable to initialize module 001- done 002+ Module compiled with module API=20131226 003+ PHP compiled with module API=20190902 004+ These options need to match 005+ in Unknown on line 0 006+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/redis.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/redis.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/redis.so: undefined symbol: zval_used_for_init), /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902//usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/redis.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902//usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/redis.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 007+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0 008+ 009+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10011 (Connection refused) in /opt/php-7.4.14/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 4 010+ 011+ Warning: stream_set_blocking() expects parameter 1 to be resource, bool given in /opt/php-7.4.14/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 5 012+ 013+ Warning: stream_select(): supplied argument is not a valid stream resource in /opt/php-7.4.14/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 014+ 015+ Warning: stream_select(): No stream arrays were passed in /opt/php-7.4.14/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 016+ done 017+ ** ERROR: process timed out **
1 (10%)
001+ PHP Warning: PHP Startup: openssl: Unable to initialize module 001- done 002+ Module compiled with module API=20200930 003+ PHP compiled with module API=20190902 004+ These options need to match 005+ in Unknown on line 0 006+ PHP Warning: PHP Startup: grpc: Unable to initialize module 007+ Module compiled with module API=20200930 008+ PHP compiled with module API=20190902 009+ These options need to match 010+ in Unknown on line 0 011+ 012+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10011 (Connection refused) in /compile/php-7.4.14/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 4 013+ 014+ Warning: stream_set_blocking() expects parameter 1 to be resource, bool given in /compile/php-7.4.14/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 5 015+ 016+ Warning: stream_select(): supplied argument is not a valid stream resource in /compile/php-7.4.14/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 017+ 018+ Warning: stream_select(): No stream arrays were passed in /compile/php-7.4.14/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 019+ donePHP Warning: stream_socket_accept(): accept failed: Connection timed out in /compile/php-7.4.14/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 6
1 (10%)
001+ PHP Warning: PHP Startup: geos: Unable to initialize module 001- done 002+ Module compiled with module API=20180731 003+ PHP compiled with module API=20190902 004+ These options need to match 005+ in Unknown on line 0 006+ PHP Warning: PHP Startup: apcu: Unable to initialize module 007+ Module compiled with module API=20180731 008+ PHP compiled with module API=20190902 009+ These options need to match 010+ in Unknown on line 0 011+ PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) '/usr/lib64/libgd.so' in Unknown on line 0 012+ done
1 (10%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/pdo_mysql (/usr/local/lib/php/extensions/no-debug-zts-20190902/pdo_mysql: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/pdo_mysql.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/pdo_mysql.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 002+ PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_sqlite' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/pdo_sqlite (/usr/local/lib/php/extensions/no-debug-zts-20190902/pdo_sqlite: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/pdo_sqlite.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/pdo_sqlite.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (10%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'mcrypt.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/mcrypt.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/mcrypt.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/mcrypt.so.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/mcrypt.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 001- done 002+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0 003+ 004+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10011 (Connection refused) in /root/src/php-7.4.14/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 4 005+ 006+ Warning: stream_set_blocking() expects parameter 1 to be resource, bool given in /root/src/php-7.4.14/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 5 007+ 008+ Warning: stream_select(): supplied argument is not a valid stream resource in /root/src/php-7.4.14/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 009+ 010+ Warning: stream_select(): No stream arrays were passed in /root/src/php-7.4.14/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 011+ donePHP Warning: stream_socket_accept(): accept failed: Connection timed out in /root/src/php-7.4.14/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 6
1 (10%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'curl.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/curl.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/curl.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/curl.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/curl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 002+ PHP Warning: PHP Startup: Unable to load dynamic library 'fileinfo.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/fileinfo.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/fileinfo.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/fileinfo.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/fileinfo.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 003+ PHP Warning: PHP Startup: Unable to load dynamic library 'gd.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/gd.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/gd.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/gd.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/gd.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 004+ PHP Warning: PHP Startup: Unable to load dynamic library 'json.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/json.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/json.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/json.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/json.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 005+ PHP Warning: PHP Startup: Unable to load dynamic library 'pdo.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/pdo.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/pdo.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/pdo.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/pdo.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 006+ PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_sqlite.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/pdo_sqlite.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/pdo_sqlite.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/pdo_sqlite.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/pdo_sqlite.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 007+ PHP Warning: PHP Startup: Unable to load dynamic library 'phar.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/phar.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/phar.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/phar.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/phar.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 008+ PHP Warning: PHP Startup: Unable to load dynamic library 'sqlite3.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/sqlite3.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/sqlite3.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/sqlite3.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/sqlite3.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 009+ PHP Warning: PHP Startup: Unable to load dynamic library 'zip.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/zip.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/zip.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/zip.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/zip.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (10%)
001+ PHP Warning: Module 'imagick' already loaded in Unknown on line 0 002+ PHP Warning: Module 'zip' already loaded in Unknown on line 0
1 (10%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20160303/opcache.so (/usr/local/lib/php/extensions/no-debug-zts-20160303/opcache.so: undefined symbol: _zval_ptr_dtor), /usr/local/lib/php/extensions/no-debug-zts-20160303/opcache.so.so (/usr/local/lib/php/extensions/no-debug-zts-20160303/opcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 001- done 002+ PHP Warning: PHP Startup: oci8: Unable to initialize module 003+ Module compiled with module API=20160303 004+ PHP compiled with module API=20190902 005+ These options need to match 006+ in Unknown on line 0 007+ PHP Warning: PHP Startup: memcached: Unable to initialize module 008+ Module compiled with module API=20160303 009+ PHP compiled with module API=20190902 010+ These options need to match 011+ in Unknown on line 0 012+ PHP Warning: PHP Startup: Unable to load dynamic library 'raphf.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20160303/raphf.so (/usr/local/lib/php/extensions/no-debug-zts-20160303/raphf.so: undefined symbol: _zval_ptr_dtor), /usr/local/lib/php/extensions/no-debug-zts-20160303/raphf.so.so (/usr/local/lib/php/extensions/no-debug-zts-20160303/raphf.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 013+ PHP Warning: PHP Startup: propro: Unable to initialize module 014+ Module compiled with module API=20160303 015+ PHP compiled with module API=20190902 016+ These options need to match 017+ in Unknown on line 0 018+ PHP Warning: PHP Startup: Unable to load dynamic library 'http.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20160303/http.so (/usr/local/lib/php/extensions/no-debug-zts-20160303/http.so: undefined symbol: _zval_ptr_dtor), /usr/local/lib/php/extensions/no-debug-zts-20160303/http.so.so (/usr/local/lib/php/extensions/no-debug-zts-20160303/http.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 019+ done