Home
last modified time | relevance | path

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

12345678

/PHP-7.1/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 Dbug47981.phpt7 function errh($errno, $errstr) {
8 var_dump($errstr);
H A Dbug35437.phpt5 function err2exception($errno, $errstr)
7 throw new Exception("Error occuried: " . $errstr);
/PHP-7.1/ext/standard/
H A Dfsock.c50 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 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, $context)
8 echo __FUNCTION__ . "($errstr)\n";
/PHP-7.1/ext/standard/tests/network/
H A Dfsockopen_error.phpt5 /* 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 Dstream_crypto_flags_002.phpt17 $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 Dtlsv1.2_wrapper.phpt16 $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 Dtlsv1.0_wrapper.phpt16 $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 Dtlsv1.1_wrapper.phpt16 $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 Dpeer_verification.phpt17 $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 Dstream_crypto_flags_004.phpt18 $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 Dstream_crypto_flags_003.phpt20 $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 Dsession_meta_capture.phpt17 $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 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_001.phpt17 $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 D004.phpt50 ["errstr"]=>
58 ["errstr"]=>
67 ["errstr"]=>
76 ["errstr"]=>
85 ["errstr"]=>
94 ["errstr"]=>
/PHP-7.1/ext/standard/tests/streams/
H A Dbug70198.phpt20 \$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 Dsocket_import_stream-4-win.phpt32 $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 Dsocket_import_stream-4.phpt32 $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 Dstring_keys.phpt6 set_error_handler(function($errno, $errstr) {
7 var_dump($errstr);

Completed in 43 milliseconds

12345678