Home
last modified time | relevance | path

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

123456

/PHP-8.0/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 Dclosure_031.phpt5 function foo($errno, $errstr, $errfile, $errline) {
6 echo "Error: $errstr\n";
H A Drequire_once_warning_to_exception.phpt6 function exception_error_handler($errno, $errstr, $errfile, $errline ) {
7 throw new Exception($errstr);
/PHP-8.0/ext/standard/
H A Dfsock.c47 zend_string *errstr = NULL; in php_fsockopen_stream() local
86 STREAM_XPORT_CLIENT | STREAM_XPORT_CONNECT, hashkey, &tv, NULL, &errstr, &err); in php_fsockopen_stream()
92 …connect to %s:" ZEND_LONG_FMT " (%s)", host, port, errstr == NULL ? "Unknown error" : ZSTR_VAL(err… in php_fsockopen_stream()
103 if (errstr) { in php_fsockopen_stream()
105 ZEND_TRY_ASSIGN_REF_STR(zerrstr, errstr); in php_fsockopen_stream()
107 zend_string_release(errstr); in php_fsockopen_stream()
121 if (errstr) { in php_fsockopen_stream()
122 zend_string_release_ex(errstr, 0); in php_fsockopen_stream()
/PHP-8.0/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='')
10 parent::__construct($errstr, $errno);
16 function Error2Exception($errno, $errstr, $errfile, $errline)
18 throw new MyException($errstr, $errno);//, $errfile, $errline);
H A Dbug25547.phpt6 function handler($errno, $errstr, $errfile, $errline)
8 echo __FUNCTION__ . "($errstr)\n";
/PHP-8.0/ext/openssl/tests/
H A Dtls_wrapper_with_tls_v1.3.phpt20 $server = stream_socket_server('tls://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.1://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
48 $client = @stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
51 $client = @stream_socket_client("tlsv1.3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
54 $client = @stream_socket_client("ssl://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
57 $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.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 Dtls_wrapper.phpt20 $server = stream_socket_server('tls://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.1://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
48 $client = @stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
51 $client = @stream_socket_client("ssl://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
54 $client = @stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
H A Dtlsv1.0_wrapper.phpt19 $server = stream_socket_server('tlsv1.0://127.0.0.1:64321', $errno, $errstr, $flags, $ctx);
38 $client = stream_socket_client("tlsv1.0://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
41 $client = @stream_socket_client("sslv3://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 Dtlsv1.1_wrapper.phpt19 $server = stream_socket_server('tlsv1.1://127.0.0.1:64321', $errno, $errstr, $flags, $ctx);
38 $client = stream_socket_client("tlsv1.1://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
41 $client = @stream_socket_client("sslv3://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 Dtlsv1.2_wrapper.phpt18 $server = stream_socket_server('tlsv1.2://127.0.0.1:64321', $errno, $errstr, $flags, $ctx);
36 $client = stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
39 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
42 $client = @stream_socket_client("tlsv1.1://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
H A Dstream_crypto_flags_002.phpt21 $server = stream_socket_server($serverUri, $errno, $errstr, $serverFlags, $serverCtx);
45 var_dump(stream_socket_client($serverUri, $errno, $errstr, 2, $clientFlags, $clientCtx));
48 var_dump(stream_socket_client($serverUri, $errno, $errstr, 2, $clientFlags, $clientCtx));
51 var_dump(stream_socket_client($serverUri, $errno, $errstr, 2, $clientFlags, $clientCtx));
54 var_dump(stream_socket_client($serverUri, $errno, $errstr, 2, $clientFlags, $clientCtx));
H A Dtlsv1.3_wrapper.phpt19 $server = stream_socket_server('tlsv1.3://127.0.0.1:64321', $errno, $errstr, $flags, $ctx);
37 $client = stream_socket_client("tlsv1.3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
40 $client = @stream_socket_client("tlsv1.0://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
43 $client = @stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
H A Dpeer_verification.phpt20 $server = stream_socket_server($serverUri, $errno, $errstr, $serverFlags, $serverCtx);
38 var_dump(@stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags));
44 var_dump(@stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx));
51 var_dump(stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx));
58 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);
H A Dstream_crypto_flags_004.phpt22 $server = stream_socket_server($serverUri, $errno, $errstr, $serverFlags, $serverCtx);
47 var_dump(@stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx));
51 var_dump(@stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx));
55 var_dump(@stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx));
59 var_dump(stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx));
/PHP-8.0/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.0/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.0/ext/bz2/tests/
H A D004.phpt66 ["errstr"]=>
74 ["errstr"]=>
83 ["errstr"]=>
92 ["errstr"]=>
101 ["errstr"]=>
110 ["errstr"]=>
/PHP-8.0/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.0/ext/standard/tests/streams/
H A Dbug70198.phpt22 \$socket = stream_socket_server('$srv_addr', \$errno, \$errstr);
25 echo "\$errstr (\$errno)\\n";
43 $fp = stream_socket_client($srv_addr, $errno, $errstr, 2);
45 echo "$errstr ($errno)\n";
/PHP-8.0/Zend/tests/arg_unpack/
H A Dstring_keys.phpt6 set_error_handler(function($errno, $errstr) {
7 var_dump($errstr);

Completed in 27 milliseconds

123456