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

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
6 (30%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/opt/php-7.1/lib/php/extensions/no-debug-non-zts-20160303/gmp.so' - /opt/php-7.1/lib/php/extensions/no-debug-non-zts-20160303/gmp.so: file too short in Unknown on line 0
3 (15%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10011 (Connection refused) in /root/php7/php-7.1.17/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
002+
003+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /root/php7/php-7.1.17/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 5
004+
005+ Warning: stream_select(): supplied argument is not a valid stream resource in /root/php7/php-7.1.17/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: stream_select(): No stream arrays were passed in /root/php7/php-7.1.17/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
3 (15%)
001+ Warning: stream_socket_client(): SSL: Success in /usr/local/src/php-7.1.17/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
001- done
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php-7.1.17/ext/openssl/tests/ServerClientTestCase.inc(96) : 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/local/src/php-7.1.17/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
006+
007+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.1.17/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 5
008+
009+ Warning: stream_select(): supplied argument is not a valid stream resource in /usr/local/src/php-7.1.17/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
010+
011+ Warning: stream_select(): No stream arrays were passed in /usr/local/src/php-7.1.17/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
012+ done
1 (5%)
001+ XDebug could not open the remote debug file '/tmp/xdebug/xdebug.log'.
1 (5%)
001+ Warning: stream_socket_client(): SSL: Success in /data/env/php/php-7.1.17/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
001- done
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /data/env/php/php-7.1.17/ext/openssl/tests/ServerClientTestCase.inc(96) : 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 /data/env/php/php-7.1.17/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
006+
007+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /data/env/php/php-7.1.17/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 5
008+
009+ Warning: stream_select(): supplied argument is not a valid stream resource in /data/env/php/php-7.1.17/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
010+
011+ Warning: stream_select(): No stream arrays were passed in /data/env/php/php-7.1.17/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
012+ done
1 (5%)
001+ PHP Warning: PHP Startup: swoole: Unable to initialize module
002+ Module compiled with module API=20151012
003+ PHP compiled with module API=20160303
004+ These options need to match
005+ in Unknown on line 0
1 (5%)
001+ PHP Warning: PHP Startup: swoole: Unable to initialize module
001- done
002+ Module compiled with module API=20151012
003+ PHP compiled with module API=20160303
004+ These options need to match
005+ in Unknown on line 0
006+
007+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10011 (Connection refused) in /home/www/php-7.1.17/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
008+
009+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /home/www/php-7.1.17/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 5
010+
011+ Warning: stream_select(): supplied argument is not a valid stream resource in /home/www/php-7.1.17/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
012+
013+ Warning: stream_select(): No stream arrays were passed in /home/www/php-7.1.17/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
014+ done
015+ ** ERROR: process timed out **
1 (5%)
001+ PHP Warning: PHP Startup: redis: Unable to initialize module
002+ Module compiled with module API=20151012
003+ PHP compiled with module API=20160303
004+ These options need to match
005+ in Unknown on line 0
1 (5%)
001+ PHP Warning: PHP Startup: pdo_mysql: Unable to initialize module
002+ Module compiled with module API=20100525
003+ PHP compiled with module API=20160303
004+ These options need to match
005+ in Unknown on line 0
1 (5%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20160303/http.so' - libicuuc.so.57: cannot open shared object file: No such file or directory in Unknown on line 0
002+ XDebug could not open the remote debug file '/tmp/xdebug/xdebug.log'.
1 (5%)
001+ Failed loading /usr/lib64/php/modules/ioncube_loader_lin_5.4.so: /usr/lib64/php/modules/ioncube_loader_lin_5.4.so: undefined symbol: zend_block_interruptions
001- done
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/20160303/curl.so' - /usr/lib64/20160303/curl.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 '/usr/lib64/20160303/dom.so' - /usr/lib64/20160303/dom.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 '/usr/lib64/20160303/fileinfo.so' - /usr/lib64/20160303/fileinfo.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 '/usr/lib64/20160303/gd.so' - /usr/lib64/20160303/gd.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 '/usr/lib64/20160303/imap.so' - /usr/lib64/20160303/imap.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 '/usr/lib64/20160303/json.so' - /usr/lib64/20160303/json.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 '/usr/lib64/20160303/ldap.so' - /usr/lib64/20160303/ldap.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 '/usr/lib64/20160303/mbstring.so' - /usr/lib64/20160303/mbstring.so: cannot open shared object file: No such file or directory in Unknown on line 0
010+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/20160303/mcrypt.so' - /usr/lib64/20160303/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
011+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/20160303/mysql.so' - /usr/lib64/20160303/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
012+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/20160303/mysqli.so' - /usr/lib64/20160303/mysqli.so: cannot open shared object file: No such file or directory in Unknown on line 0
013+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/20160303/odbc.so' - /usr/lib64/20160303/odbc.so: cannot open shared object file: No such file or directory in Unknown on line 0
014+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/20160303/pdo.so' - /usr/lib64/20160303/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
015+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/20160303/pdo_mysql.so' - /usr/lib64/20160303/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
016+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/20160303/pdo_odbc.so' - /usr/lib64/20160303/pdo_odbc.so: cannot open shared object file: No such file or directory in Unknown on line 0
017+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/20160303/pdo_sqlite.so' - /usr/lib64/20160303/pdo_sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
018+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/20160303/phar.so' - /usr/lib64/20160303/phar.so: cannot open shared object file: No such file or directory in Unknown on line 0
019+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/20160303/snmp.so' - /usr/lib64/20160303/snmp.so: cannot open shared object file: No such file or directory in Unknown on line 0
020+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/20160303/sqlite3.so' - /usr/lib64/20160303/sqlite3.so: cannot open shared object file: No such file or directory in Unknown on line 0
021+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/20160303/wddx.so' - /usr/lib64/20160303/wddx.so: cannot open shared object file: No such file or directory in Unknown on line 0
022+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/20160303/xmlreader.so' - /usr/lib64/20160303/xmlreader.so: cannot open shared object file: No such file or directory in Unknown on line 0
023+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/20160303/xmlrpc.so' - /usr/lib64/20160303/xmlrpc.so: cannot open shared object file: No such file or directory in Unknown on line 0
024+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/20160303/xmlwriter.so' - /usr/lib64/20160303/xmlwriter.so: cannot open shared object file: No such file or directory in Unknown on line 0
025+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/20160303/xsl.so' - /usr/lib64/20160303/xsl.so: cannot open shared object file: No such file or directory in Unknown on line 0
026+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/20160303/zip.so' - /usr/lib64/20160303/zip.so: cannot open shared object file: No such file or directory in Unknown on line 0
027+ done