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

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 11 different diffs reported by users for this test.

Count Diff
2 (15%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10011 (Connection refused) in /usr/local/src/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 4
002+
003+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.24/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 /usr/local/src/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
006+
007+ Warning: stream_select(): No stream arrays were passed in /usr/local/src/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
009+ ** ERROR: process timed out **
2 (15%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/src/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 4
001- done
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /usr/src/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 4
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10011 (Unknown error) in /usr/src/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 4
006+
007+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /usr/src/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 5
008+
009+ Warning: stream_select(): supplied argument is not a valid stream resource in /usr/src/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
010+
011+ Warning: stream_select(): No stream arrays were passed in /usr/src/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
012+ done
1 (8%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/usr/local/php/ext/openssl/tests/bug72333.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /usr/local/php/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 6
001- done
002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /usr/local/php/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 6
003+
004+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/php/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 4
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/php/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 4
007+
008+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10011 (Unknown error) in /usr/local/php/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 4
009+
010+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /usr/local/php/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 5
011+
012+ Warning: stream_select(): supplied argument is not a valid stream resource in /usr/local/php/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
013+
014+ Warning: stream_select(): No stream arrays were passed in /usr/local/php/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
015+ donePHP Warning: stream_socket_accept(): accept failed: Success in /usr/local/php/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 6
016+ PHP Warning: fread() expects parameter 1 to be resource, boolean given in /usr/local/php/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 8
017+ PHP Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /usr/local/php/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 9
018+ PHP Warning: stream_select(): supplied argument is not a valid stream resource in /usr/local/php/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 12
019+ PHP Warning: stream_select(): No stream arrays were passed in /usr/local/php/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 12
1 (8%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'oci8.so' (tried: /usr/lib/php/extensions/no-debug-non-zts-20170718/oci8.so (/usr/lib/php/extensions/no-debug-non-zts-20170718/oci8.so: cannot open shared object file: No such file or directory), /usr/lib/php/extensions/no-debug-non-zts-20170718/oci8.so.so (/usr/lib/php/extensions/no-debug-non-zts-20170718/oci8.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (8%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: ext/mysqli (ext/mysqli: cannot read file data: Is a directory), ext/mysqli.so (ext/mysqli.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_mysql' (tried: ext/pdo_mysql (ext/pdo_mysql: cannot read file data: Is a directory), ext/pdo_mysql.so (ext/pdo_mysql.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (8%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20170718/opcache.so (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/opcache.so: undefined symbol: zend_signal_globals_id), /usr/local/php/lib/php/extensions/no-debug-zts-20170718/opcache.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/opcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (8%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/opcache.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/opcache.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/opcache.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/opcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
002+ Failed loading /usr/local/php/lib/php/extensions/no-debug-zts-20170718/xdebug.so: /usr/local/php/lib/php/extensions/no-debug-zts-20170718/xdebug.so: undefined symbol: sapi_globals_id
003+ PHP Warning: PHP Startup: Unable to load dynamic library 'geoip.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/geoip.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/geoip.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/geoip.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/geoip.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 'ds.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/ds.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/ds.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/ds.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/ds.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (8%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/lib64/extensions/no-debug-zts-20170718/opcache.so (/usr/lib64/extensions/no-debug-zts-20170718/opcache.so: cannot open shared object file: No such file or directory), /usr/lib64/extensions/no-debug-zts-20170718/opcache.so.so (/usr/lib64/extensions/no-debug-zts-20170718/opcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (8%)
001+ Failed loading /usr/local/php/lib/php/extensions/no-debug-zts-20131226/opcache.so: /usr/local/php/lib/php/extensions/no-debug-zts-20131226/opcache.so: undefined symbol: zend_opcode_handlers
1 (8%)
001+ Failed loading /usr/local/ioncube/ioncube_loader_lin_5.3.so: /usr/local/ioncube/ioncube_loader_lin_5.3.so: undefined symbol: zend_block_interruptions
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'memcache.so' (tried: /usr/lib/php/extensions/no-debug-non-zts-20170718/memcache.so (/usr/lib/php/extensions/no-debug-non-zts-20170718/memcache.so: cannot open shared object file: No such file or directory), /usr/lib/php/extensions/no-debug-non-zts-20170718/memcache.so.so (/usr/lib/php/extensions/no-debug-non-zts-20170718/memcache.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 'memcached.so' (tried: /usr/lib/php/extensions/no-debug-non-zts-20170718/memcached.so (/usr/lib/php/extensions/no-debug-non-zts-20170718/memcached.so: cannot open shared object file: No such file or directory), /usr/lib/php/extensions/no-debug-non-zts-20170718/memcached.so.so (/usr/lib/php/extensions/no-debug-non-zts-20170718/memcached.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
004+ PHP Warning: PHP Startup: ChartDirector PHP API: Unable to initialize module
005+ Module compiled with module API=20090626
006+ PHP compiled with module API=20170718
007+ These options need to match
008+ in Unknown on line 0
1 (8%)
001+ Failed loading /usr/lib/php/extensions/no-debug-non-zts-20131226/opcache.so: /usr/lib/php/extensions/no-debug-non-zts-20131226/opcache.so: undefined symbol: zend_opcode_handlers