Lines Matching refs:EG

63 # define GLOBAL_CONSTANTS_TABLE		EG(zend_constants)
104 EG(error_reporting) = E_ALL; in ZEND_INI_MH()
106 EG(error_reporting) = atoi(ZSTR_VAL(new_value)); in ZEND_INI_MH()
169 EG(exception_string_param_max_len) = i; in ZEND_INI_MH()
185 EG(fiber_stack_size) = tmp; in ZEND_INI_MH()
187 EG(fiber_stack_size) = ZEND_FIBER_DEFAULT_C_STACK_SIZE; in ZEND_INI_MH()
605 memset(EG(exception_op), 0, sizeof(EG(exception_op))); in zend_init_exception_op()
606 EG(exception_op)[0].opcode = ZEND_HANDLE_EXCEPTION; in zend_init_exception_op()
607 ZEND_VM_SET_OPCODE_HANDLER(EG(exception_op)); in zend_init_exception_op()
608 EG(exception_op)[1].opcode = ZEND_HANDLE_EXCEPTION; in zend_init_exception_op()
609 ZEND_VM_SET_OPCODE_HANDLER(EG(exception_op)+1); in zend_init_exception_op()
610 EG(exception_op)[2].opcode = ZEND_HANDLE_EXCEPTION; in zend_init_exception_op()
611 ZEND_VM_SET_OPCODE_HANDLER(EG(exception_op)+2); in zend_init_exception_op()
617 memset(&EG(call_trampoline_op), 0, sizeof(EG(call_trampoline_op))); in zend_init_call_trampoline_op()
618 EG(call_trampoline_op).opcode = ZEND_CALL_TRAMPOLINE; in zend_init_call_trampoline_op()
619 ZEND_VM_SET_OPCODE_HANDLER(&EG(call_trampoline_op)); in zend_init_call_trampoline_op()
995 zend_get_windows_version_info(&EG(windows_version_info)); in zend_startup()
1016 EG(error_reporting) = E_ALL & ~E_NOTICE; in zend_startup()
1084 zend_destroy_rsrc_list(&EG(persistent_list)); in zend_post_startup()
1100 free(EG(zend_constants)); in zend_post_startup()
1101 EG(zend_constants) = NULL; in zend_post_startup()
1104 global_persistent_list = &EG(persistent_list); in zend_post_startup()
1118 zend_destroy_rsrc_list(&EG(persistent_list)); in zend_shutdown()
1180 if (EG(exception)) { in zenderror()
1192 if (!EG(bailout)) { in _zend_bailout()
1201 EG(current_execute_data) = NULL; in _zend_bailout()
1202 LONGJMP(*EG(bailout), FAILURE); in _zend_bailout()
1276 EG(current_execute_data) = NULL; in zend_deactivate()
1293 zend_destroy_rsrc_list(&EG(regular_list)); in zend_deactivate()
1391 if (EG(capture_warnings_during_sccp)) { in zend_error_zstr_at()
1393 EG(capture_warnings_during_sccp)++; in zend_error_zstr_at()
1397 if (EG(record_errors)) { in zend_error_zstr_at()
1406 EG(num_errors)++; in zend_error_zstr_at()
1407 EG(errors) = erealloc(EG(errors), sizeof(zend_error_info) * EG(num_errors)); in zend_error_zstr_at()
1408 EG(errors)[EG(num_errors)-1] = info; in zend_error_zstr_at()
1412 if (EG(exception)) { in zend_error_zstr_at()
1417 ex = EG(current_execute_data); in zend_error_zstr_at()
1423 EG(opline_before_exception)) { in zend_error_zstr_at()
1424 opline = EG(opline_before_exception); in zend_error_zstr_at()
1426 zend_exception_error(EG(exception), E_WARNING); in zend_error_zstr_at()
1427 EG(exception) = NULL; in zend_error_zstr_at()
1437 if (Z_TYPE(EG(user_error_handler)) == IS_UNDEF in zend_error_zstr_at()
1438 || !(EG(user_error_handler_error_reporting) & type) in zend_error_zstr_at()
1439 || EG(error_handling) != EH_NORMAL) { in zend_error_zstr_at()
1464 ZVAL_COPY_VALUE(&orig_user_error_handler, &EG(user_error_handler)); in zend_error_zstr_at()
1465 ZVAL_UNDEF(&EG(user_error_handler)); in zend_error_zstr_at()
1481 orig_record_errors = EG(record_errors); in zend_error_zstr_at()
1482 orig_num_errors = EG(num_errors); in zend_error_zstr_at()
1483 orig_errors = EG(errors); in zend_error_zstr_at()
1484 EG(record_errors) = false; in zend_error_zstr_at()
1485 EG(num_errors) = 0; in zend_error_zstr_at()
1486 EG(errors) = NULL; in zend_error_zstr_at()
1490 EG(record_errors) = orig_record_errors; in zend_error_zstr_at()
1491 EG(num_errors) = orig_num_errors; in zend_error_zstr_at()
1492 EG(errors) = orig_errors; in zend_error_zstr_at()
1501 } else if (!EG(exception)) { in zend_error_zstr_at()
1516 if (Z_TYPE(EG(user_error_handler)) == IS_UNDEF) { in zend_error_zstr_at()
1517 ZVAL_COPY_VALUE(&EG(user_error_handler), &orig_user_error_handler); in zend_error_zstr_at()
1526 if (!(EG(current_execute_data) && in zend_error_zstr_at()
1527 EG(current_execute_data)->func && in zend_error_zstr_at()
1528 ZEND_USER_CODE(EG(current_execute_data)->func->type) && in zend_error_zstr_at()
1529 EG(current_execute_data)->opline->opcode == ZEND_INCLUDE_OR_EVAL && in zend_error_zstr_at()
1530 EG(current_execute_data)->opline->extended_value == ZEND_EVAL)) { in zend_error_zstr_at()
1531 EG(exit_status) = 255; in zend_error_zstr_at()
1682 ZEND_ASSERT(!EG(record_errors) && "Error recording already enabled"); in zend_begin_record_errors()
1683 EG(record_errors) = true; in zend_begin_record_errors()
1684 EG(num_errors) = 0; in zend_begin_record_errors()
1685 EG(errors) = NULL; in zend_begin_record_errors()
1690 EG(record_errors) = false; in zend_emit_recorded_errors()
1691 for (uint32_t i = 0; i < EG(num_errors); i++) { in zend_emit_recorded_errors()
1692 zend_error_info *error = EG(errors)[i]; in zend_emit_recorded_errors()
1699 if (!EG(num_errors)) { in zend_free_recorded_errors()
1703 for (uint32_t i = 0; i < EG(num_errors); i++) { in zend_free_recorded_errors()
1704 zend_error_info *info = EG(errors)[i]; in zend_free_recorded_errors()
1709 efree(EG(errors)); in zend_free_recorded_errors()
1710 EG(errors) = NULL; in zend_free_recorded_errors()
1711 EG(num_errors) = 0; in zend_free_recorded_errors()
1724 if (EG(exception) == (void*)(uintptr_t)-1) { in zend_throw_error()
1732 if (EG(current_execute_data) && !CG(in_compilation)) { in zend_throw_error()
1812 if (zend_is_unwind_exit(EG(exception))) { in zend_user_exception_handler()
1816 old_exception = EG(exception); in zend_user_exception_handler()
1817 EG(exception) = NULL; in zend_user_exception_handler()
1819 ZVAL_COPY_VALUE(&orig_user_exception_handler, &EG(user_exception_handler)); in zend_user_exception_handler()
1823 if (EG(exception)) { in zend_user_exception_handler()
1824 OBJ_RELEASE(EG(exception)); in zend_user_exception_handler()
1825 EG(exception) = NULL; in zend_user_exception_handler()
1829 EG(exception) = old_exception; in zend_user_exception_handler()
1854 zend_hash_add_empty_element(&EG(included_files), file_handle->opened_path); in zend_execute_scripts()
1859 if (UNEXPECTED(EG(exception))) { in zend_execute_scripts()
1860 if (Z_TYPE(EG(user_exception_handler)) != IS_UNDEF) { in zend_execute_scripts()
1863 if (EG(exception)) { in zend_execute_scripts()
1864 ret = zend_exception_error(EG(exception), E_ERROR); in zend_execute_scripts()