/
proc
/
3430793
/
root
/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
standard
/
tests
/
network
/
File Upload :
llllll
Current File: //proc/3430793/root/usr/local/lsws/phpbuild/php-8.0.7/ext/standard/tests/network/bindto.phpt
--TEST-- Test invalid bindto --FILE-- <?php $ctx = stream_context_create([ 'socket' => [ 'bindto' => 'invalid', ], ]); $fp = stream_socket_client( 'tcp://www.' . str_repeat('x', 100) . '.com:80', $errno, $errstr, 30, STREAM_CLIENT_CONNECT, $ctx ); ?> --EXPECTF-- Warning: stream_socket_client(): php_network_getaddresses: getaddrinfo failed: %s in %s on line %d Warning: stream_socket_client(): Unable to connect to tcp://www.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.com:80 (php_network_getaddresses: getaddrinfo failed: %s) in %s on line %d
Copyright ©2k19 -
Hexid
|
Tex7ure