Lines Matching refs:EG
53 # define GLOBAL_CONSTANTS_TABLE EG(zend_constants)
92 EG(error_reporting) = E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED; in ZEND_INI_MH()
94 EG(error_reporting) = atoi(ZSTR_VAL(new_value)); in ZEND_INI_MH()
543 memset(EG(exception_op), 0, sizeof(EG(exception_op))); in zend_init_exception_op()
544 EG(exception_op)[0].opcode = ZEND_HANDLE_EXCEPTION; in zend_init_exception_op()
545 ZEND_VM_SET_OPCODE_HANDLER(EG(exception_op)); in zend_init_exception_op()
546 EG(exception_op)[1].opcode = ZEND_HANDLE_EXCEPTION; in zend_init_exception_op()
547 ZEND_VM_SET_OPCODE_HANDLER(EG(exception_op)+1); in zend_init_exception_op()
548 EG(exception_op)[2].opcode = ZEND_HANDLE_EXCEPTION; in zend_init_exception_op()
549 ZEND_VM_SET_OPCODE_HANDLER(EG(exception_op)+2); in zend_init_exception_op()
555 memset(&EG(call_trampoline_op), 0, sizeof(EG(call_trampoline_op))); in zend_init_call_trampoline_op()
556 EG(call_trampoline_op).opcode = ZEND_CALL_TRAMPOLINE; in zend_init_call_trampoline_op()
557 ZEND_VM_SET_OPCODE_HANDLER(&EG(call_trampoline_op)); in zend_init_call_trampoline_op()
755 ZVAL_ARR(&globals, &EG(symbol_table)); in php_auto_globals_create_globals()
758 zend_hash_update(&EG(symbol_table), name, &globals); in php_auto_globals_create_globals()
884 zend_get_windows_version_info(&EG(windows_version_info)); in zend_startup()
887 EG(error_reporting) = E_ALL & ~E_NOTICE; in zend_startup()
942 zend_destroy_rsrc_list(&EG(persistent_list)); in zend_post_startup()
951 free(EG(zend_constants)); in zend_post_startup()
954 global_persistent_list = &EG(persistent_list); in zend_post_startup()
975 zend_destroy_rsrc_list(&EG(persistent_list)); in zend_shutdown()
1019 if (EG(exception)) { in zenderror()
1032 if (!EG(bailout)) { in BEGIN_EXTERN_C()
1040 EG(current_execute_data) = NULL; in BEGIN_EXTERN_C()
1041 LONGJMP(*EG(bailout), FAILURE); in BEGIN_EXTERN_C()
1097 EG(current_execute_data) = NULL; in zend_deactivate()
1114 zend_destroy_rsrc_list(&EG(regular_list)); in zend_deactivate()
1191 if (EG(exception)) { in zend_error()
1202 ex = EG(current_execute_data); in zend_error()
1208 EG(opline_before_exception)) { in zend_error()
1209 opline = EG(opline_before_exception); in zend_error()
1211 zend_exception_error(EG(exception), E_WARNING); in zend_error()
1212 EG(exception) = NULL; in zend_error()
1287 if (Z_TYPE(EG(user_error_handler)) == IS_UNDEF in zend_error()
1288 || !(EG(user_error_handler_error_reporting) & type) in zend_error()
1289 || EG(error_handling) != EH_NORMAL) { in zend_error()
1326 ZVAL_COPY_VALUE(&orig_user_error_handler, &EG(user_error_handler)); in zend_error()
1327 ZVAL_UNDEF(&EG(user_error_handler)); in zend_error()
1343 orig_fake_scope = EG(fake_scope); in zend_error()
1344 EG(fake_scope) = NULL; in zend_error()
1353 } else if (!EG(exception)) { in zend_error()
1358 EG(fake_scope) = orig_fake_scope; in zend_error()
1371 if (Z_TYPE(EG(user_error_handler)) == IS_UNDEF) { in zend_error()
1372 ZVAL_COPY_VALUE(&EG(user_error_handler), &orig_user_error_handler); in zend_error()
1385 if (!(EG(current_execute_data) && in zend_error()
1386 EG(current_execute_data)->func && in zend_error()
1387 ZEND_USER_CODE(EG(current_execute_data)->func->type) && in zend_error()
1388 EG(current_execute_data)->opline->opcode == ZEND_INCLUDE_OR_EVAL && in zend_error()
1389 EG(current_execute_data)->opline->extended_value == ZEND_EVAL)) { in zend_error()
1390 EG(exit_status) = 255; in zend_error()
1439 if (EG(current_execute_data) && !CG(in_compilation)) { in zend_throw_error()
1524 if (EG(exception)) { in zend_try_exception_handler()
1525 if (Z_TYPE(EG(user_exception_handler)) != IS_UNDEF) { in zend_try_exception_handler()
1529 old_exception = EG(exception); in zend_try_exception_handler()
1530 EG(exception) = NULL; in zend_try_exception_handler()
1532 ZVAL_COPY_VALUE(&orig_user_exception_handler, &EG(user_exception_handler)); in zend_try_exception_handler()
1536 if (EG(exception)) { in zend_try_exception_handler()
1537 OBJ_RELEASE(EG(exception)); in zend_try_exception_handler()
1538 EG(exception) = NULL; in zend_try_exception_handler()
1542 EG(exception) = old_exception; in zend_try_exception_handler()
1564 zend_hash_add_empty_element(&EG(included_files), file_handle->opened_path); in zend_execute_scripts()
1571 if (EG(exception)) { in zend_execute_scripts()
1572 zend_exception_error(EG(exception), E_ERROR); in zend_execute_scripts()