CG 40 Zend/zend.c # define GLOBAL_FUNCTION_TABLE CG(function_table) CG 41 Zend/zend.c # define GLOBAL_CLASS_TABLE CG(class_table) CG 42 Zend/zend.c # define GLOBAL_AUTO_GLOBALS_TABLE CG(auto_globals) CG 90 Zend/zend.c if (!CG(multibyte)) { CG 475 Zend/zend.c CG(asp_tags) = asp_tags_default; CG 476 Zend/zend.c CG(short_tags) = short_tags_default; CG 477 Zend/zend.c CG(compiler_options) = compiler_options_default; CG 520 Zend/zend.c CG(interactive) = 0; CG 787 Zend/zend.c asp_tags_default = CG(asp_tags); CG 788 Zend/zend.c short_tags_default = CG(short_tags); CG 789 Zend/zend.c compiler_options_default = CG(compiler_options); CG 870 Zend/zend.c CG(unclean_shutdown) = 1; CG 871 Zend/zend.c CG(active_class_entry) = NULL; CG 872 Zend/zend.c CG(in_compilation) = EG(in_execution) = 0; CG 944 Zend/zend.c if (GC_G(gc_enabled) && !CG(unclean_shutdown)) { CG 990 Zend/zend.c if (CG(stack).top) { \ CG 991 Zend/zend.c memcpy(&stack, &CG(stack), sizeof(zend_stack)); \ CG 992 Zend/zend.c CG(stack).top = CG(stack).max = 0; \ CG 993 Zend/zend.c CG(stack).elements = NULL; \ CG 1001 Zend/zend.c zend_stack_destroy(&CG(stack)); \ CG 1002 Zend/zend.c memcpy(&CG(stack), &stack, sizeof(zend_stack)); \ CG 1183 Zend/zend.c in_compilation = CG(in_compilation); CG 1185 Zend/zend.c saved_class_entry = CG(active_class_entry); CG 1186 Zend/zend.c CG(active_class_entry) = NULL; CG 1195 Zend/zend.c CG(in_compilation) = 0; CG 1198 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 1211 Zend/zend.c CG(active_class_entry) = saved_class_entry; CG 1220 Zend/zend.c CG(in_compilation) = 1; CG 1291 Zend/zend.c long orig_interactive = CG(interactive); CG 1302 Zend/zend.c CG(interactive) = 0; CG 1304 Zend/zend.c CG(interactive) = 1; CG 1326 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 1349 Zend/zend.c CG(interactive) = orig_interactive; CG 1356 Zend/zend.c CG(interactive) = orig_interactive; CG 1058 Zend/zend_API.c zend_class_entry **scope = EG(in_execution)?&EG(scope):&CG(active_class_entry); CG 1092 Zend/zend_API.c zend_class_entry **scope = EG(in_execution)?&EG(scope):&CG(active_class_entry); CG 1112 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 1856 Zend/zend_API.c for (zend_hash_internal_pointer_reset_ex(CG(class_table), &pos); CG 1857 Zend/zend_API.c zend_hash_get_current_data_ex(CG(class_table), (void *) &pce, &pos) == SUCCESS; CG 1858 Zend/zend_API.c zend_hash_move_forward_ex(CG(class_table), &pos)) { CG 1871 Zend/zend_API.c for (zend_hash_internal_pointer_reset_ex(CG(class_table), &pos); CG 1872 Zend/zend_API.c zend_hash_get_current_data_ex(CG(class_table), (void *) &pce, &pos) == SUCCESS; CG 1873 Zend/zend_API.c zend_hash_move_forward_ex(CG(class_table), &pos)) { CG 2048 Zend/zend_API.c target_function_table = CG(function_table); CG 2295 Zend/zend_API.c target_function_table = CG(function_table); CG 2510 Zend/zend_API.c zend_hash_quick_update(CG(class_table), lowercase_name, class_entry->name_length+1, INTERNED_HASH(lowercase_name), &class_entry, sizeof(zend_class_entry *), NULL); CG 2512 Zend/zend_API.c zend_hash_update(CG(class_table), lowercase_name, class_entry->name_length+1, &class_entry, sizeof(zend_class_entry *), NULL); CG 2530 Zend/zend_API.c if (zend_hash_find(CG(class_table), parent_name, strlen(parent_name)+1, (void **) &pce)==FAILURE) { CG 2581 Zend/zend_API.c ret = zend_hash_add(CG(class_table), lcname+1, name_len, &ce, sizeof(zend_class_entry *), NULL); CG 2583 Zend/zend_API.c ret = zend_hash_add(CG(class_table), lcname, name_len+1, &ce, sizeof(zend_class_entry *), NULL); CG 2631 Zend/zend_API.c if (zend_hash_del(CG(function_table), function_name, function_name_length+1)==FAILURE) { CG 2635 Zend/zend_API.c return zend_register_functions(NULL, disabled_function, CG(function_table), MODULE_PERSISTENT TSRMLS_CC); CG 2664 Zend/zend_API.c if (zend_hash_find(CG(class_table), class_name, class_name_length+1, (void **)&disabled_class)==FAILURE) { CG 226 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 2459 Zend/zend_builtin_functions.c zend_hash_internal_pointer_reset_ex(CG(function_table), &iterator); CG 2467 Zend/zend_builtin_functions.c while (zend_hash_get_current_data_ex(CG(function_table), (void **) &zif, &iterator) == SUCCESS) { CG 2476 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 72 Zend/zend_compile.c CG(active_op_array)->literals[literal].cache_slot = CG(active_op_array)->last_cache_slot++; \ CG 73 Zend/zend_compile.c if ((CG(active_op_array)->fn_flags & ZEND_ACC_INTERACTIVE) && CG(active_op_array)->run_time_cache) { \ CG 74 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 75 Zend/zend_compile.c CG(active_op_array)->run_time_cache[CG(active_op_array)->last_cache_slot - 1] = NULL; \ CG 82 Zend/zend_compile.c CG(active_op_array)->literals[literal].cache_slot = CG(active_op_array)->last_cache_slot; \ CG 83 Zend/zend_compile.c CG(active_op_array)->last_cache_slot += POLYMORPHIC_CACHE_SLOT_SIZE; \ CG 84 Zend/zend_compile.c if ((CG(active_op_array)->fn_flags & ZEND_ACC_INTERACTIVE) && CG(active_op_array)->run_time_cache) { \ CG 85 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 86 Zend/zend_compile.c CG(active_op_array)->run_time_cache[CG(active_op_array)->last_cache_slot - 1] = NULL; \ CG 87 Zend/zend_compile.c CG(active_op_array)->run_time_cache[CG(active_op_array)->last_cache_slot - 2] = NULL; \ CG 92 Zend/zend_compile.c if (CG(active_op_array)->literals[literal].cache_slot != -1 && \ CG 93 Zend/zend_compile.c CG(active_op_array)->literals[literal].cache_slot == \ CG 94 Zend/zend_compile.c CG(active_op_array)->last_cache_slot - POLYMORPHIC_CACHE_SLOT_SIZE) { \ CG 95 Zend/zend_compile.c CG(active_op_array)->literals[literal].cache_slot = -1; \ CG 96 Zend/zend_compile.c CG(active_op_array)->last_cache_slot -= POLYMORPHIC_CACHE_SLOT_SIZE; \ 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 208 Zend/zend_compile.c zend_stack_init(&CG(context_stack)); CG 210 Zend/zend_compile.c CG(encoding_declared) = 0; CG 224 Zend/zend_compile.c CG(active_op_array) = NULL; CG 225 Zend/zend_compile.c memset(&CG(context), 0, sizeof(CG(context))); CG 228 Zend/zend_compile.c zend_hash_init(&CG(filenames_table), 5, NULL, (dtor_func_t) free_estring, 0); CG 229 Zend/zend_compile.c zend_llist_init(&CG(open_files), sizeof(zend_file_handle), (void (*)(void *)) file_handle_dtor, 0); CG 230 Zend/zend_compile.c CG(unclean_shutdown) = 0; CG 236 Zend/zend_compile.c zend_stack_destroy(&CG(bp_stack)); CG 237 Zend/zend_compile.c zend_stack_destroy(&CG(function_call_stack)); CG 238 Zend/zend_compile.c zend_stack_destroy(&CG(switch_cond_stack)); CG 239 Zend/zend_compile.c zend_stack_destroy(&CG(foreach_copy_stack)); CG 240 Zend/zend_compile.c zend_stack_destroy(&CG(object_stack)); CG 241 Zend/zend_compile.c zend_stack_destroy(&CG(declare_stack)); CG 242 Zend/zend_compile.c zend_stack_destroy(&CG(list_stack)); CG 243 Zend/zend_compile.c zend_hash_destroy(&CG(filenames_table)); CG 244 Zend/zend_compile.c zend_llist_destroy(&CG(open_files)); CG 245 Zend/zend_compile.c zend_stack_destroy(&CG(context_stack)); CG 254 Zend/zend_compile.c if (zend_hash_find(&CG(filenames_table), new_compiled_filename, length+1, (void **) &pp) == SUCCESS) { CG 255 Zend/zend_compile.c CG(compiled_filename) = *pp; CG 259 Zend/zend_compile.c zend_hash_update(&CG(filenames_table), new_compiled_filename, length+1, &p, sizeof(char *), (void **) &pp); CG 260 Zend/zend_compile.c CG(compiled_filename) = p; CG 267 Zend/zend_compile.c CG(compiled_filename) = original_compiled_filename; CG 273 Zend/zend_compile.c return CG(compiled_filename); CG 279 Zend/zend_compile.c return CG(zend_lineno); CG 285 Zend/zend_compile.c return CG(in_compilation); CG 312 Zend/zend_compile.c if (op_array->last_var > CG(context).vars_size) { CG 313 Zend/zend_compile.c CG(context).vars_size += 16; /* FIXME */ CG 314 Zend/zend_compile.c op_array->vars = erealloc(op_array->vars, CG(context).vars_size * sizeof(zend_compiled_variable)); CG 356 Zend/zend_compile.c if (i >= CG(context).literals_size) { CG 357 Zend/zend_compile.c while (i >= CG(context).literals_size) { CG 358 Zend/zend_compile.c CG(context).literals_size += 16; /* FIXME */ CG 360 Zend/zend_compile.c op_array->literals = (zend_literal*)erealloc(op_array->literals, CG(context).literals_size * sizeof(zend_literal)); CG 397 Zend/zend_compile.c lc_literal = zend_add_literal(CG(active_op_array), &c TSRMLS_CC); CG 424 Zend/zend_compile.c lc_literal = zend_add_literal(CG(active_op_array), &c TSRMLS_CC); CG 431 Zend/zend_compile.c lc_literal = zend_add_literal(CG(active_op_array), &c TSRMLS_CC); CG 463 Zend/zend_compile.c lc_literal = zend_add_literal(CG(active_op_array), &c TSRMLS_CC); CG 509 Zend/zend_compile.c tmp_literal = zend_add_literal(CG(active_op_array), &c TSRMLS_CC); CG 515 Zend/zend_compile.c tmp_literal = zend_add_literal(CG(active_op_array), &c TSRMLS_CC); CG 531 Zend/zend_compile.c tmp_literal = zend_add_literal(CG(active_op_array), &c TSRMLS_CC); CG 537 Zend/zend_compile.c tmp_literal = zend_add_literal(CG(active_op_array), &c TSRMLS_CC); CG 547 Zend/zend_compile.c op.constant = zend_add_literal(CG(active_op_array), &_c TSRMLS_CC); \ CG 553 Zend/zend_compile.c op.constant = zend_add_literal(CG(active_op_array), &_c TSRMLS_CC); \ CG 565 Zend/zend_compile.c op.constant = zend_add_literal(CG(active_op_array), &_c TSRMLS_CC); \ CG 578 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 582 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 591 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 595 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 614 Zend/zend_compile.c int last_op_number = get_next_op_number(CG(active_op_array)); CG 615 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 618 Zend/zend_compile.c zend_op *last_op = &CG(active_op_array)->opcodes[last_op_number-1]; CG 634 Zend/zend_compile.c opline->op2.var = get_temporary_variable(CG(active_op_array)); CG 648 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 670 Zend/zend_compile.c (CG(active_op_array)->last == 0 || CG 671 Zend/zend_compile.c CG(active_op_array)->opcodes[CG(active_op_array)->last-1].opcode != ZEND_BEGIN_SILENCE)) { CG 673 Zend/zend_compile.c result->u.op.var = lookup_cv(CG(active_op_array), varname->u.constant.value.str.val, varname->u.constant.value.str.len, hash TSRMLS_CC); CG 674 Zend/zend_compile.c varname->u.constant.value.str.val = (char*)CG(active_op_array)->vars[result->u.op.var].name; CG 684 Zend/zend_compile.c opline_ptr = get_next_op(CG(active_op_array) TSRMLS_CC); CG 689 Zend/zend_compile.c opline_ptr->result.var = get_temporary_variable(CG(active_op_array)); CG 703 Zend/zend_compile.c zend_stack_top(&CG(bp_stack), (void **) &fetch_list_ptr); CG 731 Zend/zend_compile.c zend_stack_top(&CG(bp_stack), (void **) &fetch_list_ptr); CG 737 Zend/zend_compile.c opline.result.var = get_temporary_variable(CG(active_op_array)); CG 739 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 745 Zend/zend_compile.c zend_add_class_name_literal(CG(active_op_array), &class_node.u.constant TSRMLS_CC); CG 762 Zend/zend_compile.c opline.result.var = get_temporary_variable(CG(active_op_array)); CG 764 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 770 Zend/zend_compile.c zend_add_class_name_literal(CG(active_op_array), &class_node.u.constant TSRMLS_CC); CG 785 Zend/zend_compile.c zend_add_class_name_literal(CG(active_op_array), &class_node.u.constant TSRMLS_CC); CG 808 Zend/zend_compile.c zend_stack_top(&CG(bp_stack), (void **) &fetch_list_ptr); CG 823 Zend/zend_compile.c opline.result.var = get_temporary_variable(CG(active_op_array)); CG 853 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 856 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 866 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 878 Zend/zend_compile.c if (CG(active_class_entry)->ce_flags & ZEND_ACC_INTERFACE) { CG 887 Zend/zend_compile.c zend_error(E_COMPILE_ERROR, "%s function %s::%s() cannot be declared private", method_type, CG(active_class_entry)->name, function_name->u.constant.value.str.val); CG 890 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 897 Zend/zend_compile.c zend_error(E_COMPILE_ERROR, "%s function %s::%s() cannot contain body", method_type, CG(active_class_entry)->name, function_name->u.constant.value.str.val); CG 901 Zend/zend_compile.c zend_error(E_COMPILE_ERROR, "Non-abstract method %s::%s() must contain body", CG(active_class_entry)->name, function_name->u.constant.value.str.val); CG 930 Zend/zend_compile.c zend_stack_top(&CG(bp_stack), (void **) &fetch_list_ptr); CG 938 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 941 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 944 Zend/zend_compile.c CG(active_op_array)->vars[value->u.op.var].name, CG 945 Zend/zend_compile.c CG(active_op_array)->vars[value->u.op.var].name_len, 1); CG 956 Zend/zend_compile.c last_op_number = get_next_op_number(CG(active_op_array)); CG 957 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 960 Zend/zend_compile.c if (variable->u.op.var == CG(active_op_array)->this_var) { CG 969 Zend/zend_compile.c last_op = &CG(active_op_array)->opcodes[last_op_number-n-1]; CG 975 Zend/zend_compile.c int opline_no = (opline-CG(active_op_array)->opcodes)/sizeof(*opline); CG 979 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 981 Zend/zend_compile.c last_op = &CG(active_op_array)->opcodes[opline_no]; CG 990 Zend/zend_compile.c int opline_no = (opline-CG(active_op_array)->opcodes)/sizeof(*opline); CG 995 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 997 Zend/zend_compile.c last_op = &CG(active_op_array)->opcodes[opline_no]; CG 1001 Zend/zend_compile.c opline->op2.var = get_temporary_variable(CG(active_op_array)); CG 1020 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 1030 Zend/zend_compile.c if (lvar->u.op.var == CG(active_op_array)->this_var) { CG 1034 Zend/zend_compile.c int last_op_number = get_next_op_number(CG(active_op_array)); CG 1037 Zend/zend_compile.c opline = &CG(active_op_array)->opcodes[last_op_number-1]; CG 1044 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1055 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 1070 Zend/zend_compile.c parent = CG(context).current_brk_cont; CG 1071 Zend/zend_compile.c CG(context).current_brk_cont = CG(active_op_array)->last_brk_cont; CG 1072 Zend/zend_compile.c brk_cont_element = get_next_brk_cont_element(CG(active_op_array)); CG 1073 Zend/zend_compile.c brk_cont_element->start = get_next_op_number(CG(active_op_array)); CG 1084 Zend/zend_compile.c CG(active_op_array)->brk_cont_array[CG(context).current_brk_cont].start = -1; CG 1086 Zend/zend_compile.c CG(active_op_array)->brk_cont_array[CG(context).current_brk_cont].cont = cont_addr; CG 1087 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 1088 Zend/zend_compile.c CG(context).current_brk_cont = CG(active_op_array)->brk_cont_array[CG(context).current_brk_cont].parent; CG 1094 Zend/zend_compile.c int while_cond_op_number = get_next_op_number(CG(active_op_array)); CG 1095 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1103 Zend/zend_compile.c INC_BPC(CG(active_op_array)); CG 1109 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1118 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 1122 Zend/zend_compile.c DEC_BPC(CG(active_op_array)); CG 1128 Zend/zend_compile.c int for_cond_op_number = get_next_op_number(CG(active_op_array)); CG 1129 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1140 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1144 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 1150 Zend/zend_compile.c INC_BPC(CG(active_op_array)); CG 1156 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1160 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 1166 Zend/zend_compile.c DEC_BPC(CG(active_op_array)); CG 1172 Zend/zend_compile.c int last_op_number = get_next_op_number(CG(active_op_array)); CG 1176 Zend/zend_compile.c zend_op *last_op = &CG(active_op_array)->opcodes[last_op_number-1]; CG 1181 Zend/zend_compile.c last_op->result.var = get_temporary_variable(CG(active_op_array)); CG 1187 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1192 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 1199 Zend/zend_compile.c int last_op_number = get_next_op_number(CG(active_op_array)); CG 1203 Zend/zend_compile.c zend_op *last_op = &CG(active_op_array)->opcodes[last_op_number-1]; CG 1208 Zend/zend_compile.c last_op->result.var = get_temporary_variable(CG(active_op_array)); CG 1214 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1219 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 1226 Zend/zend_compile.c int if_cond_op_number = get_next_op_number(CG(active_op_array)); CG 1227 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1233 Zend/zend_compile.c INC_BPC(CG(active_op_array)); CG 1239 Zend/zend_compile.c int if_end_op_number = get_next_op_number(CG(active_op_array)); CG 1240 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1249 Zend/zend_compile.c zend_stack_push(&CG(bp_stack), (void *) &jmp_list, sizeof(zend_llist)); CG 1251 Zend/zend_compile.c zend_stack_top(&CG(bp_stack), (void **) &jmp_list_ptr); CG 1254 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 1262 Zend/zend_compile.c int next_op_number = get_next_op_number(CG(active_op_array)); CG 1266 Zend/zend_compile.c zend_stack_top(&CG(bp_stack), (void **) &jmp_list_ptr); CG 1268 Zend/zend_compile.c CG(active_op_array)->opcodes[*((int *) le->data)].op1.opline_num = next_op_number; CG 1271 Zend/zend_compile.c zend_stack_del_top(&CG(bp_stack)); CG 1272 Zend/zend_compile.c DEC_BPC(CG(active_op_array)); CG 1294 Zend/zend_compile.c zend_stack_push(&CG(bp_stack), (void *) &fetch_list, sizeof(zend_llist)); CG 1306 Zend/zend_compile.c zend_stack_top(&CG(bp_stack), (void **) &fetch_list_ptr); CG 1316 Zend/zend_compile.c if (CG(active_op_array)->last == 0 || CG 1317 Zend/zend_compile.c CG(active_op_array)->opcodes[CG(active_op_array)->last-1].opcode != ZEND_BEGIN_SILENCE) { CG 1320 Zend/zend_compile.c if (CG(active_op_array)->this_var == -1) { CG 1321 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 1324 Zend/zend_compile.c zend_del_literal(CG(active_op_array), opline_ptr->op1.constant); CG 1330 Zend/zend_compile.c variable->u.op.var = CG(active_op_array)->this_var; CG 1332 Zend/zend_compile.c } else if (CG(active_op_array)->this_var == -1) { CG 1333 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 1341 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1347 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1352 Zend/zend_compile.c opline->op1.var = CG(active_op_array)->this_var; CG 1390 Zend/zend_compile.c zend_stack_del_top(&CG(bp_stack)); CG 1399 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1407 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1420 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 1429 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1439 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 1449 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1455 Zend/zend_compile.c zend_op *opline = &CG(active_op_array)->opcodes[CG(active_op_array)->last-1]; CG 1469 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1477 Zend/zend_compile.c while (opline>CG(active_op_array)->opcodes) { CG 1539 Zend/zend_compile.c if (CG(active_class_entry)->ce_flags & ZEND_ACC_INTERFACE) { CG 1541 Zend/zend_compile.c zend_error(E_COMPILE_ERROR, "Access type for interface method %s::%s() must be omitted", CG(active_class_entry)->name, function_name->u.constant.value.str.val); CG 1549 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 1550 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 1553 Zend/zend_compile.c function_token->u.op_array = CG(active_op_array); CG 1555 Zend/zend_compile.c orig_interactive = CG(interactive); CG 1556 Zend/zend_compile.c CG(interactive) = 0; CG 1558 Zend/zend_compile.c CG(interactive) = orig_interactive; CG 1566 Zend/zend_compile.c op_array.scope = is_method?CG(active_class_entry):NULL; CG 1577 Zend/zend_compile.c result = zend_hash_quick_add(&CG(active_class_entry)->function_table, lcname, name_len+1, INTERNED_HASH(lcname), &op_array, sizeof(zend_op_array), (void **) &CG(active_op_array)); CG 1579 Zend/zend_compile.c result = zend_hash_add(&CG(active_class_entry)->function_table, lcname, name_len+1, &op_array, sizeof(zend_op_array), (void **) &CG(active_op_array)); CG 1582 Zend/zend_compile.c zend_error(E_COMPILE_ERROR, "Cannot redeclare %s::%s()", CG(active_class_entry)->name, name); CG 1585 Zend/zend_compile.c zend_stack_push(&CG(context_stack), (void *) &CG(context), sizeof(CG(context))); CG 1589 Zend/zend_compile.c CG(active_class_entry)->ce_flags |= ZEND_ACC_IMPLICIT_ABSTRACT_CLASS; CG 1596 Zend/zend_compile.c if (CG(active_class_entry)->ce_flags & ZEND_ACC_INTERFACE) { CG 1633 Zend/zend_compile.c class_lcname = do_alloca(CG(active_class_entry)->name_length + 1, use_heap); CG 1634 Zend/zend_compile.c zend_str_tolower_copy(class_lcname, CG(active_class_entry)->name, CG(active_class_entry)->name_length); CG 1637 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 1638 Zend/zend_compile.c if (!CG(active_class_entry)->constructor) { CG 1639 Zend/zend_compile.c CG(active_class_entry)->constructor = (zend_function *) CG(active_op_array); CG 1642 Zend/zend_compile.c if (CG(active_class_entry)->constructor) { CG 1643 Zend/zend_compile.c zend_error(E_STRICT, "Redefining already defined constructor for class %s", CG(active_class_entry)->name); CG 1645 Zend/zend_compile.c CG(active_class_entry)->constructor = (zend_function *) CG(active_op_array); CG 1647 Zend/zend_compile.c CG(active_class_entry)->destructor = (zend_function *) CG(active_op_array); CG 1649 Zend/zend_compile.c CG(active_class_entry)->clone = (zend_function *) CG(active_op_array); CG 1654 Zend/zend_compile.c CG(active_class_entry)->__call = (zend_function *) CG(active_op_array); CG 1659 Zend/zend_compile.c CG(active_class_entry)->__callstatic = (zend_function *) CG(active_op_array); CG 1664 Zend/zend_compile.c CG(active_class_entry)->__get = (zend_function *) CG(active_op_array); CG 1669 Zend/zend_compile.c CG(active_class_entry)->__set = (zend_function *) CG(active_op_array); CG 1674 Zend/zend_compile.c CG(active_class_entry)->__unset = (zend_function *) CG(active_op_array); CG 1679 Zend/zend_compile.c CG(active_class_entry)->__isset = (zend_function *) CG(active_op_array); CG 1684 Zend/zend_compile.c CG(active_class_entry)->__tostring = (zend_function *) CG(active_op_array); CG 1690 Zend/zend_compile.c CG(active_op_array)->fn_flags |= ZEND_ACC_ALLOW_STATIC; CG 1697 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1700 Zend/zend_compile.c if (CG(current_namespace)) { CG 1704 Zend/zend_compile.c tmp.u.constant = *CG(current_namespace); CG 1717 Zend/zend_compile.c opline->op1.constant = zend_add_literal(CG(active_op_array), &key TSRMLS_CC); CG 1723 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 1724 Zend/zend_compile.c zend_stack_push(&CG(context_stack), (void *) &CG(context), sizeof(CG(context))); CG 1728 Zend/zend_compile.c if (CG(compiler_options) & ZEND_COMPILE_EXTENDED_INFO) { CG 1729 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1745 Zend/zend_compile.c zend_stack_push(&CG(switch_cond_stack), (void *) &switch_entry, sizeof(switch_entry)); CG 1754 Zend/zend_compile.c zend_stack_push(&CG(foreach_copy_stack), (void *) &dummy_opline, sizeof(zend_op)); CG 1757 Zend/zend_compile.c if (CG(doc_comment)) { CG 1758 Zend/zend_compile.c CG(active_op_array)->doc_comment = CG(doc_comment); CG 1759 Zend/zend_compile.c CG(active_op_array)->doc_comment_len = CG(doc_comment_len); CG 1760 Zend/zend_compile.c CG(doc_comment) = NULL; CG 1761 Zend/zend_compile.c CG(doc_comment_len) = 0; CG 1769 Zend/zend_compile.c zend_op_array *current_op_array = CG(active_op_array); CG 1770 Zend/zend_compile.c int current_op_number = get_next_op_number(CG(active_op_array)); CG 1787 Zend/zend_compile.c CG(active_op_array)->fn_flags |= ZEND_ACC_STATIC; CG 1789 Zend/zend_compile.c CG(active_op_array)->fn_flags |= ZEND_ACC_CLOSURE; CG 1795 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1811 Zend/zend_compile.c pass_two(CG(active_op_array) TSRMLS_CC); CG 1814 Zend/zend_compile.c if (CG(active_class_entry)) { CG 1815 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 1819 Zend/zend_compile.c name_len = strlen(CG(active_op_array)->function_name); CG 1820 Zend/zend_compile.c zend_str_tolower_copy(lcname, CG(active_op_array)->function_name, MIN(name_len, sizeof(lcname)-1)); CG 1822 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 1827 Zend/zend_compile.c CG(active_op_array)->line_end = zend_get_compiled_lineno(TSRMLS_C); CG 1828 Zend/zend_compile.c CG(active_op_array) = function_token->u.op_array; CG 1832 Zend/zend_compile.c zend_stack_del_top(&CG(switch_cond_stack)); CG 1833 Zend/zend_compile.c zend_stack_del_top(&CG(foreach_copy_stack)); CG 1856 Zend/zend_compile.c var.u.op.var = lookup_cv(CG(active_op_array), varname->u.constant.value.str.val, varname->u.constant.value.str.len, 0 TSRMLS_CC); CG 1857 Zend/zend_compile.c Z_STRVAL(varname->u.constant) = (char*)CG(active_op_array)->vars[var.u.op.var].name; CG 1859 Zend/zend_compile.c if (CG(active_op_array)->vars[var.u.op.var].hash_value == THIS_HASHVAL && CG 1862 Zend/zend_compile.c if (CG(active_op_array)->scope && CG 1863 Zend/zend_compile.c (CG(active_op_array)->fn_flags & ZEND_ACC_STATIC) == 0) { CG 1866 Zend/zend_compile.c CG(active_op_array)->this_var = var.u.op.var; CG 1870 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1871 Zend/zend_compile.c CG(active_op_array)->num_args++; CG 1878 Zend/zend_compile.c CG(active_op_array)->required_num_args = CG(active_op_array)->num_args; CG 1881 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 1882 Zend/zend_compile.c cur_arg_info = &CG(active_op_array)->arg_info[CG(active_op_array)->num_args-1]; CG 1942 Zend/zend_compile.c if (check_namespace && CG(current_namespace) && !is_compound) { CG 1953 Zend/zend_compile.c if ((zend_hash_find(CG(function_table), lcname, function_name->u.constant.value.str.len+1, (void **) &function)==FAILURE) || CG 1954 Zend/zend_compile.c ((CG(compiler_options) & ZEND_COMPILE_IGNORE_INTERNAL_FUNCTIONS) && CG 1963 Zend/zend_compile.c zend_stack_push(&CG(function_call_stack), (void *) &function, sizeof(zend_function *)); CG 1964 Zend/zend_compile.c if (CG(context).nested_calls + 1 > CG(active_op_array)->nested_calls) { CG 1965 Zend/zend_compile.c CG(active_op_array)->nested_calls = CG(context).nested_calls + 1; CG 1981 Zend/zend_compile.c last_op_number = get_next_op_number(CG(active_op_array))-1; CG 1982 Zend/zend_compile.c last_op = &CG(active_op_array)->opcodes[last_op_number]; CG 2001 Zend/zend_compile.c zend_add_func_name_literal(CG(active_op_array), &name TSRMLS_CC); CG 2006 Zend/zend_compile.c last_op->result.num = CG(context).nested_calls; CG 2009 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2011 Zend/zend_compile.c opline->result.num = CG(context).nested_calls; CG 2015 Zend/zend_compile.c opline->op2.constant = zend_add_func_name_literal(CG(active_op_array), &left_bracket->u.constant TSRMLS_CC); CG 2022 Zend/zend_compile.c zend_stack_push(&CG(function_call_stack), (void *) &ptr, sizeof(zend_function *)); CG 2023 Zend/zend_compile.c if (++CG(context).nested_calls > CG(active_op_array)->nested_calls) { CG 2024 Zend/zend_compile.c CG(active_op_array)->nested_calls = CG(context).nested_calls; CG 2032 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2038 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 2048 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2053 Zend/zend_compile.c opline->result.num = CG(context).nested_calls; CG 2056 Zend/zend_compile.c opline->op2.constant = zend_add_ns_func_name_literal(CG(active_op_array), &function_name->u.constant TSRMLS_CC); CG 2060 Zend/zend_compile.c opline->result.num = CG(context).nested_calls; CG 2064 Zend/zend_compile.c opline->op2.constant = zend_add_func_name_literal(CG(active_op_array), &function_name->u.constant TSRMLS_CC); CG 2071 Zend/zend_compile.c zend_stack_push(&CG(function_call_stack), (void *) &ptr, sizeof(zend_function *)); CG 2072 Zend/zend_compile.c if (++CG(context).nested_calls > CG(active_op_array)->nested_calls) { CG 2073 Zend/zend_compile.c CG(active_op_array)->nested_calls = CG(context).nested_calls; CG 2097 Zend/zend_compile.c if (compound && CG(current_import)) { CG 2101 Zend/zend_compile.c if (zend_hash_find(CG(current_import), lcname, len+1, (void**)&ns) == SUCCESS) { CG 2117 Zend/zend_compile.c if (CG(current_namespace)) { CG 2119 Zend/zend_compile.c Z_STRLEN(tmp.u.constant) = sizeof("\\")-1 + Z_STRLEN(element_name->u.constant) + Z_STRLEN_P(CG(current_namespace)); CG 2121 Zend/zend_compile.c memcpy(Z_STRVAL(tmp.u.constant), Z_STRVAL_P(CG(current_namespace)), Z_STRLEN_P(CG(current_namespace))); CG 2122 Zend/zend_compile.c memcpy(&(Z_STRVAL(tmp.u.constant)[Z_STRLEN_P(CG(current_namespace))]), "\\", sizeof("\\")-1); CG 2123 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 2140 Zend/zend_compile.c if (!CG(active_class_entry)) { CG 2145 Zend/zend_compile.c ZVAL_STRINGL(&class_name->u.constant, CG(active_class_entry)->name, CG(active_class_entry)->name_length, 1); CG 2156 Zend/zend_compile.c if (!CG(active_class_entry)) { CG 2200 Zend/zend_compile.c if (CG(current_import)) { CG 2204 Zend/zend_compile.c if (zend_hash_find(CG(current_import), lcname, len+1, (void**)&ns) == SUCCESS) { CG 2220 Zend/zend_compile.c if (CG(current_namespace)) { CG 2222 Zend/zend_compile.c tmp.u.constant = *CG(current_namespace); CG 2228 Zend/zend_compile.c } else if (CG(current_import) || CG(current_namespace)) { CG 2232 Zend/zend_compile.c if (CG(current_import) && CG 2233 Zend/zend_compile.c zend_hash_find(CG(current_import), lcname, Z_STRLEN(class_name->u.constant)+1, (void**)&ns) == SUCCESS) { CG 2238 Zend/zend_compile.c } else if (CG(current_namespace)) { CG 2241 Zend/zend_compile.c tmp.u.constant = *CG(current_namespace); CG 2265 Zend/zend_compile.c fetch_class_op_number = get_next_op_number(CG(active_op_array)); CG 2266 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2271 Zend/zend_compile.c CG(catch_begin) = fetch_class_op_number; CG 2288 Zend/zend_compile.c zend_add_class_name_literal(CG(active_op_array), &class_name->u.constant TSRMLS_CC); CG 2294 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 2305 Zend/zend_compile.c if (!CG(context).labels) { CG 2306 Zend/zend_compile.c ALLOC_HASHTABLE(CG(context).labels); CG 2307 Zend/zend_compile.c zend_hash_init(CG(context).labels, 4, NULL, NULL, 0); CG 2310 Zend/zend_compile.c dest.brk_cont = CG(context).current_brk_cont; CG 2311 Zend/zend_compile.c dest.opline_num = get_next_op_number(CG(active_op_array)); CG 2313 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 2333 Zend/zend_compile.c if (CG(context).labels == NULL || CG 2334 Zend/zend_compile.c zend_hash_find(CG(context).labels, Z_STRVAL_P(label), Z_STRLEN_P(label)+1, (void**)&dest) == FAILURE) { CG 2337 Zend/zend_compile.c CG(in_compilation) = 1; CG 2338 Zend/zend_compile.c CG(active_op_array) = op_array; CG 2339 Zend/zend_compile.c CG(zend_lineno) = opline->lineno; CG 2357 Zend/zend_compile.c CG(in_compilation) = 1; CG 2358 Zend/zend_compile.c CG(active_op_array) = op_array; CG 2359 Zend/zend_compile.c CG(zend_lineno) = opline->lineno; CG 2384 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2387 Zend/zend_compile.c opline->extended_value = CG(context).current_brk_cont; CG 2390 Zend/zend_compile.c zend_resolve_goto_label(CG(active_op_array), opline, 0 TSRMLS_CC); CG 2396 Zend/zend_compile.c if (CG(context).labels) { CG 2397 Zend/zend_compile.c zend_hash_destroy(CG(context).labels); CG 2398 Zend/zend_compile.c FREE_HASHTABLE(CG(context).labels); CG 2399 Zend/zend_compile.c CG(context).labels = NULL; CG 2401 Zend/zend_compile.c if (!temporary && !zend_stack_is_empty(&CG(context_stack))) { CG 2404 Zend/zend_compile.c zend_stack_top(&CG(context_stack), (void**)&ctx); CG 2405 Zend/zend_compile.c CG(context) = *ctx; CG 2406 Zend/zend_compile.c zend_stack_del_top(&CG(context_stack)); CG 2463 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2466 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2470 Zend/zend_compile.c opline->result.num = CG(context).nested_calls; CG 2474 Zend/zend_compile.c zend_add_class_name_literal(CG(active_op_array), &class_node.u.constant TSRMLS_CC); CG 2481 Zend/zend_compile.c zend_add_func_name_literal(CG(active_op_array), &method_name->u.constant TSRMLS_CC); CG 2491 Zend/zend_compile.c zend_stack_push(&CG(function_call_stack), (void *) &ptr, sizeof(zend_function *)); CG 2492 Zend/zend_compile.c if (++CG(context).nested_calls > CG(active_op_array)->nested_calls) { CG 2493 Zend/zend_compile.c CG(active_op_array)->nested_calls = CG(context).nested_calls; CG 2509 Zend/zend_compile.c opline = &CG(active_op_array)->opcodes[Z_LVAL(function_name->u.constant)]; CG 2511 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2516 Zend/zend_compile.c opline->op2.num = CG(context).nested_calls; CG 2523 Zend/zend_compile.c opline->op2.num = --CG(context).nested_calls; CG 2527 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 2531 Zend/zend_compile.c zend_stack_del_top(&CG(function_call_stack)); CG 2534 Zend/zend_compile.c if (CG(context).used_stack + 1 > CG(active_op_array)->used_stack) { CG 2535 Zend/zend_compile.c CG(active_op_array)->used_stack = CG(context).used_stack + 1; CG 2537 Zend/zend_compile.c CG(context).used_stack -= Z_LVAL(argument_list->u.constant); CG 2549 Zend/zend_compile.c zend_stack_top(&CG(function_call_stack), (void **) &function_ptr_ptr); CG 2626 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2646 Zend/zend_compile.c if (++CG(context).used_stack > CG(active_op_array)->used_stack) { CG 2647 Zend/zend_compile.c CG(active_op_array)->used_stack = CG(context).used_stack; CG 2660 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2679 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2693 Zend/zend_compile.c zend_bool returns_reference = (CG(active_op_array)->fn_flags & ZEND_ACC_RETURN_REFERENCE) != 0; CG 2705 Zend/zend_compile.c start_op_number = get_next_op_number(CG(active_op_array)); CG 2708 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 2709 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 2711 Zend/zend_compile.c zend_stack_apply(&CG(switch_cond_stack), ZEND_STACK_APPLY_TOPDOWN, (int (*)(void *element)) generate_free_switch_expr); CG 2712 Zend/zend_compile.c zend_stack_apply(&CG(foreach_copy_stack), ZEND_STACK_APPLY_TOPDOWN, (int (*)(void *element)) generate_free_foreach_copy); CG 2715 Zend/zend_compile.c end_op_number = get_next_op_number(CG(active_op_array)); CG 2717 Zend/zend_compile.c CG(active_op_array)->opcodes[start_op_number].extended_value |= EXT_TYPE_FREE_ON_RETURN; CG 2721 Zend/zend_compile.c if (CG(context).in_finally) { CG 2722 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2728 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2751 Zend/zend_compile.c if (!CG(active_op_array)->function_name) { CG 2755 Zend/zend_compile.c CG(active_op_array)->fn_flags |= ZEND_ACC_GENERATOR; CG 2758 Zend/zend_compile.c if ((CG(active_op_array)->fn_flags & ZEND_ACC_RETURN_REFERENCE) && !zend_is_function_or_method_call(value)) { CG 2765 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2786 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 2793 Zend/zend_compile.c int try_catch_offset = CG(active_op_array)->last_try_catch++; CG 2795 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 2796 Zend/zend_compile.c CG(active_op_array)->try_catch_array[try_catch_offset].try_op = try_op; CG 2797 Zend/zend_compile.c CG(active_op_array)->try_catch_array[try_catch_offset].catch_op = 0; CG 2798 Zend/zend_compile.c CG(active_op_array)->try_catch_array[try_catch_offset].finally_op = 0; CG 2799 Zend/zend_compile.c CG(active_op_array)->try_catch_array[try_catch_offset].finally_end = 0; CG 2806 Zend/zend_compile.c CG(active_op_array)->try_catch_array[offset].catch_op = catch_op; CG 2812 Zend/zend_compile.c open_parentheses->u.op.opline_num = get_next_op_number(CG(active_op_array)); CG 2818 Zend/zend_compile.c int jmp_op_number = get_next_op_number(CG(active_op_array)); CG 2819 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2829 Zend/zend_compile.c zend_stack_push(&CG(bp_stack), (void *) &jmp_list, sizeof(zend_llist)); CG 2830 Zend/zend_compile.c zend_stack_top(&CG(bp_stack), (void **) &jmp_list_ptr); CG 2833 Zend/zend_compile.c catch_token->EA = get_next_op_number(CG(active_op_array)); CG 2839 Zend/zend_compile.c CG(active_op_array)->last--; CG 2842 Zend/zend_compile.c CG(active_op_array)->opcodes[first_catch->u.op.opline_num].result.num = 1; CG 2843 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 2845 Zend/zend_compile.c CG(active_op_array)->opcodes[last_additional_catch->u.op.opline_num].result.num = 1; CG 2846 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 2848 Zend/zend_compile.c DEC_BPC(CG(active_op_array)); CG 2854 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 2855 Zend/zend_compile.c INC_BPC(CG(active_op_array)); CG 2861 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2863 Zend/zend_compile.c finally_token->u.op.opline_num = get_next_op_number(CG(active_op_array)); CG 2872 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2877 Zend/zend_compile.c CG(context).in_finally++; CG 2895 Zend/zend_compile.c catch_op_number = get_next_op_number(CG(active_op_array)); CG 2900 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2903 Zend/zend_compile.c opline->op1.constant = zend_add_class_name_literal(CG(active_op_array), &catch_class.u.constant TSRMLS_CC); CG 2905 Zend/zend_compile.c opline->op2.var = lookup_cv(CG(active_op_array), catch_var->u.constant.value.str.val, catch_var->u.constant.value.str.len, 0 TSRMLS_CC); CG 2906 Zend/zend_compile.c Z_STRVAL(catch_var->u.constant) = (char*)CG(active_op_array)->vars[opline->op2.var].name; CG 2915 Zend/zend_compile.c int jmp_op_number = get_next_op_number(CG(active_op_array)); CG 2916 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2924 Zend/zend_compile.c zend_stack_top(&CG(bp_stack), (void **) &jmp_list_ptr); CG 2927 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 2946 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 2947 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 2948 Zend/zend_compile.c CG(active_op_array)->has_finally_block = 1; CG 2950 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 2955 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 2957 Zend/zend_compile.c CG(context).in_finally--; CG 2966 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 4481 Zend/zend_compile.c zend_class_entry *ce = CG(active_class_entry); CG 4510 Zend/zend_compile.c zend_class_entry *ce = CG(active_class_entry); CG 4609 Zend/zend_compile.c zend_op *opline = &CG(active_op_array)->opcodes[CG(active_op_array)->last-1]; CG 4612 Zend/zend_compile.c while (opline->opcode == ZEND_TICKS && opline > CG(active_op_array)->opcodes) { CG 4618 Zend/zend_compile.c if (do_bind_function(CG(active_op_array), opline, CG(function_table), 1) == FAILURE) { CG 4621 Zend/zend_compile.c table = CG(function_table); CG 4624 Zend/zend_compile.c if (do_bind_class(CG(active_op_array), opline, CG(class_table), 1 TSRMLS_CC) == NULL) { CG 4627 Zend/zend_compile.c table = CG(class_table); CG 4637 Zend/zend_compile.c ((CG(compiler_options) & ZEND_COMPILE_IGNORE_INTERNAL_CLASSES) && CG 4639 Zend/zend_compile.c if (CG(compiler_options) & ZEND_COMPILE_DELAYED_BINDING) { CG 4640 Zend/zend_compile.c zend_uint *opline_num = &CG(active_op_array)->early_binding; CG 4643 Zend/zend_compile.c opline_num = &CG(active_op_array)->opcodes[*opline_num].result.opline_num; CG 4645 Zend/zend_compile.c *opline_num = opline - CG(active_op_array)->opcodes; CG 4652 Zend/zend_compile.c if (do_bind_inherited_class(CG(active_op_array), opline, CG(class_table), *pce, 1 TSRMLS_CC) == NULL) { CG 4656 Zend/zend_compile.c zend_del_literal(CG(active_op_array), fetch_class_opline->op2.constant); CG 4659 Zend/zend_compile.c table = CG(class_table); CG 4675 Zend/zend_compile.c zend_del_literal(CG(active_op_array), opline->op1.constant); CG 4676 Zend/zend_compile.c zend_del_literal(CG(active_op_array), opline->op2.constant); CG 4684 Zend/zend_compile.c zend_bool orig_in_compilation = CG(in_compilation); CG 4688 Zend/zend_compile.c CG(in_compilation) = 1; CG 4695 Zend/zend_compile.c CG(in_compilation) = orig_in_compilation; CG 4702 Zend/zend_compile.c int next_op_number = get_next_op_number(CG(active_op_array)); CG 4703 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 4709 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 4723 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 4731 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 4737 Zend/zend_compile.c int next_op_number = get_next_op_number(CG(active_op_array)); CG 4738 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 4744 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 4758 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 4766 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 4773 Zend/zend_compile.c INC_BPC(CG(active_op_array)); CG 4779 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 4788 Zend/zend_compile.c DEC_BPC(CG(active_op_array)); CG 4794 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 4797 Zend/zend_compile.c opline->op1.opline_num = CG(context).current_brk_cont; CG 4820 Zend/zend_compile.c zend_stack_push(&CG(switch_cond_stack), (void *) &switch_entry, sizeof(switch_entry)); CG 4824 Zend/zend_compile.c INC_BPC(CG(active_op_array)); CG 4833 Zend/zend_compile.c zend_stack_top(&CG(switch_cond_stack), (void **) &switch_entry_ptr); CG 4837 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 4845 Zend/zend_compile.c int next_op_number = get_next_op_number(CG(active_op_array)); CG 4847 Zend/zend_compile.c CG(active_op_array)->opcodes[case_list->u.op.opline_num].op1.opline_num = next_op_number; CG 4851 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 4852 Zend/zend_compile.c CG(context).current_brk_cont = CG(active_op_array)->brk_cont_array[CG(context).current_brk_cont].parent; CG 4856 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 4865 Zend/zend_compile.c zend_stack_del_top(&CG(switch_cond_stack)); CG 4867 Zend/zend_compile.c DEC_BPC(CG(active_op_array)); CG 4873 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 4878 Zend/zend_compile.c zend_stack_top(&CG(switch_cond_stack), (void **) &switch_entry_ptr); CG 4881 Zend/zend_compile.c switch_entry_ptr->control_var = get_temporary_variable(CG(active_op_array)); CG 4893 Zend/zend_compile.c next_op_number = get_next_op_number(CG(active_op_array)); CG 4894 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 4903 Zend/zend_compile.c next_op_number = get_next_op_number(CG(active_op_array)); CG 4904 Zend/zend_compile.c CG(active_op_array)->opcodes[case_list->u.op.opline_num].op1.opline_num = next_op_number; CG 4910 Zend/zend_compile.c int next_op_number = get_next_op_number(CG(active_op_array)); CG 4911 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 4918 Zend/zend_compile.c switch (CG(active_op_array)->opcodes[case_token->u.op.opline_num].opcode) { CG 4920 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 4923 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 4931 Zend/zend_compile.c int next_op_number = get_next_op_number(CG(active_op_array)); CG 4932 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 4935 Zend/zend_compile.c zend_stack_top(&CG(switch_cond_stack), (void **) &switch_entry_ptr); CG 4942 Zend/zend_compile.c next_op_number = get_next_op_number(CG(active_op_array)); CG 4948 Zend/zend_compile.c CG(active_op_array)->opcodes[case_list->u.op.opline_num].op1.opline_num = next_op_number; CG 4961 Zend/zend_compile.c if (CG(active_class_entry)) { CG 4974 Zend/zend_compile.c if (CG(current_import) && CG 4975 Zend/zend_compile.c zend_hash_find(CG(current_import), lcname, Z_STRLEN(class_name->u.constant)+1, (void**)&ns_name) == SUCCESS) { CG 4979 Zend/zend_compile.c if (CG(current_namespace)) { CG 4984 Zend/zend_compile.c tmp.u.constant = *CG(current_namespace); CG 5029 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 5032 Zend/zend_compile.c opline->op1.constant = zend_add_literal(CG(active_op_array), &key TSRMLS_CC); CG 5052 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 5053 Zend/zend_compile.c CG(active_class_entry) = new_class_entry; CG 5055 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 5057 Zend/zend_compile.c GET_NODE(&CG(implementing_class), opline->result); CG 5059 Zend/zend_compile.c if (CG(doc_comment)) { CG 5060 Zend/zend_compile.c CG(active_class_entry)->info.user.doc_comment = CG(doc_comment); CG 5061 Zend/zend_compile.c CG(active_class_entry)->info.user.doc_comment_len = CG(doc_comment_len); CG 5062 Zend/zend_compile.c CG(doc_comment) = NULL; CG 5063 Zend/zend_compile.c CG(doc_comment_len) = 0; CG 5070 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 5073 Zend/zend_compile.c SET_NODE(opline->op1, &CG(implementing_class)); CG 5080 Zend/zend_compile.c zend_class_entry *ce = CG(active_class_entry); CG 5114 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 5116 Zend/zend_compile.c SET_NODE(opline->op1, &CG(implementing_class)); CG 5136 Zend/zend_compile.c CG(active_class_entry) = NULL; CG 5145 Zend/zend_compile.c if ((CG(active_class_entry)->ce_flags & ZEND_ACC_TRAIT) == ZEND_ACC_TRAIT) { CG 5148 Zend/zend_compile.c CG(active_class_entry)->name); CG 5161 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 5163 Zend/zend_compile.c SET_NODE(opline->op1, &CG(implementing_class)); CG 5167 Zend/zend_compile.c opline->op2.constant = zend_add_class_name_literal(CG(active_op_array), &interface_name->u.constant TSRMLS_CC); CG 5168 Zend/zend_compile.c CG(active_class_entry)->num_interfaces++; CG 5176 Zend/zend_compile.c if ((CG(active_class_entry)->ce_flags & ZEND_ACC_INTERFACE)) { CG 5179 Zend/zend_compile.c Z_STRVAL(trait_name->u.constant), CG(active_class_entry)->name); CG 5193 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 5195 Zend/zend_compile.c SET_NODE(opline->op1, &CG(implementing_class)); CG 5199 Zend/zend_compile.c opline->op2.constant = zend_add_class_name_literal(CG(active_op_array), &trait_name->u.constant TSRMLS_CC); CG 5200 Zend/zend_compile.c CG(active_class_entry)->num_traits++; CG 5275 Zend/zend_compile.c if (CG(active_class_entry)->ce_flags & ZEND_ACC_INTERFACE) { CG 5285 Zend/zend_compile.c CG(active_class_entry)->name, var_name->u.constant.value.str.val); CG 5288 Zend/zend_compile.c if (zend_hash_find(&CG(active_class_entry)->properties_info, var_name->u.constant.value.str.val, var_name->u.constant.value.str.len+1, (void **) &existing_property_info)==SUCCESS) { CG 5289 Zend/zend_compile.c zend_error(E_COMPILE_ERROR, "Cannot redeclare %s::$%s", CG(active_class_entry)->name, var_name->u.constant.value.str.val); CG 5300 Zend/zend_compile.c if (CG(doc_comment)) { CG 5301 Zend/zend_compile.c comment = CG(doc_comment); CG 5302 Zend/zend_compile.c comment_len = CG(doc_comment_len); CG 5303 Zend/zend_compile.c CG(doc_comment) = NULL; CG 5304 Zend/zend_compile.c CG(doc_comment_len) = 0; CG 5307 Zend/zend_compile.c zend_declare_property_ex(CG(active_class_entry), zend_new_interned_string(var_name->u.constant.value.str.val, var_name->u.constant.value.str.len + 1, 0 TSRMLS_CC), var_name->u.constant.value.str.len, property, access_type, comment, comment_len TSRMLS_CC); CG 5322 Zend/zend_compile.c if ((CG(active_class_entry)->ce_flags & ZEND_ACC_TRAIT) == ZEND_ACC_TRAIT) { CG 5333 Zend/zend_compile.c result = zend_hash_quick_add(&CG(active_class_entry)->constants_table, cname, var_name->u.constant.value.str.len+1, INTERNED_HASH(cname), &property, sizeof(zval *), NULL); CG 5335 Zend/zend_compile.c result = zend_hash_add(&CG(active_class_entry)->constants_table, cname, var_name->u.constant.value.str.len+1, &property, sizeof(zval *), NULL); CG 5339 Zend/zend_compile.c zend_error(E_COMPILE_ERROR, "Cannot redefine class constant %s::%s", CG(active_class_entry)->name, var_name->u.constant.value.str.val); CG 5343 Zend/zend_compile.c if (CG(doc_comment)) { CG 5344 Zend/zend_compile.c efree(CG(doc_comment)); CG 5345 Zend/zend_compile.c CG(doc_comment) = NULL; CG 5346 Zend/zend_compile.c CG(doc_comment_len) = 0; CG 5356 Zend/zend_compile.c zend_stack_top(&CG(bp_stack), (void **) &fetch_list_ptr); CG 5359 Zend/zend_compile.c if (object->u.op.var == CG(active_op_array)->this_var) { CG 5367 Zend/zend_compile.c zend_del_literal(CG(active_op_array), opline_ptr->op1.constant); CG 5413 Zend/zend_compile.c opline.result.var = get_temporary_variable(CG(active_op_array)); CG 5432 Zend/zend_compile.c if (CG(has_bracketed_namespaces) && CG(in_namespace)) { CG 5442 Zend/zend_compile.c if (CG(in_namespace)) { CG 5450 Zend/zend_compile.c zend_stack_push(&CG(object_stack), object, sizeof(znode)); CG 5459 Zend/zend_compile.c zend_stack_top(&CG(object_stack), (void **) &tmp); CG 5462 Zend/zend_compile.c zend_stack_del_top(&CG(object_stack)); CG 5471 Zend/zend_compile.c new_token->u.op.opline_num = get_next_op_number(CG(active_op_array)); CG 5472 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 5474 Zend/zend_compile.c opline->extended_value = CG(context).nested_calls; CG 5476 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 5480 Zend/zend_compile.c zend_stack_push(&CG(function_call_stack), (void *) &ptr, sizeof(unsigned char *)); CG 5481 Zend/zend_compile.c if (++CG(context).nested_calls > CG(active_op_array)->nested_calls) { CG 5482 Zend/zend_compile.c CG(active_op_array)->nested_calls = CG(context).nested_calls; CG 5494 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 5495 Zend/zend_compile.c GET_NODE(result, CG(active_op_array)->opcodes[new_token->u.op.opline_num].result); CG 5533 Zend/zend_compile.c !(CG(compiler_options) & ZEND_COMPILE_NO_CONSTANT_SUBSTITUTION) && CG 5589 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 5592 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 5595 Zend/zend_compile.c opline->op1.constant = zend_add_class_name_literal(CG(active_op_array), &constant_container->u.constant TSRMLS_CC); CG 5640 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 5643 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 5650 Zend/zend_compile.c opline->op2.constant = zend_add_const_name_literal(CG(active_op_array), &constant_name->u.constant, 0 TSRMLS_CC); CG 5653 Zend/zend_compile.c if (CG(current_namespace)) { CG 5655 Zend/zend_compile.c opline->op2.constant = zend_add_const_name_literal(CG(active_op_array), &constant_name->u.constant, 1 TSRMLS_CC); CG 5657 Zend/zend_compile.c opline->op2.constant = zend_add_const_name_literal(CG(active_op_array), &constant_name->u.constant, 0 TSRMLS_CC); CG 5668 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 5685 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 5687 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 5695 Zend/zend_compile.c opline->op2.num = CG(context).nested_calls; CG 5698 Zend/zend_compile.c if (CG(context).nested_calls + 1 > CG(active_op_array)->nested_calls) { CG 5699 Zend/zend_compile.c CG(active_op_array)->nested_calls = CG(context).nested_calls + 1; CG 5701 Zend/zend_compile.c if (CG(context).used_stack + 2 > CG(active_op_array)->used_stack) { CG 5702 Zend/zend_compile.c CG(active_op_array)->used_stack = CG(context).used_stack + 2; CG 5709 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 5712 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 5744 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 5819 Zend/zend_compile.c zend_llist_copy(&lle.dimensions, &CG(dimension_llist)); CG 5820 Zend/zend_compile.c zend_llist_prepend_element(&CG(list_llist), &lle); CG 5822 Zend/zend_compile.c (*((int *)CG(dimension_llist).tail->data))++; CG 5829 Zend/zend_compile.c zend_llist_add_element(&CG(dimension_llist), ¤t_dimension); CG 5835 Zend/zend_compile.c zend_llist_remove_tail(&CG(dimension_llist)); CG 5836 Zend/zend_compile.c (*((int *)CG(dimension_llist).tail->data))++; CG 5842 Zend/zend_compile.c zend_stack_push(&CG(list_stack), &CG(list_llist), sizeof(zend_llist)); CG 5843 Zend/zend_compile.c zend_stack_push(&CG(list_stack), &CG(dimension_llist), sizeof(zend_llist)); CG 5844 Zend/zend_compile.c zend_llist_init(&CG(list_llist), sizeof(list_llist_element), NULL, 0); CG 5845 Zend/zend_compile.c zend_llist_init(&CG(dimension_llist), sizeof(int), NULL, 0); CG 5857 Zend/zend_compile.c le = CG(list_llist).head; CG 5862 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 5883 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 5896 Zend/zend_compile.c zend_llist_destroy(&CG(dimension_llist)); CG 5897 Zend/zend_compile.c zend_llist_destroy(&CG(list_llist)); CG 5903 Zend/zend_compile.c zend_stack_top(&CG(list_stack), (void **) &p); CG 5904 Zend/zend_compile.c CG(dimension_llist) = *p; CG 5905 Zend/zend_compile.c zend_stack_del_top(&CG(list_stack)); CG 5906 Zend/zend_compile.c zend_stack_top(&CG(list_stack), (void **) &p); CG 5907 Zend/zend_compile.c CG(list_llist) = *p; CG 5908 Zend/zend_compile.c zend_stack_del_top(&CG(list_stack)); CG 5958 Zend/zend_compile.c if (!CG(active_op_array)->static_variables) { CG 5959 Zend/zend_compile.c if (CG(active_op_array)->scope) { CG 5960 Zend/zend_compile.c CG(active_op_array)->scope->ce_flags |= ZEND_HAS_STATIC_IN_METHODS; CG 5962 Zend/zend_compile.c ALLOC_HASHTABLE(CG(active_op_array)->static_variables); CG 5963 Zend/zend_compile.c zend_hash_init(CG(active_op_array)->static_variables, 2, NULL, ZVAL_PTR_DTOR, 0); CG 5965 Zend/zend_compile.c zend_hash_update(CG(active_op_array)->static_variables, varname->u.constant.value.str.val, varname->u.constant.value.str.len+1, &tmp, sizeof(zval *), NULL); CG 5973 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 5976 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 5999 Zend/zend_compile.c CG(active_op_array)->opcodes[CG(active_op_array)->last-1].result_type |= EXT_TYPE_UNUSED; CG 6035 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6038 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 6053 Zend/zend_compile.c CG(active_op_array)->opcodes[CG(active_op_array)->last-1].result_type |= EXT_TYPE_UNUSED; CG 6059 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6063 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 6075 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6079 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 6101 Zend/zend_compile.c if (CG(active_op_array)->scope && CG(active_op_array)->this_var == -1) { CG 6102 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 6114 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6121 Zend/zend_compile.c last_op = &CG(active_op_array)->opcodes[get_next_op_number(CG(active_op_array))-1]; CG 6160 Zend/zend_compile.c last_op = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6164 Zend/zend_compile.c last_op->result.var = get_temporary_variable(CG(active_op_array)); CG 6167 Zend/zend_compile.c last_op = &CG(active_op_array)->opcodes[get_next_op_number(CG(active_op_array))-1]; CG 6190 Zend/zend_compile.c int last_op_number = get_next_op_number(CG(active_op_array)); CG 6194 Zend/zend_compile.c opline = &CG(active_op_array)->opcodes[last_op_number-1]; CG 6204 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6207 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 6229 Zend/zend_compile.c open_brackets_token->u.op.opline_num = get_next_op_number(CG(active_op_array)); CG 6233 Zend/zend_compile.c open_brackets_token->u.op.opline_num = get_next_op_number(CG(active_op_array)); CG 6237 Zend/zend_compile.c foreach_token->u.op.opline_num = get_next_op_number(CG(active_op_array)); CG 6239 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6244 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 6250 Zend/zend_compile.c zend_stack_push(&CG(foreach_copy_stack), (void *) &dummy_opline, sizeof(zend_op)); CG 6253 Zend/zend_compile.c as_token->u.op.opline_num = get_next_op_number(CG(active_op_array)); CG 6255 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6258 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 6263 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6277 Zend/zend_compile.c opline = &CG(active_op_array)->opcodes[as_token->u.op.opline_num]; CG 6304 Zend/zend_compile.c CG(active_op_array)->opcodes[foreach_token->u.op.opline_num].extended_value |= ZEND_FE_RESET_REFERENCE; CG 6306 Zend/zend_compile.c zend_op *fetch = &CG(active_op_array)->opcodes[foreach_token->u.op.opline_num]; CG 6307 Zend/zend_compile.c zend_op *end = &CG(active_op_array)->opcodes[open_brackets_token->u.op.opline_num]; CG 6327 Zend/zend_compile.c if (!CG(list_llist).head) { CG 6346 Zend/zend_compile.c opline = &CG(active_op_array)->opcodes[as_token->u.op.opline_num+1]; CG 6348 Zend/zend_compile.c opline->result.opline_num = get_temporary_variable(CG(active_op_array)); CG 6356 Zend/zend_compile.c INC_BPC(CG(active_op_array)); CG 6363 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6370 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 6371 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 6375 Zend/zend_compile.c zend_stack_top(&CG(foreach_copy_stack), (void **) &container_ptr); CG 6377 Zend/zend_compile.c zend_stack_del_top(&CG(foreach_copy_stack)); CG 6379 Zend/zend_compile.c DEC_BPC(CG(active_op_array)); CG 6385 Zend/zend_compile.c zend_stack_push(&CG(declare_stack), &CG(declarables), sizeof(zend_declarables)); CG 6393 Zend/zend_compile.c CG(declarables).ticks = val->u.constant; CG 6406 Zend/zend_compile.c int num = CG(active_op_array)->last; CG 6409 Zend/zend_compile.c (CG(active_op_array)->opcodes[num-1].opcode == ZEND_EXT_STMT || CG 6410 Zend/zend_compile.c CG(active_op_array)->opcodes[num-1].opcode == ZEND_TICKS)) { CG 6419 Zend/zend_compile.c if (CG(multibyte)) { CG 6423 Zend/zend_compile.c CG(encoding_declared) = 1; CG 6456 Zend/zend_compile.c zend_stack_top(&CG(declare_stack), (void **) &declarables); CG 6458 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 6459 Zend/zend_compile.c CG(declarables) = *declarables; CG 6466 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6480 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6484 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 6493 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6503 Zend/zend_compile.c int op_number = get_next_op_number(CG(active_op_array)); CG 6504 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6513 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 6521 Zend/zend_compile.c INC_BPC(CG(active_op_array)); CG 6527 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6532 Zend/zend_compile.c CG(active_op_array)->opcodes[jmp_token->u.op.opline_num].opcode = ZEND_JMP_SET_VAR; CG 6533 Zend/zend_compile.c CG(active_op_array)->opcodes[jmp_token->u.op.opline_num].result_type = IS_VAR; CG 6548 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 6550 Zend/zend_compile.c DEC_BPC(CG(active_op_array)); CG 6556 Zend/zend_compile.c int jmpz_op_number = get_next_op_number(CG(active_op_array)); CG 6559 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6567 Zend/zend_compile.c INC_BPC(CG(active_op_array)); CG 6573 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6575 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 6584 Zend/zend_compile.c opline->result.var = get_temporary_variable(CG(active_op_array)); CG 6589 Zend/zend_compile.c colon_token->u.op.opline_num = get_next_op_number(CG(active_op_array)); CG 6591 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6600 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6605 Zend/zend_compile.c CG(active_op_array)->opcodes[colon_token->u.op.opline_num - 1].opcode = ZEND_QM_ASSIGN_VAR; CG 6606 Zend/zend_compile.c CG(active_op_array)->opcodes[colon_token->u.op.opline_num - 1].result_type = IS_VAR; CG 6618 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 6622 Zend/zend_compile.c DEC_BPC(CG(active_op_array)); CG 6630 Zend/zend_compile.c if (!(CG(compiler_options) & ZEND_COMPILE_EXTENDED_INFO)) { CG 6634 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6646 Zend/zend_compile.c if (!(CG(compiler_options) & ZEND_COMPILE_EXTENDED_INFO)) { CG 6650 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6662 Zend/zend_compile.c if (!(CG(compiler_options) & ZEND_COMPILE_EXTENDED_INFO)) { CG 6666 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6676 Zend/zend_compile.c zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 6681 Zend/zend_compile.c opline->extended_value = Z_LVAL(CG(declarables).ticks); CG 6690 Zend/zend_compile.c if (zend_hash_quick_find(CG(auto_globals), name, name_len+1, hash, (void **) &auto_global)==SUCCESS) { CG 6715 Zend/zend_compile.c return zend_hash_add(CG(auto_globals), name, name_len+1, &auto_global, sizeof(zend_auto_global), NULL); CG 6734 Zend/zend_compile.c zend_hash_apply(CG(auto_globals), (apply_func_t) zend_auto_global_init TSRMLS_CC); CG 6742 Zend/zend_compile.c if (CG(increment_lineno)) { CG 6743 Zend/zend_compile.c CG(zend_lineno)++; CG 6744 Zend/zend_compile.c CG(increment_lineno) = 0; CG 6759 Zend/zend_compile.c CG(increment_lineno) = 1; CG 6761 Zend/zend_compile.c if (CG(has_bracketed_namespaces) && !CG(in_namespace)) { CG 6793 Zend/zend_compile.c int n = zend_hash_num_elements(CG(class_table)); CG 6795 Zend/zend_compile.c if (CG(static_members_table) && n >= CG(last_static_member)) { CG 6797 Zend/zend_compile.c CG(last_static_member) = n+1; CG 6798 Zend/zend_compile.c CG(static_members_table) = realloc(CG(static_members_table), (n+1)*sizeof(zval**)); CG 6799 Zend/zend_compile.c CG(static_members_table)[n] = NULL; CG 6882 Zend/zend_compile.c if (CG(current_namespace)) { CG 6887 Zend/zend_compile.c tmp.u.constant = *CG(current_namespace); CG 6908 Zend/zend_compile.c if (!CG(has_bracketed_namespaces)) { CG 6909 Zend/zend_compile.c if (CG(current_namespace)) { CG 6919 Zend/zend_compile.c } else if (CG(current_namespace) || CG(in_namespace)) { CG 6924 Zend/zend_compile.c if (((!with_bracket && !CG(current_namespace)) || (with_bracket && !CG(has_bracketed_namespaces))) && CG(active_op_array)->last > 0) { CG 6926 Zend/zend_compile.c int num = CG(active_op_array)->last; CG 6928 Zend/zend_compile.c (CG(active_op_array)->opcodes[num-1].opcode == ZEND_EXT_STMT || CG 6929 Zend/zend_compile.c CG(active_op_array)->opcodes[num-1].opcode == ZEND_TICKS)) { CG 6937 Zend/zend_compile.c CG(in_namespace) = 1; CG 6939 Zend/zend_compile.c CG(has_bracketed_namespaces) = 1; CG 6952 Zend/zend_compile.c if (CG(current_namespace)) { CG 6953 Zend/zend_compile.c zval_dtor(CG(current_namespace)); CG 6955 Zend/zend_compile.c ALLOC_ZVAL(CG(current_namespace)); CG 6957 Zend/zend_compile.c *CG(current_namespace) = name->u.constant; CG 6959 Zend/zend_compile.c if (CG(current_namespace)) { CG 6960 Zend/zend_compile.c zval_dtor(CG(current_namespace)); CG 6961 Zend/zend_compile.c FREE_ZVAL(CG(current_namespace)); CG 6962 Zend/zend_compile.c CG(current_namespace) = NULL; CG 6966 Zend/zend_compile.c if (CG(current_import)) { CG 6967 Zend/zend_compile.c zend_hash_destroy(CG(current_import)); CG 6968 Zend/zend_compile.c efree(CG(current_import)); CG 6969 Zend/zend_compile.c CG(current_import) = NULL; CG 6972 Zend/zend_compile.c if (CG(doc_comment)) { CG 6973 Zend/zend_compile.c efree(CG(doc_comment)); CG 6974 Zend/zend_compile.c CG(doc_comment) = NULL; CG 6975 Zend/zend_compile.c CG(doc_comment_len) = 0; CG 6987 Zend/zend_compile.c if (!CG(current_import)) { CG 6988 Zend/zend_compile.c CG(current_import) = emalloc(sizeof(HashTable)); CG 6989 Zend/zend_compile.c zend_hash_init(CG(current_import), 0, NULL, ZVAL_PTR_DTOR, 0); CG 7008 Zend/zend_compile.c warn = !is_global && !CG(current_namespace); CG 7021 Zend/zend_compile.c if (CG(current_namespace)) { CG 7023 Zend/zend_compile.c char *c_ns_name = emalloc(Z_STRLEN_P(CG(current_namespace)) + 1 + Z_STRLEN_P(name) + 1); CG 7025 Zend/zend_compile.c zend_str_tolower_copy(c_ns_name, Z_STRVAL_P(CG(current_namespace)), Z_STRLEN_P(CG(current_namespace))); CG 7026 Zend/zend_compile.c c_ns_name[Z_STRLEN_P(CG(current_namespace))] = '\\'; CG 7027 Zend/zend_compile.c memcpy(c_ns_name+Z_STRLEN_P(CG(current_namespace))+1, lcname, Z_STRLEN_P(name)+1); CG 7028 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 7031 Zend/zend_compile.c if (Z_STRLEN_P(ns) != Z_STRLEN_P(CG(current_namespace)) + 1 + Z_STRLEN_P(name) || CG 7038 Zend/zend_compile.c } else if (zend_hash_find(CG(class_table), lcname, Z_STRLEN_P(name)+1, (void**)&pce) == SUCCESS && CG 7040 Zend/zend_compile.c (*pce)->info.user.filename == CG(compiled_filename)) { CG 7050 Zend/zend_compile.c if (zend_hash_add(CG(current_import), lcname, Z_STRLEN_P(name)+1, &ns, sizeof(zval*), NULL) != SUCCESS) { CG 7076 Zend/zend_compile.c if (CG(current_namespace)) { CG 7081 Zend/zend_compile.c tmp.u.constant = *CG(current_namespace); CG 7087 Zend/zend_compile.c opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 7097 Zend/zend_compile.c if (CG(has_bracketed_namespaces) && !CG(in_namespace)) { CG 7105 Zend/zend_compile.c CG(in_namespace) = 0; CG 7106 Zend/zend_compile.c if (CG(current_namespace)) { CG 7107 Zend/zend_compile.c zval_dtor(CG(current_namespace)); CG 7108 Zend/zend_compile.c FREE_ZVAL(CG(current_namespace)); CG 7109 Zend/zend_compile.c CG(current_namespace) = NULL; CG 7111 Zend/zend_compile.c if (CG(current_import)) { CG 7112 Zend/zend_compile.c zend_hash_destroy(CG(current_import)); CG 7113 Zend/zend_compile.c efree(CG(current_import)); CG 7114 Zend/zend_compile.c CG(current_import) = NULL; CG 7121 Zend/zend_compile.c CG(has_bracketed_namespaces) = 0; CG 39 Zend/zend_compile.h #define INC_BPC(op_array) if (op_array->fn_flags & ZEND_ACC_INTERACTIVE) { (CG(context).backpatch_count++); } CG 40 Zend/zend_compile.h #define DEC_BPC(op_array) if (op_array->fn_flags & ZEND_ACC_INTERACTIVE) { (CG(context).backpatch_count--); } CG 41 Zend/zend_compile.h #define HANDLE_INTERACTIVE() if (CG(active_op_array)->fn_flags & ZEND_ACC_INTERACTIVE) { execute_new_code(TSRMLS_C); } CG 42 Zend/zend_compile.h #define DO_TICKS() if (Z_LVAL(CG(declarables).ticks)) { zend_do_ticks(TSRMLS_C); } CG 46 Zend/zend_compile.h if (CG(doc_comment)) { \ CG 47 Zend/zend_compile.h efree(CG(doc_comment)); \ CG 48 Zend/zend_compile.h CG(doc_comment) = NULL; \ CG 50 Zend/zend_compile.h CG(doc_comment_len) = 0; \ CG 344 Zend/zend_constants.c scope = CG(active_class_entry); CG 150 Zend/zend_execute_API.c EG(function_table) = CG(function_table); CG 151 Zend/zend_execute_API.c EG(class_table) = CG(class_table); CG 1167 Zend/zend_execute_API.c original_compiler_options = CG(compiler_options); CG 1168 Zend/zend_execute_API.c CG(compiler_options) = ZEND_COMPILE_DEFAULT_FOR_EVAL; CG 1170 Zend/zend_execute_API.c CG(compiler_options) = original_compiler_options; CG 1176 Zend/zend_execute_API.c int orig_interactive = CG(interactive); CG 1184 Zend/zend_execute_API.c CG(interactive) = 0; CG 1194 Zend/zend_execute_API.c CG(interactive) = orig_interactive; CG 1255 Zend/zend_execute_API.c if (!(CG(active_op_array)->fn_flags & ZEND_ACC_INTERACTIVE) CG 1256 Zend/zend_execute_API.c || CG(context).backpatch_count>0 CG 1257 Zend/zend_execute_API.c || CG(active_op_array)->function_name CG 1258 Zend/zend_execute_API.c || CG(active_op_array)->type!=ZEND_USER_FUNCTION) { CG 1262 Zend/zend_execute_API.c ret_opline = get_next_op(CG(active_op_array) TSRMLS_CC); CG 1265 Zend/zend_execute_API.c ret_opline->op1.constant = zend_add_literal(CG(active_op_array), &EG(uninitialized_zval) TSRMLS_CC); CG 1269 Zend/zend_execute_API.c EG(start_op) = CG(active_op_array)->opcodes; CG 1273 Zend/zend_execute_API.c end=CG(active_op_array)->opcodes+CG(active_op_array)->last; CG 1277 Zend/zend_execute_API.c opline->op1.zv = &CG(active_op_array)->literals[opline->op1.constant].constant; CG 1280 Zend/zend_execute_API.c opline->op2.zv = &CG(active_op_array)->literals[opline->op2.constant].constant; CG 1285 Zend/zend_execute_API.c zend_resolve_goto_label(CG(active_op_array), opline, 1 TSRMLS_CC); CG 1289 Zend/zend_execute_API.c opline->op1.jmp_addr = &CG(active_op_array)->opcodes[opline->op1.opline_num]; CG 1297 Zend/zend_execute_API.c opline->op2.jmp_addr = &CG(active_op_array)->opcodes[opline->op2.opline_num]; CG 1307 Zend/zend_execute_API.c EG(active_op_array) = CG(active_op_array); CG 1308 Zend/zend_execute_API.c orig_interactive = CG(interactive); CG 1309 Zend/zend_execute_API.c CG(interactive) = 0; CG 1310 Zend/zend_execute_API.c zend_execute(CG(active_op_array) TSRMLS_CC); CG 1311 Zend/zend_execute_API.c CG(interactive) = orig_interactive; CG 1317 Zend/zend_execute_API.c CG(active_op_array)->last -= 1; /* get rid of that ZEND_RETURN */ CG 1318 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 120 Zend/zend_ini_parser.c #define ZEND_INI_PARSER_CB (CG(ini_parser_param))->ini_parser_cb CG 121 Zend/zend_ini_parser.c #define ZEND_INI_PARSER_ARG (CG(ini_parser_param))->arg CG 257 Zend/zend_ini_parser.c if (CG(ini_parser_unbuffered_errors)) { CG 279 Zend/zend_ini_parser.c CG(ini_parser_param) = &ini_parser_param; CG 285 Zend/zend_ini_parser.c CG(ini_parser_unbuffered_errors) = unbuffered_errors; CG 308 Zend/zend_ini_parser.c CG(ini_parser_param) = &ini_parser_param; CG 314 Zend/zend_ini_parser.c CG(ini_parser_unbuffered_errors) = unbuffered_errors; CG 43 Zend/zend_ini_parser.y #define ZEND_INI_PARSER_CB (CG(ini_parser_param))->ini_parser_cb CG 44 Zend/zend_ini_parser.y #define ZEND_INI_PARSER_ARG (CG(ini_parser_param))->arg CG 180 Zend/zend_ini_parser.y if (CG(ini_parser_unbuffered_errors)) { CG 202 Zend/zend_ini_parser.y CG(ini_parser_param) = &ini_parser_param; CG 208 Zend/zend_ini_parser.y CG(ini_parser_unbuffered_errors) = unbuffered_errors; CG 231 Zend/zend_ini_parser.y CG(ini_parser_param) = &ini_parser_param; CG 237 Zend/zend_ini_parser.y CG(ini_parser_unbuffered_errors) = unbuffered_errors; CG 3679 Zend/zend_language_parser.c { (yyvsp[(1) - (1)]).u.op.opline_num = get_next_op_number(CG(active_op_array)); } CG 3694 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 3699 Zend/zend_language_parser.c { (yyvsp[(4) - (4)]).u.op.opline_num = get_next_op_number(CG(active_op_array)); } CG 3709 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 3819 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 3919 Zend/zend_language_parser.c { (yyval).u.op.opline_num = get_next_op_number(CG(active_op_array)); } CG 3989 Zend/zend_language_parser.c { (yyval).u.op.opline_num = CG(zend_lineno); (yyval).EA = 0; } CG 3994 Zend/zend_language_parser.c { (yyval).u.op.opline_num = CG(zend_lineno); (yyval).EA = ZEND_ACC_EXPLICIT_ABSTRACT_CLASS; } CG 3999 Zend/zend_language_parser.c { (yyval).u.op.opline_num = CG(zend_lineno); (yyval).EA = ZEND_ACC_TRAIT; } CG 4004 Zend/zend_language_parser.c { (yyval).u.op.opline_num = CG(zend_lineno); (yyval).EA = ZEND_ACC_FINAL_CLASS; } CG 4019 Zend/zend_language_parser.c { (yyval).u.op.opline_num = CG(zend_lineno); (yyval).EA = ZEND_ACC_INTERFACE; } CG 4289 Zend/zend_language_parser.c { CG(access_type) = Z_LVAL((yyvsp[(1) - (1)]).u.constant); } CG 4434 Zend/zend_language_parser.c { zend_do_declare_property(&(yyvsp[(3) - (3)]), NULL, CG(access_type) TSRMLS_CC); } CG 4439 Zend/zend_language_parser.c { zend_do_declare_property(&(yyvsp[(3) - (5)]), &(yyvsp[(5) - (5)]), CG(access_type) TSRMLS_CC); } CG 4444 Zend/zend_language_parser.c { zend_do_declare_property(&(yyvsp[(1) - (1)]), NULL, CG(access_type) TSRMLS_CC); } CG 4449 Zend/zend_language_parser.c { zend_do_declare_property(&(yyvsp[(1) - (3)]), &(yyvsp[(3) - (3)]), CG(access_type) TSRMLS_CC); } CG 5034 Zend/zend_language_parser.c { (yyval).u.op.opline_num = CG(zend_lineno); } CG 6167 Zend/zend_language_parser.c if (CG(parse_error) == 0) { CG 6172 Zend/zend_language_parser.c CG(parse_error) = 1; CG 286 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 287 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 291 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 320 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 353 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 402 Zend/zend_language_parser.y T_CLASS { $$.u.op.opline_num = CG(zend_lineno); $$.EA = 0; } CG 403 Zend/zend_language_parser.y | T_ABSTRACT T_CLASS { $$.u.op.opline_num = CG(zend_lineno); $$.EA = ZEND_ACC_EXPLICIT_ABSTRACT_CLASS; } CG 404 Zend/zend_language_parser.y | T_TRAIT { $$.u.op.opline_num = CG(zend_lineno); $$.EA = ZEND_ACC_TRAIT; } CG 405 Zend/zend_language_parser.y | T_FINAL T_CLASS { $$.u.op.opline_num = CG(zend_lineno); $$.EA = ZEND_ACC_FINAL_CLASS; } CG 414 Zend/zend_language_parser.y T_INTERFACE { $$.u.op.opline_num = CG(zend_lineno); $$.EA = ZEND_ACC_INTERFACE; } CG 590 Zend/zend_language_parser.y variable_modifiers { CG(access_type) = Z_LVAL($1.u.constant); } class_variable_declaration ';' CG 685 Zend/zend_language_parser.y class_variable_declaration ',' T_VARIABLE { zend_do_declare_property(&$3, NULL, CG(access_type) TSRMLS_CC); } CG 686 Zend/zend_language_parser.y | class_variable_declaration ',' T_VARIABLE '=' static_scalar { zend_do_declare_property(&$3, &$5, CG(access_type) TSRMLS_CC); } CG 687 Zend/zend_language_parser.y | T_VARIABLE { zend_do_declare_property(&$1, NULL, CG(access_type) TSRMLS_CC); } CG 688 Zend/zend_language_parser.y | T_VARIABLE '=' static_scalar { zend_do_declare_property(&$1, &$3, CG(access_type) TSRMLS_CC); } CG 837 Zend/zend_language_parser.y T_FUNCTION { $$.u.op.opline_num = CG(zend_lineno); } CG 1231 Zend/zend_language_parser.y if (CG(parse_error) == 0) { CG 1236 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 586 Zend/zend_language_scanner.c CG(in_compilation) = 1; CG 587 Zend/zend_language_scanner.c CG(active_op_array) = op_array; CG 588 Zend/zend_language_scanner.c zend_stack_push(&CG(context_stack), (void *) &CG(context), sizeof(CG(context))); CG 592 Zend/zend_language_scanner.c CG(in_compilation) = original_in_compilation; CG 600 Zend/zend_language_scanner.c CG(active_op_array) = original_active_op_array; CG 677 Zend/zend_language_scanner.c if (CG(multibyte)) { CG 697 Zend/zend_language_scanner.c CG(zend_lineno) = 1; CG 698 Zend/zend_language_scanner.c CG(increment_lineno) = 0; CG 730 Zend/zend_language_scanner.c zend_op_array *original_active_op_array = CG(active_op_array); CG 734 Zend/zend_language_scanner.c zend_bool original_in_compilation = CG(in_compilation); CG 741 Zend/zend_language_scanner.c CG(in_compilation) = 1; CG 753 Zend/zend_language_scanner.c zend_bool orig_interactive = CG(interactive); CG 755 Zend/zend_language_scanner.c CG(interactive) = 0; CG 757 Zend/zend_language_scanner.c CG(interactive) = orig_interactive; CG 758 Zend/zend_language_scanner.c CG(active_op_array) = op_array; CG 759 Zend/zend_language_scanner.c zend_stack_push(&CG(context_stack), (void *) &CG(context), sizeof(CG(context))); CG 770 Zend/zend_language_scanner.c CG(active_op_array) = original_active_op_array; CG 771 Zend/zend_language_scanner.c CG(unclean_shutdown)=1; CG 777 Zend/zend_language_scanner.c CG(active_op_array) = original_active_op_array; CG 785 Zend/zend_language_scanner.c CG(in_compilation) = original_in_compilation; CG 986 Zend/zend_language_scanner.c CG(zend_lineno)++; CG 1124 Zend/zend_language_scanner.c if (CG(short_tags) || !strncasecmp((char*)YYCURSOR + 1, "php", 3) || (*(YYCURSOR + 1) == '=')) { /* Assume [ \t\n\r] follows "php" */ CG 1129 Zend/zend_language_scanner.c if (CG(asp_tags)) { CG 1188 Zend/zend_language_scanner.c if (CG(short_tags)) { CG 1207 Zend/zend_language_scanner.c if (CG(asp_tags)) { CG 1449 Zend/zend_language_scanner.c if (CG(asp_tags)) { CG 2089 Zend/zend_language_scanner.c CG(increment_lineno) = 1; /* For newline before label */ CG 3019 Zend/zend_language_scanner.c CG(zend_lineno)++; CG 3022 Zend/zend_language_scanner.c if (!CG(asp_tags)) { CG 3103 Zend/zend_language_scanner.c CG(zend_lineno)++; CG 3528 Zend/zend_language_scanner.c if (CG(asp_tags)) { CG 3613 Zend/zend_language_scanner.c zend_error(E_COMPILE_WARNING, "Unterminated comment starting line %d", CG(zend_lineno)); CG 3620 Zend/zend_language_scanner.c CG(doc_comment) = estrndup(yytext, yyleng); CG 3621 Zend/zend_language_scanner.c CG(doc_comment_len) = yyleng; CG 3907 Zend/zend_language_scanner.c CG(zend_lineno)++; CG 4198 Zend/zend_language_scanner.c if (CG(current_namespace)) { CG 4199 Zend/zend_language_scanner.c *zendlval = *CG(current_namespace); CG 4280 Zend/zend_language_scanner.c zendlval->value.lval = CG(zend_lineno); CG 4321 Zend/zend_language_scanner.c const char *class_name = CG(active_class_entry) ? CG(active_class_entry)->name : NULL; CG 4322 Zend/zend_language_scanner.c const char *func_name = CG(active_op_array)? CG(active_op_array)->function_name : NULL; CG 4395 Zend/zend_language_scanner.c if (CG(active_op_array)) { CG 4396 Zend/zend_language_scanner.c func_name = CG(active_op_array)->function_name; CG 4473 Zend/zend_language_scanner.c if (CG(active_class_entry) CG 4475 Zend/zend_language_scanner.c (CG(active_class_entry)->ce_flags & ZEND_ACC_TRAIT))) { CG 4476 Zend/zend_language_scanner.c trait_name = CG(active_class_entry)->name; CG 4523 Zend/zend_language_scanner.c if (CG(active_class_entry) CG 4525 Zend/zend_language_scanner.c (CG(active_class_entry)->ce_flags & ZEND_ACC_TRAIT))) { CG 4532 Zend/zend_language_scanner.c if (CG(active_class_entry)) { CG 4533 Zend/zend_language_scanner.c class_name = CG(active_class_entry)->name; CG 7558 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 418 Zend/zend_opcode.c op->lineno = CG(zend_lineno); CG 427 Zend/zend_opcode.c if (next_op_num >= CG(context).opcodes_size) { CG 434 Zend/zend_opcode.c CG(context).opcodes_size *= 4; CG 435 Zend/zend_opcode.c op_array_alloc_ops(op_array, CG(context).opcodes_size); CG 496 Zend/zend_opcode.c CG(in_compilation) = 1; CG 497 Zend/zend_opcode.c CG(active_op_array) = op_array; CG 498 Zend/zend_opcode.c CG(zend_lineno) = op_array->opcodes[op_num].lineno; CG 504 Zend/zend_opcode.c CG(in_compilation) = 1; CG 505 Zend/zend_opcode.c CG(active_op_array) = op_array; CG 506 Zend/zend_opcode.c CG(zend_lineno) = op_array->opcodes[op_num].lineno; CG 666 Zend/zend_opcode.c if (CG(compiler_options) & ZEND_COMPILE_EXTENDED_INFO) { CG 669 Zend/zend_opcode.c if (CG(compiler_options) & ZEND_COMPILE_HANDLE_OP_ARRAY) { CG 673 Zend/zend_opcode.c if (!(op_array->fn_flags & ZEND_ACC_INTERACTIVE) && CG(context).vars_size != op_array->last_var) { CG 675 Zend/zend_opcode.c CG(context).vars_size = op_array->last_var; CG 677 Zend/zend_opcode.c if (!(op_array->fn_flags & ZEND_ACC_INTERACTIVE) && CG(context).opcodes_size != op_array->last) { CG 679 Zend/zend_opcode.c CG(context).opcodes_size = op_array->last; CG 681 Zend/zend_opcode.c if (!(op_array->fn_flags & ZEND_ACC_INTERACTIVE) && CG(context).literals_size != op_array->last_literal) { CG 683 Zend/zend_opcode.c CG(context).literals_size = op_array->last_literal; CG 717 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 75 Zend/zend_string.c mprotect(CG(interned_strings_start), CG(interned_strings_end) - CG(interned_strings_start), PROT_WRITE | PROT_READ); CG 77 Zend/zend_string.c free(CG(interned_strings).arBuckets); CG 78 Zend/zend_string.c free(CG(interned_strings_start)); CG 94 Zend/zend_string.c nIndex = h & CG(interned_strings).nTableMask; CG 95 Zend/zend_string.c p = CG(interned_strings).arBuckets[nIndex]; CG 108 Zend/zend_string.c if (CG(interned_strings_top) + ZEND_MM_ALIGNED_SIZE(sizeof(Bucket) + nKeyLength) >= CG 109 Zend/zend_string.c CG(interned_strings_end)) { CG 114 Zend/zend_string.c p = (Bucket *) CG(interned_strings_top); CG 115 Zend/zend_string.c CG(interned_strings_top) += ZEND_MM_ALIGNED_SIZE(sizeof(Bucket) + nKeyLength); CG 118 Zend/zend_string.c mprotect(CG(interned_strings_start), CG(interned_strings_end) - CG(interned_strings_start), PROT_READ | PROT_WRITE); CG 131 Zend/zend_string.c p->pNext = CG(interned_strings).arBuckets[nIndex]; CG 139 Zend/zend_string.c p->pListLast = CG(interned_strings).pListTail; CG 140 Zend/zend_string.c CG(interned_strings).pListTail = p; CG 145 Zend/zend_string.c if (!CG(interned_strings).pListHead) { CG 146 Zend/zend_string.c CG(interned_strings).pListHead = p; CG 149 Zend/zend_string.c CG(interned_strings).arBuckets[nIndex] = p; CG 153 Zend/zend_string.c CG(interned_strings).nNumOfElements++; CG 155 Zend/zend_string.c if (CG(interned_strings).nNumOfElements > CG(interned_strings).nTableSize) { CG 156 Zend/zend_string.c if ((CG(interned_strings).nTableSize << 1) > 0) { /* Let's double the table size */ CG 157 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 161 Zend/zend_string.c CG(interned_strings).arBuckets = t; CG 162 Zend/zend_string.c CG(interned_strings).nTableSize = (CG(interned_strings).nTableSize << 1); CG 163 Zend/zend_string.c CG(interned_strings).nTableMask = CG(interned_strings).nTableSize - 1; CG 164 Zend/zend_string.c zend_hash_rehash(&CG(interned_strings)); CG 171 Zend/zend_string.c mprotect(CG(interned_strings_start), CG(interned_strings_end) - CG(interned_strings_start), PROT_READ); CG 182 Zend/zend_string.c CG(interned_strings_snapshot_top) = CG(interned_strings_top); CG 192 Zend/zend_string.c CG(interned_strings_top) = CG(interned_strings_snapshot_top); CG 196 Zend/zend_string.c mprotect(CG(interned_strings_start), CG(interned_strings_end) - CG(interned_strings_start), PROT_WRITE | PROT_READ); CG 199 Zend/zend_string.c for (i = 0; i < CG(interned_strings).nTableSize; i++) { CG 200 Zend/zend_string.c p = CG(interned_strings).arBuckets[i]; CG 201 Zend/zend_string.c while (p && p->arKey > CG(interned_strings_top)) { CG 202 Zend/zend_string.c CG(interned_strings).nNumOfElements--; CG 206 Zend/zend_string.c CG(interned_strings).pListHead = p->pListNext; CG 211 Zend/zend_string.c CG(interned_strings).pListTail = p->pListLast; CG 218 Zend/zend_string.c CG(interned_strings).arBuckets[i] = p; CG 222 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 66 ext/opcache/Optimizer/zend_optimizer.c if (i >= CG(context).literals_size) { CG 67 ext/opcache/Optimizer/zend_optimizer.c CG(context).literals_size += 16; /* FIXME */ CG 68 ext/opcache/Optimizer/zend_optimizer.c op_array->literals = (zend_literal*)erealloc(op_array->literals, CG(context).literals_size * sizeof(zend_literal)); CG 391 ext/opcache/ZendAccelerator.c p = CG(function_table)->pListHead; CG 400 ext/opcache/ZendAccelerator.c p = CG(class_table)->pListHead; CG 456 ext/opcache/ZendAccelerator.c p = CG(auto_globals)->pListHead; CG 1370 ext/opcache/ZendAccelerator.c orig_active_op_array = CG(active_op_array); CG 1371 ext/opcache/ZendAccelerator.c orig_function_table = CG(function_table); CG 1372 ext/opcache/ZendAccelerator.c orig_class_table = CG(class_table); CG 1376 ext/opcache/ZendAccelerator.c CG(function_table) = &ZCG(function_table); CG 1377 ext/opcache/ZendAccelerator.c EG(class_table) = CG(class_table) = &new_persistent_script->class_table; CG 1382 ext/opcache/ZendAccelerator.c orig_compiler_options = CG(compiler_options); CG 1383 ext/opcache/ZendAccelerator.c CG(compiler_options) |= ZEND_COMPILE_HANDLE_OP_ARRAY; CG 1384 ext/opcache/ZendAccelerator.c CG(compiler_options) |= ZEND_COMPILE_IGNORE_INTERNAL_CLASSES; CG 1385 ext/opcache/ZendAccelerator.c CG(compiler_options) |= ZEND_COMPILE_DELAYED_BINDING; CG 1386 ext/opcache/ZendAccelerator.c CG(compiler_options) |= ZEND_COMPILE_NO_CONSTANT_SUBSTITUTION; CG 1390 ext/opcache/ZendAccelerator.c CG(compiler_options) = orig_compiler_options; CG 1396 ext/opcache/ZendAccelerator.c CG(compiler_options) = orig_compiler_options; CG 1401 ext/opcache/ZendAccelerator.c CG(active_op_array) = orig_active_op_array; CG 1402 ext/opcache/ZendAccelerator.c CG(function_table) = orig_function_table; CG 1403 ext/opcache/ZendAccelerator.c EG(class_table) = CG(class_table) = orig_class_table; CG 1471 ext/opcache/ZendAccelerator.c CG(interactive) || CG 1814 ext/opcache/ZendAccelerator.c !CG(interactive) && CG 1910 ext/opcache/ZendAccelerator.c !CG(interactive) && CG 1975 ext/opcache/ZendAccelerator.c !CG(interactive) && CG 2338 ext/opcache/ZendAccelerator.c CG(unclean_shutdown) = 1; CG 2464 ext/opcache/ZendAccelerator.c orig_interned_strings_start = CG(interned_strings_start); CG 2465 ext/opcache/ZendAccelerator.c orig_interned_strings_end = CG(interned_strings_end); CG 2470 ext/opcache/ZendAccelerator.c CG(interned_strings_start) = ZCSG(interned_strings_start); CG 2471 ext/opcache/ZendAccelerator.c CG(interned_strings_end) = ZCSG(interned_strings_end); CG 2502 ext/opcache/ZendAccelerator.c zend_hash_init(&accel_globals->function_table, zend_hash_num_elements(CG(function_table)), NULL, ZEND_FUNCTION_DTOR, 1); CG 2567 ext/opcache/ZendAccelerator.c orig_interned_strings_start = CG(interned_strings_start); CG 2568 ext/opcache/ZendAccelerator.c orig_interned_strings_end = CG(interned_strings_end); CG 2573 ext/opcache/ZendAccelerator.c CG(interned_strings_start) = ZCSG(interned_strings_start); CG 2574 ext/opcache/ZendAccelerator.c CG(interned_strings_end) = ZCSG(interned_strings_end); CG 2617 ext/opcache/ZendAccelerator.c if (zend_hash_find(CG(function_table), "chdir", sizeof("chdir"), (void**)&func) == SUCCESS && CG 2713 ext/opcache/ZendAccelerator.c zend_hash_clean(CG(function_table)); CG 2714 ext/opcache/ZendAccelerator.c zend_hash_clean(CG(class_table)); CG 2717 ext/opcache/ZendAccelerator.c CG(interned_strings_start) = orig_interned_strings_start; CG 2718 ext/opcache/ZendAccelerator.c CG(interned_strings_end) = orig_interned_strings_end; CG 386 ext/opcache/zend_accelerator_module.c if (zend_hash_find(CG(function_table), "file_exists", sizeof("file_exists"), (void **)&old_function) == SUCCESS) { CG 390 ext/opcache/zend_accelerator_module.c if (zend_hash_find(CG(function_table), "is_file", sizeof("is_file"), (void **)&old_function) == SUCCESS) { CG 394 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 881 ext/opcache/zend_accelerator_util_funcs.c CG(in_compilation) = 1; CG 883 ext/opcache/zend_accelerator_util_funcs.c CG(zend_lineno) = function1->op_array.opcodes[0].lineno; CG 901 ext/opcache/zend_accelerator_util_funcs.c CG(in_compilation) = 1; CG 904 ext/opcache/zend_accelerator_util_funcs.c CG(zend_lineno) = (*pce1)->info.user.line_start; CG 907 ext/opcache/zend_accelerator_util_funcs.c CG(zend_lineno) = (*pce1)->line_start; CG 919 ext/opcache/zend_accelerator_util_funcs.c zend_bool orig_in_compilation = CG(in_compilation); CG 923 ext/opcache/zend_accelerator_util_funcs.c CG(in_compilation) = 1; CG 931 ext/opcache/zend_accelerator_util_funcs.c CG(in_compilation) = orig_in_compilation; CG 947 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 953 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 982 ext/opcache/zend_accelerator_util_funcs.c zend_accel_function_hash_copy(CG(function_table), &persistent_script->function_table, NULL); CG 985 ext/opcache/zend_accelerator_util_funcs.c zend_accel_class_hash_copy(CG(class_table), &persistent_script->class_table, NULL TSRMLS_CC); CG 992 ext/opcache/zend_accelerator_util_funcs.c char *orig_compiled_filename = CG(compiled_filename); CG 993 ext/opcache/zend_accelerator_util_funcs.c CG(compiled_filename) = persistent_script->full_path; CG 995 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 496 ext/readline/readline.c if (call_user_function(CG(function_table), NULL, _readline_completion, &_readline_array, 3, params TSRMLS_CC) == SUCCESS) { CG 566 ext/readline/readline.c call_user_function(CG(function_table), NULL, _prepped_callback, &dummy, 1, params TSRMLS_CC); CG 271 ext/readline/readline_cli.c if (!CG(asp_tags)) { CG 359 ext/readline/readline_cli.c if ((CG(short_tags) && !strncmp(code+i-1, "<?", 2)) CG 360 ext/readline/readline_cli.c || (CG(asp_tags) && !strncmp(code+i-1, "<%", 2)) CG 1113 ext/reflection/php_reflection.c zend_hash_internal_pointer_reset_ex(CG(function_table), &iterator); CG 1114 ext/reflection/php_reflection.c while (zend_hash_get_current_data_ex(CG(function_table), (void **) &fptr, &iterator) == SUCCESS) { CG 1123 ext/reflection/php_reflection.c zend_hash_move_forward_ex(CG(function_table), &iterator); CG 5274 ext/reflection/php_reflection.c zend_hash_internal_pointer_reset_ex(CG(function_table), &iterator); CG 5275 ext/reflection/php_reflection.c while (zend_hash_get_current_data_ex(CG(function_table), (void **) &fptr, &iterator) == SUCCESS) { CG 5282 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 403 ext/soap/php_http.c if (call_user_function(CG(function_table), (zval**)NULL, &func, &retval, n, params TSRMLS_CC) == SUCCESS && CG 1267 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 1595 ext/soap/soap.c if (call_user_function(CG(function_table), (zval**)NULL, &func, &retval, 1, params TSRMLS_CC) == SUCCESS && CG 2123 ext/soap/soap.c _old_in_compilation = CG(in_compilation); CG 2191 ext/soap/soap.c CG(in_compilation) = _old_in_compilation; CG 2275 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 803 ext/standard/var.c res = call_user_function_ex(CG(function_table), &struc, &fname, &retval_ptr, 0, 0, 1, NULL TSRMLS_CC); CG 418 ext/standard/var_unserializer.c call_user_function_ex(CG(function_table), rval, &fname, &retval_ptr, 0, 0, 1, NULL TSRMLS_CC); CG 676 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 473 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 1167 main/main.c CG(parse_error) = 0; CG 1712 main/main.c shutdown_memory_manager(CG(unclean_shutdown), 0 TSRMLS_CC); CG 1757 main/main.c if (CG(unclean_shutdown) && PG(last_error_type) == E_ERROR && CG 1827 main/main.c shutdown_memory_manager(CG(unclean_shutdown) || !report_memleaks, 0 TSRMLS_CC); CG 2396 main/main.c shutdown_memory_manager(CG(unclean_shutdown), 1 TSRMLS_CC); CG 2135 sapi/cgi/cgi_main.c CG(interactive) = 0; CG 2143 sapi/cgi/cgi_main.c CG(interactive) = 1; CG 2151 sapi/cgi/cgi_main.c CG(compiler_options) |= ZEND_COMPILE_EXTENDED_INFO; CG 2407 sapi/cgi/cgi_main.c CG(start_lineno) = 2; CG 2425 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 1784 sapi/fpm/fpm/fpm_main.c CG(compiler_options) |= ZEND_COMPILE_EXTENDED_INFO; CG 1864 sapi/fpm/fpm/fpm_main.c CG(interactive) = 0; CG 903 sapi/isapi/php5isapi.c CG(unclean_shutdown)=1; CG 520 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 536 sapi/milter/php_milter.c status = call_user_function(CG(function_table), NULL, &function_name, &retval, 0, NULL TSRMLS_CC); CG 1081 sapi/milter/php_milter.c CG(compiler_options) |= ZEND_COMPILE_EXTENDED_INFO; CG 1137 sapi/milter/php_milter.c CG(interactive) = interactive;