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

/PHP_5_4/sapi/fpm/fpm/
H A Dfpm_php_trace.c93 if (0 > fpm_trace_get_long(execute_data + offsetof(zend_execute_data, op_array), &l)) {
100 long op_array = l; local
102 if (0 > fpm_trace_get_strz(buf, buf_size, op_array + offsetof(zend_op_array, filename))) {
/PHP_5_4/Zend/
H A Dzend_dtrace.c29 if (EG(current_execute_data) && EG(current_execute_data)->op_array) {
30 return EG(current_execute_data)->op_array->filename;
47 ZEND_API void dtrace_execute(zend_op_array *op_array TSRMLS_DC)
73 execute(op_array TSRMLS_CC);
H A Dzend_dtrace.h34 ZEND_API void (*zend_dtrace_execute)(zend_op_array *op_array TSRMLS_DC);
38 ZEND_API void dtrace_execute(zend_op_array *op_array TSRMLS_DC);
H A Dzend_API.c2774 if ((fcc->function_handler->op_array.fn_flags & ZEND_ACC_CHANGED) &&
2789 if (fcc->function_handler->op_array.fn_flags & ZEND_ACC_PRIVATE) {
2899 if (fcc->function_handler->op_array.fn_flags & ZEND_ACC_PRIVATE) {
3948 *(f->op_array.refcount) < 2 ||
H A Dzend_closures.h33 ZEND_API void zend_create_closure(zval *res, zend_function *op_array, zend_class_entry *scope, zval *this_ptr TSRMLS_DC);
H A Dzend_execute.c58 static void zend_extension_statement_handler(const zend_extension *extension, zend_op_array *op_array TSRMLS_DC);
59 static void zend_extension_fcall_begin_handler(const zend_extension *extension, zend_op_array *op_array TSRMLS_DC);
60 static void zend_extension_fcall_end_handler(const zend_extension *extension, zend_op_array *op_array TSRMLS_DC);
591 if (ptr && ptr->op_array) {
592 zend_error(error_type, "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);
945 static void zend_extension_statement_handler(const zend_extension *extension, zend_op_array *op_array TSRMLS_DC)
948 extension->statement_handler(op_array);
953 static void zend_extension_fcall_begin_handler(const zend_extension *extension, zend_op_array *op_array TSRMLS_DC)
956 extension->fcall_begin_handler(op_array);
961 static void zend_extension_fcall_end_handler(const zend_extension *extension, zend_op_array *op_array TSRMLS_D
1412 zend_brk_cont(int nest_levels, int array_offset, const zend_op_array *op_array, const temp_variable *Ts TSRMLS_DC) argument
[all...]
H A Dzend_execute.h52 ZEND_API extern void (*zend_execute)(zend_op_array *op_array TSRMLS_DC);
58 ZEND_API void execute(zend_op_array *op_array TSRMLS_DC);
415 #define ZEND_USER_OPCODE_ENTER 3 /* enter into new op_array without recursion */
416 #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.c555 zend_op_array *op_array = (zend_op_array *) emalloc(sizeof(zend_op_array)); local
571 retval = op_array; /* success oriented */
582 init_op_array(op_array, ZEND_USER_FUNCTION, INITIAL_OP_ARRAY_SIZE TSRMLS_CC);
584 CG(active_op_array) = op_array;
599 pass_two(op_array TSRMLS_CC);
602 efree(op_array);
726 zend_op_array *op_array = (zend_op_array *) emalloc(sizeof(zend_op_array)); local
734 efree(op_array);
747 efree(op_array);
753 init_op_array(op_array, ZEND_EVAL_COD
[all...]
H A Dzend_language_scanner.l553 zend_op_array *op_array = (zend_op_array *) emalloc(sizeof(zend_op_array));
569 retval = op_array; /* success oriented */
580 init_op_array(op_array, ZEND_USER_FUNCTION, INITIAL_OP_ARRAY_SIZE TSRMLS_CC);
582 CG(active_op_array) = op_array;
597 pass_two(op_array TSRMLS_CC);
600 efree(op_array);
724 zend_op_array *op_array = (zend_op_array *) emalloc(sizeof(zend_op_array));
732 efree(op_array);
745 efree(op_array);
751 init_op_array(op_array, ZEND_EVAL_COD
[all...]
H A Dzend_objects.c70 if (destructor->op_array.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED)) {
71 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, zend_uint size) argument
48 op_array->opcodes = erealloc(op_array->opcodes, 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->type = type;
56 /* We must avoid a realloc() on the op_array i
127 zend_cleanup_op_array_data(zend_op_array *op_array) argument
441 get_next_op_number(zend_op_array *op_array) argument
446 get_next_brk_cont_element(zend_op_array *op_array) argument
[all...]
H A Dzend_object_handlers.c939 && fbc->op_array.fn_flags & ZEND_ACC_PRIVATE
1033 if (fbc->op_array.fn_flags & ZEND_ACC_PRIVATE) {
1055 fbc->op_array.fn_flags & ZEND_ACC_CHANGED) {
1199 if (fbc->op_array.fn_flags & ZEND_ACC_PUBLIC) {
1201 } else if (fbc->op_array.fn_flags & ZEND_ACC_PRIVATE) {
1306 if (constructor->op_array.fn_flags & ZEND_ACC_PUBLIC) {
1308 } else if (constructor->op_array.fn_flags & ZEND_ACC_PRIVATE) {
H A Dzend_builtin_functions.c1091 *mptr->op_array.refcount > 1 &&
2107 if (!skip->op_array &&
2116 if (skip->op_array) {
2117 filename = skip->op_array->filename;
2222 if (prev->op_array) {
2223 zend_printf(") called at [%s:%d]\n", prev->op_array->filename, prev->opline->lineno);
2274 if (!skip->op_array &&
2283 if (skip->op_array) {
2284 filename = skip->op_array->filename;
2302 if (prev->op_array) {
[all...]
H A Dzend_closures.c246 if (ex->op_array == &closure->func.op_array) {
251 destroy_op_array(&closure->func.op_array TSRMLS_CC);
334 if (closure->func.type == ZEND_USER_FUNCTION && closure->func.op_array.static_variables) {
335 HashTable *static_variables = closure->func.op_array.static_variables;
386 closure->func.op_array.static_variables : NULL;
461 if (closure->func.op_array.static_variables) {
462 HashTable *static_variables = closure->func.op_array.static_variables;
464 ALLOC_HASHTABLE(closure->func.op_array.static_variables);
465 zend_hash_init(closure->func.op_array
[all...]
H A Dzend_vm_def.h1918 ZEND_VM_SET_OPCODE(&EX(op_array)->opcodes[opline->extended_value]);
1924 ZEND_VM_SET_OPCODE(&EX(op_array)->opcodes[opline->op2.opline_num]);
2501 zend_op_array *op_array = EX(op_array); local
2507 zval ***end = cv + op_array->last_var;
2516 if ((op_array->fn_flags & ZEND_ACC_CLOSURE) && op_array->prototype) {
2517 zval_ptr_dtor((zval**)&op_array->prototype);
2534 EX(function_state).function = (zend_function *) EX(op_array);
2539 EG(active_op_array) = EX(op_array);
5163 zend_function *op_array; variable
5176 zend_create_closure(&EX_T(opline->result.var).tmp_var, (zend_function *) op_array, EG(called_scope), NULL TSRMLS_CC); variable
5178 zend_create_closure(&EX_T(opline->result.var).tmp_var, (zend_function *) op_array, EG(scope), EG(This) TSRMLS_CC); variable
[all...]
H A Dzend_vm_execute.h342 ZEND_API void execute(zend_op_array *op_array TSRMLS_DC)
360 ZEND_MM_ALIGNED_SIZE(sizeof(zval**) * op_array->last_var * (EG(active_symbol_table) ? 1 : 2)) +
361 ZEND_MM_ALIGNED_SIZE(sizeof(temp_variable)) * op_array->T TSRMLS_CC);
364 memset(EX(CVs), 0, sizeof(zval**) * op_array->last_var);
365 EX(Ts) = (temp_variable *)(((char*)EX(CVs)) + ZEND_MM_ALIGNED_SIZE(sizeof(zval**) * op_array->last_var * (EG(active_symbol_table) ? 1 : 2)));
370 EX(op_array) = op_array;
379 if (!op_array->run_time_cache && op_array->last_cache_slot) {
380 op_array
459 zend_op_array *op_array = EX(op_array); local
5849 zend_function *op_array; local
[all...]
H A Dzend_compile.c33 #define CONSTANT_EX(op_array, op) \
34 (op_array)->literals[op].constant
286 static zend_uint get_temporary_variable(zend_op_array *op_array) /* {{{ */ argument
288 return (op_array->T)++ * ZEND_MM_ALIGNED_SIZE(sizeof(temp_variable));
292 static int lookup_cv(zend_op_array *op_array, char* name, int name_len, ulong hash TSRMLS_DC) /* {{{ */ argument
297 while (i < op_array->last_var) {
298 if (op_array->vars[i].name == name ||
299 (op_array->vars[i].hash_value == hash_value &&
300 op_array->vars[i].name_len == name_len &&
301 memcmp(op_array
320 zend_del_literal(zend_op_array *op_array, int n) argument
332 zend_insert_literal(zend_op_array *op_array, const zval *zv, int literal_position TSRMLS_DC) argument
349 zend_add_literal(zend_op_array *op_array, const zval *zv TSRMLS_DC) argument
366 zend_append_individual_literal(zend_op_array *op_array, const zval *zv TSRMLS_DC) argument
376 zend_add_func_name_literal(zend_op_array *op_array, const zval *zv TSRMLS_DC) argument
401 zend_add_ns_func_name_literal(zend_op_array *op_array, const zval *zv TSRMLS_DC) argument
435 zend_add_class_name_literal(zend_op_array *op_array, const zval *zv TSRMLS_DC) argument
469 zend_add_const_name_literal(zend_op_array *op_array, const zval *zv, int unqualified TSRMLS_DC) argument
1526 zend_op_array op_array; local
2252 zend_resolve_goto_label(zend_op_array *op_array, zend_op *opline, int pass2 TSRMLS_DC) argument
2790 zend_op_array *op_array = &function->op_array; local
4236 do_bind_function(const zend_op_array *op_array, zend_op *opline, HashTable *function_table, zend_bool compile_time) argument
4342 do_bind_class(const zend_op_array* op_array, const zend_op *opline, HashTable *class_table, zend_bool compile_time TSRMLS_DC) argument
4381 do_bind_inherited_class(const zend_op_array *op_array, const zend_op *opline, HashTable *class_table, zend_class_entry *parent_ce, zend_bool compile_time TSRMLS_DC) argument
6665 zend_get_compiled_variable_name(const zend_op_array *op_array, zend_uint var, int* name_len) argument
[all...]
H A Dzend_compile.h39 #define INC_BPC(op_array) if (op_array->fn_flags & ZEND_ACC_INTERACTIVE) { (CG(context).backpatch_count++); }
40 #define DEC_BPC(op_array) if (op_array->fn_flags & ZEND_ACC_INTERACTIVE) { (CG(context).backpatch_count--); }
91 zend_op_array *op_array; member in union:_znode::__anon1
158 /* op_array flags */
340 zend_op_array op_array; member in union:_zend_function
371 zend_op_array *op_array; member in struct:_zend_execute_data
421 ZEND_API const char* zend_get_compiled_variable_name(const zend_op_array *op_array, zend_uint var, int* name_len);
502 ZEND_API int do_bind_function(const zend_op_array *op_array, zend_o
[all...]
H A Dzend_execute_API.c40 ZEND_API void (*zend_execute)(zend_op_array *op_array TSRMLS_DC);
788 EX(op_array) = NULL;
1694 if (ex->op_array && ex->symbol_table == symbol_table) {
1695 for (i = 0; i < ex->op_array->last_var; i++) {
1710 if (ex->op_array) {
1711 for (i = 0; i < ex->op_array->last_var; i++) {
1712 if (ex->op_array->vars[i].hash_value == hash_value &&
1713 ex->op_array->vars[i].name_len == name_len &&
1714 !memcmp(ex->op_array->vars[i].name, name, name_len)) {
1732 if (ex->op_array
[all...]
/PHP_5_4/ext/reflection/
H A Dphp_reflection.c677 static zend_op* _get_recv_op(zend_op_array *op_array, zend_uint offset) argument
679 zend_op *op = op_array->opcodes;
680 zend_op *end = op + op_array->last;
797 if (fptr->type != ZEND_USER_FUNCTION || !fptr->op_array.static_variables) {
801 static_variables = fptr->op_array.static_variables;
833 if (fptr->type == ZEND_USER_FUNCTION && fptr->op_array.doc_comment) {
834 string_printf(str, "%s%s\n", indent, fptr->op_array.doc_comment);
903 if (fptr->op_array.fn_flags & ZEND_ACC_RETURN_REFERENCE) {
910 fptr->op_array.filename,
911 fptr->op_array
[all...]
/PHP_5_4/main/
H A Dmain.c2620 zend_op_array *op_array; local
2624 op_array = zend_compile_file(file, ZEND_INCLUDE TSRMLS_CC);
2627 if (op_array) {
2628 destroy_op_array(op_array TSRMLS_CC);
2629 efree(op_array);

Completed in 75 milliseconds