/php-src/TSRM/ |
H A D | tsrm_win32.c | 541 DWORD err = GetLastError(); in popen_ex() local 542 if (err == ERROR_NO_TOKEN) { in popen_ex()
|
/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/Zend/ |
H A D | zend_alloc.c | 397 DWORD err = GetLastError(); in stderr_last_error() local 398 char *buf = php_win32_error_to_msg(err); in stderr_last_error() 401 fprintf(stderr, "\n%s: [0x%08lx]\n", msg, err); in stderr_last_error() 404 fprintf(stderr, "\n%s: [0x%08lx] %s\n", msg, err, buf); in stderr_last_error()
|
H A D | zend_builtin_functions.c | 386 zend_long err; in ZEND_FUNCTION() local 392 Z_PARAM_LONG_OR_NULL(err, err_is_null) in ZEND_FUNCTION() 397 if (!err_is_null && err != old_error_reporting) { in ZEND_FUNCTION() 423 p->value = zend_long_to_str(err); in ZEND_FUNCTION() 424 EG(error_reporting) = err; in ZEND_FUNCTION()
|
H A D | zend_extensions.c | 45 char *err; in zend_load_extension() local 46 if (!php_win32_image_compatible(handle, &err)) { in zend_load_extension() 47 zend_error(E_CORE_WARNING, err); in zend_load_extension()
|
H A D | zend_fibers.c | 221 DWORD err = GetLastError(); in zend_fiber_stack_allocate() local 222 char *errmsg = php_win32_error_to_msg(err); in zend_fiber_stack_allocate() 223 …NULL, 0, "Fiber stack allocate failed: VirtualAlloc failed: [0x%08lx] %s", err, errmsg[0] ? errmsg… in zend_fiber_stack_allocate() 232 DWORD err = GetLastError(); in zend_fiber_stack_allocate() local 233 char *errmsg = php_win32_error_to_msg(err); in zend_fiber_stack_allocate() 234 …ULL, 0, "Fiber stack protect failed: VirtualProtect failed: [0x%08lx] %s", err, errmsg[0] ? errmsg… in zend_fiber_stack_allocate()
|
H A D | zend_max_execution_timer.c | 122 int err = timer_delete(timer); in zend_max_execution_timer_shutdown() local 123 if (err != 0) { in zend_max_execution_timer_shutdown()
|
/php-src/build/ |
H A D | ax_gcc_func_attribute.m4 | 230 [AS_IF([test -s conftest.err],
|
H A D | libtool.m4 | 253 _lt_compiler_boilerplate=`cat conftest.err` 267 _lt_linker_boilerplate=`cat conftest.err` 741 (eval "$lt_compile" 2>conftest.err) 743 cat conftest.err >&5 749 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 779 if test -s conftest.err; then 781 cat conftest.err 1>&5 783 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 1154 (eval "$lt_compile" 2>out/conftest.err) 1156 cat out/conftest.err >&5 [all …]
|
/php-src/ext/com_dotnet/ |
H A D | com_dotnet.c | 247 char *err = php_win32_error_to_msg(hr); in PHP_METHOD() local 248 snprintf(buf, sizeof(buf), "Failed to init .Net runtime [%s] %s", where, err); in PHP_METHOD() 249 php_win32_error_msg_free(err); in PHP_METHOD() 260 char *err = php_win32_error_to_msg(hr); in PHP_METHOD() local 261 snprintf(buf, sizeof(buf), "Failed to re-init .Net domain [%s] %s", where, err); in PHP_METHOD() 262 php_win32_error_msg_free(err); in PHP_METHOD() 272 char *err = php_win32_error_to_msg(hr); in PHP_METHOD() local 273 snprintf(buf, sizeof(buf), "Failed to re-init .Net domain [%s] %s", where, err); in PHP_METHOD() 274 php_win32_error_msg_free(err); in PHP_METHOD() 346 char *err = php_win32_error_to_msg(hr); in PHP_METHOD() local [all …]
|
/php-src/ext/com_dotnet/tests/ |
H A D | gh8750a.phpt | 18 } catch (TypeError $err) { 19 echo $err->getMessage(), PHP_EOL;
|
/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
|
H A D | interface.c | 1048 memset(&ch->err, 0, sizeof(struct _php_curl_error)); in init_curl_handle() 1101 curl_easy_setopt(ch->cp, CURLOPT_ERRORBUFFER, ch->err.str); in _php_curl_set_default_options() 1206 curl_easy_setopt(ch->cp, CURLOPT_ERRORBUFFER, ch->err.str); in _php_setup_easy_copy_handlers() 2291 memset(ch->err.str, 0, CURL_ERROR_SIZE + 1); in _php_curl_cleanup_handle() 2292 ch->err.no = 0; in _php_curl_cleanup_handle() 2625 if (ch->err.no) { in PHP_FUNCTION() 2626 ch->err.str[CURL_ERROR_SIZE] = 0; in PHP_FUNCTION() 2627 RETURN_STRING(ch->err.str); in PHP_FUNCTION() 2646 RETURN_LONG(ch->err.no); in PHP_FUNCTION()
|
H A D | multi.c | 47 #define SAVE_CURLM_ERROR(__handle, __err) (__handle)->err.no = (int) __err; 345 RETURN_LONG(mh->err.no); in PHP_FUNCTION()
|
H A D | share.c | 29 #define SAVE_CURLSH_ERROR(__handle, __err) (__handle)->err.no = (int) __err; 113 RETURN_LONG(sh->err.no); in PHP_FUNCTION()
|
/php-src/ext/date/ |
H A D | php_date.c | 2428 update_errors_warnings(&err); in php_date_initialize() 2431 if ((flags & PHP_DATE_INIT_CTOR) && err && err->error_count) { in php_date_initialize() 2434 …err->error_messages[0].position, err->error_messages[0].character ? err->error_messages[0].charact… in php_date_initialize() 2436 if (err && err->error_count) { in php_date_initialize() 3264 if (err && err->error_count) { in php_date_modify() 3268 err->error_messages[0].character ? err->error_messages[0].character : ' ', in php_date_modify() 4646 …err->error_messages[0].character ? err->error_messages[0].character : ' ', err->error_messages[0].… in php_date_interval_initialize_from_hash() 4880 if (err->error_count > 0) { in PHP_FUNCTION() 4882 …err->error_messages[0].position, err->error_messages[0].character ? err->error_messages[0].charact… in PHP_FUNCTION() 4914 if (err->error_count > 0) { in PHP_METHOD() [all …]
|
/php-src/ext/dba/ |
H A D | dba_db3.c | 53 int gmode = 0, err; local 80 if ((err=db_create(&dbp, NULL, 0)) == 0) { 84 (err=dbp->open(dbp, 0, ZSTR_VAL(info->path), NULL, type, gmode, filemode)) == 0) { 86 (err=dbp->open(dbp, ZSTR_VAL(info->path), NULL, type, gmode, filemode)) == 0) { 98 *error = db_strerror(err); 101 *error = db_strerror(err);
|
H A D | dba_db4.c | 67 int gmode = 0, err; local 109 if ((err=db_create(&dbp, NULL, 0)) == 0) { 113 (err=dbp->open(dbp, 0, ZSTR_VAL(info->path), NULL, type, gmode, filemode)) == 0) { 115 (err=dbp->open(dbp, ZSTR_VAL(info->path), NULL, type, gmode, filemode)) == 0) { 127 *error = db_strerror(err); 130 *error = db_strerror(err);
|
/php-src/ext/dom/ |
H A D | document.c | 1750 int err; in PHP_METHOD() local 1766 err = xmlXIncludeProcessFlags(docp, (int)flags); in PHP_METHOD() 1783 if (err) { in PHP_METHOD() 1784 RETVAL_LONG(err); in PHP_METHOD()
|
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()
|
H A D | parentnode.c | 393 goto err; in dom_zvals_to_single_node() 428 err: in dom_zvals_to_single_node()
|
H A D | php_dom.c | 2096 goto err; in dom_get_ns() 2099 goto err; in dom_get_ns() 2104 err: in dom_get_ns()
|
/php-src/ext/ffi/ |
H A D | ffi.c | 2976 char *err; in ZEND_METHOD() local 2989 err = GET_DL_ERROR(); in ZEND_METHOD() 2991 if (err && err[0]) { in ZEND_METHOD() 2993 php_win32_error_msg_free(err); in ZEND_METHOD() 2998 zend_throw_error(zend_ffi_exception_ce, "Failed loading '%s' (%s)", ZSTR_VAL(lib), err); in ZEND_METHOD() 3256 char *code, *code_pos, *scope_name, *lib, *err; in zend_ffi_load() local 3333 err = GET_DL_ERROR(); in zend_ffi_load() 3335 if (err && err[0]) { in zend_ffi_load() 3336 zend_throw_error(zend_ffi_exception_ce, "Failed loading '%s' (%s)", lib, err); in zend_ffi_load() 3337 php_win32_error_msg_free(err); in zend_ffi_load() [all …]
|
/php-src/ext/fileinfo/ |
H A D | libmagic.patch | 976 #include <err.h> 1345 #include <err.h> 1623 -bad_link(struct magic_set *ms, int err, char *buf) 1632 - file_error(ms, err,
|