Lines Matching refs:EG

44 # define GLOBAL_CONSTANTS_TABLE		EG(zend_constants)
70 EG(error_reporting) = E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED; in ZEND_INI_MH()
72 EG(error_reporting) = atoi(ZSTR_VAL(new_value)); in ZEND_INI_MH()
423 memset(EG(exception_op), 0, sizeof(EG(exception_op))); in zend_init_exception_op()
424 EG(exception_op)[0].opcode = ZEND_HANDLE_EXCEPTION; in zend_init_exception_op()
425 EG(exception_op)[0].op1_type = IS_UNUSED; in zend_init_exception_op()
426 EG(exception_op)[0].op2_type = IS_UNUSED; in zend_init_exception_op()
427 EG(exception_op)[0].result_type = IS_UNUSED; in zend_init_exception_op()
428 ZEND_VM_SET_OPCODE_HANDLER(EG(exception_op)); in zend_init_exception_op()
429 EG(exception_op)[1].opcode = ZEND_HANDLE_EXCEPTION; in zend_init_exception_op()
430 EG(exception_op)[1].op1_type = IS_UNUSED; in zend_init_exception_op()
431 EG(exception_op)[1].op2_type = IS_UNUSED; in zend_init_exception_op()
432 EG(exception_op)[1].result_type = IS_UNUSED; in zend_init_exception_op()
433 ZEND_VM_SET_OPCODE_HANDLER(EG(exception_op)+1); in zend_init_exception_op()
434 EG(exception_op)[2].opcode = ZEND_HANDLE_EXCEPTION; in zend_init_exception_op()
435 EG(exception_op)[2].op1_type = IS_UNUSED; in zend_init_exception_op()
436 EG(exception_op)[2].op2_type = IS_UNUSED; in zend_init_exception_op()
437 EG(exception_op)[2].result_type = IS_UNUSED; in zend_init_exception_op()
438 ZEND_VM_SET_OPCODE_HANDLER(EG(exception_op)+2); in zend_init_exception_op()
444 memset(&EG(call_trampoline_op), 0, sizeof(EG(call_trampoline_op))); in zend_init_call_trampoline_op()
445 EG(call_trampoline_op).opcode = ZEND_CALL_TRAMPOLINE; in zend_init_call_trampoline_op()
446 EG(call_trampoline_op).op1_type = IS_UNUSED; in zend_init_call_trampoline_op()
447 EG(call_trampoline_op).op2_type = IS_UNUSED; in zend_init_call_trampoline_op()
448 EG(call_trampoline_op).result_type = IS_UNUSED; in zend_init_call_trampoline_op()
449 ZEND_VM_SET_OPCODE_HANDLER(&EG(call_trampoline_op)); in zend_init_call_trampoline_op()
545 zend_copy_constants(EG(zend_constants), GLOBAL_CONSTANTS_TABLE); in executor_globals_ctor()
629 ZVAL_ARR(&globals, &EG(symbol_table)); in php_auto_globals_create_globals()
632 zend_hash_update(&EG(symbol_table), name, &globals); in php_auto_globals_create_globals()
754 zend_get_windows_version_info(&EG(windows_version_info)); in zend_startup()
757 EG(error_reporting) = E_ALL & ~E_NOTICE; in zend_startup()
806 zend_destroy_rsrc_list(&EG(persistent_list)); in zend_post_startup()
815 free(EG(zend_constants)); in zend_post_startup()
820 global_persistent_list = &EG(persistent_list); in zend_post_startup()
830 zend_destroy_rsrc_list(&EG(persistent_list)); in zend_shutdown()
831 if (EG(active)) in zend_shutdown()
901 if (EG(exception)) { in zenderror()
914 if (!EG(bailout)) { in BEGIN_EXTERN_C()
921 EG(current_execute_data) = NULL; in BEGIN_EXTERN_C()
922 LONGJMP(*EG(bailout), FAILURE); in BEGIN_EXTERN_C()
978 EG(current_execute_data) = NULL; in zend_deactivate()
995 zend_destroy_rsrc_list(&EG(regular_list)); in zend_deactivate()
1073 if (EG(exception)) { in zend_error()
1084 ex = EG(current_execute_data); in zend_error()
1090 EG(opline_before_exception)) { in zend_error()
1091 opline = EG(opline_before_exception); in zend_error()
1093 zend_exception_error(EG(exception), E_WARNING); in zend_error()
1094 EG(exception) = NULL; in zend_error()
1169 if (Z_TYPE(EG(user_error_handler)) == IS_UNDEF in zend_error()
1170 || !(EG(user_error_handler_error_reporting) & type) in zend_error()
1171 || EG(error_handling) != EH_NORMAL) { in zend_error()
1223 ZVAL_COPY_VALUE(&orig_user_error_handler, &EG(user_error_handler)); in zend_error()
1224 ZVAL_UNDEF(&EG(user_error_handler)); in zend_error()
1247 } else if (!EG(exception)) { in zend_error()
1265 if (Z_TYPE(EG(user_error_handler)) == IS_UNDEF) { in zend_error()
1266 ZVAL_COPY_VALUE(&EG(user_error_handler), &orig_user_error_handler); in zend_error()
1279 if (!(EG(current_execute_data) && in zend_error()
1280 EG(current_execute_data)->func && in zend_error()
1281 ZEND_USER_CODE(EG(current_execute_data)->func->type) && in zend_error()
1282 EG(current_execute_data)->opline->opcode == ZEND_INCLUDE_OR_EVAL && in zend_error()
1283 EG(current_execute_data)->opline->extended_value == ZEND_EVAL)) { in zend_error()
1284 EG(exit_status) = 255; in zend_error()
1333 if (EG(current_execute_data) && !CG(in_compilation)) { in zend_throw_error()
1401 if (EG(exception)) { in zend_try_exception_handler()
1402 if (Z_TYPE(EG(user_exception_handler)) != IS_UNDEF) { in zend_try_exception_handler()
1406 old_exception = EG(exception); in zend_try_exception_handler()
1407 EG(exception) = NULL; in zend_try_exception_handler()
1409 ZVAL_COPY_VALUE(&orig_user_exception_handler, &EG(user_exception_handler)); in zend_try_exception_handler()
1413 if (EG(exception)) { in zend_try_exception_handler()
1414 OBJ_RELEASE(EG(exception)); in zend_try_exception_handler()
1415 EG(exception) = NULL; in zend_try_exception_handler()
1419 EG(exception) = old_exception; in zend_try_exception_handler()
1441 zend_hash_add_empty_element(&EG(included_files), file_handle->opened_path); in zend_execute_scripts()
1448 if (EG(exception)) { in zend_execute_scripts()
1449 zend_exception_error(EG(exception), E_ERROR); in zend_execute_scripts()