Lines Matching refs:EG
64 …return (EG(current_module) = zend_register_module_ex(&zend_builtin_module)) == NULL ? FAILURE : SU… in zend_startup_builtin_functions()
381 old_error_reporting = EG(error_reporting); in ZEND_FUNCTION()
390 zend_ini_entry *p = EG(error_reporting_ini_entry); in ZEND_FUNCTION()
393 zval *zv = zend_hash_find_ex(EG(ini_directives), ZSTR_KNOWN(ZEND_STR_ERROR_REPORTING), 1); in ZEND_FUNCTION()
395 p = EG(error_reporting_ini_entry) = (zend_ini_entry*)Z_PTR_P(zv); in ZEND_FUNCTION()
401 if (!EG(modified_ini_directives)) { in ZEND_FUNCTION()
402 ALLOC_HASHTABLE(EG(modified_ini_directives)); in ZEND_FUNCTION()
403 zend_hash_init(EG(modified_ini_directives), 8, NULL, NULL, 0); in ZEND_FUNCTION()
405 …if (EXPECTED(zend_hash_add_ptr(EG(modified_ini_directives), ZSTR_KNOWN(ZEND_STR_ERROR_REPORTING), … in ZEND_FUNCTION()
415 EG(error_reporting) = err; in ZEND_FUNCTION()
1035 ce = zend_hash_find_ptr(EG(class_table), lcname); in class_exists_impl()
1089 exists = zend_hash_exists(EG(function_table), lcname); in ZEND_FUNCTION()
1138 ZEND_HASH_FOREACH_STR_KEY(&EG(included_files), entry) { in ZEND_FUNCTION()
1188 if (Z_TYPE(EG(user_error_handler)) != IS_UNDEF) { in ZEND_FUNCTION()
1189 ZVAL_COPY(return_value, &EG(user_error_handler)); in ZEND_FUNCTION()
1192 zend_stack_push(&EG(user_error_handlers_error_reporting), &EG(user_error_handler_error_reporting)); in ZEND_FUNCTION()
1193 zend_stack_push(&EG(user_error_handlers), &EG(user_error_handler)); in ZEND_FUNCTION()
1196 ZVAL_UNDEF(&EG(user_error_handler)); in ZEND_FUNCTION()
1200 ZVAL_COPY(&EG(user_error_handler), &(fci.function_name)); in ZEND_FUNCTION()
1201 EG(user_error_handler_error_reporting) = (int)error_type; in ZEND_FUNCTION()
1210 if (Z_TYPE(EG(user_error_handler)) != IS_UNDEF) { in ZEND_FUNCTION()
1213 ZVAL_COPY_VALUE(&zeh, &EG(user_error_handler)); in ZEND_FUNCTION()
1214 ZVAL_UNDEF(&EG(user_error_handler)); in ZEND_FUNCTION()
1218 if (zend_stack_is_empty(&EG(user_error_handlers))) { in ZEND_FUNCTION()
1219 ZVAL_UNDEF(&EG(user_error_handler)); in ZEND_FUNCTION()
1222 …EG(user_error_handler_error_reporting) = zend_stack_int_top(&EG(user_error_handlers_error_reportin… in ZEND_FUNCTION()
1223 zend_stack_del_top(&EG(user_error_handlers_error_reporting)); in ZEND_FUNCTION()
1224 tmp = zend_stack_top(&EG(user_error_handlers)); in ZEND_FUNCTION()
1225 ZVAL_COPY_VALUE(&EG(user_error_handler), tmp); in ZEND_FUNCTION()
1226 zend_stack_del_top(&EG(user_error_handlers)); in ZEND_FUNCTION()
1245 if (Z_TYPE(EG(user_exception_handler)) != IS_UNDEF) { in ZEND_FUNCTION()
1246 ZVAL_COPY(return_value, &EG(user_exception_handler)); in ZEND_FUNCTION()
1249 zend_stack_push(&EG(user_exception_handlers), &EG(user_exception_handler)); in ZEND_FUNCTION()
1252 ZVAL_UNDEF(&EG(user_exception_handler)); in ZEND_FUNCTION()
1256 ZVAL_COPY(&EG(user_exception_handler), &(fci.function_name)); in ZEND_FUNCTION()
1265 if (Z_TYPE(EG(user_exception_handler)) != IS_UNDEF) { in ZEND_FUNCTION()
1266 zval_ptr_dtor(&EG(user_exception_handler)); in ZEND_FUNCTION()
1268 if (zend_stack_is_empty(&EG(user_exception_handlers))) { in ZEND_FUNCTION()
1269 ZVAL_UNDEF(&EG(user_exception_handler)); in ZEND_FUNCTION()
1271 zval *tmp = zend_stack_top(&EG(user_exception_handlers)); in ZEND_FUNCTION()
1272 ZVAL_COPY_VALUE(&EG(user_exception_handler), tmp); in ZEND_FUNCTION()
1273 zend_stack_del_top(&EG(user_exception_handlers)); in ZEND_FUNCTION()
1299 ZEND_HASH_FOREACH_STR_KEY_PTR(EG(class_table), key, ce) { in get_declared_class_impl()
1352 ZEND_HASH_FOREACH_STR_KEY_PTR(EG(function_table), key, func) { in ZEND_FUNCTION()
1442 ZEND_HASH_FOREACH_KEY_VAL(&EG(regular_list), index, key, val) { in ZEND_FUNCTION()
1450 ZEND_HASH_FOREACH_KEY_VAL(&EG(regular_list), index, key, val) { in ZEND_FUNCTION()
1465 ZEND_HASH_FOREACH_KEY_VAL(&EG(regular_list), index, key, val) { in ZEND_FUNCTION()
1534 ZEND_HASH_FOREACH_PTR(EG(zend_constants), val) { in ZEND_FUNCTION()
1564 ZEND_HASH_FOREACH_PTR(EG(zend_constants), constant) { in ZEND_FUNCTION()
1736 if (EG(opline_before_exception)) { in ZEND_FUNCTION()
1737 lineno = EG(opline_before_exception)->lineno; in ZEND_FUNCTION()
1892 if (!(ptr = EG(current_execute_data))) { in zend_fetch_debug_backtrace()
1934 if (EG(opline_before_exception)) { in zend_fetch_debug_backtrace()
1935 lineno = EG(opline_before_exception)->lineno; in zend_fetch_debug_backtrace()