Test: /ext/openssl/tests/bug48182.phpt - Version 7.4.0RC5        

Bug #48182 asynchronous socket connection over ssl fails entirely
Submitted: 2009-05-07 16:23:49 Modified: 2009-08-21 00:46:54
From: frase Assigned: srinatar
Status: Closed Package: OpenSSL related
PHP Version: 5.2.11RC1 OS: *

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

Count Diff
1 (33%)
002+
003+ Warning: stream_socket_client(): SSL: Success in /home/pi/php-7.4.0RC5/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
002- Sending bug48182
003- Sending data over to SSL server in async mode with contents like Hello World
004+
005+ Warning: stream_socket_client(): Failed to enable crypto in /home/pi/php-7.4.0RC5/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
006+
007+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /home/pi/php-7.4.0RC5/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
008+
009+ Warning: fwrite() expects parameter 1 to be resource, bool given in /home/pi/php-7.4.0RC5/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13
010+
011+ Warning: fread() expects parameter 1 to be resource, bool given in /home/pi/php-7.4.0RC5/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
1 (33%)
002+
003+ Warning: stream_socket_client(): SSL: Success in /usr/src/php-7.4.0RC5/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
002- Sending bug48182
003- Sending data over to SSL server in async mode with contents like Hello World
004+
005+ Warning: stream_socket_client(): Failed to enable crypto in /usr/src/php-7.4.0RC5/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
006+
007+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/src/php-7.4.0RC5/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
008+
009+ Warning: fwrite() expects parameter 1 to be resource, bool given in /usr/src/php-7.4.0RC5/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13
010+
011+ Warning: fread() expects parameter 1 to be resource, bool given in /usr/src/php-7.4.0RC5/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
1 (33%)
002+ PHP Warning: Failed loading Zend extension 'opcache' (tried: /usr/local/lib/php/extensions/debug-non-zts-20190902/opcache (/usr/local/lib/php/extensions/debug-non-zts-20190902/opcache: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/debug-non-zts-20190902/opcache.so (/usr/local/lib/php/extensions/debug-non-zts-20190902/opcache.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 'bcmath' (tried: /usr/local/lib/php/extensions/debug-non-zts-20190902/bcmath (/usr/local/lib/php/extensions/debug-non-zts-20190902/bcmath: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/debug-non-zts-20190902/bcmath.so (/usr/local/lib/php/extensions/debug-non-zts-20190902/bcmath.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
002- Sending bug48182
003- Sending data over to SSL server in async mode with contents like Hello World
004+ PHP Warning: PHP Startup: Unable to load dynamic library 'bz2' (tried: /usr/local/lib/php/extensions/debug-non-zts-20190902/bz2 (/usr/local/lib/php/extensions/debug-non-zts-20190902/bz2: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/debug-non-zts-20190902/bz2.so (/usr/local/lib/php/extensions/debug-non-zts-20190902/bz2.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 'curl' (tried: /usr/local/lib/php/extensions/debug-non-zts-20190902/curl (/usr/local/lib/php/extensions/debug-non-zts-20190902/curl: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/debug-non-zts-20190902/curl.so (/usr/local/lib/php/extensions/debug-non-zts-20190902/curl.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 'iconv' (tried: /usr/local/lib/php/extensions/debug-non-zts-20190902/iconv (/usr/local/lib/php/extensions/debug-non-zts-20190902/iconv: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/debug-non-zts-20190902/iconv.so (/usr/local/lib/php/extensions/debug-non-zts-20190902/iconv.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 'imagick' (tried: /usr/local/lib/php/extensions/debug-non-zts-20190902/imagick (/usr/local/lib/php/extensions/debug-non-zts-20190902/imagick: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/debug-non-zts-20190902/imagick.so (/usr/local/lib/php/extensions/debug-non-zts-20190902/imagick.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 'mysqli' (tried: /usr/local/lib/php/extensions/debug-non-zts-20190902/mysqli (/usr/local/lib/php/extensions/debug-non-zts-20190902/mysqli: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/debug-non-zts-20190902/mysqli.so (/usr/local/lib/php/extensions/debug-non-zts-20190902/mysqli.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 'xsl' (tried: /usr/local/lib/php/extensions/debug-non-zts-20190902/xsl (/usr/local/lib/php/extensions/debug-non-zts-20190902/xsl: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/debug-non-zts-20190902/xsl.so (/usr/local/lib/php/extensions/debug-non-zts-20190902/xsl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
010+
011+ Warning: stream_socket_client(): SSL: Broken pipe in /usr/local/src/php-7.4.0RC5/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
012+
013+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php-7.4.0RC5/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
014+
015+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/src/php-7.4.0RC5/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
016+
017+ Warning: fwrite() expects parameter 1 to be resource, bool given in /usr/local/src/php-7.4.0RC5/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13
018+
019+ Warning: fread() expects parameter 1 to be resource, bool given in /usr/local/src/php-7.4.0RC5/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
020+ PHP Warning: fread() expects parameter 1 to be resource, bool given in /usr/local/src/php-7.4.0RC5/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 12