Home
last modified time | relevance | path

Searched refs:errstr (Results 1 – 25 of 148) sorted by relevance

123456

/PHP-8.3/Zend/tests/
H A Dbug46241.phpt9 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 Dgh10695_7.phpt8 set_error_handler(function ($errno, $errstr) {
9 throw new \Exception($errstr);
H A Dclosure_031.phpt5 function foo($errno, $errstr, $errfile, $errline) {
6 echo "Warning: $errstr\n";
/PHP-8.3/ext/standard/
H A Dfsock.c47 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 Dbug21094.phpt6 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 D039.phpt12 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 D038.phpt8 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 Dtls_wrapper_with_tls_v1.3.phpt21 $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 Dtls_min_v1.0_max_v1.1_wrapper.phpt22 $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 Dtls_wrapper.phpt21 $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 Dtlsv1.0_wrapper.phpt20 $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 Dtlsv1.1_wrapper.phpt20 $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 Dtlsv1.2_wrapper.phpt19 $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 Dstream_crypto_flags_002.phpt22 $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 Dtlsv1.3_wrapper.phpt20 $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 Dpeer_verification.phpt21 $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 Dstream_crypto_flags_004.phpt23 $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 Dsni_server.phpt21 $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 Dfsockopen_error.phpt11 $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 Dbug76936.phpt16 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 D004.phpt66 ["errstr"]=>
74 ["errstr"]=>
83 ["errstr"]=>
92 ["errstr"]=>
101 ["errstr"]=>
110 ["errstr"]=>
/PHP-8.3/Zend/
H A Dzend_ini.c638 *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 Dpayload_server.php3 $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 Dbug70198.phpt23 \$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 Dsocket_import_stream-5.phpt11 $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);

Completed in 29 milliseconds

123456