Home
last modified time | relevance | path

Searched refs:errno (Results 26 – 50 of 389) sorted by relevance

12345678910>>...16

/PHP-8.2/Zend/tests/
H A Dbug46241.phpt9 public function errorHandler1( $errno, $errstr )
15 public function errorHandler2( $errno, $errstr )
29 function errorHandler1( $errno, $errstr )
35 function errorHandler2( $errno, $errstr )
/PHP-8.2/ext/sysvmsg/tests/
H A D005.phpt22 $errno = 0;
28 var_dump(msg_receive($q, 0, $null, 1, $msg, true, 0, $errno));
29 var_dump($errno != 0);
37 var_dump(msg_send($q, 1, 'foo', true, true, $errno));
38 var_dump($errno != 0);
/PHP-8.2/ext/standard/tests/network/
H A Dudp6loop.phpt6 … * Connection refused (or code 10049 on Windows). If IPv6 is NOT supported, $errno will be set to
14 @stream_socket_client('tcp://[::1]:0', $errno);
15 …if ((PHP_OS_FAMILY === 'Windows' && $errno !== 10049) || (PHP_OS_FAMILY !== 'Windows' && $errno !=…
25 $server = @stream_socket_server("udp://[::1]:$port", $errno, $errstr, STREAM_SERVER_BIND);
H A Dfsockopen_error.phpt10 $errno = null;
13 var_dump( fsockopen($hostname, $port, $errno, $errstr, $timeout) );
19 $errno = null;
22 var_dump( fsockopen($hostname, $port, $errno, $errstr, $timeout) );
H A Dtcp6loop.phpt6 …If IPv6 is NOT supported, $errno will be set to something else (indicating parse/getaddrinfo error)
8 @stream_socket_client('tcp://[::1]:0', $errno);
9 …if ((PHP_OS_FAMILY === 'Windows' && $errno !== 10049) || (PHP_OS_FAMILY !== 'Windows' && $errno !=…
/PHP-8.2/ext/standard/
H A Dflock_compat.c44 errno = EINVAL; in php_flock()
51 (errno == EACCES || errno == EAGAIN)) in php_flock()
52 errno = EWOULDBLOCK; in php_flock()
148 errno = 0;
/PHP-8.2/ext/mysqli/tests/
H A Dbug48909.phpt19 printf("[002] [%d] %s\n", $link->errno, $link->error);
22 printf("[003] [%d] %s\n", $link->errno, $link->error);
25 printf("[004] [%d] %s\n", $stmt->errno, $stmt->error);
28 if ($stmt->errno != 1366) {
33 printf("[005] [%d] %s\n", $stmt->errno, $stmt->error);
H A Dbug44897.phpt21 printf("[001] [%d] %s\n", $link->errno, $link->error);
24 printf("[002] [%d] %s\n", $link->errno, $link->error);
30 printf("[003] [%d] %s\n", $link->errno, $link->error);
33 printf("[004] [%d] %s\n", $stmt->errno, $stmt->error);
37 printf("[005] [%d] %s\n", $stmt->errno, $stmt->error);
49 $link->errno, $link->error);
54 printf("[008] [%d] %s\n", $stmt2->errno, $stmt2->error);
58 printf("[009] [%d] %s\n", $stmt2->errno, $stmt2->error);
H A Dmysqli_commit_oo.phpt12 die(sprintf("skip Needs InnoDB support, [%d] %s", $link->errno, $link->error));
42 printf("[004] [%d] %s\n", $mysqli->errno, $mysqli->error);
46 printf("[005] Cannot create test table, [%d] %s\n", $mysqli->errno, $mysqli->error);
50 printf("[006] [%d] %s\n", $mysqli->errno, $mysqli->error);
59 printf("[008] [%d] %s\n", $mysqli->errno, $mysqli->error);
62 printf("[009] [%d] %s\n", $mysqli->errno, $mysqli->error);
72 printf("[011] [%d] %s\n", $mysqli->errno, $mysqli->error);
76 printf("[012] [%d] %s\n", $mysqli->errno, $mysqli->error);
86 printf("[016] [%d] %s\n", $mysqli->errno, $mysqli->error);
H A Dmysqli_pam_sha256.phpt22 die(sprintf("skip [%d] %s\n", $link->errno, $link->error));
36 die(sprintf("skip [%d] %s\n", $link->errno, $link->error));
40 die(sprintf("skip Failed to check RSA pub key, [%d] %s\n", $link->errno, $link->error));
44 …die(sprintf("skip Server misconfiguration? RSA pub key is suspicious, [%d] %s\n", $link->errno, $l…
56 die(sprintf("skip CREATE USER failed [%d] %s", $link->errno, $link->error));
61 die(sprintf("skip SET PASSWORD failed [%d] %s", $link->errno, $link->error));
67 die(sprintf("SKIP [%d] %s\n", $link->errno, $link->error));
88 printf("[002] [%d] %s\n", $link->errno, $link->error);
91 printf("[003] [%d] %s\n", $link->errno, $link->error);
H A Dbug72489.phpt18 printf("[002] [%d] %s\n", $link->errno, $link->error);
22 printf("[003] [%d] %s\n", $link->errno, $link->error);
27 printf("[004] [%d] %s\n", $link->errno, $link->error);
33 printf("[005] [%d] %s\n", $link->errno, $link->error);
38 printf("[006] [%d] %s\n", $link->errno, $link->error);
H A Dmysqli_pam_sha256_public_key_option.phpt22 die(sprintf("skip [%d] %s\n", $link->errno, $link->error));
36 die(sprintf("skip [%d] %s\n", $link->errno, $link->error));
40 die(sprintf("skip Failed to check RSA pub key, [%d] %s\n", $link->errno, $link->error));
44 …die(sprintf("skip Server misconfiguration? RSA pub key is suspicious, [%d] %s\n", $link->errno, $l…
65 die(sprintf("skip CREATE USER failed [%d] %s", $link->errno, $link->error));
70 die(sprintf("skip SET PASSWORD failed [%d] %s", $link->errno, $link->error));
76 die(sprintf("SKIP [%d] %s\n", $link->errno, $link->error));
96 printf("[001] mysqli_options failed, [%d] %s\n", $link->errno, $link->error);
104 printf("[003] [%d] %s\n", $link->errno, $link->error);
107 printf("[004] [%d] %s\n", $link->errno, $link->error);
/PHP-8.2/ext/bz2/tests/
H A D004.phpt64 ["errno"]=>
72 ["errno"]=>
81 ["errno"]=>
90 ["errno"]=>
99 ["errno"]=>
108 ["errno"]=>
/PHP-8.2/ext/session/
H A Dmod_files.c211 } while (ret == -1 && errno == EINTR); in ps_files_open()
218 …LL, E_WARNING, "fcntl(%d, F_SETFD, FD_CLOEXEC) failed: %s (%d)", data->fd, strerror(errno), errno); in ps_files_open()
222 …php_error_docref(NULL, E_WARNING, "open(%s, O_RDWR) failed: %s (%d)", buf, strerror(errno), errno); in ps_files_open()
270 php_error_docref(NULL, E_WARNING, "Write failed: %s (%d)", strerror(errno), errno); in ps_files_write()
291 …E, "ps_files_cleanup_dir: opendir(%s) failed: %s (%d)", ZSTR_VAL(dirname), strerror(errno), errno); in ps_files_cleanup_dir()
394 errno = 0; in PS_OPEN_FUNC()
396 if (errno == ERANGE) { in PS_OPEN_FUNC()
403 errno = 0; in PS_OPEN_FUNC()
405 if (errno == ERANGE || filemode < 0 || filemode > 07777) { in PS_OPEN_FUNC()
518 php_error_docref(NULL, E_WARNING, "Read failed: %s (%d)", strerror(errno), errno); in PS_READ_FUNC()
/PHP-8.2/ext/openssl/tests/
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);
/PHP-8.2/ext/fileinfo/libmagic/
H A Dcompress.c366 if (errno == EINTR) in swrite()
412 if (errno == EINTR || errno == EAGAIN) in sread()
433 if (errno == EINTR) in sread()
460 r = errno; in file_pipe2file()
462 errno = r; in file_pipe2file()
470 te = errno; in file_pipe2file()
472 errno = te; in file_pipe2file()
476 file_error(ms, errno, in file_pipe2file()
870 strerror(errno)); in uncompressbuf()
879 strerror(errno)); in uncompressbuf()
[all …]
/PHP-8.2/ext/posix/
H A Dposix.c117 POSIX_G(last_error) = errno; \
134 POSIX_G(last_error) = errno;
229 POSIX_G(last_error) = errno; in PHP_FUNCTION()
235 POSIX_G(last_error) = errno; in PHP_FUNCTION()
259 POSIX_G(last_error) = errno; in PHP_FUNCTION()
295 POSIX_G(last_error) = errno; in PHP_FUNCTION()
314 POSIX_G(last_error) = errno; in PHP_FUNCTION()
333 POSIX_G(last_error) = errno; in PHP_FUNCTION()
349 POSIX_G(last_error) = errno; in PHP_FUNCTION()
380 POSIX_G(last_error) = errno; in PHP_FUNCTION()
[all …]
/PHP-8.2/ext/standard/tests/file/
H A Dfgetc_variation3.phpt58 Notice: fgetc(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
67 Notice: fgetc(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
76 Notice: fgetc(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
85 Notice: fgetc(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
94 Notice: fgetc(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
103 Notice: fgetc(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
112 Notice: fgetc(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
121 Notice: fgetc(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
130 Notice: fgetc(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
H A Dfgets_variation1.phpt54 Notice: fgets(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
63 Notice: fgets(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
72 Notice: fgets(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
81 Notice: fgets(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
90 Notice: fgets(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
99 Notice: fgets(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
108 Notice: fgets(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
117 Notice: fgets(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
126 Notice: fgets(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
/PHP-8.2/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.2/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";

Completed in 35 milliseconds

12345678910>>...16