/PHP-7.4/ext/openssl/tests/ |
H A D | tlsv1.3_wrapper.phpt | 19 $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);
|
/PHP-7.4/ext/openssl/ |
H A D | xp_ssl.c | 225 errno = EAGAIN; in php_openssl_handle_ssl_error() 287 errno = 0; in php_openssl_handle_ssl_error() 1993 } else if (errno == EAGAIN) { in php_openssl_enable_crypto() 2123 if (errno == EAGAIN && err == SSL_ERROR_WANT_READ && read) { in php_openssl_sockop_io() 2126 if (errno == EAGAIN && err == SSL_ERROR_WANT_WRITE && read == 0) { in php_openssl_sockop_io() 2132 stream->eof = (retry == 0 && errno != EAGAIN && !SSL_pending(sslsock->ssl_handle)); in php_openssl_sockop_io()
|
/PHP-7.4/ext/pcntl/ |
H A D | pcntl.c | 166 ZEND_ARG_INFO(0, errno) 647 PCNTL_G(last_error) = errno; in PHP_FUNCTION() 736 PCNTL_G(last_error) = errno; in PHP_FUNCTION() 786 PCNTL_G(last_error) = errno; in PHP_FUNCTION() 1123 PCNTL_G(last_error) = errno; in PHP_FUNCTION() 1177 PCNTL_G(last_error) = errno; in PHP_FUNCTION() 1363 errno = 0; in PHP_FUNCTION() 1367 if (errno) { in PHP_FUNCTION() 1369 switch (errno) { in PHP_FUNCTION() 1403 switch (errno) { in PHP_FUNCTION() [all …]
|
/PHP-7.4/ext/pcntl/tests/ |
H A D | 002.phpt | 50 set_error_handler(function($errno, $errstr) { echo "Error triggered\n"; }, E_WARNING);
|
H A D | pcntl_exec_3.phpt | 16 Warning: pcntl_exec(): Error has occurred: (errno %d) %s
|
/PHP-7.4/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-7.4/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 965 if (oid == 0 && (errno == ERANGE || errno == EINVAL)) { in PHP_METHOD() 1012 if (oid == 0 && (errno == ERANGE || errno == EINVAL)) { in PHP_METHOD()
|
/PHP-7.4/ext/pdo_pgsql/tests/ |
H A D | bug72294.phpt | 14 function handleError($errno, $errstr, $errfile, $errline) 16 if (!($errno & error_reporting())) { 20 throw new RuntimeException( $errstr, $errno );
|
/PHP-7.4/ext/phar/ |
H A D | phar_object.c | 4165 if (EINVAL == errno && entry->filename_len > 50) { in phar_extract_file()
|
/PHP-7.4/ext/phar/tests/ |
H A D | create_path_error.phpt | 22 function error_handler($errno, $errmsg)
|
/PHP-7.4/ext/posix/ |
H A D | posix.c | 210 ZEND_ARG_INFO(0, errno) 469 POSIX_G(last_error) = errno; 575 POSIX_G(last_error) = errno; in PHP_FUNCTION() 581 POSIX_G(last_error) = errno; in PHP_FUNCTION() 606 POSIX_G(last_error) = errno; in PHP_FUNCTION() 645 POSIX_G(last_error) = errno; in PHP_FUNCTION() 665 POSIX_G(last_error) = errno; in PHP_FUNCTION() 1106 if (errno == ERANGE) { in PHP_FUNCTION() 1164 if (errno == ERANGE) { in PHP_FUNCTION() 1238 if (errno == ERANGE) { in PHP_FUNCTION() [all …]
|
/PHP-7.4/ext/posix/tests/ |
H A D | posix_strerror_error.phpt | 9 /* Prototype : proto string posix_strerror(int errno) 10 * Description: Retrieve the system error message associated with the given errno. 21 $errno = posix_get_last_error(); 23 var_dump( posix_strerror($errno, $extra_arg) ); 26 $errno = -999; 27 echo gettype( posix_strerror($errno) )."\n";
|
H A D | posix_times_basic.phpt | 17 $errno= posix_get_last_error(); 18 var_dump(posix_strerror($errno));
|
/PHP-7.4/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) {
|
/PHP-7.4/ext/session/ |
H A D | mod_files.c | 215 } while (ret == -1 && errno == EINTR); in ps_files_open() 222 …LL, E_WARNING, "fcntl(%d, F_SETFD, FD_CLOEXEC) failed: %s (%d)", data->fd, strerror(errno), errno); in ps_files_open() 226 …php_error_docref(NULL, E_WARNING, "open(%s, O_RDWR) failed: %s (%d)", buf, strerror(errno), errno); in ps_files_open() 274 php_error_docref(NULL, E_WARNING, "write failed: %s (%d)", strerror(errno), errno); in ps_files_write() 296 …L, E_NOTICE, "ps_files_cleanup_dir: opendir(%s) failed: %s (%d)", dirname, strerror(errno), errno); in ps_files_cleanup_dir() 401 errno = 0; in PS_OPEN_FUNC() 403 if (errno == ERANGE) { in PS_OPEN_FUNC() 410 errno = 0; in PS_OPEN_FUNC() 412 if (errno == ERANGE || filemode < 0 || filemode > 07777) { in PS_OPEN_FUNC() 526 php_error_docref(NULL, E_WARNING, "read failed: %s (%d)", strerror(errno), errno); in PS_READ_FUNC()
|
/PHP-7.4/ext/shmop/ |
H A D | shmop.c | 200 …_docref(NULL, E_WARNING, "unable to attach or create shared memory segment '%s'", strerror(errno)); in PHP_FUNCTION() 206 …r_docref(NULL, E_WARNING, "unable to get shared memory segment information '%s'", strerror(errno)); in PHP_FUNCTION() 217 …p_error_docref(NULL, E_WARNING, "unable to attach to shared memory segment '%s'", strerror(errno)); in PHP_FUNCTION()
|
/PHP-7.4/ext/simplexml/tests/ |
H A D | bug37565.phpt | 8 function my_error_handler($errno, $errstr, $errfile, $errline) {
|
/PHP-7.4/ext/snmp/ |
H A D | snmp.c | 1737 char *error = strerror(errno); in PHP_FUNCTION()
|
/PHP-7.4/ext/soap/ |
H A D | php_encoding.c | 1029 errno = 0; in to_zval_long()
|
/PHP-7.4/ext/soap/tests/ |
H A D | bug73037.phpt | 101 $fp = fsockopen(PHP_CLI_SERVER_HOSTNAME, PHP_CLI_SERVER_PORT, $errno, $errstr, 5);
|
/PHP-7.4/ext/sockets/ |
H A D | conversions.c | 579 "(errno %d)", errno); in to_zval_read_sin_addr() 630 "(errno %d)", errno); in to_zval_read_sin6_addr() 1267 if (errno == ENODEV) { in from_zval_write_ifindex() 1273 ZSTR_VAL(str), errno); in from_zval_write_ifindex() 1424 "descriptor %d: fstat() call failed with errno %d", fd, errno); in to_zval_read_fd_array()
|
H A D | multicast.c | 233 PHP_SOCKET_ERROR(php_sock, "unable to set socket option", errno); in php_do_mcast_opt() 303 PHP_SOCKET_ERROR(php_sock, "unable to set socket option", errno); in php_do_setsockopt_ip_mcast() 368 PHP_SOCKET_ERROR(php_sock, "unable to set socket option", errno); in php_do_setsockopt_ipv6_mcast() 742 "Failed obtaining address for interface %u: error %d", if_index, errno); 748 "Failed obtaining address for interface %u: error %d", if_index, errno); 778 (errno != EINVAL || lastsize != 0)) { 780 "Failed obtaining interfaces list: error %d", errno); 823 errno);
|
H A D | sendrecvmsg.c | 202 PHP_SOCKET_ERROR(php_sock, "error in sendmsg", errno); in PHP_FUNCTION() 268 SOCKETS_G(last_error) = errno; in PHP_FUNCTION() 270 errno, sockets_strerror(errno)); in PHP_FUNCTION() 362 PHP_SOCKET_ERROR(php_sock, "unable to set socket option", errno); in php_do_setsockopt_ipv6_rfc3542() 393 PHP_SOCKET_ERROR(php_sock, "unable to get socket option", errno); in php_do_getsockopt_ipv6_rfc3542()
|
H A D | sockets.c | 56 # define set_errno(a) (errno = a) 182 ZEND_ARG_INFO(0, errno) 616 if (errno != 0 && errno != ESPIPE && errno != EAGAIN) { 1021 SOCKETS_G(last_error) = errno; 1290 if (errno == EAGAIN 1292 || errno == EWOULDBLOCK 1295 php_sock->error = errno; 1497 SOCKETS_G(last_error) = errno; 2267 SOCKETS_G(last_error) = errno; 2654 SOCKETS_G(last_error) = errno; [all …]
|
/PHP-7.4/ext/sockets/tests/ |
H A D | socket_export_stream-2.phpt | 16 var_dump(socket_export_stream(stream_socket_server("udp://127.0.0.1:0", $errno, $errstr, STREAM_SER…
|