/php-src/ext/sockets/ |
H A D | conversions.c | 73 struct err_s err; member 81 struct err_s err; member 152 if (err->has_error) { in do_from_to_zval_err() 170 err->has_error = 1; in do_from_to_zval_err() 171 err->level = E_WARNING; in do_from_to_zval_err() 176 err->should_free = 1; in do_from_to_zval_err() 202 if (err->msg != NULL) { in err_msg_dispose() 203 php_error_docref(NULL, err->level, "%s", err->msg); in err_msg_dispose() 205 efree(err->msg); in err_msg_dispose() 1510 *err = ctx.err; in from_zval_run_conversions() [all …]
|
/php-src/main/streams/ |
H A D | xp_socket.c | 77 int err = php_socket_errno(); in php_sockop_write() local 98 err = php_socket_errno(); in php_sockop_write() 99 } while (err == EINTR); in php_sockop_write() 383 if (err != EWOULDBLOCK && err != EMSGSIZE && err != EAGAIN) { in php_sockop_set_option() 448 "%s\n", err); in php_sockop_set_option() 449 efree(err); in php_sockop_set_option() 661 int portno, err; in php_tcp_sockop_bind() local 726 &err in php_tcp_sockop_bind() 741 int err = 0; in php_tcp_sockop_connect() local 765 &err); in php_tcp_sockop_connect() [all …]
|
/php-src/ext/fileinfo/libmagic/ |
H A D | is_csv.c | 184 err(EXIT_FAILURE, "Can't open `%s'", argv[1]); in main() 187 err(EXIT_FAILURE, "Can't stat `%s'", argv[1]); in main() 190 err(EXIT_FAILURE, "Can't allocate %jd bytes", in main() 193 err(EXIT_FAILURE, "Can't read %jd bytes", in main()
|
H A D | compress.c | 599 goto err; in uncompressgzipped() 604 err: in uncompressgzipped() 627 goto err; in uncompresszlib() 632 goto err; in uncompresszlib() 644 err: in uncompresszlib() 685 err: in uncompressbzlib() 723 err: in uncompressxzlib() 767 err: in uncompresszstd() 829 err: in uncompresslzlib() 1196 goto err; in uncompressbuf() [all …]
|
H A D | is_simh.c | 195 err(EXIT_FAILURE, "Can't open `%s'", argv[1]); in main() 198 err(EXIT_FAILURE, "Can't stat `%s'", argv[1]); in main() 201 err(EXIT_FAILURE, "Can't allocate %jd bytes", in main() 204 err(EXIT_FAILURE, "Can't read %jd bytes", in main()
|
/php-src/ext/posix/ |
H A D | posix.c | 454 int err; in PHP_FUNCTION() local 490 if (err) { in PHP_FUNCTION() 491 if (err == ERANGE) { in PHP_FUNCTION() 791 int err; in PHP_FUNCTION() local 813 if (err == ERANGE) { in PHP_FUNCTION() 846 int err; in PHP_FUNCTION() local 874 if (err == ERANGE) { in PHP_FUNCTION() 931 int err; in PHP_FUNCTION() local 953 if (err == ERANGE) { in PHP_FUNCTION() 990 int err; in PHP_FUNCTION() local [all …]
|
/php-src/tests/classes/ |
H A D | interface_method.phpt | 7 function err() {} 12 Fatal error: Interface function if_a::err() cannot contain body %s on line %d
|
H A D | interface_method_private.phpt | 7 abstract private function err(); 12 Fatal error: Access type for interface method if_a::err() must be public in %s on line %d
|
/php-src/ext/intl/normalizer/ |
H A D | normalizer_class.h | 29 intl_error err; member 33 #define NORMALIZER_ERROR(co) (co)->err
|
/php-src/win32/ |
H A D | winutil.c | 442 …ic zend_always_inline BOOL is_compatible(HMODULE handle, BOOL is_smaller, char *format, char **err) in is_compatible() argument 469 spprintf(err, 0, format, buf, major, minor, PHP_LINKER_MAJOR, PHP_LINKER_MINOR); in is_compatible() 471 spprintf(err, 0, "Can't retrieve the module name (error %u)", GetLastError()); in is_compatible() 479 PHP_WINUTIL_API BOOL php_win32_image_compatible(HMODULE handle, char **err) in php_win32_image_compatible() argument 481 … TRUE, "Can't load module '%s' as it's linked with %u.%u, but the core is linked with %d.%d", err); in php_win32_image_compatible() 485 PHP_WINUTIL_API BOOL php_win32_crt_compatible(char **err) in php_win32_crt_compatible() argument 496 spprintf(err, 0, "Can't get handle of module %s (error %u)", crt_name, GetLastError()); in php_win32_crt_compatible() 499 …mpatible(handle, FALSE, "'%s' %u.%u is not compatible with this PHP build linked with %d.%d", err); in php_win32_crt_compatible()
|
/php-src/Zend/tests/ |
H A D | bug46241.phpt | 22 $err = new ErrorHandling(); 24 set_error_handler( array( $err, 'errorHandler1' ) ); 25 set_error_handler( array( $err, 'errorHandler2' ) );
|
H A D | bug64578.phpt | 6 set_error_handler(function($no, $err) { var_dump($err); });
|
/php-src/ext/dom/ |
H A D | documentfragment.c | 66 int err; in PHP_METHOD() local 83 err = xmlParseBalancedChunkMemory(nodep->doc, NULL, NULL, 0, BAD_CAST data, &lst); in PHP_METHOD() 85 if (err != 0) { in PHP_METHOD()
|
/php-src/ext/opcache/tests/jit/ |
H A D | assign_dim_014.phpt | 9 set_error_handler(function($code, $err) { 10 echo "Error: $err\n";
|
/php-src/ext/intl/common/ |
H A D | common_date.h | 33 intl_error *err, const char *func); 37 U_CFUNC double intl_zval_to_millis(zval *z, intl_error *err, const char *func);
|
/php-src/ext/curl/ |
H A D | curl_private.h | 41 do { (__handle)->err.no = (int) __err; } while (0) 96 struct _php_curl_error err; member 119 } err; member 127 } err; member
|
/php-src/ext/sockets/tests/ |
H A D | socket_abstract_path_sendmsg.phpt | 18 $sends1 = socket_create(AF_UNIX, SOCK_DGRAM, 0) or die("err"); 22 $s = socket_create(AF_UNIX, SOCK_DGRAM, 0) or die("err"); 23 socket_bind($s, $path) or die("err");
|
/php-src/ext/odbc/tests/ |
H A D | bug78473.phpt | 9 } catch (TypeError $err) { 10 echo $err->getMessage(), PHP_EOL;
|
/php-src/ext/intl/tests/ |
H A D | msgfmt_fail2.phpt | 8 function err($fmt) { 63 err($fmt); 70 err($fmt); 77 err($fmt); 84 err($fmt); 91 err($fmt); 98 err($fmt); 102 err($fmt); 104 err($fmt); 106 err($fmt);
|
H A D | formatter_fail.phpt | 8 function err($fmt) { 62 err($fmt); 69 err($fmt); 76 err($fmt); 85 err($fmt); 89 err($fmt); 91 err($fmt); 93 err($fmt);
|
/php-src/ext/standard/ |
H A D | filters.c | 326 return err; in php_conv_base64_encode_flush() 436 return err; in php_conv_base64_encode_convert() 493 php_conv_err_t err; in php_conv_base64_decode_convert() local 598 return err; in php_conv_base64_decode_convert() 825 return err; in php_conv_qprint_encode_convert() 1042 return err; in php_conv_qprint_decode_convert() 1132 php_conv_err_t err; in php_conv_get_uint_prop_ex() local 1139 return err; in php_conv_get_uint_prop_ex() 1324 php_conv_err_t err; in strfilter_convert_append_bucket() local 1353 switch (err) { in strfilter_convert_append_bucket() [all …]
|
/php-src/ext/shmop/ |
H A D | shmop.c | 177 goto err; in PHP_FUNCTION() 182 goto err; in PHP_FUNCTION() 188 goto err; in PHP_FUNCTION() 194 goto err; in PHP_FUNCTION() 199 goto err; in PHP_FUNCTION() 205 goto err; in PHP_FUNCTION() 211 err: in PHP_FUNCTION()
|
/php-src/ext/pdo_dblib/ |
H A D | dblib_driver.c | 37 pdo_dblib_err *einfo = &H->err; in dblib_fetch_error() 44 einfo = &S->err; in dblib_fetch_error() 49 } else if (DBLIB_G(err).lastmsg) { in dblib_fetch_error() 50 msg = DBLIB_G(err).lastmsg; in dblib_fetch_error() 51 DBLIB_G(err).lastmsg = NULL; in dblib_fetch_error() 80 pdo_dblib_err_dtor(&H->err); in dblib_handle_closer() 104 S->err.sqlstate = stmt->error_code; in dblib_handle_preparer() 489 H->err.sqlstate = dbh->error_code; in pdo_dblib_handle_factory() 620 DBLIB_G(err).sqlstate, in pdo_dblib_handle_factory() 621 DBLIB_G(err).dberrstr, in pdo_dblib_handle_factory() [all …]
|
H A D | php_pdo_dblib_int.h | 116 void pdo_dblib_err_dtor(pdo_dblib_err *err); 122 pdo_dblib_err err; member 131 pdo_dblib_err err; member 142 pdo_dblib_err err;
|
/php-src/ext/zip/ |
H A D | zip_stream.c | 60 zip_error_t *err; in php_zip_ops_read() 61 err = zip_file_get_error(self->zf); in php_zip_ops_read() 63 php_error_docref(NULL, E_WARNING, "Zip stream error: %s", zip_error_strerror(err)); in php_zip_ops_read() 64 zip_error_fini(err); in php_zip_ops_read() 132 int err; in php_zip_ops_stat() local 166 za = zip_open(file_dirname, ZIP_CREATE, &err); in php_zip_ops_stat() 293 int err; in php_stream_zip_opener() local 328 za = zip_open(file_dirname, ZIP_CREATE, &err); in php_stream_zip_opener()
|