/PHP-5.5/Zend/ |
H A D | zend_execute_API.c | 135 EG(uninitialized_zval_ptr)=&EG(uninitialized_zval); in init_executor() 136 EG(error_zval_ptr)=&EG(error_zval); in init_executor() 143 EG(symtable_cache_ptr) = EG(symtable_cache) - 1; in init_executor() 159 EG(active_symbol_table) = &EG(symbol_table); in init_executor() 186 EG(scope) = NULL; in init_executor() 189 EG(This) = NULL; in init_executor() 193 EG(active) = 1; in init_executor() 303 while (EG(symtable_cache_ptr)>=EG(symtable_cache)) { in shutdown_executor() 333 EG(active) = 0; in shutdown_executor() 1682 if (EG(symtable_cache_ptr)>=EG(symtable_cache)) { in zend_rebuild_symbol_table() [all …]
|
H A D | zend_float.c | 30 if (!EG(saved_fpu_cw_ptr)) { in zend_init_fpu() 31 EG(saved_fpu_cw_ptr) = (void*)&EG(saved_fpu_cw); in zend_init_fpu() 33 XPFPA_STORE_CW(EG(saved_fpu_cw_ptr)); in zend_init_fpu() 36 EG(saved_fpu_cw_ptr) = NULL; in zend_init_fpu() 44 if (EG(saved_fpu_cw_ptr)) { in zend_shutdown_fpu() 45 XPFPA_RESTORE_CW(EG(saved_fpu_cw_ptr)); in zend_shutdown_fpu() 48 EG(saved_fpu_cw_ptr) = NULL; in zend_shutdown_fpu()
|
H A D | zend_execute.h | 171 EG(argument_stack)->end - EG(argument_stack)->top)) { \ 204 p->prev = EG(argument_stack); in zend_vm_stack_extend() 205 EG(argument_stack) = p; in zend_vm_stack_extend() 210 return EG(argument_stack)->top; in zend_vm_stack_top() 215 *(EG(argument_stack)->top++) = ptr; in zend_vm_stack_push() 236 (zend_uintptr_t)(EG(argument_stack)->end - EG(argument_stack)->top))) { in zend_vm_stack_alloc() 241 EG(argument_stack)->top += extra; in zend_vm_stack_alloc() 250 EG(argument_stack)->top += size; in zend_vm_stack_alloc() 265 EG(argument_stack) = p->prev; in zend_vm_stack_free_int() 277 EG(argument_stack) = p->prev; in zend_vm_stack_free() [all …]
|
H A D | zend.c | 483 memset(EG(exception_op), 0, sizeof(EG(exception_op))); in zend_init_exception_op() 566 EG(lambda_count) = 0; in executor_globals_ctor() 569 EG(in_execution) = 0; in executor_globals_ctor() 570 EG(in_autoload) = NULL; in executor_globals_ctor() 573 EG(exit_status) = 0; in executor_globals_ctor() 575 EG(saved_fpu_cw) = 0; in executor_globals_ctor() 578 EG(active) = 0; in executor_globals_ctor() 815 if (EG(active)) in zend_shutdown() 877 if (!EG(bailout)) { in BEGIN_EXTERN_C() 938 EG(opline_ptr) = NULL; in zend_deactivate() [all …]
|
H A D | zend_objects_API.c | 112 if (EG(objects_store).free_list_head != -1) { in zend_objects_store_put() 113 handle = EG(objects_store).free_list_head; in zend_objects_store_put() 114 EG(objects_store).free_list_head = EG(objects_store).object_buckets[handle].bucket.free_list.next; in zend_objects_store_put() 116 if (EG(objects_store).top == EG(objects_store).size) { in zend_objects_store_put() 117 EG(objects_store).size <<= 1; in zend_objects_store_put() 118 …EG(objects_store).object_buckets = (zend_object_store_bucket *) erealloc(EG(objects_store).object_… in zend_objects_store_put() 120 handle = EG(objects_store).top++; in zend_objects_store_put() 124 EG(objects_store).object_buckets[handle].valid = 1; in zend_objects_store_put() 167 …EG(objects_store).object_buckets[handle].bucket.free_list.next = EG(objects_store).free_list_head;… 169 EG(objects_store).object_buckets[handle].valid = 0; [all …]
|
H A D | zend_generators.c | 290 opline_ptr = EG(opline_ptr); in zend_generator_create_zval() 292 EG(active_symbol_table) = NULL; in zend_generator_create_zval() 296 EG(opline_ptr) = opline_ptr; in zend_generator_create_zval() 301 if (EG(This)) { in zend_generator_create_zval() 302 Z_ADDREF_P(EG(This)); in zend_generator_create_zval() 309 execute_data->current_this = EG(This); in zend_generator_create_zval() 315 EG(argument_stack) = current_stack; in zend_generator_create_zval() 350 zval *original_This = EG(This); in zend_generator_resume() 388 EG(This) = original_This; in zend_generator_resume() 389 EG(scope) = original_scope; in zend_generator_resume() [all …]
|
H A D | zend_execute.c | 262 *ptr = (zval**)EX_CV_NUM(EG(current_execute_data), EG(active_op_array)->last_var + var); in _get_zval_cv_lookup_BP_VAR_RW() 465 return EG(This); in _get_obj_zval_ptr_unused() 479 return &EG(This); in _get_obj_zval_ptr_ptr() 490 return &EG(This); in _get_obj_zval_ptr_ptr_unused() 502 return EG(This); in _get_obj_zval_ptr() 515 if (variable_ptr == &EG(error_zval) || value_ptr == &EG(error_zval)) { in zend_assign_to_variable_reference() 979 return &EG(symbol_table); in zend_get_target_symbol_table() 1081 &EG(error_zval_ptr) : &EG(uninitialized_zval_ptr); in zend_fetch_dimension_address_inner() 1446 if (&EG(symbol_table)!=EG(active_symbol_table)) { \ 1492 if (EG(symtable_cache_ptr) >= EG(symtable_cache_limit)) { in zend_clean_and_cache_symbol_table() [all …]
|
H A D | zend_objects.c | 74 if (object->ce != EG(scope)) { in zend_objects_destroy_object() 77 zend_error(EG(in_execution) ? E_ERROR : E_WARNING, in zend_objects_destroy_object() 80 EG(scope) ? EG(scope)->name : "", in zend_objects_destroy_object() 90 zend_error(EG(in_execution) ? E_ERROR : E_WARNING, in zend_objects_destroy_object() 93 EG(scope) ? EG(scope)->name : "", in zend_objects_destroy_object() 115 if (EG(exception)) { in zend_objects_destroy_object() 116 if (Z_OBJ_HANDLE_P(EG(exception)) == handle) { in zend_objects_destroy_object() 119 old_exception = EG(exception); in zend_objects_destroy_object() 120 EG(exception) = NULL; in zend_objects_destroy_object() 125 if (EG(exception)) { in zend_objects_destroy_object() [all …]
|
H A D | zend_gc.c | 195 EG(objects_store).object_buckets == NULL)) { in gc_zobj_possible_root() 308 if (Z_ARRVAL_P(pz) != &EG(symbol_table)) { in zval_scan_black() 413 if (Z_ARRVAL_P(pz) == &EG(symbol_table)) { in zval_mark_grey() 479 if (EG(objects_store).object_buckets) { in gc_mark_roots() 551 if (Z_ARRVAL_P(pz) == &EG(symbol_table)) { in zval_scan() 575 if (EG(objects_store).object_buckets) { in zobj_scan() 709 if (EG(objects_store).object_buckets) { in zobj_collect_white() 755 if (EG(objects_store).object_buckets) { in gc_collect_roots() 803 if (EG(objects_store).object_buckets && in gc_collect_cycles() 804 EG(objects_store).object_buckets[Z_OBJ_HANDLE(p->z)].valid && in gc_collect_cycles() [all …]
|
H A D | zend_constants.c | 163 zend_hash_destroy(EG(zend_constants)); in zend_shutdown_constants() 164 free(EG(zend_constants)); in zend_shutdown_constants() 171 if (EG(full_tables_cleanup)) { in clean_non_persistent_constants() 232 if (!EG(in_execution)) { in zend_get_special_constant() 239 if (EG(scope) && EG(scope)->name) { in zend_get_special_constant() 247 …zend_str_tolower_copy(const_name + sizeof("\0__CLASS__")-1, EG(scope)->name, EG(scope)->name_lengt… in zend_get_special_constant() 251 Z_STRVAL((**c).value) = estrndup(EG(scope)->name, EG(scope)->name_length); in zend_get_special_constant() 341 if (EG(in_execution)) { in zend_get_constant_ex() 342 scope = EG(scope); in zend_get_constant_ex() 369 if (EG(called_scope)) { in zend_get_constant_ex() [all …]
|
H A D | zend_ini.c | 94 EG(modified_ini_directives) = NULL; in zend_ini_startup() 95 EG(error_reporting_ini_entry) = NULL; in zend_ini_startup() 105 zend_hash_destroy(EG(ini_directives)); in zend_ini_shutdown() 106 free(EG(ini_directives)); in zend_ini_shutdown() 121 if (EG(modified_ini_directives)) { in zend_ini_deactivate() 125 EG(modified_ini_directives) = NULL; in zend_ini_deactivate() 136 EG(modified_ini_directives) = NULL; in zend_copy_ini_directives() 137 EG(error_reporting_ini_entry) = NULL; in zend_copy_ini_directives() 195 directives = EG(ini_directives); in zend_register_ini_entries() 279 if (!EG(modified_ini_directives)) { in zend_alter_ini_entry_ex() [all …]
|
H A D | zend_vm_execute.skl | 12 original_in_execution = EG(in_execution); 13 EG(in_execution) = 1; 17 execute_data = i_create_execute_data_from_op_array(EG(active_op_array), 1 TSRMLS_CC); 26 if (EG(timed_out)) { 41 if (EG(exception)) {
|
H A D | zend_exceptions.c | 62 zend_exception_set_previous(EG(exception), EG(prev_exception) TSRMLS_CC); in zend_exception_save() 64 if (EG(exception)) { in zend_exception_save() 65 EG(prev_exception) = EG(exception); in zend_exception_save() 67 EG(exception) = NULL; in zend_exception_save() 74 if (EG(exception)) { in zend_exception_restore() 77 EG(exception) = EG(prev_exception); in zend_exception_restore() 109 if(EG(exception)) { in zend_throw_exception_internal() 124 EG(opline_before_exception) = EG(current_execute_data)->opline; in zend_throw_exception_internal() 125 EG(current_execute_data)->opline = EG(exception_op); in zend_throw_exception_internal() 135 if (!EG(exception)) { in zend_clear_exception() [all …]
|
H A D | zend_vm_def.h | 1836 EG(opline_ptr) = NULL; in ZEND_VM_HELPER() 1884 if (EG(This)) { in ZEND_VM_HELPER() 1958 EG(This) = EX(object); in ZEND_VM_HELPER() 2063 if (EG(This)) { in ZEND_VM_HELPER() 2387 if (EG(exception)) { 2602 if (EG(This) && 3042 EG(exception) = NULL; 3561 EG(scope) = ce; 4177 if (!EG(exception)) { 4894 EG(ticks_count)=0; [all …]
|
H A D | zend_builtin_functions.c | 760 if (EG(scope)) { in ZEND_FUNCTION() 761 RETURN_STRINGL(EG(scope)->name, EG(scope)->name_length, 1); in ZEND_FUNCTION() 783 if (EG(called_scope)) { in ZEND_FUNCTION() 784 RETURN_STRINGL(EG(called_scope)->name, EG(called_scope)->name_length, 1); in ZEND_FUNCTION() 785 } else if (!EG(scope)) { in ZEND_FUNCTION() 807 ce = EG(scope); in ZEND_FUNCTION() 1071 || (EG(scope) && in ZEND_FUNCTION() 1548 zend_ptr_stack_push(&EG(user_error_handlers), EG(user_error_handler)); in ZEND_FUNCTION() 1579 EG(user_error_handler) = zend_ptr_stack_pop(&EG(user_error_handlers)); in ZEND_FUNCTION() 1610 zend_ptr_stack_push(&EG(user_exception_handlers), EG(user_exception_handler)); in ZEND_FUNCTION() [all …]
|
H A D | zend_object_handlers.c | 245 if ((ce==EG(scope) || property_info->ce == EG(scope)) && EG(scope)) { in zend_verify_property_access() 320 if (EG(scope) != ce in zend_get_property_info_quick() 321 && EG(scope) in zend_get_property_info_quick() 346 EG(std_property_info).h = h; in zend_get_property_info_quick() 347 EG(std_property_info).ce = ce; in zend_get_property_info_quick() 943 if (ce == EG(scope)) { in zend_check_private_int() 1059 if (EG(scope) && in zend_std_get_method() 1187 EG(This) && in zend_std_get_static_method() 1318 if (EG(scope)) { in zend_std_get_constructor() 1330 if (EG(scope)) { in zend_std_get_constructor() [all …]
|
H A D | zend_list.c | 44 index = zend_hash_next_free_element(&EG(regular_list)); in zend_list_insert() 46 zend_hash_index_update(&EG(regular_list), index, (void *) &le, sizeof(zend_rsrc_list_entry), NULL); in zend_list_insert() 54 if (zend_hash_index_find(&EG(regular_list), id, (void **) &le)==SUCCESS) { in _zend_list_delete() 57 return zend_hash_index_del(&EG(regular_list), id); in _zend_list_delete() 71 if (zend_hash_index_find(&EG(regular_list), id, (void **) &le)==SUCCESS) { in _zend_list_find() 84 if (zend_hash_index_find(&EG(regular_list), id, (void **) &le)==SUCCESS) { in _zend_list_addref() 222 if (zend_hash_init(&EG(regular_list), 0, NULL, list_entry_destructor, 0)==SUCCESS) { in zend_init_rsrc_list() 223 EG(regular_list).nNextFreeElement=1; /* we don't want resource id 0 */ in zend_init_rsrc_list() 233 return zend_hash_init_ex(&EG(persistent_list), 0, NULL, plist_entry_destructor, 1, 0); in zend_init_rsrc_plist() 255 …zend_hash_apply_with_argument(&EG(persistent_list), (apply_func_arg_t) clean_module_resource, (voi… in zend_clean_module_rsrc_dtors_cb()
|
H A D | zend_variables.c | 42 if (zvalue->value.ht && (zvalue->value.ht != &EG(symbol_table))) { in _zval_dtor_func() 133 if (zvalue->value.ht == &EG(symbol_table)) { in _zval_copy_ctor_func() 202 if (!EG(active_symbol_table)) { in zval_copy_static_var() 205 …if (zend_hash_quick_find(EG(active_symbol_table), key->arKey, key->nKeyLength, key->h, (void **) &… in zval_copy_static_var() 209 …zend_hash_quick_add(EG(active_symbol_table), key->arKey, key->nKeyLength, key->h, &tmp, sizeof(zva… in zval_copy_static_var() 211 tmp = EG(uninitialized_zval_ptr); in zval_copy_static_var()
|
H A D | zend_vm_execute.h | 385 if (EG(exception)) { in zend_execute() 445 if (EG(This)) { in zend_leave_helper_SPEC() 624 if (EG(This)) { in zend_do_fcall_common_helper_SPEC() 3631 if (EG(This) && in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_CONST_HANDLER() 4623 if (EG(This) && in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_TMP_HANDLER() 5480 if (EG(This) && in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_VAR_HANDLER() 6206 if (EG(This) && in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_UNUSED_HANDLER() 7068 if (EG(This) && in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_CV_HANDLER() 15499 if (EG(This) && in ZEND_INIT_STATIC_METHOD_CALL_SPEC_VAR_CONST_HANDLER() 17857 if (EG(This) && in ZEND_INIT_STATIC_METHOD_CALL_SPEC_VAR_TMP_HANDLER() [all …]
|
H A D | zend_dtrace.c | 29 if (EG(current_execute_data) && EG(current_execute_data)->op_array) { in dtrace_get_executed_filename() 30 return EG(current_execute_data)->op_array->filename; in dtrace_get_executed_filename()
|
H A D | zend_API.c | 1045 EG(scope) = old_scope; in zend_merge_properties() 2683 if (!EG(scope)) { in zend_is_callable_check_class() 2695 if (!EG(scope)) { in zend_is_callable_check_class() 2797 EG(scope) = ce_org; in zend_is_callable_check_func() 3705 EG(scope) = scope; in zend_update_property() 3720 EG(scope) = old_scope; in zend_update_property() 3801 EG(scope) = scope; in zend_update_static_property() 3803 EG(scope) = old_scope; in zend_update_static_property() 3910 EG(scope) = scope; in zend_read_property() 3925 EG(scope) = old_scope; in zend_read_property() [all …]
|
/PHP-5.5/ext/opcache/Optimizer/ |
H A D | pass1_5.c | 48 er = EG(error_reporting); 49 EG(error_reporting) = 0; 52 EG(error_reporting) = er; 55 EG(error_reporting) = er; 115 er = EG(error_reporting); 116 EG(error_reporting) = 0; 122 EG(error_reporting) = er; 125 EG(error_reporting) = er; 219 EG(in_execution) = 1; 220 EG(active_op_array) = op_array; [all …]
|
/PHP-5.5/ext/opcache/ |
H A D | ZendAccelerator.c | 661 EG(error_reporting) = 0; in zend_get_stream_timestamp() 730 !EG(opline_ptr) && in zend_get_file_handle_timestamp() 1486 (EG(opline_ptr) && *EG(opline_ptr) && 1646 if (!EG(opline_ptr) || !*EG(opline_ptr) || 1783 if (EG(in_execution)) { 1808 if (EG(opline_ptr) && *EG(opline_ptr)) { 1907 (EG(opline_ptr) && 1948 ZCG(cache_opline) = EG(opline_ptr) ? *EG(opline_ptr) : NULL; 1999 ZCG(cache_opline) = EG(opline_ptr) ? *EG(opline_ptr) : NULL; 2016 ZCG(cache_opline) = EG(opline_ptr) ? *EG(opline_ptr) : NULL; [all …]
|
/PHP-5.5/ext/spl/ |
H A D | php_spl.c | 290 EG(return_value_ptr_ptr) = &result; in spl_autoload() 291 EG(active_op_array) = new_op_array; in spl_autoload() 292 if (!EG(active_symbol_table)) { in spl_autoload() 300 if (!EG(exception)) { in spl_autoload() 301 if (EG(return_value_ptr_ptr)) { in spl_autoload() 337 EG(opline_ptr) = original_opline_ptr; in PHP_FUNCTION() 353 EG(opline_ptr) = original_opline_ptr; in PHP_FUNCTION() 675 EG(autoload_func) = NULL; in PHP_FUNCTION() 694 EG(autoload_func) = NULL; in PHP_FUNCTION() 714 if (!EG(autoload_func)) { in PHP_FUNCTION() [all …]
|
/PHP-5.5/main/ |
H A D | main.c | 165 EG(precision) = i; in PHP_INI_MH() 857 (!EG(user_error_handler) || !(EG(user_error_handler_error_reporting) & type))) { in php_verror() 1018 if (EG(error_handling) == EH_THROW && !EG(exception)) { in php_error_cb() 1151 EG(exit_status) = 255; in php_error_cb() 1742 EG(opline_ptr) = NULL; in php_request_shutdown() 1743 EG(active_op_array) = NULL; in php_request_shutdown() 2086 EG(bailout) = NULL; in php_module_startup() 2103 EG(exception) = NULL; in php_module_startup() 2439 EG(exit_status) = 0; in php_execute_script() 2551 EG(exit_status) = 0; in php_execute_simple_script() [all …]
|