Lines Matching refs:EG

54 # define GLOBAL_CONSTANTS_TABLE		EG(zend_constants)
88 EG(error_reporting) = E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED; in ZEND_INI_MH()
90 EG(error_reporting) = atoi(ZSTR_VAL(new_value)); in ZEND_INI_MH()
499 memset(EG(exception_op), 0, sizeof(EG(exception_op))); in zend_init_exception_op()
500 EG(exception_op)[0].opcode = ZEND_HANDLE_EXCEPTION; in zend_init_exception_op()
501 EG(exception_op)[0].op1_type = IS_UNUSED; in zend_init_exception_op()
502 EG(exception_op)[0].op2_type = IS_UNUSED; in zend_init_exception_op()
503 EG(exception_op)[0].result_type = IS_UNUSED; in zend_init_exception_op()
504 ZEND_VM_SET_OPCODE_HANDLER(EG(exception_op)); in zend_init_exception_op()
505 EG(exception_op)[1].opcode = ZEND_HANDLE_EXCEPTION; in zend_init_exception_op()
506 EG(exception_op)[1].op1_type = IS_UNUSED; in zend_init_exception_op()
507 EG(exception_op)[1].op2_type = IS_UNUSED; in zend_init_exception_op()
508 EG(exception_op)[1].result_type = IS_UNUSED; in zend_init_exception_op()
509 ZEND_VM_SET_OPCODE_HANDLER(EG(exception_op)+1); in zend_init_exception_op()
510 EG(exception_op)[2].opcode = ZEND_HANDLE_EXCEPTION; in zend_init_exception_op()
511 EG(exception_op)[2].op1_type = IS_UNUSED; in zend_init_exception_op()
512 EG(exception_op)[2].op2_type = IS_UNUSED; in zend_init_exception_op()
513 EG(exception_op)[2].result_type = IS_UNUSED; in zend_init_exception_op()
514 ZEND_VM_SET_OPCODE_HANDLER(EG(exception_op)+2); in zend_init_exception_op()
520 memset(&EG(call_trampoline_op), 0, sizeof(EG(call_trampoline_op))); in zend_init_call_trampoline_op()
521 EG(call_trampoline_op).opcode = ZEND_CALL_TRAMPOLINE; in zend_init_call_trampoline_op()
522 EG(call_trampoline_op).op1_type = IS_UNUSED; in zend_init_call_trampoline_op()
523 EG(call_trampoline_op).op2_type = IS_UNUSED; in zend_init_call_trampoline_op()
524 EG(call_trampoline_op).result_type = IS_UNUSED; in zend_init_call_trampoline_op()
525 ZEND_VM_SET_OPCODE_HANDLER(&EG(call_trampoline_op)); in zend_init_call_trampoline_op()
699 ZVAL_ARR(&globals, &EG(symbol_table)); in php_auto_globals_create_globals()
702 zend_hash_update(&EG(symbol_table), name, &globals); in php_auto_globals_create_globals()
826 zend_get_windows_version_info(&EG(windows_version_info)); in zend_startup()
829 EG(error_reporting) = E_ALL & ~E_NOTICE; in zend_startup()
884 zend_destroy_rsrc_list(&EG(persistent_list)); in zend_post_startup()
893 free(EG(zend_constants)); in zend_post_startup()
896 global_persistent_list = &EG(persistent_list); in zend_post_startup()
904 zend_destroy_rsrc_list(&EG(persistent_list)); in zend_shutdown()
948 if (EG(exception)) { in zenderror()
961 if (!EG(bailout)) { in BEGIN_EXTERN_C()
968 EG(current_execute_data) = NULL; in BEGIN_EXTERN_C()
969 LONGJMP(*EG(bailout), FAILURE); in BEGIN_EXTERN_C()
1025 EG(current_execute_data) = NULL; in zend_deactivate()
1042 zend_destroy_rsrc_list(&EG(regular_list)); in zend_deactivate()
1119 if (EG(exception)) { in zend_error()
1130 ex = EG(current_execute_data); in zend_error()
1136 EG(opline_before_exception)) { in zend_error()
1137 opline = EG(opline_before_exception); in zend_error()
1139 zend_exception_error(EG(exception), E_WARNING); in zend_error()
1140 EG(exception) = NULL; in zend_error()
1215 if (Z_TYPE(EG(user_error_handler)) == IS_UNDEF in zend_error()
1216 || !(EG(user_error_handler_error_reporting) & type) in zend_error()
1217 || EG(error_handling) != EH_NORMAL) { in zend_error()
1254 ZVAL_COPY_VALUE(&orig_user_error_handler, &EG(user_error_handler)); in zend_error()
1255 ZVAL_UNDEF(&EG(user_error_handler)); in zend_error()
1271 orig_fake_scope = EG(fake_scope); in zend_error()
1272 EG(fake_scope) = NULL; in zend_error()
1281 } else if (!EG(exception)) { in zend_error()
1286 EG(fake_scope) = orig_fake_scope; in zend_error()
1301 if (Z_TYPE(EG(user_error_handler)) == IS_UNDEF) { in zend_error()
1302 ZVAL_COPY_VALUE(&EG(user_error_handler), &orig_user_error_handler); in zend_error()
1315 if (!(EG(current_execute_data) && in zend_error()
1316 EG(current_execute_data)->func && in zend_error()
1317 ZEND_USER_CODE(EG(current_execute_data)->func->type) && in zend_error()
1318 EG(current_execute_data)->opline->opcode == ZEND_INCLUDE_OR_EVAL && in zend_error()
1319 EG(current_execute_data)->opline->extended_value == ZEND_EVAL)) { in zend_error()
1320 EG(exit_status) = 255; in zend_error()
1369 if (EG(current_execute_data) && !CG(in_compilation)) { in zend_throw_error()
1454 if (EG(exception)) { in zend_try_exception_handler()
1455 if (Z_TYPE(EG(user_exception_handler)) != IS_UNDEF) { in zend_try_exception_handler()
1459 old_exception = EG(exception); in zend_try_exception_handler()
1460 EG(exception) = NULL; in zend_try_exception_handler()
1462 ZVAL_COPY_VALUE(&orig_user_exception_handler, &EG(user_exception_handler)); in zend_try_exception_handler()
1466 if (EG(exception)) { in zend_try_exception_handler()
1467 OBJ_RELEASE(EG(exception)); in zend_try_exception_handler()
1468 EG(exception) = NULL; in zend_try_exception_handler()
1472 EG(exception) = old_exception; in zend_try_exception_handler()
1494 zend_hash_add_empty_element(&EG(included_files), file_handle->opened_path); in zend_execute_scripts()
1501 if (EG(exception)) { in zend_execute_scripts()
1502 zend_exception_error(EG(exception), E_ERROR); in zend_execute_scripts()