CG 41 Zend/zend.c # define GLOBAL_FUNCTION_TABLE CG(function_table) CG 42 Zend/zend.c # define GLOBAL_CLASS_TABLE CG(class_table) CG 43 Zend/zend.c # define GLOBAL_AUTO_GLOBALS_TABLE CG(auto_globals) CG 91 Zend/zend.c if (!CG(multibyte)) { CG 476 Zend/zend.c CG(asp_tags) = asp_tags_default; CG 477 Zend/zend.c CG(short_tags) = short_tags_default; CG 478 Zend/zend.c CG(compiler_options) = compiler_options_default; CG 521 Zend/zend.c CG(interactive) = 0; CG 790 Zend/zend.c asp_tags_default = CG(asp_tags); CG 791 Zend/zend.c short_tags_default = CG(short_tags); CG 792 Zend/zend.c compiler_options_default = CG(compiler_options); CG 892 Zend/zend.c CG(unclean_shutdown) = 1; CG 893 Zend/zend.c CG(active_class_entry) = NULL; CG 894 Zend/zend.c CG(in_compilation) = EG(in_execution) = 0; CG 969 Zend/zend.c if (GC_G(gc_enabled) && !CG(unclean_shutdown)) { CG 1015 Zend/zend.c if (CG(stack).top) { \ CG 1016 Zend/zend.c memcpy(&stack, &CG(stack), sizeof(zend_stack)); \ CG 1017 Zend/zend.c CG(stack).top = CG(stack).max = 0; \ CG 1018 Zend/zend.c CG(stack).elements = NULL; \ CG 1026 Zend/zend.c zend_stack_destroy(&CG(stack)); \ CG 1027 Zend/zend.c memcpy(&CG(stack), &stack, sizeof(zend_stack)); \ CG 1208 Zend/zend.c in_compilation = CG(in_compilation); CG 1210 Zend/zend.c saved_class_entry = CG(active_class_entry); CG 1211 Zend/zend.c CG(active_class_entry) = NULL; CG 1220 Zend/zend.c CG(in_compilation) = 0; CG 1223 Zend/zend.c if (call_user_function_ex(CG(function_table), NULL, orig_user_error_handler, &retval, 5, params, 1, NULL TSRMLS_CC) == SUCCESS) { CG 1236 Zend/zend.c CG(active_class_entry) = saved_class_entry; CG 1245 Zend/zend.c CG(in_compilation) = 1; CG 1316 Zend/zend.c long orig_interactive = CG(interactive); CG 1327 Zend/zend.c CG(interactive) = 0; CG 1329 Zend/zend.c CG(interactive) = 1; CG 1351 Zend/zend.c if (call_user_function_ex(CG(function_table), NULL, orig_user_exception_handler, &retval2, 1, params, 1, NULL TSRMLS_CC) == SUCCESS) { CG 1374 Zend/zend.c CG(interactive) = orig_interactive; CG 1381 Zend/zend.c CG(interactive) = orig_interactive; CG 682 Zend/zend.h #define STR_EMPTY_ALLOC() CG(interned_empty_string)? CG(interned_empty_string) : estrndup("", sizeof("")-1) CG 1057 Zend/zend_API.c zend_class_entry **scope = EG(in_execution)?&EG(scope):&CG(active_class_entry); CG 1091 Zend/zend_API.c zend_class_entry **scope = EG(in_execution)?&EG(scope):&CG(active_class_entry); CG 1111 Zend/zend_API.c CG(static_members_table)[(zend_intptr_t)(class_type->static_members_table)] = emalloc(sizeof(zval*) * class_type->default_static_members_count); CG 1855 Zend/zend_API.c for (zend_hash_internal_pointer_reset_ex(CG(class_table), &pos); CG 1856 Zend/zend_API.c zend_hash_get_current_data_ex(CG(class_table), (void *) &pce, &pos) == SUCCESS; CG 1857 Zend/zend_API.c zend_hash_move_forward_ex(CG(class_table), &pos)) { CG 1870 Zend/zend_API.c for (zend_hash_internal_pointer_reset_ex(CG(class_table), &pos); CG 1871 Zend/zend_API.c zend_hash_get_current_data_ex(CG(class_table), (void *) &pce, &pos) == SUCCESS; CG 1872 Zend/zend_API.c zend_hash_move_forward_ex(CG(class_table), &pos)) { CG 2051 Zend/zend_API.c target_function_table = CG(function_table); CG 2311 Zend/zend_API.c target_function_table = CG(function_table); CG 2527 Zend/zend_API.c zend_hash_quick_update(CG(class_table), lowercase_name, class_entry->name_length+1, hash, &class_entry, sizeof(zend_class_entry *), NULL); CG 2544 Zend/zend_API.c if (zend_hash_find(CG(class_table), parent_name, strlen(parent_name)+1, (void **) &pce)==FAILURE) { CG 2595 Zend/zend_API.c ret = zend_hash_add(CG(class_table), lcname+1, name_len, &ce, sizeof(zend_class_entry *), NULL); CG 2597 Zend/zend_API.c ret = zend_hash_add(CG(class_table), lcname, name_len+1, &ce, sizeof(zend_class_entry *), NULL); CG 2641 Zend/zend_API.c if (zend_hash_find(CG(function_table), function_name, function_name_length+1, (void **)&func)==SUCCESS) { CG 2675 Zend/zend_API.c if (zend_hash_find(CG(class_table), class_name, class_name_length+1, (void **)&disabled_class)==FAILURE) { CG 229 Zend/zend_API.h # define CE_STATIC_MEMBERS(ce) (((ce)->type==ZEND_USER_CLASS)?(ce)->static_members_table:CG(static_members_table)[(zend_intptr_t)(ce)->static_members_table]) CG 2469 Zend/zend_builtin_functions.c zend_hash_internal_pointer_reset_ex(CG(function_table), &iterator); CG 2477 Zend/zend_builtin_functions.c while (zend_hash_get_current_data_ex(CG(function_table), (void **) &zif, &iterator) == SUCCESS) { CG 2486 Zend/zend_builtin_functions.c zend_hash_move_forward_ex(CG(function_table), &iterator); CG 59 Zend/zend_closures.c } else if (call_user_function_ex(CG(function_table), NULL, this_ptr, &closure_result_ptr, ZEND_NUM_ARGS(), arguments, 1, NULL TSRMLS_CC) == FAILURE) { CG 37 Zend/zend_compile.c CONSTANT_EX(CG(active_op_array), op) CG 42 Zend/zend_compile.c target.constant = zend_add_literal(CG(active_op_array), &(src)->u.constant TSRMLS_CC); \ CG 69 Zend/zend_compile.c CG(active_op_array)->literals[literal].cache_slot = CG(active_op_array)->last_cache_slot++; \ CG 70 Zend/zend_compile.c if ((CG(active_op_array)->fn_flags & ZEND_ACC_INTERACTIVE) && CG(active_op_array)->run_time_cache) { \ CG 71 Zend/zend_compile.c CG(active_op_array)->run_time_cache = erealloc(CG(active_op_array)->run_time_cache, CG(active_op_array)->last_cache_slot * sizeof(void*)); \ CG 72 Zend/zend_compile.c CG(active_op_array)->run_time_cache[CG(active_op_array)->last_cache_slot - 1] = NULL; \ CG 79 Zend/zend_compile.c CG(active_op_array)->literals[literal].cache_slot = CG(active_op_array)->last_cache_slot; \ CG 80 Zend/zend_compile.c CG(active_op_array)->last_cache_slot += POLYMORPHIC_CACHE_SLOT_SIZE; \ CG 81 Zend/zend_compile.c if ((CG(active_op_array)->fn_flags & ZEND_ACC_INTERACTIVE) && CG(active_op_array)->run_time_cache) { \ CG 82 Zend/zend_compile.c CG(active_op_array)->run_time_cache = erealloc(CG(active_op_array)->run_time_cache, CG(active_op_array)->last_cache_slot * sizeof(void*)); \ CG 83 Zend/zend_compile.c CG(active_op_array)->run_time_cache[CG(active_op_array)->last_cache_slot - 1] = NULL; \ CG 84 Zend/zend_compile.c CG(active_op_array)->run_time_cache[CG(active_op_array)->last_cache_slot - 2] = NULL; \ CG 89 Zend/zend_compile.c if (CG(active_op_array)->literals[literal].cache_slot != -1 && \ CG 90 Zend/zend_compile.c CG(active_op_array)->literals[literal].cache_slot == \ CG 91 Zend/zend_compile.c CG(active_op_array)->last_cache_slot - POLYMORPHIC_CACHE_SLOT_SIZE) { \ CG 92 Zend/zend_compile.c CG(active_op_array)->literals[literal].cache_slot = -1; \ CG 93 Zend/zend_compile.c CG(active_op_array)->last_cache_slot -= POLYMORPHIC_CACHE_SLOT_SIZE; \ CG 108 Zend/zend_compile.c zend_stack_push(&CG(function_call_stack), &fcall, sizeof(zend_function_call_entry)); CG 149 Zend/zend_compile.c if (CG(active_op_array)->filename) { CG 150 Zend/zend_compile.c filename = CG(active_op_array)->filename; CG 170 Zend/zend_compile.c Z_TYPE(CG(declarables).ticks) = IS_LONG; CG 171 Zend/zend_compile.c Z_LVAL(CG(declarables).ticks) = 0; CG 177 Zend/zend_compile.c CG(context).opcodes_size = (CG(active_op_array)->fn_flags & ZEND_ACC_INTERACTIVE) ? INITIAL_INTERACTIVE_OP_ARRAY_SIZE : INITIAL_OP_ARRAY_SIZE; CG 178 Zend/zend_compile.c CG(context).vars_size = 0; CG 179 Zend/zend_compile.c CG(context).literals_size = 0; CG 180 Zend/zend_compile.c CG(context).current_brk_cont = -1; CG 181 Zend/zend_compile.c CG(context).backpatch_count = 0; CG 182 Zend/zend_compile.c CG(context).nested_calls = 0; CG 183 Zend/zend_compile.c CG(context).used_stack = 0; CG 184 Zend/zend_compile.c CG(context).in_finally = 0; CG 185 Zend/zend_compile.c CG(context).labels = NULL; CG 191 Zend/zend_compile.c zend_stack_init(&CG(bp_stack)); CG 192 Zend/zend_compile.c zend_stack_init(&CG(function_call_stack)); CG 193 Zend/zend_compile.c zend_stack_init(&CG(switch_cond_stack)); CG 194 Zend/zend_compile.c zend_stack_init(&CG(foreach_copy_stack)); CG 195 Zend/zend_compile.c zend_stack_init(&CG(object_stack)); CG 196 Zend/zend_compile.c zend_stack_init(&CG(declare_stack)); CG 197 Zend/zend_compile.c CG(active_class_entry) = NULL; CG 198 Zend/zend_compile.c zend_llist_init(&CG(list_llist), sizeof(list_llist_element), NULL, 0); CG 199 Zend/zend_compile.c zend_llist_init(&CG(dimension_llist), sizeof(int), NULL, 0); CG 200 Zend/zend_compile.c zend_stack_init(&CG(list_stack)); CG 201 Zend/zend_compile.c CG(in_compilation) = 0; CG 202 Zend/zend_compile.c CG(start_lineno) = 0; CG 203 Zend/zend_compile.c CG(current_namespace) = NULL; CG 204 Zend/zend_compile.c CG(in_namespace) = 0; CG 205 Zend/zend_compile.c CG(has_bracketed_namespaces) = 0; CG 206 Zend/zend_compile.c CG(current_import) = NULL; CG 207 Zend/zend_compile.c CG(current_import_function) = NULL; CG 208 Zend/zend_compile.c CG(current_import_const) = NULL; CG 209 Zend/zend_compile.c zend_hash_init(&CG(const_filenames), 0, NULL, NULL, 0); CG 211 Zend/zend_compile.c zend_stack_init(&CG(context_stack)); CG 213 Zend/zend_compile.c CG(encoding_declared) = 0; CG 227 Zend/zend_compile.c CG(active_op_array) = NULL; CG 228 Zend/zend_compile.c memset(&CG(context), 0, sizeof(CG(context))); CG 231 Zend/zend_compile.c zend_hash_init(&CG(filenames_table), 5, NULL, (dtor_func_t) free_estring, 0); CG 232 Zend/zend_compile.c zend_llist_init(&CG(open_files), sizeof(zend_file_handle), (void (*)(void *)) file_handle_dtor, 0); CG 233 Zend/zend_compile.c CG(unclean_shutdown) = 0; CG 239 Zend/zend_compile.c zend_stack_destroy(&CG(bp_stack)); CG 240 Zend/zend_compile.c zend_stack_destroy(&CG(function_call_stack)); CG 241 Zend/zend_compile.c zend_stack_destroy(&CG(switch_cond_stack)); CG 242 Zend/zend_compile.c zend_stack_destroy(&CG(foreach_copy_stack)); CG 243 Zend/zend_compile.c zend_stack_destroy(&CG(object_stack)); CG 244 Zend/zend_compile.c zend_stack_destroy(&CG(declare_stack)); CG 245 Zend/zend_compile.c zend_stack_destroy(&CG(list_stack)); CG 246 Zend/zend_compile.c zend_hash_destroy(&CG(filenames_table)); CG 247 Zend/zend_compile.c zend_llist_destroy(&CG(open_files)); CG 248 Zend/zend_compile.c zend_hash_destroy(&CG(const_filenames)); CG 249 Zend/zend_compile.c zend_stack_destroy(&CG(context_stack)); CG 258 Zend/zend_compile.c if (zend_hash_find(&CG(filenames_table), new_compiled_filename, length+1, (void **) &pp) == SUCCESS) { CG 259 Zend/zend_compile.c CG(compiled_filename) = *pp; CG 263 Zend/zend_compile.c zend_hash_update(&CG(filenames_table), new_compiled_filename, length+1, &p, sizeof(char *), (void **) &pp); CG 264 Zend/zend_compile.c CG(compiled_filename) = p; CG 271 Zend/zend_compile.c CG(compiled_filename) = original_compiled_filename; CG 277 Zend/zend_compile.c return CG(compiled_filename); CG 283 Zend/zend_compile.c return CG(zend_lineno); CG 289 Zend/zend_compile.c return CG(in_compilation); CG 316 Zend/zend_compile.c if (op_array->last_var > CG(context).vars_size) { CG 317 Zend/zend_compile.c CG(context).vars_size += 16; /* FIXME */ CG 318 Zend/zend_compile.c op_array->vars = erealloc(op_array->vars, CG(context).vars_size * sizeof(zend_compiled_variable)); CG 360 Zend/zend_compile.c if (i >= CG(context).literals_size) { CG 361 Zend/zend_compile.c while (i >= CG(context).literals_size) { CG 362 Zend/zend_compile.c CG(context).literals_size += 16; /* FIXME */ CG 364 Zend/zend_compile.c op_array->literals = (zend_literal*)erealloc(op_array->literals, CG(context).literals_size * sizeof(zend_literal)); CG 401 Zend/zend_compile.c lc_literal = zend_add_literal(CG(active_op_array), &c TSRMLS_CC); CG 428 Zend/zend_compile.c lc_literal = zend_add_literal(CG(active_op_array), &c TSRMLS_CC); CG 438 Zend/zend_compile.c lc_literal = zend_add_literal(CG(active_op_array), &c TSRMLS_CC); CG 471 Zend/zend_compile.c lc_literal = zend_add_literal(CG(active_op_array), &c TSRMLS_CC); CG 517 Zend/zend_compile.c tmp_literal = zend_add_literal(CG(active_op_array), &c TSRMLS_CC); CG 523 Zend/zend_compile.c tmp_literal = zend_add_literal(CG(active_op_array), &c TSRMLS_CC); CG 539 Zend/zend_compile.c tmp_literal = zend_add_literal(CG(active_op_array), &c TSRMLS_CC); CG 545 Zend/zend_compile.c tmp_literal = zend_add_literal(CG(active_op_array), &c TSRMLS_CC); CG 555 Zend/zend_compile.c op.constant = zend_add_literal(CG(active_op_array), &_c TSRMLS_CC); \ CG 561 Zend/zend_compile.c op.constant = zend_add_literal(CG(active_op_array), &_c TSRMLS_CC); \ CG 573 Zend/zend_compile.c op.constant = zend_add_literal(CG(active_op_array), &_c TSRMLS_CC); \ CG 586 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 590 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 599 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 603 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 622 Zend/zend_compile.c int last_op_number = get_next_op_number(CG(active_op_array)); CG 623 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 626 Zend/zend_compile.c zend_op *last_op = &CG(active_op_array)->opcodes[last_op_number-1]; CG 642 Zend/zend_compile.c opline->op2.var = get_temporary_variable(CG(active_op_array)); CG 656 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 678 Zend/zend_compile.c (CG(active_op_array)->last == 0 || CG 679 Zend/zend_compile.c CG(active_op_array)->opcodes[CG(active_op_array)->last-1].opcode != ZEND_BEGIN_SILENCE)) { CG 681 Zend/zend_compile.c result->u.op.var = lookup_cv(CG(active_op_array), Z_STRVAL(varname->u.constant), Z_STRLEN(varname->u.constant), hash TSRMLS_CC); CG 682 Zend/zend_compile.c Z_STRVAL(varname->u.constant) = (char*)CG(active_op_array)->vars[result->u.op.var].name; CG 692 Zend/zend_compile.c opline_ptr = get_next_op(CG(active_op_array) TSRMLS_CC); CG 697 Zend/zend_compile.c opline_ptr->result.var = get_temporary_variable(CG(active_op_array)); CG 711 Zend/zend_compile.c zend_stack_top(&CG(bp_stack), (void **) &fetch_list_ptr); CG 739 Zend/zend_compile.c zend_stack_top(&CG(bp_stack), (void **) &fetch_list_ptr); CG 745 Zend/zend_compile.c opline.result.var = get_temporary_variable(CG(active_op_array)); CG 747 Zend/zend_compile.c LITERAL_STRINGL(opline.op1, estrdup(CG(active_op_array)->vars[result->u.op.var].name), CG(active_op_array)->vars[result->u.op.var].name_len, 0); CG 753 Zend/zend_compile.c zend_add_class_name_literal(CG(active_op_array), &class_node.u.constant TSRMLS_CC); CG 770 Zend/zend_compile.c opline.result.var = get_temporary_variable(CG(active_op_array)); CG 772 Zend/zend_compile.c LITERAL_STRINGL(opline.op1, estrdup(CG(active_op_array)->vars[opline_ptr->op1.var].name), CG(active_op_array)->vars[opline_ptr->op1.var].name_len, 0); CG 778 Zend/zend_compile.c zend_add_class_name_literal(CG(active_op_array), &class_node.u.constant TSRMLS_CC); CG 793 Zend/zend_compile.c zend_add_class_name_literal(CG(active_op_array), &class_node.u.constant TSRMLS_CC); CG 816 Zend/zend_compile.c zend_stack_top(&CG(bp_stack), (void **) &fetch_list_ptr); CG 831 Zend/zend_compile.c opline.result.var = get_temporary_variable(CG(active_op_array)); CG 861 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 864 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 874 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 886 Zend/zend_compile.c if (CG(active_class_entry)->ce_flags & ZEND_ACC_INTERFACE) { CG 895 Zend/zend_compile.c zend_error_noreturn(E_COMPILE_ERROR, "%s function %s::%s() cannot be declared private", method_type, CG(active_class_entry)->name, Z_STRVAL(function_name->u.constant)); CG 898 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 905 Zend/zend_compile.c zend_error_noreturn(E_COMPILE_ERROR, "%s function %s::%s() cannot contain body", method_type, CG(active_class_entry)->name, Z_STRVAL(function_name->u.constant)); CG 909 Zend/zend_compile.c zend_error_noreturn(E_COMPILE_ERROR, "Non-abstract method %s::%s() must contain body", CG(active_class_entry)->name, Z_STRVAL(function_name->u.constant)); CG 938 Zend/zend_compile.c zend_stack_top(&CG(bp_stack), (void **) &fetch_list_ptr); CG 946 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 949 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 952 Zend/zend_compile.c CG(active_op_array)->vars[value->u.op.var].name, CG 953 Zend/zend_compile.c CG(active_op_array)->vars[value->u.op.var].name_len, 1); CG 964 Zend/zend_compile.c last_op_number = get_next_op_number(CG(active_op_array)); CG 965 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 968 Zend/zend_compile.c if (variable->u.op.var == CG(active_op_array)->this_var) { CG 977 Zend/zend_compile.c last_op = &CG(active_op_array)->opcodes[last_op_number-n-1]; CG 983 Zend/zend_compile.c int opline_no = (opline-CG(active_op_array)->opcodes)/sizeof(*opline); CG 987 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 989 Zend/zend_compile.c last_op = &CG(active_op_array)->opcodes[opline_no]; CG 998 Zend/zend_compile.c int opline_no = (opline-CG(active_op_array)->opcodes)/sizeof(*opline); CG 1003 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1005 Zend/zend_compile.c last_op = &CG(active_op_array)->opcodes[opline_no]; CG 1009 Zend/zend_compile.c opline->op2.var = get_temporary_variable(CG(active_op_array)); CG 1028 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 1038 Zend/zend_compile.c if (lvar->u.op.var == CG(active_op_array)->this_var) { CG 1042 Zend/zend_compile.c int last_op_number = get_next_op_number(CG(active_op_array)); CG 1045 Zend/zend_compile.c opline = &CG(active_op_array)->opcodes[last_op_number-1]; CG 1052 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1063 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 1078 Zend/zend_compile.c parent = CG(context).current_brk_cont; CG 1079 Zend/zend_compile.c CG(context).current_brk_cont = CG(active_op_array)->last_brk_cont; CG 1080 Zend/zend_compile.c brk_cont_element = get_next_brk_cont_element(CG(active_op_array)); CG 1081 Zend/zend_compile.c brk_cont_element->start = get_next_op_number(CG(active_op_array)); CG 1092 Zend/zend_compile.c CG(active_op_array)->brk_cont_array[CG(context).current_brk_cont].start = -1; CG 1094 Zend/zend_compile.c CG(active_op_array)->brk_cont_array[CG(context).current_brk_cont].cont = cont_addr; CG 1095 Zend/zend_compile.c CG(active_op_array)->brk_cont_array[CG(context).current_brk_cont].brk = get_next_op_number(CG(active_op_array)); CG 1096 Zend/zend_compile.c CG(context).current_brk_cont = CG(active_op_array)->brk_cont_array[CG(context).current_brk_cont].parent; CG 1102 Zend/zend_compile.c int while_cond_op_number = get_next_op_number(CG(active_op_array)); CG 1103 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1111 Zend/zend_compile.c INC_BPC(CG(active_op_array)); CG 1117 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1126 Zend/zend_compile.c CG(active_op_array)->opcodes[close_bracket_token->u.op.opline_num].op2.opline_num = get_next_op_number(CG(active_op_array)); CG 1130 Zend/zend_compile.c DEC_BPC(CG(active_op_array)); CG 1136 Zend/zend_compile.c int for_cond_op_number = get_next_op_number(CG(active_op_array)); CG 1137 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1148 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1152 Zend/zend_compile.c CG(active_op_array)->opcodes[second_semicolon_token->u.op.opline_num].extended_value = get_next_op_number(CG(active_op_array)); CG 1158 Zend/zend_compile.c INC_BPC(CG(active_op_array)); CG 1164 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1168 Zend/zend_compile.c CG(active_op_array)->opcodes[second_semicolon_token->u.op.opline_num].op2.opline_num = get_next_op_number(CG(active_op_array)); CG 1174 Zend/zend_compile.c DEC_BPC(CG(active_op_array)); CG 1180 Zend/zend_compile.c int last_op_number = get_next_op_number(CG(active_op_array)); CG 1184 Zend/zend_compile.c zend_op *last_op = &CG(active_op_array)->opcodes[last_op_number-1]; CG 1189 Zend/zend_compile.c last_op->result.var = get_temporary_variable(CG(active_op_array)); CG 1195 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1200 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 1207 Zend/zend_compile.c int last_op_number = get_next_op_number(CG(active_op_array)); CG 1211 Zend/zend_compile.c zend_op *last_op = &CG(active_op_array)->opcodes[last_op_number-1]; CG 1216 Zend/zend_compile.c last_op->result.var = get_temporary_variable(CG(active_op_array)); CG 1222 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1227 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 1234 Zend/zend_compile.c int if_cond_op_number = get_next_op_number(CG(active_op_array)); CG 1235 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1241 Zend/zend_compile.c INC_BPC(CG(active_op_array)); CG 1247 Zend/zend_compile.c int if_end_op_number = get_next_op_number(CG(active_op_array)); CG 1248 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1257 Zend/zend_compile.c zend_stack_push(&CG(bp_stack), (void *) &jmp_list, sizeof(zend_llist)); CG 1259 Zend/zend_compile.c zend_stack_top(&CG(bp_stack), (void **) &jmp_list_ptr); CG 1262 Zend/zend_compile.c CG(active_op_array)->opcodes[closing_bracket_token->u.op.opline_num].op2.opline_num = if_end_op_number+1; CG 1270 Zend/zend_compile.c int next_op_number = get_next_op_number(CG(active_op_array)); CG 1274 Zend/zend_compile.c zend_stack_top(&CG(bp_stack), (void **) &jmp_list_ptr); CG 1276 Zend/zend_compile.c CG(active_op_array)->opcodes[*((int *) le->data)].op1.opline_num = next_op_number; CG 1279 Zend/zend_compile.c zend_stack_del_top(&CG(bp_stack)); CG 1280 Zend/zend_compile.c DEC_BPC(CG(active_op_array)); CG 1302 Zend/zend_compile.c zend_stack_push(&CG(bp_stack), (void *) &fetch_list, sizeof(zend_llist)); CG 1314 Zend/zend_compile.c zend_stack_top(&CG(bp_stack), (void **) &fetch_list_ptr); CG 1324 Zend/zend_compile.c if (CG(active_op_array)->last == 0 || CG 1325 Zend/zend_compile.c CG(active_op_array)->opcodes[CG(active_op_array)->last-1].opcode != ZEND_BEGIN_SILENCE) { CG 1328 Zend/zend_compile.c if (CG(active_op_array)->this_var == -1) { CG 1329 Zend/zend_compile.c CG(active_op_array)->this_var = lookup_cv(CG(active_op_array), Z_STRVAL(CONSTANT(opline_ptr->op1.constant)), Z_STRLEN(CONSTANT(opline_ptr->op1.constant)), Z_HASH_P(&CONSTANT(opline_ptr->op1.constant)) TSRMLS_CC); CG 1332 Zend/zend_compile.c zend_del_literal(CG(active_op_array), opline_ptr->op1.constant); CG 1338 Zend/zend_compile.c variable->u.op.var = CG(active_op_array)->this_var; CG 1340 Zend/zend_compile.c } else if (CG(active_op_array)->this_var == -1) { CG 1341 Zend/zend_compile.c CG(active_op_array)->this_var = lookup_cv(CG(active_op_array), estrndup("this", sizeof("this")-1), sizeof("this")-1, THIS_HASHVAL TSRMLS_CC); CG 1349 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1355 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1360 Zend/zend_compile.c opline->op1.var = CG(active_op_array)->this_var; CG 1398 Zend/zend_compile.c zend_stack_del_top(&CG(bp_stack)); CG 1407 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1415 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1428 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 1437 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1447 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 1457 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1463 Zend/zend_compile.c zend_op *opline = &CG(active_op_array)->opcodes[CG(active_op_array)->last-1]; CG 1477 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1485 Zend/zend_compile.c while (opline>CG(active_op_array)->opcodes) { CG 1547 Zend/zend_compile.c if (CG(active_class_entry)->ce_flags & ZEND_ACC_INTERFACE) { CG 1549 Zend/zend_compile.c zend_error_noreturn(E_COMPILE_ERROR, "Access type for interface method %s::%s() must be omitted", CG(active_class_entry)->name, Z_STRVAL(function_name->u.constant)); CG 1557 Zend/zend_compile.c if ((fn_flags & ZEND_ACC_STATIC) && (fn_flags & ZEND_ACC_ABSTRACT) && !(CG(active_class_entry)->ce_flags & ZEND_ACC_INTERFACE)) { CG 1558 Zend/zend_compile.c zend_error(E_STRICT, "Static function %s%s%s() should not be abstract", is_method ? CG(active_class_entry)->name : "", is_method ? "::" : "", Z_STRVAL(function_name->u.constant)); CG 1561 Zend/zend_compile.c function_token->u.op_array = CG(active_op_array); CG 1563 Zend/zend_compile.c orig_interactive = CG(interactive); CG 1564 Zend/zend_compile.c CG(interactive) = 0; CG 1566 Zend/zend_compile.c CG(interactive) = orig_interactive; CG 1574 Zend/zend_compile.c op_array.scope = is_method?CG(active_class_entry):NULL; CG 1584 Zend/zend_compile.c if (zend_hash_quick_add(&CG(active_class_entry)->function_table, lcname, name_len+1, hash, &op_array, sizeof(zend_op_array), (void **) &CG(active_op_array)) == FAILURE) { CG 1585 Zend/zend_compile.c zend_error_noreturn(E_COMPILE_ERROR, "Cannot redeclare %s::%s()", CG(active_class_entry)->name, name); CG 1588 Zend/zend_compile.c zend_stack_push(&CG(context_stack), (void *) &CG(context), sizeof(CG(context))); CG 1592 Zend/zend_compile.c CG(active_class_entry)->ce_flags |= ZEND_ACC_IMPLICIT_ABSTRACT_CLASS; CG 1599 Zend/zend_compile.c if (CG(active_class_entry)->ce_flags & ZEND_ACC_INTERFACE) { CG 1641 Zend/zend_compile.c class_lcname = do_alloca(CG(active_class_entry)->name_length + 1, use_heap); CG 1642 Zend/zend_compile.c zend_str_tolower_copy(class_lcname, CG(active_class_entry)->name, CG(active_class_entry)->name_length); CG 1645 Zend/zend_compile.c if ((CG(active_class_entry)->name_length == name_len) && ((CG(active_class_entry)->ce_flags & ZEND_ACC_TRAIT) != ZEND_ACC_TRAIT) && (!memcmp(class_lcname, lcname, name_len))) { CG 1646 Zend/zend_compile.c if (!CG(active_class_entry)->constructor) { CG 1647 Zend/zend_compile.c CG(active_class_entry)->constructor = (zend_function *) CG(active_op_array); CG 1650 Zend/zend_compile.c if (CG(active_class_entry)->constructor) { CG 1651 Zend/zend_compile.c zend_error(E_STRICT, "Redefining already defined constructor for class %s", CG(active_class_entry)->name); CG 1653 Zend/zend_compile.c CG(active_class_entry)->constructor = (zend_function *) CG(active_op_array); CG 1655 Zend/zend_compile.c CG(active_class_entry)->destructor = (zend_function *) CG(active_op_array); CG 1657 Zend/zend_compile.c CG(active_class_entry)->clone = (zend_function *) CG(active_op_array); CG 1662 Zend/zend_compile.c CG(active_class_entry)->__call = (zend_function *) CG(active_op_array); CG 1667 Zend/zend_compile.c CG(active_class_entry)->__callstatic = (zend_function *) CG(active_op_array); CG 1672 Zend/zend_compile.c CG(active_class_entry)->__get = (zend_function *) CG(active_op_array); CG 1677 Zend/zend_compile.c CG(active_class_entry)->__set = (zend_function *) CG(active_op_array); CG 1682 Zend/zend_compile.c CG(active_class_entry)->__unset = (zend_function *) CG(active_op_array); CG 1687 Zend/zend_compile.c CG(active_class_entry)->__isset = (zend_function *) CG(active_op_array); CG 1692 Zend/zend_compile.c CG(active_class_entry)->__tostring = (zend_function *) CG(active_op_array); CG 1701 Zend/zend_compile.c CG(active_class_entry)->__debugInfo = (zend_function *) CG(active_op_array); CG 1703 Zend/zend_compile.c CG(active_op_array)->fn_flags |= ZEND_ACC_ALLOW_STATIC; CG 1710 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1714 Zend/zend_compile.c if (CG(current_namespace)) { CG 1718 Zend/zend_compile.c tmp.u.constant = *CG(current_namespace); CG 1729 Zend/zend_compile.c if (CG(current_import_function) && CG 1730 Zend/zend_compile.c zend_hash_find(CG(current_import_function), lcname, Z_STRLEN(function_name->u.constant)+1, (void**)&ns_name) == SUCCESS) { CG 1744 Zend/zend_compile.c opline->op1.constant = zend_add_literal(CG(active_op_array), &key TSRMLS_CC); CG 1750 Zend/zend_compile.c zend_hash_quick_update(CG(function_table), Z_STRVAL(key), Z_STRLEN(key), Z_HASH_P(&CONSTANT(opline->op1.constant)), &op_array, sizeof(zend_op_array), (void **) &CG(active_op_array)); CG 1751 Zend/zend_compile.c zend_stack_push(&CG(context_stack), (void *) &CG(context), sizeof(CG(context))); CG 1756 Zend/zend_compile.c if (CG(compiler_options) & ZEND_COMPILE_EXTENDED_INFO) { CG 1757 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1773 Zend/zend_compile.c zend_stack_push(&CG(switch_cond_stack), (void *) &switch_entry, sizeof(switch_entry)); CG 1782 Zend/zend_compile.c zend_stack_push(&CG(foreach_copy_stack), (void *) &dummy_opline, sizeof(zend_op)); CG 1785 Zend/zend_compile.c if (CG(doc_comment)) { CG 1786 Zend/zend_compile.c CG(active_op_array)->doc_comment = CG(doc_comment); CG 1787 Zend/zend_compile.c CG(active_op_array)->doc_comment_len = CG(doc_comment_len); CG 1788 Zend/zend_compile.c CG(doc_comment) = NULL; CG 1789 Zend/zend_compile.c CG(doc_comment_len) = 0; CG 1797 Zend/zend_compile.c zend_op_array *current_op_array = CG(active_op_array); CG 1798 Zend/zend_compile.c int current_op_number = get_next_op_number(CG(active_op_array)); CG 1815 Zend/zend_compile.c CG(active_op_array)->fn_flags |= ZEND_ACC_STATIC; CG 1817 Zend/zend_compile.c CG(active_op_array)->fn_flags |= ZEND_ACC_CLOSURE; CG 1823 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1839 Zend/zend_compile.c pass_two(CG(active_op_array) TSRMLS_CC); CG 1842 Zend/zend_compile.c if (CG(active_class_entry)) { CG 1843 Zend/zend_compile.c zend_check_magic_method_implementation(CG(active_class_entry), (zend_function*)CG(active_op_array), E_COMPILE_ERROR TSRMLS_CC); CG 1847 Zend/zend_compile.c name_len = strlen(CG(active_op_array)->function_name); CG 1848 Zend/zend_compile.c zend_str_tolower_copy(lcname, CG(active_op_array)->function_name, MIN(name_len, sizeof(lcname)-1)); CG 1850 Zend/zend_compile.c if (name_len == sizeof(ZEND_AUTOLOAD_FUNC_NAME) - 1 && !memcmp(lcname, ZEND_AUTOLOAD_FUNC_NAME, sizeof(ZEND_AUTOLOAD_FUNC_NAME)) && CG(active_op_array)->num_args != 1) { CG 1855 Zend/zend_compile.c CG(active_op_array)->line_end = zend_get_compiled_lineno(TSRMLS_C); CG 1856 Zend/zend_compile.c CG(active_op_array) = function_token->u.op_array; CG 1860 Zend/zend_compile.c zend_stack_del_top(&CG(switch_cond_stack)); CG 1861 Zend/zend_compile.c zend_stack_del_top(&CG(foreach_copy_stack)); CG 1875 Zend/zend_compile.c var.u.op.var = lookup_cv(CG(active_op_array), Z_STRVAL(varname->u.constant), Z_STRLEN(varname->u.constant), 0 TSRMLS_CC); CG 1876 Zend/zend_compile.c Z_STRVAL(varname->u.constant) = (char*)CG(active_op_array)->vars[var.u.op.var].name; CG 1878 Zend/zend_compile.c if (CG(active_op_array)->vars[var.u.op.var].hash_value == THIS_HASHVAL && CG 1881 Zend/zend_compile.c if (CG(active_op_array)->scope && CG 1882 Zend/zend_compile.c (CG(active_op_array)->fn_flags & ZEND_ACC_STATIC) == 0) { CG 1885 Zend/zend_compile.c CG(active_op_array)->this_var = var.u.op.var; CG 1889 Zend/zend_compile.c if (CG(active_op_array)->fn_flags & ZEND_ACC_VARIADIC) { CG 1899 Zend/zend_compile.c CG(active_op_array)->fn_flags |= ZEND_ACC_VARIADIC; CG 1902 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1903 Zend/zend_compile.c CG(active_op_array)->num_args++; CG 1907 Zend/zend_compile.c opline->op1.num = CG(active_op_array)->num_args; CG 1913 Zend/zend_compile.c CG(active_op_array)->required_num_args = CG(active_op_array)->num_args; CG 1916 Zend/zend_compile.c CG(active_op_array)->arg_info = erealloc(CG(active_op_array)->arg_info, sizeof(zend_arg_info)*(CG(active_op_array)->num_args)); CG 1917 Zend/zend_compile.c cur_arg_info = &CG(active_op_array)->arg_info[CG(active_op_array)->num_args-1]; CG 1987 Zend/zend_compile.c if (check_namespace && CG(current_namespace) && !is_compound) { CG 1998 Zend/zend_compile.c if ((zend_hash_find(CG(function_table), lcname, Z_STRLEN(function_name->u.constant)+1, (void **) &function)==FAILURE) || CG 1999 Zend/zend_compile.c ((CG(compiler_options) & ZEND_COMPILE_IGNORE_INTERNAL_FUNCTIONS) && CG 2009 Zend/zend_compile.c if (CG(context).nested_calls + 1 > CG(active_op_array)->nested_calls) { CG 2010 Zend/zend_compile.c CG(active_op_array)->nested_calls = CG(context).nested_calls + 1; CG 2025 Zend/zend_compile.c last_op_number = get_next_op_number(CG(active_op_array))-1; CG 2026 Zend/zend_compile.c last_op = &CG(active_op_array)->opcodes[last_op_number]; CG 2043 Zend/zend_compile.c zend_add_func_name_literal(CG(active_op_array), &name TSRMLS_CC); CG 2048 Zend/zend_compile.c last_op->result.num = CG(context).nested_calls; CG 2051 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2053 Zend/zend_compile.c opline->result.num = CG(context).nested_calls; CG 2057 Zend/zend_compile.c opline->op2.constant = zend_add_func_name_literal(CG(active_op_array), &left_bracket->u.constant TSRMLS_CC); CG 2065 Zend/zend_compile.c if (++CG(context).nested_calls > CG(active_op_array)->nested_calls) { CG 2066 Zend/zend_compile.c CG(active_op_array)->nested_calls = CG(context).nested_calls; CG 2074 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2080 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 2089 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2094 Zend/zend_compile.c opline->result.num = CG(context).nested_calls; CG 2097 Zend/zend_compile.c opline->op2.constant = zend_add_ns_func_name_literal(CG(active_op_array), &function_name->u.constant TSRMLS_CC); CG 2101 Zend/zend_compile.c opline->result.num = CG(context).nested_calls; CG 2105 Zend/zend_compile.c opline->op2.constant = zend_add_func_name_literal(CG(active_op_array), &function_name->u.constant TSRMLS_CC); CG 2113 Zend/zend_compile.c if (++CG(context).nested_calls > CG(active_op_array)->nested_calls) { CG 2114 Zend/zend_compile.c CG(active_op_array)->nested_calls = CG(context).nested_calls; CG 2157 Zend/zend_compile.c if (compound && CG(current_import)) { CG 2162 Zend/zend_compile.c if (zend_hash_find(CG(current_import), lookup_name, len+1, (void**)&ns) == SUCCESS) { CG 2179 Zend/zend_compile.c if (CG(current_namespace)) { CG 2181 Zend/zend_compile.c Z_STRLEN(tmp.u.constant) = sizeof("\\")-1 + Z_STRLEN(element_name->u.constant) + Z_STRLEN_P(CG(current_namespace)); CG 2183 Zend/zend_compile.c memcpy(Z_STRVAL(tmp.u.constant), Z_STRVAL_P(CG(current_namespace)), Z_STRLEN_P(CG(current_namespace))); CG 2184 Zend/zend_compile.c memcpy(&(Z_STRVAL(tmp.u.constant)[Z_STRLEN_P(CG(current_namespace))]), "\\", sizeof("\\")-1); CG 2185 Zend/zend_compile.c memcpy(&(Z_STRVAL(tmp.u.constant)[Z_STRLEN_P(CG(current_namespace)) + sizeof("\\")-1]), Z_STRVAL(element_name->u.constant), Z_STRLEN(element_name->u.constant)+1); CG 2194 Zend/zend_compile.c zend_resolve_non_class_name(element_name, check_namespace, 0, CG(current_import_function) TSRMLS_CC); CG 2200 Zend/zend_compile.c zend_resolve_non_class_name(element_name, check_namespace, 1, CG(current_import_const) TSRMLS_CC); CG 2214 Zend/zend_compile.c if (!CG(active_class_entry)) { CG 2217 Zend/zend_compile.c if (CG(active_class_entry)->ce_flags & ZEND_ACC_TRAIT) { CG 2225 Zend/zend_compile.c ZVAL_STRINGL(&class_name->u.constant, CG(active_class_entry)->name, CG(active_class_entry)->name_length, 1); CG 2236 Zend/zend_compile.c if (!CG(active_class_entry)) { CG 2280 Zend/zend_compile.c if (CG(current_import)) { CG 2284 Zend/zend_compile.c if (zend_hash_find(CG(current_import), lcname, len+1, (void**)&ns) == SUCCESS) { CG 2300 Zend/zend_compile.c if (CG(current_namespace)) { CG 2302 Zend/zend_compile.c tmp.u.constant = *CG(current_namespace); CG 2308 Zend/zend_compile.c } else if (CG(current_import) || CG(current_namespace)) { CG 2312 Zend/zend_compile.c if (CG(current_import) && CG 2313 Zend/zend_compile.c zend_hash_find(CG(current_import), lcname, Z_STRLEN(class_name->u.constant)+1, (void**)&ns) == SUCCESS) { CG 2318 Zend/zend_compile.c } else if (CG(current_namespace)) { CG 2321 Zend/zend_compile.c tmp.u.constant = *CG(current_namespace); CG 2336 Zend/zend_compile.c fetch_class_op_number = get_next_op_number(CG(active_op_array)); CG 2337 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2342 Zend/zend_compile.c CG(catch_begin) = fetch_class_op_number; CG 2359 Zend/zend_compile.c zend_add_class_name_literal(CG(active_op_array), &class_name->u.constant TSRMLS_CC); CG 2365 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 2376 Zend/zend_compile.c if (!CG(context).labels) { CG 2377 Zend/zend_compile.c ALLOC_HASHTABLE(CG(context).labels); CG 2378 Zend/zend_compile.c zend_hash_init(CG(context).labels, 4, NULL, NULL, 0); CG 2381 Zend/zend_compile.c dest.brk_cont = CG(context).current_brk_cont; CG 2382 Zend/zend_compile.c dest.opline_num = get_next_op_number(CG(active_op_array)); CG 2384 Zend/zend_compile.c if (zend_hash_add(CG(context).labels, Z_STRVAL(label->u.constant), Z_STRLEN(label->u.constant) + 1, (void**)&dest, sizeof(zend_label), NULL) == FAILURE) { CG 2404 Zend/zend_compile.c if (CG(context).labels == NULL || CG 2405 Zend/zend_compile.c zend_hash_find(CG(context).labels, Z_STRVAL_P(label), Z_STRLEN_P(label)+1, (void**)&dest) == FAILURE) { CG 2408 Zend/zend_compile.c CG(in_compilation) = 1; CG 2409 Zend/zend_compile.c CG(active_op_array) = op_array; CG 2410 Zend/zend_compile.c CG(zend_lineno) = opline->lineno; CG 2428 Zend/zend_compile.c CG(in_compilation) = 1; CG 2429 Zend/zend_compile.c CG(active_op_array) = op_array; CG 2430 Zend/zend_compile.c CG(zend_lineno) = opline->lineno; CG 2455 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2458 Zend/zend_compile.c opline->extended_value = CG(context).current_brk_cont; CG 2461 Zend/zend_compile.c zend_resolve_goto_label(CG(active_op_array), opline, 0 TSRMLS_CC); CG 2467 Zend/zend_compile.c if (CG(context).labels) { CG 2468 Zend/zend_compile.c zend_hash_destroy(CG(context).labels); CG 2469 Zend/zend_compile.c FREE_HASHTABLE(CG(context).labels); CG 2470 Zend/zend_compile.c CG(context).labels = NULL; CG 2472 Zend/zend_compile.c if (!temporary && !zend_stack_is_empty(&CG(context_stack))) { CG 2475 Zend/zend_compile.c zend_stack_top(&CG(context_stack), (void**)&ctx); CG 2476 Zend/zend_compile.c CG(context) = *ctx; CG 2477 Zend/zend_compile.c zend_stack_del_top(&CG(context_stack)); CG 2533 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2536 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2540 Zend/zend_compile.c opline->result.num = CG(context).nested_calls; CG 2544 Zend/zend_compile.c zend_add_class_name_literal(CG(active_op_array), &class_node.u.constant TSRMLS_CC); CG 2551 Zend/zend_compile.c zend_add_func_name_literal(CG(active_op_array), &method_name->u.constant TSRMLS_CC); CG 2562 Zend/zend_compile.c if (++CG(context).nested_calls > CG(active_op_array)->nested_calls) { CG 2563 Zend/zend_compile.c CG(active_op_array)->nested_calls = CG(context).nested_calls; CG 2574 Zend/zend_compile.c zend_stack_top(&CG(function_call_stack), (void **) &fcall); CG 2581 Zend/zend_compile.c opline = &CG(active_op_array)->opcodes[Z_LVAL(function_name->u.constant)]; CG 2583 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2588 Zend/zend_compile.c opline->op2.num = CG(context).nested_calls; CG 2595 Zend/zend_compile.c opline->op2.num = --CG(context).nested_calls; CG 2606 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 2611 Zend/zend_compile.c if (CG(context).used_stack + 1 > CG(active_op_array)->used_stack) { CG 2612 Zend/zend_compile.c CG(active_op_array)->used_stack = CG(context).used_stack + 1; CG 2614 Zend/zend_compile.c CG(context).used_stack -= fcall->arg_num; CG 2615 Zend/zend_compile.c zend_stack_del_top(&CG(function_call_stack)); CG 2628 Zend/zend_compile.c zend_stack_top(&CG(function_call_stack), (void **) &fcall); CG 2708 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2728 Zend/zend_compile.c if (++CG(context).used_stack > CG(active_op_array)->used_stack) { CG 2729 Zend/zend_compile.c CG(active_op_array)->used_stack = CG(context).used_stack; CG 2739 Zend/zend_compile.c zend_stack_top(&CG(function_call_stack), (void **) &fcall); CG 2749 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2751 Zend/zend_compile.c opline->result.num = CG(context).nested_calls; CG 2754 Zend/zend_compile.c opline->op2.constant = zend_add_func_name_literal(CG(active_op_array), &func_name TSRMLS_CC); CG 2757 Zend/zend_compile.c ++CG(context).nested_calls; CG 2761 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2777 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2796 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2810 Zend/zend_compile.c zend_bool returns_reference = (CG(active_op_array)->fn_flags & ZEND_ACC_RETURN_REFERENCE) != 0; CG 2822 Zend/zend_compile.c start_op_number = get_next_op_number(CG(active_op_array)); CG 2825 Zend/zend_compile.c zend_stack_apply_with_argument(&CG(switch_cond_stack), ZEND_STACK_APPLY_TOPDOWN, (int (*)(void *element, void *)) generate_free_switch_expr TSRMLS_CC); CG 2826 Zend/zend_compile.c zend_stack_apply_with_argument(&CG(foreach_copy_stack), ZEND_STACK_APPLY_TOPDOWN, (int (*)(void *element, void *)) generate_free_foreach_copy TSRMLS_CC); CG 2828 Zend/zend_compile.c zend_stack_apply(&CG(switch_cond_stack), ZEND_STACK_APPLY_TOPDOWN, (int (*)(void *element)) generate_free_switch_expr); CG 2829 Zend/zend_compile.c zend_stack_apply(&CG(foreach_copy_stack), ZEND_STACK_APPLY_TOPDOWN, (int (*)(void *element)) generate_free_foreach_copy); CG 2832 Zend/zend_compile.c end_op_number = get_next_op_number(CG(active_op_array)); CG 2834 Zend/zend_compile.c CG(active_op_array)->opcodes[start_op_number].extended_value |= EXT_TYPE_FREE_ON_RETURN; CG 2838 Zend/zend_compile.c if (CG(context).in_finally) { CG 2839 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2845 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2870 Zend/zend_compile.c if (!CG(active_op_array)->function_name) { CG 2874 Zend/zend_compile.c CG(active_op_array)->fn_flags |= ZEND_ACC_GENERATOR; CG 2877 Zend/zend_compile.c if ((CG(active_op_array)->fn_flags & ZEND_ACC_RETURN_REFERENCE) && !zend_is_function_or_method_call(value)) { CG 2884 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2905 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 2912 Zend/zend_compile.c int try_catch_offset = CG(active_op_array)->last_try_catch++; CG 2914 Zend/zend_compile.c CG(active_op_array)->try_catch_array = erealloc(CG(active_op_array)->try_catch_array, sizeof(zend_try_catch_element)*CG(active_op_array)->last_try_catch); CG 2915 Zend/zend_compile.c CG(active_op_array)->try_catch_array[try_catch_offset].try_op = try_op; CG 2916 Zend/zend_compile.c CG(active_op_array)->try_catch_array[try_catch_offset].catch_op = 0; CG 2917 Zend/zend_compile.c CG(active_op_array)->try_catch_array[try_catch_offset].finally_op = 0; CG 2918 Zend/zend_compile.c CG(active_op_array)->try_catch_array[try_catch_offset].finally_end = 0; CG 2925 Zend/zend_compile.c CG(active_op_array)->try_catch_array[offset].catch_op = catch_op; CG 2931 Zend/zend_compile.c open_parentheses->u.op.opline_num = get_next_op_number(CG(active_op_array)); CG 2937 Zend/zend_compile.c int jmp_op_number = get_next_op_number(CG(active_op_array)); CG 2938 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2948 Zend/zend_compile.c zend_stack_push(&CG(bp_stack), (void *) &jmp_list, sizeof(zend_llist)); CG 2949 Zend/zend_compile.c zend_stack_top(&CG(bp_stack), (void **) &jmp_list_ptr); CG 2952 Zend/zend_compile.c catch_token->EA = get_next_op_number(CG(active_op_array)); CG 2958 Zend/zend_compile.c CG(active_op_array)->last--; CG 2961 Zend/zend_compile.c CG(active_op_array)->opcodes[first_catch->u.op.opline_num].result.num = 1; CG 2962 Zend/zend_compile.c CG(active_op_array)->opcodes[first_catch->u.op.opline_num].extended_value = get_next_op_number(CG(active_op_array)); CG 2964 Zend/zend_compile.c CG(active_op_array)->opcodes[last_additional_catch->u.op.opline_num].result.num = 1; CG 2965 Zend/zend_compile.c CG(active_op_array)->opcodes[last_additional_catch->u.op.opline_num].extended_value = get_next_op_number(CG(active_op_array)); CG 2967 Zend/zend_compile.c DEC_BPC(CG(active_op_array)); CG 2973 Zend/zend_compile.c try_token->u.op.opline_num = zend_add_try_element(get_next_op_number(CG(active_op_array)) TSRMLS_CC); CG 2974 Zend/zend_compile.c INC_BPC(CG(active_op_array)); CG 2980 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2982 Zend/zend_compile.c finally_token->u.op.opline_num = get_next_op_number(CG(active_op_array)); CG 2991 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2996 Zend/zend_compile.c CG(context).in_finally++; CG 3014 Zend/zend_compile.c catch_op_number = get_next_op_number(CG(active_op_array)); CG 3019 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 3022 Zend/zend_compile.c opline->op1.constant = zend_add_class_name_literal(CG(active_op_array), &catch_class.u.constant TSRMLS_CC); CG 3024 Zend/zend_compile.c opline->op2.var = lookup_cv(CG(active_op_array), Z_STRVAL(catch_var->u.constant), Z_STRLEN(catch_var->u.constant), 0 TSRMLS_CC); CG 3025 Zend/zend_compile.c Z_STRVAL(catch_var->u.constant) = (char*)CG(active_op_array)->vars[opline->op2.var].name; CG 3034 Zend/zend_compile.c int jmp_op_number = get_next_op_number(CG(active_op_array)); CG 3035 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 3043 Zend/zend_compile.c zend_stack_top(&CG(bp_stack), (void **) &jmp_list_ptr); CG 3046 Zend/zend_compile.c CG(active_op_array)->opcodes[catch_token->u.op.opline_num].extended_value = get_next_op_number(CG(active_op_array)); CG 3065 Zend/zend_compile.c CG(active_op_array)->try_catch_array[try_token->u.op.opline_num].finally_op = finally_token->u.op.opline_num + 1; CG 3066 Zend/zend_compile.c CG(active_op_array)->try_catch_array[try_token->u.op.opline_num].finally_end = get_next_op_number(CG(active_op_array)); CG 3067 Zend/zend_compile.c CG(active_op_array)->has_finally_block = 1; CG 3069 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 3074 Zend/zend_compile.c CG(active_op_array)->opcodes[finally_token->u.op.opline_num].op1.opline_num = get_next_op_number(CG(active_op_array)); CG 3076 Zend/zend_compile.c CG(context).in_finally--; CG 3085 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 4650 Zend/zend_compile.c zend_class_entry *ce = CG(active_class_entry); CG 4679 Zend/zend_compile.c zend_class_entry *ce = CG(active_class_entry); CG 4778 Zend/zend_compile.c zend_op *opline = &CG(active_op_array)->opcodes[CG(active_op_array)->last-1]; CG 4781 Zend/zend_compile.c while (opline->opcode == ZEND_TICKS && opline > CG(active_op_array)->opcodes) { CG 4787 Zend/zend_compile.c if (do_bind_function(CG(active_op_array), opline, CG(function_table), 1) == FAILURE) { CG 4790 Zend/zend_compile.c table = CG(function_table); CG 4793 Zend/zend_compile.c if (do_bind_class(CG(active_op_array), opline, CG(class_table), 1 TSRMLS_CC) == NULL) { CG 4796 Zend/zend_compile.c table = CG(class_table); CG 4806 Zend/zend_compile.c ((CG(compiler_options) & ZEND_COMPILE_IGNORE_INTERNAL_CLASSES) && CG 4808 Zend/zend_compile.c if (CG(compiler_options) & ZEND_COMPILE_DELAYED_BINDING) { CG 4809 Zend/zend_compile.c zend_uint *opline_num = &CG(active_op_array)->early_binding; CG 4812 Zend/zend_compile.c opline_num = &CG(active_op_array)->opcodes[*opline_num].result.opline_num; CG 4814 Zend/zend_compile.c *opline_num = opline - CG(active_op_array)->opcodes; CG 4821 Zend/zend_compile.c if (do_bind_inherited_class(CG(active_op_array), opline, CG(class_table), *pce, 1 TSRMLS_CC) == NULL) { CG 4825 Zend/zend_compile.c zend_del_literal(CG(active_op_array), fetch_class_opline->op2.constant); CG 4828 Zend/zend_compile.c table = CG(class_table); CG 4844 Zend/zend_compile.c zend_del_literal(CG(active_op_array), opline->op1.constant); CG 4845 Zend/zend_compile.c zend_del_literal(CG(active_op_array), opline->op2.constant); CG 4853 Zend/zend_compile.c zend_bool orig_in_compilation = CG(in_compilation); CG 4857 Zend/zend_compile.c CG(in_compilation) = 1; CG 4864 Zend/zend_compile.c CG(in_compilation) = orig_in_compilation; CG 4871 Zend/zend_compile.c int next_op_number = get_next_op_number(CG(active_op_array)); CG 4872 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 4878 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 4892 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 4900 Zend/zend_compile.c CG(active_op_array)->opcodes[op_token->u.op.opline_num].op2.opline_num = get_next_op_number(CG(active_op_array)); CG 4906 Zend/zend_compile.c int next_op_number = get_next_op_number(CG(active_op_array)); CG 4907 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 4913 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 4927 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 4935 Zend/zend_compile.c CG(active_op_array)->opcodes[op_token->u.op.opline_num].op2.opline_num = get_next_op_number(CG(active_op_array)); CG 4942 Zend/zend_compile.c INC_BPC(CG(active_op_array)); CG 4948 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 4957 Zend/zend_compile.c DEC_BPC(CG(active_op_array)); CG 4963 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 4966 Zend/zend_compile.c opline->op1.opline_num = CG(context).current_brk_cont; CG 4989 Zend/zend_compile.c zend_stack_push(&CG(switch_cond_stack), (void *) &switch_entry, sizeof(switch_entry)); CG 4993 Zend/zend_compile.c INC_BPC(CG(active_op_array)); CG 5002 Zend/zend_compile.c zend_stack_top(&CG(switch_cond_stack), (void **) &switch_entry_ptr); CG 5006 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 5014 Zend/zend_compile.c int next_op_number = get_next_op_number(CG(active_op_array)); CG 5016 Zend/zend_compile.c CG(active_op_array)->opcodes[case_list->u.op.opline_num].op1.opline_num = next_op_number; CG 5020 Zend/zend_compile.c CG(active_op_array)->brk_cont_array[CG(context).current_brk_cont].cont = CG(active_op_array)->brk_cont_array[CG(context).current_brk_cont].brk = get_next_op_number(CG(active_op_array)); CG 5021 Zend/zend_compile.c CG(context).current_brk_cont = CG(active_op_array)->brk_cont_array[CG(context).current_brk_cont].parent; CG 5025 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 5034 Zend/zend_compile.c zend_stack_del_top(&CG(switch_cond_stack)); CG 5036 Zend/zend_compile.c DEC_BPC(CG(active_op_array)); CG 5042 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 5047 Zend/zend_compile.c zend_stack_top(&CG(switch_cond_stack), (void **) &switch_entry_ptr); CG 5050 Zend/zend_compile.c switch_entry_ptr->control_var = get_temporary_variable(CG(active_op_array)); CG 5062 Zend/zend_compile.c next_op_number = get_next_op_number(CG(active_op_array)); CG 5063 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 5072 Zend/zend_compile.c next_op_number = get_next_op_number(CG(active_op_array)); CG 5073 Zend/zend_compile.c CG(active_op_array)->opcodes[case_list->u.op.opline_num].op1.opline_num = next_op_number; CG 5079 Zend/zend_compile.c int next_op_number = get_next_op_number(CG(active_op_array)); CG 5080 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 5087 Zend/zend_compile.c switch (CG(active_op_array)->opcodes[case_token->u.op.opline_num].opcode) { CG 5089 Zend/zend_compile.c CG(active_op_array)->opcodes[case_token->u.op.opline_num].op1.opline_num = get_next_op_number(CG(active_op_array)); CG 5092 Zend/zend_compile.c CG(active_op_array)->opcodes[case_token->u.op.opline_num].op2.opline_num = get_next_op_number(CG(active_op_array)); CG 5100 Zend/zend_compile.c int next_op_number = get_next_op_number(CG(active_op_array)); CG 5101 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 5104 Zend/zend_compile.c zend_stack_top(&CG(switch_cond_stack), (void **) &switch_entry_ptr); CG 5111 Zend/zend_compile.c next_op_number = get_next_op_number(CG(active_op_array)); CG 5117 Zend/zend_compile.c CG(active_op_array)->opcodes[case_list->u.op.opline_num].op1.opline_num = next_op_number; CG 5130 Zend/zend_compile.c if (CG(active_class_entry)) { CG 5143 Zend/zend_compile.c if (CG(current_import) && CG 5144 Zend/zend_compile.c zend_hash_find(CG(current_import), lcname, Z_STRLEN(class_name->u.constant)+1, (void**)&ns_name) == SUCCESS) { CG 5148 Zend/zend_compile.c if (CG(current_namespace)) { CG 5153 Zend/zend_compile.c tmp.u.constant = *CG(current_namespace); CG 5198 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 5201 Zend/zend_compile.c opline->op1.constant = zend_add_literal(CG(active_op_array), &key TSRMLS_CC); CG 5221 Zend/zend_compile.c zend_hash_quick_update(CG(class_table), Z_STRVAL(key), Z_STRLEN(key), Z_HASH_P(&CONSTANT(opline->op1.constant)), &new_class_entry, sizeof(zend_class_entry *), NULL); CG 5222 Zend/zend_compile.c CG(active_class_entry) = new_class_entry; CG 5224 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 5226 Zend/zend_compile.c GET_NODE(&CG(implementing_class), opline->result); CG 5228 Zend/zend_compile.c if (CG(doc_comment)) { CG 5229 Zend/zend_compile.c CG(active_class_entry)->info.user.doc_comment = CG(doc_comment); CG 5230 Zend/zend_compile.c CG(active_class_entry)->info.user.doc_comment_len = CG(doc_comment_len); CG 5231 Zend/zend_compile.c CG(doc_comment) = NULL; CG 5232 Zend/zend_compile.c CG(doc_comment_len) = 0; CG 5239 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 5242 Zend/zend_compile.c SET_NODE(opline->op1, &CG(implementing_class)); CG 5249 Zend/zend_compile.c zend_class_entry *ce = CG(active_class_entry); CG 5283 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 5285 Zend/zend_compile.c SET_NODE(opline->op1, &CG(implementing_class)); CG 5305 Zend/zend_compile.c CG(active_class_entry) = NULL; CG 5314 Zend/zend_compile.c if ((CG(active_class_entry)->ce_flags & ZEND_ACC_TRAIT) == ZEND_ACC_TRAIT) { CG 5317 Zend/zend_compile.c CG(active_class_entry)->name); CG 5330 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 5332 Zend/zend_compile.c SET_NODE(opline->op1, &CG(implementing_class)); CG 5336 Zend/zend_compile.c opline->op2.constant = zend_add_class_name_literal(CG(active_op_array), &interface_name->u.constant TSRMLS_CC); CG 5337 Zend/zend_compile.c CG(active_class_entry)->num_interfaces++; CG 5345 Zend/zend_compile.c if ((CG(active_class_entry)->ce_flags & ZEND_ACC_INTERFACE)) { CG 5348 Zend/zend_compile.c Z_STRVAL(trait_name->u.constant), CG(active_class_entry)->name); CG 5362 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 5364 Zend/zend_compile.c SET_NODE(opline->op1, &CG(implementing_class)); CG 5368 Zend/zend_compile.c opline->op2.constant = zend_add_class_name_literal(CG(active_op_array), &trait_name->u.constant TSRMLS_CC); CG 5369 Zend/zend_compile.c CG(active_class_entry)->num_traits++; CG 5444 Zend/zend_compile.c if (CG(active_class_entry)->ce_flags & ZEND_ACC_INTERFACE) { CG 5454 Zend/zend_compile.c CG(active_class_entry)->name, Z_STRVAL(var_name->u.constant)); CG 5457 Zend/zend_compile.c if (zend_hash_find(&CG(active_class_entry)->properties_info, Z_STRVAL(var_name->u.constant), Z_STRLEN(var_name->u.constant)+1, (void **) &existing_property_info)==SUCCESS) { CG 5458 Zend/zend_compile.c zend_error_noreturn(E_COMPILE_ERROR, "Cannot redeclare %s::$%s", CG(active_class_entry)->name, Z_STRVAL(var_name->u.constant)); CG 5469 Zend/zend_compile.c if (CG(doc_comment)) { CG 5470 Zend/zend_compile.c comment = CG(doc_comment); CG 5471 Zend/zend_compile.c comment_len = CG(doc_comment_len); CG 5472 Zend/zend_compile.c CG(doc_comment) = NULL; CG 5473 Zend/zend_compile.c CG(doc_comment_len) = 0; CG 5476 Zend/zend_compile.c zend_declare_property_ex(CG(active_class_entry), zend_new_interned_string(Z_STRVAL(var_name->u.constant), Z_STRLEN(var_name->u.constant) + 1, 0 TSRMLS_CC), Z_STRLEN(var_name->u.constant), property, access_type, comment, comment_len TSRMLS_CC); CG 5487 Zend/zend_compile.c if ((CG(active_class_entry)->ce_flags & ZEND_ACC_TRAIT) == ZEND_ACC_TRAIT) { CG 5497 Zend/zend_compile.c if (zend_hash_quick_add(&CG(active_class_entry)->constants_table, cname, Z_STRLEN(var_name->u.constant)+1, hash, &property, sizeof(zval *), NULL) == FAILURE) { CG 5499 Zend/zend_compile.c zend_error_noreturn(E_COMPILE_ERROR, "Cannot redefine class constant %s::%s", CG(active_class_entry)->name, Z_STRVAL(var_name->u.constant)); CG 5503 Zend/zend_compile.c if (CG(doc_comment)) { CG 5504 Zend/zend_compile.c efree(CG(doc_comment)); CG 5505 Zend/zend_compile.c CG(doc_comment) = NULL; CG 5506 Zend/zend_compile.c CG(doc_comment_len) = 0; CG 5516 Zend/zend_compile.c zend_stack_top(&CG(bp_stack), (void **) &fetch_list_ptr); CG 5519 Zend/zend_compile.c if (object->u.op.var == CG(active_op_array)->this_var) { CG 5527 Zend/zend_compile.c zend_del_literal(CG(active_op_array), opline_ptr->op1.constant); CG 5573 Zend/zend_compile.c opline.result.var = get_temporary_variable(CG(active_op_array)); CG 5592 Zend/zend_compile.c if (CG(has_bracketed_namespaces) && CG(in_namespace)) { CG 5602 Zend/zend_compile.c if (CG(in_namespace)) { CG 5610 Zend/zend_compile.c zend_stack_push(&CG(object_stack), object, sizeof(znode)); CG 5619 Zend/zend_compile.c zend_stack_top(&CG(object_stack), (void **) &tmp); CG 5622 Zend/zend_compile.c zend_stack_del_top(&CG(object_stack)); CG 5630 Zend/zend_compile.c new_token->u.op.opline_num = get_next_op_number(CG(active_op_array)); CG 5631 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 5633 Zend/zend_compile.c opline->extended_value = CG(context).nested_calls; CG 5635 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 5640 Zend/zend_compile.c if (++CG(context).nested_calls > CG(active_op_array)->nested_calls) { CG 5641 Zend/zend_compile.c CG(active_op_array)->nested_calls = CG(context).nested_calls; CG 5653 Zend/zend_compile.c CG(active_op_array)->opcodes[new_token->u.op.opline_num].op2.opline_num = get_next_op_number(CG(active_op_array)); CG 5654 Zend/zend_compile.c GET_NODE(result, CG(active_op_array)->opcodes[new_token->u.op.opline_num].result); CG 5692 Zend/zend_compile.c !(CG(compiler_options) & ZEND_COMPILE_NO_CONSTANT_SUBSTITUTION) && CG 5747 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 5750 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 5753 Zend/zend_compile.c opline->op1.constant = zend_add_class_name_literal(CG(active_op_array), &constant_container->u.constant TSRMLS_CC); CG 5798 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 5801 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 5808 Zend/zend_compile.c opline->op2.constant = zend_add_const_name_literal(CG(active_op_array), &constant_name->u.constant, 0 TSRMLS_CC); CG 5811 Zend/zend_compile.c if (CG(current_namespace)) { CG 5813 Zend/zend_compile.c opline->op2.constant = zend_add_const_name_literal(CG(active_op_array), &constant_name->u.constant, 1 TSRMLS_CC); CG 5815 Zend/zend_compile.c opline->op2.constant = zend_add_const_name_literal(CG(active_op_array), &constant_name->u.constant, 0 TSRMLS_CC); CG 5826 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 5843 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 5845 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 5853 Zend/zend_compile.c opline->op2.num = CG(context).nested_calls; CG 5856 Zend/zend_compile.c if (CG(context).nested_calls + 1 > CG(active_op_array)->nested_calls) { CG 5857 Zend/zend_compile.c CG(active_op_array)->nested_calls = CG(context).nested_calls + 1; CG 5859 Zend/zend_compile.c if (CG(context).used_stack + 2 > CG(active_op_array)->used_stack) { CG 5860 Zend/zend_compile.c CG(active_op_array)->used_stack = CG(context).used_stack + 2; CG 5867 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 5870 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 5902 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 5964 Zend/zend_compile.c zend_llist_copy(&lle.dimensions, &CG(dimension_llist)); CG 5965 Zend/zend_compile.c zend_llist_prepend_element(&CG(list_llist), &lle); CG 5967 Zend/zend_compile.c (*((int *)CG(dimension_llist).tail->data))++; CG 5974 Zend/zend_compile.c zend_llist_add_element(&CG(dimension_llist), ¤t_dimension); CG 5980 Zend/zend_compile.c zend_llist_remove_tail(&CG(dimension_llist)); CG 5981 Zend/zend_compile.c (*((int *)CG(dimension_llist).tail->data))++; CG 5987 Zend/zend_compile.c zend_stack_push(&CG(list_stack), &CG(list_llist), sizeof(zend_llist)); CG 5988 Zend/zend_compile.c zend_stack_push(&CG(list_stack), &CG(dimension_llist), sizeof(zend_llist)); CG 5989 Zend/zend_compile.c zend_llist_init(&CG(list_llist), sizeof(list_llist_element), NULL, 0); CG 5990 Zend/zend_compile.c zend_llist_init(&CG(dimension_llist), sizeof(int), NULL, 0); CG 6002 Zend/zend_compile.c le = CG(list_llist).head; CG 6007 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6028 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 6041 Zend/zend_compile.c zend_llist_destroy(&CG(dimension_llist)); CG 6042 Zend/zend_compile.c zend_llist_destroy(&CG(list_llist)); CG 6048 Zend/zend_compile.c zend_stack_top(&CG(list_stack), (void **) &p); CG 6049 Zend/zend_compile.c CG(dimension_llist) = *p; CG 6050 Zend/zend_compile.c zend_stack_del_top(&CG(list_stack)); CG 6051 Zend/zend_compile.c zend_stack_top(&CG(list_stack), (void **) &p); CG 6052 Zend/zend_compile.c CG(list_llist) = *p; CG 6053 Zend/zend_compile.c zend_stack_del_top(&CG(list_stack)); CG 6103 Zend/zend_compile.c if (!CG(active_op_array)->static_variables) { CG 6104 Zend/zend_compile.c if (CG(active_op_array)->scope) { CG 6105 Zend/zend_compile.c CG(active_op_array)->scope->ce_flags |= ZEND_HAS_STATIC_IN_METHODS; CG 6107 Zend/zend_compile.c ALLOC_HASHTABLE(CG(active_op_array)->static_variables); CG 6108 Zend/zend_compile.c zend_hash_init(CG(active_op_array)->static_variables, 2, NULL, ZVAL_PTR_DTOR, 0); CG 6110 Zend/zend_compile.c zend_hash_update(CG(active_op_array)->static_variables, Z_STRVAL(varname->u.constant), Z_STRLEN(varname->u.constant)+1, &tmp, sizeof(zval *), NULL); CG 6118 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6121 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 6144 Zend/zend_compile.c CG(active_op_array)->opcodes[CG(active_op_array)->last-1].result_type |= EXT_TYPE_UNUSED; CG 6180 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6183 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 6198 Zend/zend_compile.c CG(active_op_array)->opcodes[CG(active_op_array)->last-1].result_type |= EXT_TYPE_UNUSED; CG 6204 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6208 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 6220 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6224 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 6246 Zend/zend_compile.c if (CG(active_op_array)->scope && CG(active_op_array)->this_var == -1) { CG 6247 Zend/zend_compile.c CG(active_op_array)->this_var = lookup_cv(CG(active_op_array), estrndup("this", sizeof("this")-1), sizeof("this")-1, THIS_HASHVAL TSRMLS_CC); CG 6259 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6266 Zend/zend_compile.c last_op = &CG(active_op_array)->opcodes[get_next_op_number(CG(active_op_array))-1]; CG 6305 Zend/zend_compile.c last_op = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6309 Zend/zend_compile.c last_op->result.var = get_temporary_variable(CG(active_op_array)); CG 6312 Zend/zend_compile.c last_op = &CG(active_op_array)->opcodes[get_next_op_number(CG(active_op_array))-1]; CG 6335 Zend/zend_compile.c int last_op_number = get_next_op_number(CG(active_op_array)); CG 6339 Zend/zend_compile.c opline = &CG(active_op_array)->opcodes[last_op_number-1]; CG 6349 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6352 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 6374 Zend/zend_compile.c open_brackets_token->u.op.opline_num = get_next_op_number(CG(active_op_array)); CG 6378 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6387 Zend/zend_compile.c open_brackets_token->u.op.opline_num = get_next_op_number(CG(active_op_array)); CG 6391 Zend/zend_compile.c foreach_token->u.op.opline_num = get_next_op_number(CG(active_op_array)); CG 6393 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6398 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 6404 Zend/zend_compile.c zend_stack_push(&CG(foreach_copy_stack), (void *) &dummy_opline, sizeof(zend_op)); CG 6407 Zend/zend_compile.c as_token->u.op.opline_num = get_next_op_number(CG(active_op_array)); CG 6409 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6412 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 6417 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6431 Zend/zend_compile.c opline = &CG(active_op_array)->opcodes[as_token->u.op.opline_num]; CG 6458 Zend/zend_compile.c CG(active_op_array)->opcodes[foreach_token->u.op.opline_num].extended_value |= ZEND_FE_RESET_REFERENCE; CG 6460 Zend/zend_compile.c zend_op *fetch = &CG(active_op_array)->opcodes[foreach_token->u.op.opline_num]; CG 6461 Zend/zend_compile.c zend_op *end = &CG(active_op_array)->opcodes[open_brackets_token->u.op.opline_num]; CG 6481 Zend/zend_compile.c if (!CG(list_llist).head) { CG 6500 Zend/zend_compile.c opline = &CG(active_op_array)->opcodes[as_token->u.op.opline_num+1]; CG 6502 Zend/zend_compile.c opline->result.opline_num = get_temporary_variable(CG(active_op_array)); CG 6510 Zend/zend_compile.c INC_BPC(CG(active_op_array)); CG 6517 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6524 Zend/zend_compile.c CG(active_op_array)->opcodes[foreach_token->u.op.opline_num].op2.opline_num = get_next_op_number(CG(active_op_array)); /* FE_RESET */ CG 6525 Zend/zend_compile.c CG(active_op_array)->opcodes[as_token->u.op.opline_num].op2.opline_num = get_next_op_number(CG(active_op_array)); /* FE_FETCH */ CG 6529 Zend/zend_compile.c zend_stack_top(&CG(foreach_copy_stack), (void **) &container_ptr); CG 6531 Zend/zend_compile.c zend_stack_del_top(&CG(foreach_copy_stack)); CG 6533 Zend/zend_compile.c DEC_BPC(CG(active_op_array)); CG 6539 Zend/zend_compile.c zend_stack_push(&CG(declare_stack), &CG(declarables), sizeof(zend_declarables)); CG 6547 Zend/zend_compile.c CG(declarables).ticks = val->u.constant; CG 6560 Zend/zend_compile.c int num = CG(active_op_array)->last; CG 6563 Zend/zend_compile.c (CG(active_op_array)->opcodes[num-1].opcode == ZEND_EXT_STMT || CG 6564 Zend/zend_compile.c CG(active_op_array)->opcodes[num-1].opcode == ZEND_TICKS)) { CG 6573 Zend/zend_compile.c if (CG(multibyte)) { CG 6577 Zend/zend_compile.c CG(encoding_declared) = 1; CG 6610 Zend/zend_compile.c zend_stack_top(&CG(declare_stack), (void **) &declarables); CG 6612 Zend/zend_compile.c if ((get_next_op_number(CG(active_op_array)) - declare_token->u.op.opline_num) - ((Z_LVAL(CG(declarables).ticks))?1:0)) { CG 6613 Zend/zend_compile.c CG(declarables) = *declarables; CG 6620 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6634 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6638 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 6647 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6657 Zend/zend_compile.c int op_number = get_next_op_number(CG(active_op_array)); CG 6658 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6667 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 6675 Zend/zend_compile.c INC_BPC(CG(active_op_array)); CG 6681 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6686 Zend/zend_compile.c CG(active_op_array)->opcodes[jmp_token->u.op.opline_num].opcode = ZEND_JMP_SET_VAR; CG 6687 Zend/zend_compile.c CG(active_op_array)->opcodes[jmp_token->u.op.opline_num].result_type = IS_VAR; CG 6702 Zend/zend_compile.c CG(active_op_array)->opcodes[jmp_token->u.op.opline_num].op2.opline_num = get_next_op_number(CG(active_op_array)); CG 6704 Zend/zend_compile.c DEC_BPC(CG(active_op_array)); CG 6710 Zend/zend_compile.c int jmpz_op_number = get_next_op_number(CG(active_op_array)); CG 6713 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6721 Zend/zend_compile.c INC_BPC(CG(active_op_array)); CG 6727 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6729 Zend/zend_compile.c CG(active_op_array)->opcodes[qm_token->u.op.opline_num].op2.opline_num = get_next_op_number(CG(active_op_array))+1; /* jmp over the ZEND_JMP */ CG 6738 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 6743 Zend/zend_compile.c colon_token->u.op.opline_num = get_next_op_number(CG(active_op_array)); CG 6745 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6754 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6759 Zend/zend_compile.c CG(active_op_array)->opcodes[colon_token->u.op.opline_num - 1].opcode = ZEND_QM_ASSIGN_VAR; CG 6760 Zend/zend_compile.c CG(active_op_array)->opcodes[colon_token->u.op.opline_num - 1].result_type = IS_VAR; CG 6772 Zend/zend_compile.c CG(active_op_array)->opcodes[colon_token->u.op.opline_num].op1.opline_num = get_next_op_number(CG(active_op_array)); CG 6776 Zend/zend_compile.c DEC_BPC(CG(active_op_array)); CG 6784 Zend/zend_compile.c if (!(CG(compiler_options) & ZEND_COMPILE_EXTENDED_INFO)) { CG 6788 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6800 Zend/zend_compile.c if (!(CG(compiler_options) & ZEND_COMPILE_EXTENDED_INFO)) { CG 6804 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6816 Zend/zend_compile.c if (!(CG(compiler_options) & ZEND_COMPILE_EXTENDED_INFO)) { CG 6820 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6830 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6835 Zend/zend_compile.c opline->extended_value = Z_LVAL(CG(declarables).ticks); CG 6843 Zend/zend_compile.c if (zend_hash_quick_find(CG(auto_globals), name, name_len+1, hash, (void **) &auto_global)==SUCCESS) { CG 6868 Zend/zend_compile.c return zend_hash_add(CG(auto_globals), name, name_len+1, &auto_global, sizeof(zend_auto_global), NULL); CG 6887 Zend/zend_compile.c zend_hash_apply(CG(auto_globals), (apply_func_t) zend_auto_global_init TSRMLS_CC); CG 6895 Zend/zend_compile.c if (CG(increment_lineno)) { CG 6896 Zend/zend_compile.c CG(zend_lineno)++; CG 6897 Zend/zend_compile.c CG(increment_lineno) = 0; CG 6912 Zend/zend_compile.c CG(increment_lineno) = 1; CG 6914 Zend/zend_compile.c if (CG(has_bracketed_namespaces) && !CG(in_namespace)) { CG 6946 Zend/zend_compile.c int n = zend_hash_num_elements(CG(class_table)); CG 6948 Zend/zend_compile.c if (CG(static_members_table) && n >= CG(last_static_member)) { CG 6950 Zend/zend_compile.c CG(last_static_member) = n+1; CG 6951 Zend/zend_compile.c CG(static_members_table) = realloc(CG(static_members_table), (n+1)*sizeof(zval**)); CG 6952 Zend/zend_compile.c CG(static_members_table)[n] = NULL; CG 7036 Zend/zend_compile.c if (CG(current_namespace)) { CG 7041 Zend/zend_compile.c tmp.u.constant = *CG(current_namespace); CG 7062 Zend/zend_compile.c if (!CG(has_bracketed_namespaces)) { CG 7063 Zend/zend_compile.c if (CG(current_namespace)) { CG 7073 Zend/zend_compile.c } else if (CG(current_namespace) || CG(in_namespace)) { CG 7078 Zend/zend_compile.c if (((!with_bracket && !CG(current_namespace)) || (with_bracket && !CG(has_bracketed_namespaces))) && CG(active_op_array)->last > 0) { CG 7080 Zend/zend_compile.c int num = CG(active_op_array)->last; CG 7082 Zend/zend_compile.c (CG(active_op_array)->opcodes[num-1].opcode == ZEND_EXT_STMT || CG 7083 Zend/zend_compile.c CG(active_op_array)->opcodes[num-1].opcode == ZEND_TICKS)) { CG 7091 Zend/zend_compile.c CG(in_namespace) = 1; CG 7093 Zend/zend_compile.c CG(has_bracketed_namespaces) = 1; CG 7106 Zend/zend_compile.c if (CG(current_namespace)) { CG 7107 Zend/zend_compile.c zval_dtor(CG(current_namespace)); CG 7109 Zend/zend_compile.c ALLOC_ZVAL(CG(current_namespace)); CG 7111 Zend/zend_compile.c *CG(current_namespace) = name->u.constant; CG 7113 Zend/zend_compile.c if (CG(current_namespace)) { CG 7114 Zend/zend_compile.c zval_dtor(CG(current_namespace)); CG 7115 Zend/zend_compile.c FREE_ZVAL(CG(current_namespace)); CG 7116 Zend/zend_compile.c CG(current_namespace) = NULL; CG 7120 Zend/zend_compile.c if (CG(current_import)) { CG 7121 Zend/zend_compile.c zend_hash_destroy(CG(current_import)); CG 7122 Zend/zend_compile.c efree(CG(current_import)); CG 7123 Zend/zend_compile.c CG(current_import) = NULL; CG 7126 Zend/zend_compile.c if (CG(current_import_function)) { CG 7127 Zend/zend_compile.c zend_hash_destroy(CG(current_import_function)); CG 7128 Zend/zend_compile.c efree(CG(current_import_function)); CG 7129 Zend/zend_compile.c CG(current_import_function) = NULL; CG 7132 Zend/zend_compile.c if (CG(current_import_const)) { CG 7133 Zend/zend_compile.c zend_hash_destroy(CG(current_import_const)); CG 7134 Zend/zend_compile.c efree(CG(current_import_const)); CG 7135 Zend/zend_compile.c CG(current_import_const) = NULL; CG 7138 Zend/zend_compile.c if (CG(doc_comment)) { CG 7139 Zend/zend_compile.c efree(CG(doc_comment)); CG 7140 Zend/zend_compile.c CG(doc_comment) = NULL; CG 7141 Zend/zend_compile.c CG(doc_comment_len) = 0; CG 7153 Zend/zend_compile.c if (!CG(current_import)) { CG 7154 Zend/zend_compile.c CG(current_import) = emalloc(sizeof(HashTable)); CG 7155 Zend/zend_compile.c zend_hash_init(CG(current_import), 0, NULL, ZVAL_PTR_DTOR, 0); CG 7173 Zend/zend_compile.c warn = !CG(current_namespace); CG 7186 Zend/zend_compile.c if (CG(current_namespace)) { CG 7188 Zend/zend_compile.c char *c_ns_name = emalloc(Z_STRLEN_P(CG(current_namespace)) + 1 + Z_STRLEN_P(name) + 1); CG 7190 Zend/zend_compile.c zend_str_tolower_copy(c_ns_name, Z_STRVAL_P(CG(current_namespace)), Z_STRLEN_P(CG(current_namespace))); CG 7191 Zend/zend_compile.c c_ns_name[Z_STRLEN_P(CG(current_namespace))] = '\\'; CG 7192 Zend/zend_compile.c memcpy(c_ns_name+Z_STRLEN_P(CG(current_namespace))+1, lcname, Z_STRLEN_P(name)+1); CG 7193 Zend/zend_compile.c if (zend_hash_exists(CG(class_table), c_ns_name, Z_STRLEN_P(CG(current_namespace)) + 1 + Z_STRLEN_P(name)+1)) { CG 7196 Zend/zend_compile.c if (Z_STRLEN_P(ns) != Z_STRLEN_P(CG(current_namespace)) + 1 + Z_STRLEN_P(name) || CG 7203 Zend/zend_compile.c } else if (zend_hash_find(CG(class_table), lcname, Z_STRLEN_P(name)+1, (void**)&pce) == SUCCESS && CG 7205 Zend/zend_compile.c (*pce)->info.user.filename == CG(compiled_filename)) { CG 7215 Zend/zend_compile.c if (zend_hash_add(CG(current_import), lcname, Z_STRLEN_P(name)+1, &ns, sizeof(zval*), NULL) != SUCCESS) { CG 7250 Zend/zend_compile.c warn = !CG(current_namespace); CG 7260 Zend/zend_compile.c if (CG(current_namespace)) { CG 7262 Zend/zend_compile.c char *c_ns_name = emalloc(Z_STRLEN_P(CG(current_namespace)) + 1 + Z_STRLEN_P(name) + 1); CG 7264 Zend/zend_compile.c zend_str_tolower_copy(c_ns_name, Z_STRVAL_P(CG(current_namespace)), Z_STRLEN_P(CG(current_namespace))); CG 7265 Zend/zend_compile.c c_ns_name[Z_STRLEN_P(CG(current_namespace))] = '\\'; CG 7266 Zend/zend_compile.c memcpy(c_ns_name+Z_STRLEN_P(CG(current_namespace))+1, lookup_name, Z_STRLEN_P(name)+1); CG 7267 Zend/zend_compile.c if (zend_hash_exists(lookup_table, c_ns_name, Z_STRLEN_P(CG(current_namespace)) + 1 + Z_STRLEN_P(name)+1)) { CG 7270 Zend/zend_compile.c if (Z_STRLEN_P(ns) != Z_STRLEN_P(CG(current_namespace)) + 1 + Z_STRLEN_P(name) || CG 7280 Zend/zend_compile.c if (zend_hash_find(lookup_table, lookup_name, Z_STRLEN_P(name)+1, (void **) &function) == SUCCESS && function->type == ZEND_USER_FUNCTION && strcmp(function->op_array.filename, CG(compiled_filename)) == 0) { CG 7292 Zend/zend_compile.c if (zend_hash_find(lookup_table, lookup_name, Z_STRLEN_P(name)+1, (void **) &filename) == SUCCESS && strcmp(filename, CG(compiled_filename)) == 0) { CG 7316 Zend/zend_compile.c if (!CG(current_import_function)) { CG 7317 Zend/zend_compile.c CG(current_import_function) = emalloc(sizeof(HashTable)); CG 7318 Zend/zend_compile.c zend_hash_init(CG(current_import_function), 0, NULL, ZVAL_PTR_DTOR, 0); CG 7321 Zend/zend_compile.c zend_do_use_non_class(ns_name, new_name, 1, 0, CG(current_import_function), CG(function_table) TSRMLS_CC); CG 7327 Zend/zend_compile.c if (!CG(current_import_const)) { CG 7328 Zend/zend_compile.c CG(current_import_const) = emalloc(sizeof(HashTable)); CG 7329 Zend/zend_compile.c zend_hash_init(CG(current_import_const), 0, NULL, ZVAL_PTR_DTOR, 0); CG 7332 Zend/zend_compile.c zend_do_use_non_class(ns_name, new_name, 0, 1, CG(current_import_const), &CG(const_filenames) TSRMLS_CC); CG 7345 Zend/zend_compile.c if (CG(current_namespace)) { CG 7350 Zend/zend_compile.c tmp.u.constant = *CG(current_namespace); CG 7357 Zend/zend_compile.c if (CG(current_import_const) && CG 7358 Zend/zend_compile.c zend_hash_find(CG(current_import_const), Z_STRVAL(name->u.constant), Z_STRLEN(name->u.constant)+1, (void**)&ns_name) == SUCCESS) { CG 7369 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 7375 Zend/zend_compile.c zend_hash_add(&CG(const_filenames), Z_STRVAL(name->u.constant), Z_STRLEN(name->u.constant)+1, CG(compiled_filename), strlen(CG(compiled_filename))+1, NULL); CG 7381 Zend/zend_compile.c if (CG(has_bracketed_namespaces) && !CG(in_namespace)) { CG 7389 Zend/zend_compile.c CG(in_namespace) = 0; CG 7390 Zend/zend_compile.c if (CG(current_namespace)) { CG 7391 Zend/zend_compile.c zval_dtor(CG(current_namespace)); CG 7392 Zend/zend_compile.c FREE_ZVAL(CG(current_namespace)); CG 7393 Zend/zend_compile.c CG(current_namespace) = NULL; CG 7395 Zend/zend_compile.c if (CG(current_import)) { CG 7396 Zend/zend_compile.c zend_hash_destroy(CG(current_import)); CG 7397 Zend/zend_compile.c efree(CG(current_import)); CG 7398 Zend/zend_compile.c CG(current_import) = NULL; CG 7400 Zend/zend_compile.c if (CG(current_import_function)) { CG 7401 Zend/zend_compile.c zend_hash_destroy(CG(current_import_function)); CG 7402 Zend/zend_compile.c efree(CG(current_import_function)); CG 7403 Zend/zend_compile.c CG(current_import_function) = NULL; CG 7405 Zend/zend_compile.c if (CG(current_import_const)) { CG 7406 Zend/zend_compile.c zend_hash_destroy(CG(current_import_const)); CG 7407 Zend/zend_compile.c efree(CG(current_import_const)); CG 7408 Zend/zend_compile.c CG(current_import_const) = NULL; CG 7415 Zend/zend_compile.c CG(has_bracketed_namespaces) = 0; CG 40 Zend/zend_compile.h #define INC_BPC(op_array) if (op_array->fn_flags & ZEND_ACC_INTERACTIVE) { (CG(context).backpatch_count++); } CG 41 Zend/zend_compile.h #define DEC_BPC(op_array) if (op_array->fn_flags & ZEND_ACC_INTERACTIVE) { (CG(context).backpatch_count--); } CG 42 Zend/zend_compile.h #define HANDLE_INTERACTIVE() if (CG(active_op_array)->fn_flags & ZEND_ACC_INTERACTIVE) { execute_new_code(TSRMLS_C); } CG 43 Zend/zend_compile.h #define DO_TICKS() if (Z_LVAL(CG(declarables).ticks)) { zend_do_ticks(TSRMLS_C); } CG 47 Zend/zend_compile.h if (CG(doc_comment)) { \ CG 48 Zend/zend_compile.h efree(CG(doc_comment)); \ CG 49 Zend/zend_compile.h CG(doc_comment) = NULL; \ CG 51 Zend/zend_compile.h CG(doc_comment_len) = 0; \ CG 331 Zend/zend_constants.c scope = CG(active_class_entry); CG 147 Zend/zend_execute_API.c EG(function_table) = CG(function_table); CG 148 Zend/zend_execute_API.c EG(class_table) = CG(class_table); CG 1057 Zend/zend_execute_API.c original_compiler_options = CG(compiler_options); CG 1058 Zend/zend_execute_API.c CG(compiler_options) = ZEND_COMPILE_DEFAULT_FOR_EVAL; CG 1060 Zend/zend_execute_API.c CG(compiler_options) = original_compiler_options; CG 1066 Zend/zend_execute_API.c int orig_interactive = CG(interactive); CG 1074 Zend/zend_execute_API.c CG(interactive) = 0; CG 1084 Zend/zend_execute_API.c CG(interactive) = orig_interactive; CG 1145 Zend/zend_execute_API.c if (!(CG(active_op_array)->fn_flags & ZEND_ACC_INTERACTIVE) CG 1146 Zend/zend_execute_API.c || CG(context).backpatch_count>0 CG 1147 Zend/zend_execute_API.c || CG(active_op_array)->function_name CG 1148 Zend/zend_execute_API.c || CG(active_op_array)->type!=ZEND_USER_FUNCTION) { CG 1152 Zend/zend_execute_API.c ret_opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1155 Zend/zend_execute_API.c ret_opline->op1.constant = zend_add_literal(CG(active_op_array), &EG(uninitialized_zval) TSRMLS_CC); CG 1159 Zend/zend_execute_API.c EG(start_op) = CG(active_op_array)->opcodes; CG 1163 Zend/zend_execute_API.c end=CG(active_op_array)->opcodes+CG(active_op_array)->last; CG 1167 Zend/zend_execute_API.c opline->op1.zv = &CG(active_op_array)->literals[opline->op1.constant].constant; CG 1170 Zend/zend_execute_API.c opline->op2.zv = &CG(active_op_array)->literals[opline->op2.constant].constant; CG 1175 Zend/zend_execute_API.c zend_resolve_goto_label(CG(active_op_array), opline, 1 TSRMLS_CC); CG 1179 Zend/zend_execute_API.c opline->op1.jmp_addr = &CG(active_op_array)->opcodes[opline->op1.opline_num]; CG 1187 Zend/zend_execute_API.c opline->op2.jmp_addr = &CG(active_op_array)->opcodes[opline->op2.opline_num]; CG 1197 Zend/zend_execute_API.c EG(active_op_array) = CG(active_op_array); CG 1198 Zend/zend_execute_API.c orig_interactive = CG(interactive); CG 1199 Zend/zend_execute_API.c CG(interactive) = 0; CG 1200 Zend/zend_execute_API.c zend_execute(CG(active_op_array) TSRMLS_CC); CG 1201 Zend/zend_execute_API.c CG(interactive) = orig_interactive; CG 1207 Zend/zend_execute_API.c CG(active_op_array)->last -= 1; /* get rid of that ZEND_RETURN */ CG 1208 Zend/zend_execute_API.c EG(start_op) = CG(active_op_array)->opcodes+CG(active_op_array)->last; CG 127 Zend/zend_generators.c if (CG(unclean_shutdown)) { CG 34 Zend/zend_globals_macros.h # define CG(v) TSRMG(compiler_globals_id, zend_compiler_globals *, v) CG 37 Zend/zend_globals_macros.h # define CG(v) (compiler_globals.v) CG 124 Zend/zend_ini_parser.c #define ZEND_INI_PARSER_CB (CG(ini_parser_param))->ini_parser_cb CG 125 Zend/zend_ini_parser.c #define ZEND_INI_PARSER_ARG (CG(ini_parser_param))->arg CG 261 Zend/zend_ini_parser.c if (CG(ini_parser_unbuffered_errors)) { CG 282 Zend/zend_ini_parser.c CG(ini_parser_param) = &ini_parser_param; CG 288 Zend/zend_ini_parser.c CG(ini_parser_unbuffered_errors) = unbuffered_errors; CG 311 Zend/zend_ini_parser.c CG(ini_parser_param) = &ini_parser_param; CG 317 Zend/zend_ini_parser.c CG(ini_parser_unbuffered_errors) = unbuffered_errors; CG 47 Zend/zend_ini_parser.y #define ZEND_INI_PARSER_CB (CG(ini_parser_param))->ini_parser_cb CG 48 Zend/zend_ini_parser.y #define ZEND_INI_PARSER_ARG (CG(ini_parser_param))->arg CG 184 Zend/zend_ini_parser.y if (CG(ini_parser_unbuffered_errors)) { CG 205 Zend/zend_ini_parser.y CG(ini_parser_param) = &ini_parser_param; CG 211 Zend/zend_ini_parser.y CG(ini_parser_unbuffered_errors) = unbuffered_errors; CG 234 Zend/zend_ini_parser.y CG(ini_parser_param) = &ini_parser_param; CG 240 Zend/zend_ini_parser.y CG(ini_parser_unbuffered_errors) = unbuffered_errors; CG 4025 Zend/zend_language_parser.c { (yyvsp[(1) - (1)]).u.op.opline_num = get_next_op_number(CG(active_op_array)); } CG 4040 Zend/zend_language_parser.c { (yyvsp[(1) - (1)]).u.op.opline_num = get_next_op_number(CG(active_op_array)); zend_do_do_while_begin(TSRMLS_C); } CG 4045 Zend/zend_language_parser.c { (yyvsp[(4) - (4)]).u.op.opline_num = get_next_op_number(CG(active_op_array)); } CG 4055 Zend/zend_language_parser.c { zend_do_free(&(yyvsp[(3) - (4)]) TSRMLS_CC); (yyvsp[(4) - (4)]).u.op.opline_num = get_next_op_number(CG(active_op_array)); } CG 4165 Zend/zend_language_parser.c { (yyvsp[(1) - (1)]).u.op.opline_num = get_next_op_number(CG(active_op_array)); zend_do_declare_begin(TSRMLS_C); } CG 4265 Zend/zend_language_parser.c { (yyval).u.op.opline_num = get_next_op_number(CG(active_op_array)); } CG 4345 Zend/zend_language_parser.c { (yyval).u.op.opline_num = CG(zend_lineno); (yyval).EA = 0; } CG 4350 Zend/zend_language_parser.c { (yyval).u.op.opline_num = CG(zend_lineno); (yyval).EA = ZEND_ACC_EXPLICIT_ABSTRACT_CLASS; } CG 4355 Zend/zend_language_parser.c { (yyval).u.op.opline_num = CG(zend_lineno); (yyval).EA = ZEND_ACC_TRAIT; } CG 4360 Zend/zend_language_parser.c { (yyval).u.op.opline_num = CG(zend_lineno); (yyval).EA = ZEND_ACC_FINAL_CLASS; } CG 4375 Zend/zend_language_parser.c { (yyval).u.op.opline_num = CG(zend_lineno); (yyval).EA = ZEND_ACC_INTERFACE; } CG 4605 Zend/zend_language_parser.c { CG(access_type) = Z_LVAL((yyvsp[(1) - (1)]).u.constant); } CG 4750 Zend/zend_language_parser.c { zend_do_declare_property(&(yyvsp[(3) - (3)]), NULL, CG(access_type) TSRMLS_CC); } CG 4755 Zend/zend_language_parser.c { zend_do_declare_property(&(yyvsp[(3) - (5)]), &(yyvsp[(5) - (5)]), CG(access_type) TSRMLS_CC); } CG 4760 Zend/zend_language_parser.c { zend_do_declare_property(&(yyvsp[(1) - (1)]), NULL, CG(access_type) TSRMLS_CC); } CG 4765 Zend/zend_language_parser.c { zend_do_declare_property(&(yyvsp[(1) - (3)]), &(yyvsp[(3) - (3)]), CG(access_type) TSRMLS_CC); } CG 5365 Zend/zend_language_parser.c { (yyval).u.op.opline_num = CG(zend_lineno); } CG 6668 Zend/zend_language_parser.c if (CG(parse_error) == 0) { CG 6673 Zend/zend_language_parser.c CG(parse_error) = 1; CG 316 Zend/zend_language_parser.y | T_WHILE { $1.u.op.opline_num = get_next_op_number(CG(active_op_array)); } parenthesis_expr { zend_do_while_cond(&$3, &$$ TSRMLS_CC); } while_statement { zend_do_while_end(&$1, &$4 TSRMLS_CC); } CG 317 Zend/zend_language_parser.y | T_DO { $1.u.op.opline_num = get_next_op_number(CG(active_op_array)); zend_do_do_while_begin(TSRMLS_C); } statement T_WHILE { $4.u.op.opline_num = get_next_op_number(CG(active_op_array)); } parenthesis_expr ';' { zend_do_do_while_end(&$1, &$4, &$6 TSRMLS_CC); } CG 321 Zend/zend_language_parser.y ';' { zend_do_free(&$3 TSRMLS_CC); $4.u.op.opline_num = get_next_op_number(CG(active_op_array)); } CG 350 Zend/zend_language_parser.y | T_DECLARE { $1.u.op.opline_num = get_next_op_number(CG(active_op_array)); zend_do_declare_begin(TSRMLS_C); } '(' declare_list ')' declare_statement { zend_do_declare_end(&$1 TSRMLS_CC); } CG 383 Zend/zend_language_parser.y T_CATCH '(' fully_qualified_class_name { $$.u.op.opline_num = get_next_op_number(CG(active_op_array)); } T_VARIABLE ')' { zend_do_begin_catch(&$1, &$3, &$5, NULL TSRMLS_CC); } '{' inner_statement_list '}' { zend_do_end_catch(&$1 TSRMLS_CC); } CG 436 Zend/zend_language_parser.y T_CLASS { $$.u.op.opline_num = CG(zend_lineno); $$.EA = 0; } CG 437 Zend/zend_language_parser.y | T_ABSTRACT T_CLASS { $$.u.op.opline_num = CG(zend_lineno); $$.EA = ZEND_ACC_EXPLICIT_ABSTRACT_CLASS; } CG 438 Zend/zend_language_parser.y | T_TRAIT { $$.u.op.opline_num = CG(zend_lineno); $$.EA = ZEND_ACC_TRAIT; } CG 439 Zend/zend_language_parser.y | T_FINAL T_CLASS { $$.u.op.opline_num = CG(zend_lineno); $$.EA = ZEND_ACC_FINAL_CLASS; } CG 448 Zend/zend_language_parser.y T_INTERFACE { $$.u.op.opline_num = CG(zend_lineno); $$.EA = ZEND_ACC_INTERFACE; } CG 628 Zend/zend_language_parser.y variable_modifiers { CG(access_type) = Z_LVAL($1.u.constant); } class_variable_declaration ';' CG 723 Zend/zend_language_parser.y class_variable_declaration ',' T_VARIABLE { zend_do_declare_property(&$3, NULL, CG(access_type) TSRMLS_CC); } CG 724 Zend/zend_language_parser.y | class_variable_declaration ',' T_VARIABLE '=' static_scalar { zend_do_declare_property(&$3, &$5, CG(access_type) TSRMLS_CC); } CG 725 Zend/zend_language_parser.y | T_VARIABLE { zend_do_declare_property(&$1, NULL, CG(access_type) TSRMLS_CC); } CG 726 Zend/zend_language_parser.y | T_VARIABLE '=' static_scalar { zend_do_declare_property(&$1, &$3, CG(access_type) TSRMLS_CC); } CG 880 Zend/zend_language_parser.y T_FUNCTION { $$.u.op.opline_num = CG(zend_lineno); } CG 1315 Zend/zend_language_parser.y if (CG(parse_error) == 0) { CG 1320 Zend/zend_language_parser.y CG(parse_error) = 1; CG 104 Zend/zend_language_scanner.c CG(zend_lineno)++; \ CG 113 Zend/zend_language_scanner.c CG(zend_lineno)++; \ CG 118 Zend/zend_language_scanner.c #define SET_DOUBLE_QUOTES_SCANNED_LENGTH(len) CG(doc_comment_len) = (len) CG 119 Zend/zend_language_scanner.c #define GET_DOUBLE_QUOTES_SCANNED_LENGTH() CG(doc_comment_len) CG 182 Zend/zend_language_scanner.c CG(parse_error) = 0; CG 183 Zend/zend_language_scanner.c CG(doc_comment) = NULL; CG 184 Zend/zend_language_scanner.c CG(doc_comment_len) = 0; CG 195 Zend/zend_language_scanner.c CG(parse_error) = 0; CG 220 Zend/zend_language_scanner.c lex_state->lineno = CG(zend_lineno); CG 249 Zend/zend_language_scanner.c CG(zend_lineno) = lex_state->lineno; CG 269 Zend/zend_language_scanner.c zend_llist_del_element(&CG(open_files), file_handle, (int (*)(void *, void *)) zend_compare_file_handles); CG 416 Zend/zend_language_scanner.c if (CG(detect_unicode)) { CG 426 Zend/zend_language_scanner.c if (!CG(script_encoding_list) || !CG(script_encoding_list_size)) { CG 431 Zend/zend_language_scanner.c if (CG(script_encoding_list_size) > 1) { CG 432 Zend/zend_language_scanner.c return zend_multibyte_encoding_detector(LANG_SCNG(script_org), LANG_SCNG(script_org_size), CG(script_encoding_list), CG(script_encoding_list_size) TSRMLS_CC); CG 435 Zend/zend_language_scanner.c return CG(script_encoding_list)[0]; CG 486 Zend/zend_language_scanner.c if (CG(start_lineno) == 2 && file_handle->type == ZEND_HANDLE_FP && file_handle->handle.fp) { CG 496 Zend/zend_language_scanner.c zend_llist_add_element(&CG(open_files), file_handle); CG 498 Zend/zend_language_scanner.c zend_file_handle *fh = (zend_file_handle*)zend_llist_get_last(&CG(open_files)); CG 509 Zend/zend_language_scanner.c if (CG(multibyte)) { CG 541 Zend/zend_language_scanner.c if (CG(start_lineno)) { CG 542 Zend/zend_language_scanner.c CG(zend_lineno) = CG(start_lineno); CG 543 Zend/zend_language_scanner.c CG(start_lineno) = 0; CG 545 Zend/zend_language_scanner.c CG(zend_lineno) = 1; CG 549 Zend/zend_language_scanner.c CG(increment_lineno) = 0; CG 559 Zend/zend_language_scanner.c zend_op_array *original_active_op_array = CG(active_op_array); CG 564 Zend/zend_language_scanner.c zend_bool original_in_compilation = CG(in_compilation); CG 584 Zend/zend_language_scanner.c CG(in_compilation) = 1; CG 585 Zend/zend_language_scanner.c CG(active_op_array) = op_array; CG 586 Zend/zend_language_scanner.c zend_stack_push(&CG(context_stack), (void *) &CG(context), sizeof(CG(context))); CG 590 Zend/zend_language_scanner.c CG(in_compilation) = original_in_compilation; CG 598 Zend/zend_language_scanner.c CG(active_op_array) = original_active_op_array; CG 668 Zend/zend_language_scanner.c if (CG(multibyte)) { CG 688 Zend/zend_language_scanner.c CG(zend_lineno) = 1; CG 689 Zend/zend_language_scanner.c CG(increment_lineno) = 0; CG 721 Zend/zend_language_scanner.c zend_op_array *original_active_op_array = CG(active_op_array); CG 725 Zend/zend_language_scanner.c zend_bool original_in_compilation = CG(in_compilation); CG 732 Zend/zend_language_scanner.c CG(in_compilation) = 1; CG 744 Zend/zend_language_scanner.c zend_bool orig_interactive = CG(interactive); CG 746 Zend/zend_language_scanner.c CG(interactive) = 0; CG 748 Zend/zend_language_scanner.c CG(interactive) = orig_interactive; CG 749 Zend/zend_language_scanner.c CG(active_op_array) = op_array; CG 750 Zend/zend_language_scanner.c zend_stack_push(&CG(context_stack), (void *) &CG(context), sizeof(CG(context))); CG 761 Zend/zend_language_scanner.c CG(active_op_array) = original_active_op_array; CG 762 Zend/zend_language_scanner.c CG(unclean_shutdown)=1; CG 768 Zend/zend_language_scanner.c CG(active_op_array) = original_active_op_array; CG 776 Zend/zend_language_scanner.c CG(in_compilation) = original_in_compilation; CG 977 Zend/zend_language_scanner.c CG(zend_lineno)++; CG 1115 Zend/zend_language_scanner.c if (CG(short_tags) || !strncasecmp((char*)YYCURSOR + 1, "php", 3) || (*(YYCURSOR + 1) == '=')) { /* Assume [ \t\n\r] follows "php" */ CG 1120 Zend/zend_language_scanner.c if (CG(asp_tags)) { CG 1179 Zend/zend_language_scanner.c if (CG(short_tags)) { CG 1196 Zend/zend_language_scanner.c if (CG(asp_tags)) { CG 1434 Zend/zend_language_scanner.c if (CG(asp_tags)) { CG 2068 Zend/zend_language_scanner.c CG(increment_lineno) = 1; /* For newline before label */ CG 3002 Zend/zend_language_scanner.c CG(zend_lineno)++; CG 3005 Zend/zend_language_scanner.c if (!CG(asp_tags)) { CG 3084 Zend/zend_language_scanner.c CG(zend_lineno)++; CG 3504 Zend/zend_language_scanner.c if (CG(asp_tags)) { CG 3561 Zend/zend_language_scanner.c zend_error(E_COMPILE_WARNING, "Unterminated comment starting line %d", CG(zend_lineno)); CG 3568 Zend/zend_language_scanner.c CG(doc_comment) = estrndup(yytext, yyleng); CG 3569 Zend/zend_language_scanner.c CG(doc_comment_len) = yyleng; CG 3876 Zend/zend_language_scanner.c CG(zend_lineno)++; CG 4167 Zend/zend_language_scanner.c if (CG(current_namespace)) { CG 4168 Zend/zend_language_scanner.c *zendlval = *CG(current_namespace); CG 4247 Zend/zend_language_scanner.c ZVAL_LONG(zendlval, CG(zend_lineno)); CG 4287 Zend/zend_language_scanner.c const char *class_name = CG(active_class_entry) ? CG(active_class_entry)->name : NULL; CG 4288 Zend/zend_language_scanner.c const char *func_name = CG(active_op_array)? CG(active_op_array)->function_name : NULL; CG 4351 Zend/zend_language_scanner.c zend_op_array *op_array = CG(active_op_array); CG 4421 Zend/zend_language_scanner.c zend_class_entry *ce = CG(active_class_entry); CG 4461 Zend/zend_language_scanner.c zend_class_entry *ce = CG(active_class_entry); CG 7526 Zend/zend_language_scanner.c CG(increment_lineno) = 1; /* For newline before label */ CG 170 Zend/zend_multibyte.c if (CG(script_encoding_list)) { CG 171 Zend/zend_multibyte.c free(CG(script_encoding_list)); CG 173 Zend/zend_multibyte.c CG(script_encoding_list) = encoding_list; CG 174 Zend/zend_multibyte.c CG(script_encoding_list_size) = encoding_list_size; CG 55 Zend/zend_opcode.c if (CG(interactive)) { CG 97 Zend/zend_opcode.c op_array->fn_flags = CG(interactive)?ZEND_ACC_INTERACTIVE:0; CG 188 Zend/zend_opcode.c CG(static_members_table)[(zend_intptr_t)(ce->static_members_table)] = NULL; CG 423 Zend/zend_opcode.c op->lineno = CG(zend_lineno); CG 432 Zend/zend_opcode.c if (next_op_num >= CG(context).opcodes_size) { CG 439 Zend/zend_opcode.c CG(context).opcodes_size *= 4; CG 440 Zend/zend_opcode.c op_array_alloc_ops(op_array, CG(context).opcodes_size); CG 501 Zend/zend_opcode.c CG(in_compilation) = 1; CG 502 Zend/zend_opcode.c CG(active_op_array) = op_array; CG 503 Zend/zend_opcode.c CG(zend_lineno) = op_array->opcodes[op_num].lineno; CG 509 Zend/zend_opcode.c CG(in_compilation) = 1; CG 510 Zend/zend_opcode.c CG(active_op_array) = op_array; CG 511 Zend/zend_opcode.c CG(zend_lineno) = op_array->opcodes[op_num].lineno; CG 730 Zend/zend_opcode.c if (CG(compiler_options) & ZEND_COMPILE_EXTENDED_INFO) { CG 733 Zend/zend_opcode.c if (CG(compiler_options) & ZEND_COMPILE_HANDLE_OP_ARRAY) { CG 737 Zend/zend_opcode.c if (!(op_array->fn_flags & ZEND_ACC_INTERACTIVE) && CG(context).vars_size != op_array->last_var) { CG 739 Zend/zend_opcode.c CG(context).vars_size = op_array->last_var; CG 741 Zend/zend_opcode.c if (!(op_array->fn_flags & ZEND_ACC_INTERACTIVE) && CG(context).opcodes_size != op_array->last) { CG 743 Zend/zend_opcode.c CG(context).opcodes_size = op_array->last; CG 745 Zend/zend_opcode.c if (!(op_array->fn_flags & ZEND_ACC_INTERACTIVE) && CG(context).literals_size != op_array->last_literal) { CG 747 Zend/zend_opcode.c CG(context).literals_size = op_array->last_literal; CG 781 Zend/zend_opcode.c CG(zend_lineno) = opline->lineno; CG 46 Zend/zend_string.c CG(interned_strings_start) = valloc(size); CG 48 Zend/zend_string.c CG(interned_strings_start) = malloc(size); CG 51 Zend/zend_string.c CG(interned_strings_top) = CG(interned_strings_start); CG 52 Zend/zend_string.c CG(interned_strings_snapshot_top) = CG(interned_strings_start); CG 53 Zend/zend_string.c CG(interned_strings_end) = CG(interned_strings_start) + size; CG 55 Zend/zend_string.c zend_hash_init(&CG(interned_strings), 0, NULL, NULL, 1); CG 57 Zend/zend_string.c CG(interned_strings).nTableMask = CG(interned_strings).nTableSize - 1; CG 58 Zend/zend_string.c CG(interned_strings).arBuckets = (Bucket **) pecalloc(CG(interned_strings).nTableSize, sizeof(Bucket *), CG(interned_strings).persistent); CG 61 Zend/zend_string.c mprotect(CG(interned_strings_start), CG(interned_strings_end) - CG(interned_strings_start), PROT_READ); CG 65 Zend/zend_string.c CG(interned_empty_string) = zend_new_interned_string_int("", sizeof(""), 0 TSRMLS_CC); CG 77 Zend/zend_string.c mprotect(CG(interned_strings_start), CG(interned_strings_end) - CG(interned_strings_start), PROT_WRITE | PROT_READ); CG 79 Zend/zend_string.c free(CG(interned_strings).arBuckets); CG 80 Zend/zend_string.c free(CG(interned_strings_start)); CG 96 Zend/zend_string.c nIndex = h & CG(interned_strings).nTableMask; CG 97 Zend/zend_string.c p = CG(interned_strings).arBuckets[nIndex]; CG 110 Zend/zend_string.c if (CG(interned_strings_top) + ZEND_MM_ALIGNED_SIZE(sizeof(Bucket) + nKeyLength) >= CG 111 Zend/zend_string.c CG(interned_strings_end)) { CG 116 Zend/zend_string.c p = (Bucket *) CG(interned_strings_top); CG 117 Zend/zend_string.c CG(interned_strings_top) += ZEND_MM_ALIGNED_SIZE(sizeof(Bucket) + nKeyLength); CG 120 Zend/zend_string.c mprotect(CG(interned_strings_start), CG(interned_strings_end) - CG(interned_strings_start), PROT_READ | PROT_WRITE); CG 133 Zend/zend_string.c p->pNext = CG(interned_strings).arBuckets[nIndex]; CG 141 Zend/zend_string.c p->pListLast = CG(interned_strings).pListTail; CG 142 Zend/zend_string.c CG(interned_strings).pListTail = p; CG 147 Zend/zend_string.c if (!CG(interned_strings).pListHead) { CG 148 Zend/zend_string.c CG(interned_strings).pListHead = p; CG 151 Zend/zend_string.c CG(interned_strings).arBuckets[nIndex] = p; CG 155 Zend/zend_string.c CG(interned_strings).nNumOfElements++; CG 157 Zend/zend_string.c if (CG(interned_strings).nNumOfElements > CG(interned_strings).nTableSize) { CG 158 Zend/zend_string.c if ((CG(interned_strings).nTableSize << 1) > 0) { /* Let's double the table size */ CG 159 Zend/zend_string.c Bucket **t = (Bucket **) perealloc_recoverable(CG(interned_strings).arBuckets, (CG(interned_strings).nTableSize << 1) * sizeof(Bucket *), CG(interned_strings).persistent); CG 163 Zend/zend_string.c CG(interned_strings).arBuckets = t; CG 164 Zend/zend_string.c CG(interned_strings).nTableSize = (CG(interned_strings).nTableSize << 1); CG 165 Zend/zend_string.c CG(interned_strings).nTableMask = CG(interned_strings).nTableSize - 1; CG 166 Zend/zend_string.c zend_hash_rehash(&CG(interned_strings)); CG 173 Zend/zend_string.c mprotect(CG(interned_strings_start), CG(interned_strings_end) - CG(interned_strings_start), PROT_READ); CG 184 Zend/zend_string.c CG(interned_strings_snapshot_top) = CG(interned_strings_top); CG 194 Zend/zend_string.c CG(interned_strings_top) = CG(interned_strings_snapshot_top); CG 198 Zend/zend_string.c mprotect(CG(interned_strings_start), CG(interned_strings_end) - CG(interned_strings_start), PROT_WRITE | PROT_READ); CG 201 Zend/zend_string.c for (i = 0; i < CG(interned_strings).nTableSize; i++) { CG 202 Zend/zend_string.c p = CG(interned_strings).arBuckets[i]; CG 203 Zend/zend_string.c while (p && p->arKey > CG(interned_strings_top)) { CG 204 Zend/zend_string.c CG(interned_strings).nNumOfElements--; CG 208 Zend/zend_string.c CG(interned_strings).pListHead = p->pListNext; CG 213 Zend/zend_string.c CG(interned_strings).pListTail = p->pListLast; CG 220 Zend/zend_string.c CG(interned_strings).arBuckets[i] = p; CG 224 Zend/zend_string.c mprotect(CG(interned_strings_start), CG(interned_strings_end) - CG(interned_strings_start), PROT_READ); CG 38 Zend/zend_string.h (((s) >= CG(interned_strings_start)) && ((s) < CG(interned_strings_end))) CG 397 ext/opcache/ZendAccelerator.c CG(interned_empty_string) = accel_new_interned_string("", sizeof(""), 0 TSRMLS_CC); CG 401 ext/opcache/ZendAccelerator.c p = CG(function_table)->pListHead; CG 410 ext/opcache/ZendAccelerator.c p = CG(class_table)->pListHead; CG 466 ext/opcache/ZendAccelerator.c p = CG(auto_globals)->pListHead; CG 1374 ext/opcache/ZendAccelerator.c orig_active_op_array = CG(active_op_array); CG 1375 ext/opcache/ZendAccelerator.c orig_function_table = CG(function_table); CG 1376 ext/opcache/ZendAccelerator.c orig_class_table = CG(class_table); CG 1380 ext/opcache/ZendAccelerator.c CG(function_table) = &ZCG(function_table); CG 1381 ext/opcache/ZendAccelerator.c EG(class_table) = CG(class_table) = &new_persistent_script->class_table; CG 1386 ext/opcache/ZendAccelerator.c orig_compiler_options = CG(compiler_options); CG 1387 ext/opcache/ZendAccelerator.c CG(compiler_options) |= ZEND_COMPILE_HANDLE_OP_ARRAY; CG 1388 ext/opcache/ZendAccelerator.c CG(compiler_options) |= ZEND_COMPILE_IGNORE_INTERNAL_CLASSES; CG 1389 ext/opcache/ZendAccelerator.c CG(compiler_options) |= ZEND_COMPILE_DELAYED_BINDING; CG 1390 ext/opcache/ZendAccelerator.c CG(compiler_options) |= ZEND_COMPILE_NO_CONSTANT_SUBSTITUTION; CG 1394 ext/opcache/ZendAccelerator.c CG(compiler_options) = orig_compiler_options; CG 1400 ext/opcache/ZendAccelerator.c CG(compiler_options) = orig_compiler_options; CG 1405 ext/opcache/ZendAccelerator.c CG(active_op_array) = orig_active_op_array; CG 1406 ext/opcache/ZendAccelerator.c CG(function_table) = orig_function_table; CG 1407 ext/opcache/ZendAccelerator.c EG(class_table) = CG(class_table) = orig_class_table; CG 1475 ext/opcache/ZendAccelerator.c CG(interactive) || CG 1840 ext/opcache/ZendAccelerator.c !CG(interactive) && CG 1936 ext/opcache/ZendAccelerator.c !CG(interactive) && CG 2001 ext/opcache/ZendAccelerator.c !CG(interactive) && CG 2361 ext/opcache/ZendAccelerator.c CG(unclean_shutdown) = 1; CG 2486 ext/opcache/ZendAccelerator.c orig_interned_strings_start = CG(interned_strings_start); CG 2487 ext/opcache/ZendAccelerator.c orig_interned_strings_end = CG(interned_strings_end); CG 2488 ext/opcache/ZendAccelerator.c CG(interned_strings_start) = ZCSG(interned_strings_start); CG 2489 ext/opcache/ZendAccelerator.c CG(interned_strings_end) = ZCSG(interned_strings_end); CG 2528 ext/opcache/ZendAccelerator.c zend_hash_init(&accel_globals->function_table, zend_hash_num_elements(CG(function_table)), NULL, ZEND_FUNCTION_DTOR, 1); CG 2593 ext/opcache/ZendAccelerator.c orig_interned_strings_start = CG(interned_strings_start); CG 2594 ext/opcache/ZendAccelerator.c orig_interned_strings_end = CG(interned_strings_end); CG 2599 ext/opcache/ZendAccelerator.c CG(interned_strings_start) = ZCSG(interned_strings_start); CG 2600 ext/opcache/ZendAccelerator.c CG(interned_strings_end) = ZCSG(interned_strings_end); CG 2639 ext/opcache/ZendAccelerator.c if (zend_hash_find(CG(function_table), "chdir", sizeof("chdir"), (void**)&func) == SUCCESS && CG 2728 ext/opcache/ZendAccelerator.c zend_hash_clean(CG(function_table)); CG 2729 ext/opcache/ZendAccelerator.c zend_hash_clean(CG(class_table)); CG 2732 ext/opcache/ZendAccelerator.c CG(interned_strings_start) = orig_interned_strings_start; CG 2733 ext/opcache/ZendAccelerator.c CG(interned_strings_end) = orig_interned_strings_end; CG 398 ext/opcache/zend_accelerator_module.c if (zend_hash_find(CG(function_table), "file_exists", sizeof("file_exists"), (void **)&old_function) == SUCCESS) { CG 402 ext/opcache/zend_accelerator_module.c if (zend_hash_find(CG(function_table), "is_file", sizeof("is_file"), (void **)&old_function) == SUCCESS) { CG 406 ext/opcache/zend_accelerator_module.c if (zend_hash_find(CG(function_table), "is_readable", sizeof("is_readable"), (void **)&old_function) == SUCCESS) { CG 213 ext/opcache/zend_accelerator_util_funcs.c zend_hash_apply_with_argument(CG(function_table), (apply_func_arg_t)copy_internal_function, &ZCG(function_table) TSRMLS_CC); CG 943 ext/opcache/zend_accelerator_util_funcs.c CG(in_compilation) = 1; CG 945 ext/opcache/zend_accelerator_util_funcs.c CG(zend_lineno) = function1->op_array.opcodes[0].lineno; CG 963 ext/opcache/zend_accelerator_util_funcs.c CG(in_compilation) = 1; CG 966 ext/opcache/zend_accelerator_util_funcs.c CG(zend_lineno) = (*pce1)->info.user.line_start; CG 969 ext/opcache/zend_accelerator_util_funcs.c CG(zend_lineno) = (*pce1)->line_start; CG 981 ext/opcache/zend_accelerator_util_funcs.c zend_bool orig_in_compilation = CG(in_compilation); CG 985 ext/opcache/zend_accelerator_util_funcs.c CG(in_compilation) = 1; CG 993 ext/opcache/zend_accelerator_util_funcs.c CG(in_compilation) = orig_in_compilation; CG 1009 ext/opcache/zend_accelerator_util_funcs.c zend_accel_class_hash_copy(CG(class_table), &persistent_script->class_table, (unique_copy_ctor_func_t) zend_class_copy_ctor TSRMLS_CC); CG 1015 ext/opcache/zend_accelerator_util_funcs.c zend_accel_function_hash_copy(CG(function_table), &persistent_script->function_table, (unique_copy_ctor_func_t)zend_prepare_function_for_execution); CG 1044 ext/opcache/zend_accelerator_util_funcs.c zend_accel_function_hash_copy(CG(function_table), &persistent_script->function_table, NULL); CG 1047 ext/opcache/zend_accelerator_util_funcs.c zend_accel_class_hash_copy(CG(class_table), &persistent_script->class_table, NULL TSRMLS_CC); CG 1053 ext/opcache/zend_accelerator_util_funcs.c char *orig_compiled_filename = CG(compiled_filename); CG 1054 ext/opcache/zend_accelerator_util_funcs.c CG(compiled_filename) = persistent_script->full_path; CG 1056 ext/opcache/zend_accelerator_util_funcs.c CG(compiled_filename) = orig_compiled_filename; CG 81 ext/pdo/pdo.c if (zend_hash_find(CG(class_table), "runtimeexception", sizeof("RuntimeException"), (void **) &pce) == SUCCESS) { CG 70 ext/pdo/php_pdo.h if (zend_hash_find(CG(class_table), "pdo", sizeof("pdo"), (void **) &pce) != FAILURE) \ CG 1058 ext/phar/func_interceptors.c if (SUCCESS == zend_hash_find(CG(function_table), #func, sizeof(#func), (void **)&orig)) { \ CG 1095 ext/phar/func_interceptors.c if (PHAR_G(orig_##func) && SUCCESS == zend_hash_find(CG(function_table), #func, sizeof(#func), (void **)&orig)) { \ CG 3363 ext/phar/phar.c CG(zend_lineno) = 0; CG 502 ext/readline/readline.c if (call_user_function(CG(function_table), NULL, _readline_completion, &_readline_array, 3, params TSRMLS_CC) == SUCCESS) { CG 572 ext/readline/readline.c call_user_function(CG(function_table), NULL, _prepped_callback, &dummy, 1, params TSRMLS_CC); CG 274 ext/readline/readline_cli.c if (!CG(asp_tags)) { CG 362 ext/readline/readline_cli.c if ((CG(short_tags) && !strncmp(code+i-1, "<?", 2)) CG 363 ext/readline/readline_cli.c || (CG(asp_tags) && !strncmp(code+i-1, "<%", 2)) CG 1124 ext/reflection/php_reflection.c zend_hash_internal_pointer_reset_ex(CG(function_table), &iterator); CG 1125 ext/reflection/php_reflection.c while (zend_hash_get_current_data_ex(CG(function_table), (void **) &fptr, &iterator) == SUCCESS) { CG 1134 ext/reflection/php_reflection.c zend_hash_move_forward_ex(CG(function_table), &iterator); CG 5312 ext/reflection/php_reflection.c zend_hash_internal_pointer_reset_ex(CG(function_table), &iterator); CG 5313 ext/reflection/php_reflection.c while (zend_hash_get_current_data_ex(CG(function_table), (void **) &fptr, &iterator) == SUCCESS) { CG 5320 ext/reflection/php_reflection.c zend_hash_move_forward_ex(CG(function_table), &iterator); CG 193 ext/simplexml/sxe.c if (zend_hash_find(CG(class_table), "simplexmlelement", sizeof("SimpleXMLElement"), (void **) &pce) == FAILURE) { CG 407 ext/soap/php_http.c if (call_user_function(CG(function_table), (zval**)NULL, &func, &retval, n, params TSRMLS_CC) == SUCCESS && CG 1275 ext/soap/php_http.c if (call_user_function(CG(function_table), (zval**)NULL, &func, &retval, 1, params TSRMLS_CC) == SUCCESS && CG 93 ext/soap/soap.c zend_bool _old_in_compilation = CG(in_compilation); \ CG 105 ext/soap/soap.c CG(in_compilation) = _old_in_compilation; \ CG 2132 ext/soap/soap.c _old_in_compilation = CG(in_compilation); CG 2200 ext/soap/soap.c CG(in_compilation) = _old_in_compilation; CG 2284 ext/soap/soap.c CG(in_compilation) = _old_in_compilation; CG 222 ext/standard/assert.c call_user_function(CG(function_table), NULL, ASSERTG(callback), retval, 3, args TSRMLS_CC); CG 230 ext/standard/assert.c call_user_function(CG(function_table), NULL, ASSERTG(callback), retval, 4, args TSRMLS_CC); CG 184 ext/standard/user_filters.c if (CG(unclean_shutdown)) { CG 800 ext/standard/var.c res = call_user_function_ex(CG(function_table), &struc, &fname, &retval_ptr, 0, 0, 1, NULL TSRMLS_CC); CG 439 ext/standard/var_unserializer.c call_user_function_ex(CG(function_table), rval, &fname, &retval_ptr, 0, 0, 1, NULL TSRMLS_CC); CG 698 ext/standard/var_unserializer.c if (call_user_function_ex(CG(function_table), NULL, user_func, &retval_ptr, 1, args, 0, NULL TSRMLS_CC) != SUCCESS) { CG 121 ext/tokenizer/tokenizer.c CG(zend_lineno)++; CG 137 ext/tokenizer/tokenizer.c if (CG(increment_lineno)) { CG 138 ext/tokenizer/tokenizer.c token_line = ++CG(zend_lineno); CG 139 ext/tokenizer/tokenizer.c CG(increment_lineno) = 0; CG 174 ext/tokenizer/tokenizer.c token_line = CG(zend_lineno); CG 471 ext/wddx/wddx.c if (call_user_function_ex(CG(function_table), &obj, fname, &retval, 0, 0, 1, NULL TSRMLS_CC) == SUCCESS) { CG 951 ext/xmlrpc/xmlrpc-epi-php.c call_user_function(CG(function_table), NULL, pData->php_function, pData->return_data, 3, callback_params TSRMLS_CC); CG 981 ext/xmlrpc/xmlrpc-epi-php.c if (call_user_function(CG(function_table), NULL, *php_function, &retval, 1, callback_params TSRMLS_CC) == SUCCESS) { CG 138 main/main.c if (zend_hash_del(CG(function_table), function_name_5[i], strlen(function_name_5[i]) + 1)==FAILURE) { CG 147 main/main.c if (zend_hash_del(CG(function_table), function_name_6[i], strlen(function_name_6[i]) + 1)==FAILURE) { CG 1237 main/main.c CG(parse_error) = 0; CG 1786 main/main.c shutdown_memory_manager(CG(unclean_shutdown), 0 TSRMLS_CC); CG 1831 main/main.c if (CG(unclean_shutdown) && PG(last_error_type) == E_ERROR && CG 1905 main/main.c shutdown_memory_manager(CG(unclean_shutdown) || !report_memleaks, 0 TSRMLS_CC); CG 2473 main/main.c shutdown_memory_manager(CG(unclean_shutdown), 1 TSRMLS_CC); CG 2588 main/main.c if (CG(start_lineno) && prepend_file_p) { CG 2589 main/main.c int orig_start_lineno = CG(start_lineno); CG 2591 main/main.c CG(start_lineno) = 0; CG 2593 main/main.c CG(start_lineno) = orig_start_lineno; CG 2143 sapi/cgi/cgi_main.c CG(interactive) = 0; CG 2151 sapi/cgi/cgi_main.c CG(interactive) = 1; CG 2159 sapi/cgi/cgi_main.c CG(compiler_options) |= ZEND_COMPILE_EXTENDED_INFO; CG 2415 sapi/cgi/cgi_main.c CG(start_lineno) = 2; CG 2433 sapi/cgi/cgi_main.c CG(start_lineno) = 2; CG 679 sapi/cli/php_cli.c CG(in_compilation) = 0; /* not initialized but needed for several options */ CG 921 sapi/cli/php_cli.c CG(interactive) = interactive; CG 972 sapi/cli/php_cli.c CG(start_lineno) = lineno; CG 1076 sapi/cli/php_cli.c CG(start_lineno) = lineno; CG 1371 sapi/cli/php_cli.c CG(compiler_options) |= ZEND_COMPILE_EXTENDED_INFO; CG 1815 sapi/fpm/fpm/fpm_main.c CG(compiler_options) |= ZEND_COMPILE_EXTENDED_INFO; CG 1896 sapi/fpm/fpm/fpm_main.c CG(interactive) = 0; CG 903 sapi/isapi/php5isapi.c CG(unclean_shutdown)=1; CG 804 sapi/litespeed/lsapi_main.c CG(in_compilation) = 0; /* not initialized but needed for several options */ CG 156 sapi/milter/php_milter.c status = call_user_function(CG(function_table), NULL, &function_name, &retval, 0, NULL TSRMLS_CC); CG 227 sapi/milter/php_milter.c status = call_user_function(CG(function_table), NULL, &function_name, &retval, 1, param TSRMLS_CC); CG 261 sapi/milter/php_milter.c status = call_user_function(CG(function_table), NULL, &function_name, &retval, 1, param TSRMLS_CC); CG 301 sapi/milter/php_milter.c status = call_user_function(CG(function_table), NULL, &function_name, &retval, 1, param TSRMLS_CC); CG 341 sapi/milter/php_milter.c status = call_user_function(CG(function_table), NULL, &function_name, &retval, 1, param TSRMLS_CC); CG 380 sapi/milter/php_milter.c status = call_user_function(CG(function_table), NULL, &function_name, &retval, 2, param TSRMLS_CC); CG 412 sapi/milter/php_milter.c status = call_user_function(CG(function_table), NULL, &function_name, &retval, 0, NULL TSRMLS_CC); CG 446 sapi/milter/php_milter.c status = call_user_function(CG(function_table), NULL, &function_name, &retval, 1, param TSRMLS_CC); CG 477 sapi/milter/php_milter.c status = call_user_function(CG(function_table), NULL, &function_name, &retval, 0, NULL TSRMLS_CC); CG 506 sapi/milter/php_milter.c status = call_user_function(CG(function_table), NULL, &function_name, &retval, 0, NULL TSRMLS_CC); CG 540 sapi/milter/php_milter.c status = call_user_function(CG(function_table), NULL, &function_name, &retval, 0, NULL TSRMLS_CC); CG 1085 sapi/milter/php_milter.c CG(compiler_options) |= ZEND_COMPILE_EXTENDED_INFO; CG 1141 sapi/milter/php_milter.c CG(interactive) = interactive; CG 1473 sapi/phpdbg/phpdbg.c CG(unclean_shutdown) = 0; CG 1485 sapi/phpdbg/phpdbg.c CG(unclean_shutdown) = 0; CG 1516 sapi/phpdbg/phpdbg.c zend_hash_clean(CG(auto_globals)); CG 1529 sapi/phpdbg/phpdbg.c CG(unclean_shutdown) = 0; CG 703 sapi/phpdbg/phpdbg_bp.c zend_uint cops = CG(compiler_options); CG 717 sapi/phpdbg/phpdbg_bp.c cops = CG(compiler_options); CG 719 sapi/phpdbg/phpdbg_bp.c CG(compiler_options) = ZEND_COMPILE_DEFAULT_FOR_EVAL; CG 753 sapi/phpdbg/phpdbg_bp.c CG(compiler_options) = cops; CG 973 sapi/phpdbg/phpdbg_bp.c int orig_interactive = CG(interactive); CG 998 sapi/phpdbg/phpdbg_bp.c CG(interactive) = 0; CG 1011 sapi/phpdbg/phpdbg_bp.c CG(interactive) = orig_interactive; CG 1020 sapi/phpdbg/phpdbg_bp.c CG(interactive) = orig_interactive; CG 705 sapi/phpdbg/phpdbg_prompt.c CG(unclean_shutdown) = 0;