Searched refs:op_array (Results 1 - 20 of 20) sorted by relevance

/PHP_5_3/sapi/fpm/fpm/
H A Dfpm_php_trace.c92 if (0 > fpm_trace_get_long(execute_data + offsetof(zend_execute_data, op_array), &l)) {
99 long op_array = l; local
101 if (0 > fpm_trace_get_strz(buf, buf_size, op_array + offsetof(zend_op_array, filename))) {
/PHP_5_3/ext/reflection/
H A Dphp_reflection.c654 static zend_op* _get_recv_op(zend_op_array *op_array, zend_uint offset) argument
656 zend_op *op = op_array->opcodes;
657 zend_op *end = op + op_array->last;
772 if (fptr->type != ZEND_USER_FUNCTION || !fptr->op_array.static_variables) {
776 static_variables = fptr->op_array.static_variables;
808 if (fptr->type == ZEND_USER_FUNCTION && fptr->op_array.doc_comment) {
809 string_printf(str, "%s%s\n", indent, fptr->op_array.doc_comment);
878 if (fptr->op_array.return_reference) {
885 fptr->op_array.filename,
886 fptr->op_array
[all...]
/PHP_5_3/Zend/
H A Dzend_API.c2522 if ((fcc->function_handler->op_array.fn_flags & ZEND_ACC_CHANGED) &&
2537 if (fcc->function_handler->op_array.fn_flags & ZEND_ACC_PRIVATE) {
2649 if (fcc->function_handler->op_array.fn_flags & ZEND_ACC_PRIVATE) {
H A Dzend_closures.c177 if (ex->op_array == &closure->func.op_array) {
182 destroy_op_array(&closure->func.op_array TSRMLS_CC);
243 if (closure->func.type == ZEND_USER_FUNCTION && closure->func.op_array.static_variables) {
244 HashTable *static_variables = closure->func.op_array.static_variables;
288 return (closure->func.type == ZEND_USER_FUNCTION) ? closure->func.op_array.static_variables : NULL;
392 if (closure->func.op_array.static_variables) {
393 HashTable *static_variables = closure->func.op_array.static_variables;
395 ALLOC_HASHTABLE(closure->func.op_array.static_variables);
396 zend_hash_init(closure->func.op_array
[all...]
H A Dzend_closures.h33 ZEND_API void zend_create_closure(zval *res, zend_function *op_array TSRMLS_DC);
H A Dzend_compile.h39 #define INC_BPC(op_array) if (op_array->fn_flags & ZEND_ACC_INTERACTIVE) { ((op_array)->backpatch_count++); }
40 #define DEC_BPC(op_array) if (op_array->fn_flags & ZEND_ACC_INTERACTIVE) { ((op_array)->backpatch_count--); }
63 zend_op_array *op_array; member in union:_znode::__anon5
125 /* op_array flags */
283 zend_op_array op_array; member in union:_zend_function
314 zend_op_array *op_array; member in struct:_zend_execute_data
[all...]
H A Dzend_execute.h55 ZEND_API extern void (*zend_execute)(zend_op_array *op_array TSRMLS_DC);
61 ZEND_API void execute(zend_op_array *op_array TSRMLS_DC);
393 #define ZEND_USER_OPCODE_ENTER 3 /* enter into new op_array without recursion */
394 #define ZEND_USER_OPCODE_LEAVE 4 /* return to calling op_array within the same executor */
H A Dzend_extensions.h50 typedef void (*op_array_handler_func_t)(zend_op_array *op_array);
52 typedef void (*statement_handler_func_t)(zend_op_array *op_array);
53 typedef void (*fcall_begin_handler_func_t)(zend_op_array *op_array);
54 typedef void (*fcall_end_handler_func_t)(zend_op_array *op_array);
56 typedef void (*op_array_ctor_func_t)(zend_op_array *op_array);
57 typedef void (*op_array_dtor_func_t)(zend_op_array *op_array);
H A Dzend_language_scanner.c336 zend_op_array *op_array = (zend_op_array *) emalloc(sizeof(zend_op_array)); local
352 retval = op_array; /* success oriented */
363 init_op_array(op_array, ZEND_USER_FUNCTION, INITIAL_OP_ARRAY_SIZE TSRMLS_CC);
365 CG(active_op_array) = op_array;
378 pass_two(op_array TSRMLS_CC);
381 efree(op_array);
494 zend_op_array *op_array = (zend_op_array *) emalloc(sizeof(zend_op_array)); local
502 efree(op_array);
515 efree(op_array);
521 init_op_array(op_array, ZEND_EVAL_COD
[all...]
H A Dzend_language_scanner.l334 zend_op_array *op_array = (zend_op_array *) emalloc(sizeof(zend_op_array));
350 retval = op_array; /* success oriented */
361 init_op_array(op_array, ZEND_USER_FUNCTION, INITIAL_OP_ARRAY_SIZE TSRMLS_CC);
363 CG(active_op_array) = op_array;
376 pass_two(op_array TSRMLS_CC);
379 efree(op_array);
492 zend_op_array *op_array = (zend_op_array *) emalloc(sizeof(zend_op_array));
500 efree(op_array);
513 efree(op_array);
519 init_op_array(op_array, ZEND_EVAL_COD
[all...]
H A Dzend_objects.c59 if (destructor->op_array.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED)) {
60 if (destructor->op_array.fn_flags & ZEND_ACC_PRIVATE) {
H A Dzend_opcode.c32 static void zend_extension_op_array_ctor_handler(zend_extension *extension, zend_op_array *op_array TSRMLS_DC)
35 extension->op_array_ctor(op_array);
39 static void zend_extension_op_array_dtor_handler(zend_extension *extension, zend_op_array *op_array TSRMLS_DC)
42 extension->op_array_dtor(op_array);
46 static void op_array_alloc_ops(zend_op_array *op_array) argument
48 op_array->opcodes = erealloc(op_array->opcodes, (op_array->size)*sizeof(zend_op));
51 void init_op_array(zend_op_array *op_array, zend_uchar type, int initial_ops_size TSRMLS_DC) argument
53 op_array
130 zend_cleanup_op_array_data(zend_op_array *op_array) argument
323 get_next_op_number(zend_op_array *op_array) argument
328 get_next_brk_cont_element(zend_op_array *op_array) argument
[all...]
H A Dzend_object_handlers.c775 && fbc->op_array.fn_flags & ZEND_ACC_PRIVATE
869 if (fbc->op_array.fn_flags & ZEND_ACC_PRIVATE) {
891 fbc->op_array.fn_flags & ZEND_ACC_CHANGED) {
1023 if (fbc->op_array.fn_flags & ZEND_ACC_PUBLIC) {
1025 } else if (fbc->op_array.fn_flags & ZEND_ACC_PRIVATE) {
1110 if (constructor->op_array.fn_flags & ZEND_ACC_PUBLIC) {
1112 } else if (constructor->op_array.fn_flags & ZEND_ACC_PRIVATE) {
H A Dzend_builtin_functions.c1976 if (!skip->op_array &&
1985 if (skip->op_array) {
1986 filename = skip->op_array->filename;
2084 if (prev->op_array) {
2085 zend_printf(") called at [%s:%d]\n", prev->op_array->filename, prev->opline->lineno);
2135 if (!skip->op_array &&
2144 if (skip->op_array) {
2145 filename = skip->op_array->filename;
2163 if (prev->op_array) {
2164 add_assoc_string_ex(stack_frame, "file", sizeof("file"), prev->op_array
[all...]
H A Dzend_execute.c57 static void zend_extension_statement_handler(const zend_extension *extension, zend_op_array *op_array TSRMLS_DC);
58 static void zend_extension_fcall_begin_handler(const zend_extension *extension, zend_op_array *op_array TSRMLS_DC);
59 static void zend_extension_fcall_end_handler(const zend_extension *extension, zend_op_array *op_array TSRMLS_DC);
469 if (ptr && ptr->op_array) {
470 zend_error(E_RECOVERABLE_ERROR, "Argument %d passed to %s%s%s() must %s%s, %s%s given, called in %s on line %d and defined", arg_num, fclass, fsep, fname, need_msg, need_kind, given_msg, given_kind, ptr->op_array->filename, ptr->opline->lineno);
748 static void zend_extension_statement_handler(const zend_extension *extension, zend_op_array *op_array TSRMLS_DC)
751 extension->statement_handler(op_array);
756 static void zend_extension_fcall_begin_handler(const zend_extension *extension, zend_op_array *op_array TSRMLS_DC)
759 extension->fcall_begin_handler(op_array);
764 static void zend_extension_fcall_end_handler(const zend_extension *extension, zend_op_array *op_array TSRMLS_D
1195 zend_brk_cont(const zval *nest_levels_zval, int array_offset, const zend_op_array *op_array, const temp_variable *Ts TSRMLS_DC) argument
[all...]
H A Dzend_compile.c258 static zend_uint get_temporary_variable(zend_op_array *op_array) /* {{{ */ argument
260 return (op_array->T)++ * ZEND_MM_ALIGNED_SIZE(sizeof(temp_variable));
264 static int lookup_cv(zend_op_array *op_array, char* name, int name_len) /* {{{ */ argument
269 while (i < op_array->last_var) {
270 if (op_array->vars[i].hash_value == hash_value &&
271 op_array->vars[i].name_len == name_len &&
272 strcmp(op_array->vars[i].name, name) == 0) {
278 i = op_array->last_var;
279 op_array->last_var++;
280 if (op_array
1188 zend_op_array op_array; local
1360 zend_hash_update(CG(function_table), opline->op1.u.constant.value.str.val, opline->op1.u.constant.value.str.len, &op_array, sizeof(zend_op_array), (void **) &CG(active_op_array)); local
1892 zend_resolve_goto_label(zend_op_array *op_array, zend_op *opline, int pass2 TSRMLS_DC) argument
2403 zend_op_array *op_array = &function->op_array; local
5089 zend_get_compiled_variable_name(const zend_op_array *op_array, zend_uint var, int* name_len) argument
[all...]
H A Dzend_execute_API.c40 ZEND_API void (*zend_execute)(zend_op_array *op_array TSRMLS_DC);
795 EX(op_array) = NULL;
1645 if (ex->op_array && ex->symbol_table == symbol_table) {
1646 for (i = 0; i < ex->op_array->last_var; i++) {
1661 if (ex->op_array && ex->symbol_table == &EG(symbol_table)) {
1663 for (i = 0; i < ex->op_array->last_var; i++) {
1664 if (ex->op_array->vars[i].hash_value == hash_value &&
1665 ex->op_array->vars[i].name_len == name_len &&
1666 !memcmp(ex->op_array->vars[i].name, name, name_len)
1689 while (ex && !ex->op_array) {
[all...]
H A Dzend_vm_def.h1722 ZEND_VM_SET_OPCODE(&EX(op_array)->opcodes[opline->extended_value]);
1728 ZEND_VM_SET_OPCODE(&EX(op_array)->opcodes[opline->op2.u.opline_num]);
2151 zend_op_array *op_array = EX(op_array); local
2157 zval ***end = cv + EX(op_array)->last_var;
2166 if ((op_array->fn_flags & ZEND_ACC_CLOSURE) && op_array->prototype) {
2167 zval_ptr_dtor((zval**)&op_array->prototype);
2179 EX(function_state).function = (zend_function *) EX(op_array);
2193 EG(active_op_array) = EX(op_array);
4451 zend_function *op_array; variable
[all...]
H A Dzend_vm_execute.h42 ZEND_API void execute(zend_op_array *op_array TSRMLS_DC)
59 ZEND_MM_ALIGNED_SIZE(sizeof(zval**) * op_array->last_var * (EG(active_symbol_table) ? 1 : 2)) +
60 ZEND_MM_ALIGNED_SIZE(sizeof(temp_variable)) * op_array->T TSRMLS_CC);
63 memset(EX(CVs), 0, sizeof(zval**) * op_array->last_var);
64 EX(Ts) = (temp_variable *)(((char*)EX(CVs)) + ZEND_MM_ALIGNED_SIZE(sizeof(zval**) * op_array->last_var * (EG(active_symbol_table) ? 1 : 2)));
69 EX(op_array) = op_array;
76 if (op_array->start_op) {
77 ZEND_VM_SET_OPCODE(op_array->start_op);
79 ZEND_VM_SET_OPCODE(op_array
151 zend_op_array *op_array = EX(op_array); local
2995 zend_function *op_array; local
[all...]
/PHP_5_3/main/
H A Dmain.c2434 zend_op_array *op_array; local
2438 op_array = zend_compile_file(file, ZEND_INCLUDE TSRMLS_CC);
2441 if (op_array) {
2442 destroy_op_array(op_array TSRMLS_CC);
2443 efree(op_array);

Completed in 64 milliseconds