/PHP-8.3/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 | gh10695_7.phpt | 8 set_error_handler(function ($errno, $errstr) { 9 throw new \Exception($errstr);
|
H A D | closure_031.phpt | 5 function foo($errno, $errstr, $errfile, $errline) { 6 echo "Warning: $errstr\n";
|
/PHP-8.3/ext/standard/ |
H A D | fsock.c | 47 zend_string *errstr = NULL; in php_fsockopen_stream() local 99 STREAM_XPORT_CLIENT | STREAM_XPORT_CONNECT, hashkey, &tv, NULL, &errstr, &err); in php_fsockopen_stream() 105 …connect to %s:" ZEND_LONG_FMT " (%s)", host, port, errstr == NULL ? "Unknown error" : ZSTR_VAL(err… in php_fsockopen_stream() 116 if (errstr) { in php_fsockopen_stream() 118 ZEND_TRY_ASSIGN_REF_STR(zerrstr, errstr); in php_fsockopen_stream() 120 zend_string_release(errstr); in php_fsockopen_stream() 134 if (errstr) { in php_fsockopen_stream() 135 zend_string_release_ex(errstr, 0); in php_fsockopen_stream()
|
/PHP-8.3/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=0) 10 parent::__construct($errstr, $errno); 16 function Error2Exception($errno, $errstr, $errfile, $errline) 18 throw new MyException($errstr, $errno);//, $errfile, $errline);
|
/PHP-8.3/ext/openssl/tests/ |
H A D | tls_wrapper_with_tls_v1.3.phpt | 21 $server = stream_socket_server('tls://127.0.0.1:64321', $errno, $errstr, $flags, $ctx); 40 $client = stream_socket_client("tlsv1.0://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 43 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 46 $client = @stream_socket_client("tlsv1.1://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 49 $client = @stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 52 $client = @stream_socket_client("tlsv1.3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 55 $client = @stream_socket_client("ssl://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 58 $client = @stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
|
H A D | tls_min_v1.0_max_v1.1_wrapper.phpt | 22 $server = stream_socket_server('tls://127.0.0.1:64321', $errno, $errstr, $flags, $ctx); 41 $client = stream_socket_client("tlsv1.0://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 44 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 47 $client = @stream_socket_client("tlsv1.1://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 50 $client = @stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 53 $client = @stream_socket_client("ssl://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 56 $client = @stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
|
H A D | tls_wrapper.phpt | 21 $server = stream_socket_server('tls://127.0.0.1:64321', $errno, $errstr, $flags, $ctx); 40 $client = stream_socket_client("tlsv1.0://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 43 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 46 $client = @stream_socket_client("tlsv1.1://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 49 $client = @stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 52 $client = @stream_socket_client("ssl://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 55 $client = @stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
|
H A D | tlsv1.0_wrapper.phpt | 20 $server = stream_socket_server('tlsv1.0://127.0.0.1:64321', $errno, $errstr, $flags, $ctx); 39 $client = stream_socket_client("tlsv1.0://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 42 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 45 $client = @stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
|
H A D | tlsv1.1_wrapper.phpt | 20 $server = stream_socket_server('tlsv1.1://127.0.0.1:64321', $errno, $errstr, $flags, $ctx); 39 $client = stream_socket_client("tlsv1.1://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 42 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 45 $client = @stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
|
H A D | tlsv1.2_wrapper.phpt | 19 $server = stream_socket_server('tlsv1.2://127.0.0.1:64321', $errno, $errstr, $flags, $ctx); 37 $client = stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 40 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 43 $client = @stream_socket_client("tlsv1.1://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
|
H A D | stream_crypto_flags_002.phpt | 22 $server = stream_socket_server($serverUri, $errno, $errstr, $serverFlags, $serverCtx); 46 var_dump(stream_socket_client($serverUri, $errno, $errstr, 2, $clientFlags, $clientCtx)); 49 var_dump(stream_socket_client($serverUri, $errno, $errstr, 2, $clientFlags, $clientCtx)); 52 var_dump(stream_socket_client($serverUri, $errno, $errstr, 2, $clientFlags, $clientCtx)); 55 var_dump(stream_socket_client($serverUri, $errno, $errstr, 2, $clientFlags, $clientCtx));
|
H A D | tlsv1.3_wrapper.phpt | 20 $server = stream_socket_server('tlsv1.3://127.0.0.1:64321', $errno, $errstr, $flags, $ctx); 38 $client = stream_socket_client("tlsv1.3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 41 $client = @stream_socket_client("tlsv1.0://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 44 $client = @stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
|
H A D | peer_verification.phpt | 21 $server = stream_socket_server($serverUri, $errno, $errstr, $serverFlags, $serverCtx); 39 var_dump(@stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags)); 45 var_dump(@stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx)); 52 var_dump(stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx)); 59 var_dump(stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx));
|
H A D | stream_crypto_flags_004.phpt | 23 $server = stream_socket_server($serverUri, $errno, $errstr, $serverFlags, $serverCtx); 48 var_dump(@stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx)); 52 var_dump(@stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx)); 56 var_dump(@stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx)); 60 var_dump(stream_socket_client($serverUri, $errno, $errstr, 1, $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);
|
/PHP-8.3/ext/standard/tests/network/ |
H A D | fsockopen_error.phpt | 11 $errstr = null; 13 var_dump( fsockopen($hostname, $port, $errno, $errstr, $timeout) ); 14 var_dump($errstr); 20 $errstr = null; 22 var_dump( fsockopen($hostname, $port, $errno, $errstr, $timeout) ); 23 var_dump($errstr);
|
/PHP-8.3/ext/reflection/tests/ |
H A D | bug76936.phpt | 16 function ($errno, $errstr, $errfile, $errline) { 17 $this->handleError($errno, $errstr, $errfile, $errline); 22 private function handleError($errno, $errstr, $errfile, $errline, $errmodule = null) { 23 echo __METHOD__. " dealing with error $errstr\n";
|
/PHP-8.3/ext/bz2/tests/ |
H A D | 004.phpt | 66 ["errstr"]=> 74 ["errstr"]=> 83 ["errstr"]=> 92 ["errstr"]=> 101 ["errstr"]=> 110 ["errstr"]=>
|
/PHP-8.3/Zend/ |
H A D | zend_ini.c | 638 *errstr = NULL; in zend_ini_parse_quantity_internal() 668 *errstr = NULL; in zend_ini_parse_quantity_internal() 858 *errstr = NULL; in zend_ini_parse_quantity_internal() 877 zend_string *errstr; in zend_ini_parse_quantity_warn() local 878 zend_long retval = zend_ini_parse_quantity(value, &errstr); in zend_ini_parse_quantity_warn() 880 if (errstr) { in zend_ini_parse_quantity_warn() 882 zend_string_release(errstr); in zend_ini_parse_quantity_warn() 891 zend_string *errstr; in zend_ini_parse_uquantity_warn() local 892 zend_ulong retval = zend_ini_parse_uquantity(value, &errstr); in zend_ini_parse_uquantity_warn() 894 if (errstr) { in zend_ini_parse_uquantity_warn() [all …]
|
/PHP-8.3/ext/pdo_firebird/tests/ |
H A D | payload_server.php | 3 $socket = stream_socket_server("tcp://localhost:0", $errno, $errstr); 5 echo "Can't start server: $errstr ($errno)\n";
|
/PHP-8.3/ext/standard/tests/streams/ |
H A D | bug70198.phpt | 23 \$socket = stream_socket_server('$srv_addr', \$errno, \$errstr); 26 echo "\$errstr (\$errno)\\n"; 44 $fp = stream_socket_client($srv_addr, $errno, $errstr, 2); 46 echo "$errstr ($errno)\n";
|
/PHP-8.3/ext/sockets/tests/ |
H A D | socket_import_stream-5.phpt | 11 $stream0 = stream_socket_server("udp://0.0.0.0:0", $errno, $errstr, STREAM_SERVER_BIND); 15 $stream1 = stream_socket_server("udp://0.0.0.0:0", $errno, $errstr, STREAM_SERVER_BIND);
|