/PHP-7.1/Zend/tests/ |
H A D | bug46241.phpt | 9 public function errorHandler1( $errno, $errstr ) 11 echo "Caught on first level: '$errstr'\n"; 15 public function errorHandler2( $errno, $errstr ) 17 echo "Caught on second level: '$errstr'\n"; 29 function errorHandler1( $errno, $errstr ) 31 echo "Caught on first level: '$errstr'\n"; 35 function errorHandler2( $errno, $errstr ) 37 echo "Caught on second level: '$errstr'\n";
|
H A D | closure_031.phpt | 5 function foo($errno, $errstr, $errfile, $errline) { 6 echo "Error: $errstr\n";
|
H A D | bug47981.phpt | 7 function errh($errno, $errstr) { 8 var_dump($errstr);
|
H A D | bug35437.phpt | 5 function err2exception($errno, $errstr) 7 throw new Exception("Error occuried: " . $errstr);
|
/PHP-7.1/ext/standard/ |
H A D | fsock.c | 50 zend_string *errstr = NULL; in php_fsockopen_stream() local 89 STREAM_XPORT_CLIENT | STREAM_XPORT_CONNECT, hashkey, &tv, NULL, &errstr, &err); in php_fsockopen_stream() 95 …connect to %s:" ZEND_LONG_FMT " (%s)", host, port, errstr == NULL ? "Unknown error" : ZSTR_VAL(err… in php_fsockopen_stream() 107 if (zerrstr && errstr) { in php_fsockopen_stream() 110 ZVAL_STR(zerrstr, errstr); in php_fsockopen_stream() 111 } else if (!zerrstr && errstr) { in php_fsockopen_stream() 112 zend_string_release(errstr); in php_fsockopen_stream() 118 if (errstr) { in php_fsockopen_stream() 119 zend_string_release(errstr); in php_fsockopen_stream()
|
/PHP-7.1/tests/lang/ |
H A D | bug21094.phpt | 6 function hdlr($errno, $errstr, $errfile, $errline) { 7 …printf("[%d] errstr: %s, errfile: %s, errline: %d\n", $errno, $errstr, $errfile, $errline, $errstr… 16 [1024] errstr: test, errfile: %s, errline: %d
|
H A D | 039.phpt | 12 function __construct($errstr, $errno, $errfile, $errline) 14 parent::__construct($errstr, $errno); 20 function Error2Exception($errno, $errstr, $errfile, $errline) 22 throw new MyException($errstr, $errno, $errfile, $errline);
|
H A D | 038.phpt | 8 function __construct($errstr, $errno=0, $errfile='', $errline='') 10 parent::__construct($errstr, $errno); 16 function Error2Exception($errno, $errstr, $errfile, $errline) 18 throw new MyException($errstr, $errno);//, $errfile, $errline);
|
H A D | bug25547.phpt | 6 function handler($errno, $errstr, $errfile, $errline, $context) 8 echo __FUNCTION__ . "($errstr)\n";
|
/PHP-7.1/ext/standard/tests/network/ |
H A D | fsockopen_error.phpt | 5 /* Prototype : proto resource fsockopen(string hostname, int port [, int errno [, string errstr [,… 19 $errstr = 'string_val'; 22 var_dump( fsockopen($hostname, $port, $errno, $errstr, $timeout, $extra_arg) ); 23 var_dump($errstr); 33 $errstr = null; 35 var_dump( fsockopen($hostname, $port, $errno, $errstr, $timeout) ); 36 var_dump($errstr); 42 $errstr = null; 44 var_dump( fsockopen($hostname, $port, $errno, $errstr, $timeout) ); 45 var_dump($errstr);
|
/PHP-7.1/ext/openssl/tests/ |
H A D | stream_crypto_flags_002.phpt | 17 $server = stream_socket_server($serverUri, $errno, $errstr, $serverFlags, $serverCtx); 38 var_dump(stream_socket_client($serverUri, $errno, $errstr, 2, $clientFlags, $clientCtx)); 41 var_dump(stream_socket_client($serverUri, $errno, $errstr, 2, $clientFlags, $clientCtx)); 44 var_dump(stream_socket_client($serverUri, $errno, $errstr, 2, $clientFlags, $clientCtx)); 47 var_dump(stream_socket_client($serverUri, $errno, $errstr, 2, $clientFlags, $clientCtx));
|
H A D | tlsv1.2_wrapper.phpt | 16 $server = stream_socket_server('tlsv1.2://127.0.0.1:64321', $errno, $errstr, $flags, $ctx); 33 $client = stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 36 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 39 $client = @stream_socket_client("tlsv1.1://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
|
H A D | tlsv1.0_wrapper.phpt | 16 $server = stream_socket_server('tlsv1.0://127.0.0.1:64321', $errno, $errstr, $flags, $ctx); 33 $client = stream_socket_client("tlsv1.0://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 36 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 39 $client = @stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
|
H A D | tlsv1.1_wrapper.phpt | 16 $server = stream_socket_server('tlsv1.1://127.0.0.1:64321', $errno, $errstr, $flags, $ctx); 33 $client = stream_socket_client("tlsv1.1://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 36 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 39 $client = @stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
|
H A D | peer_verification.phpt | 17 $server = stream_socket_server($serverUri, $errno, $errstr, $serverFlags, $serverCtx); 33 var_dump(@stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags)); 39 var_dump(@stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx)); 46 var_dump(stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx)); 53 var_dump(stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx));
|
H A D | stream_crypto_flags_004.phpt | 18 $server = stream_socket_server($serverUri, $errno, $errstr, $serverFlags, $serverCtx); 40 var_dump(@stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx)); 44 var_dump(@stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx)); 48 var_dump(@stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx)); 52 var_dump(stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx));
|
H A D | stream_crypto_flags_003.phpt | 20 $server = stream_socket_server($serverUri, $errno, $errstr, $serverFlags, $serverCtx); 41 var_dump(stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx)); 44 var_dump(@stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx)); 47 var_dump(@stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx));
|
H A D | session_meta_capture.phpt | 17 $server = stream_socket_server($serverUri, $errno, $errstr, $serverFlags, $serverCtx); 39 @stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx); 44 @stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx); 49 @stream_socket_client($serverUri, $errno, $errstr, 2, $clientFlags, $clientCtx);
|
H A D | sni_server.phpt | 21 $server = stream_socket_server('tls://127.0.0.1:64321', $errno, $errstr, $flags, $ctx); 40 $client = stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 1, $flags, $ctx); 46 $client = @stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 1, $flags, $ctx); 52 $client = @stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 1, $flags, $ctx);
|
H A D | stream_crypto_flags_001.phpt | 17 $server = stream_socket_server($serverUri, $errno, $errstr, $serverFlags, $serverCtx); 37 var_dump(stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx)); 40 var_dump(stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx));
|
/PHP-7.1/ext/bz2/tests/ |
H A D | 004.phpt | 50 ["errstr"]=> 58 ["errstr"]=> 67 ["errstr"]=> 76 ["errstr"]=> 85 ["errstr"]=> 94 ["errstr"]=>
|
/PHP-7.1/ext/standard/tests/streams/ |
H A D | bug70198.phpt | 20 \$socket = stream_socket_server('$srv_addr', \$errno, \$errstr); 23 echo "\$errstr (\$errno)\\n"; 41 $fp = stream_socket_client($srv_addr, $errno, $errstr, 2); 43 echo "$errstr ($errno)\n";
|
/PHP-7.1/ext/sockets/tests/ |
H A D | socket_import_stream-4-win.phpt | 32 $stream0 = stream_socket_server("udp://0.0.0.0:58380", $errno, $errstr, STREAM_SERVER_BIND); 37 $stream1 = stream_socket_server("udp://0.0.0.0:58381", $errno, $errstr, STREAM_SERVER_BIND); 43 $stream2 = stream_socket_server("udp://0.0.0.0:58382", $errno, $errstr, STREAM_SERVER_BIND); 49 $stream3 = stream_socket_server("udp://0.0.0.0:58383", $errno, $errstr, STREAM_SERVER_BIND); 55 $stream4 = stream_socket_server("udp://0.0.0.0:58384", $errno, $errstr, STREAM_SERVER_BIND);
|
H A D | socket_import_stream-4.phpt | 32 $stream0 = stream_socket_server("udp://0.0.0.0:58380", $errno, $errstr, STREAM_SERVER_BIND); 37 $stream1 = stream_socket_server("udp://0.0.0.0:58381", $errno, $errstr, STREAM_SERVER_BIND); 43 $stream2 = stream_socket_server("udp://0.0.0.0:58382", $errno, $errstr, STREAM_SERVER_BIND); 49 $stream3 = stream_socket_server("udp://0.0.0.0:58383", $errno, $errstr, STREAM_SERVER_BIND); 55 $stream4 = stream_socket_server("udp://0.0.0.0:58384", $errno, $errstr, STREAM_SERVER_BIND);
|
/PHP-7.1/Zend/tests/arg_unpack/ |
H A D | string_keys.phpt | 6 set_error_handler(function($errno, $errstr) { 7 var_dump($errstr);
|