Searched defs:op_array (Results 1 - 10 of 10) 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/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/Zend/
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_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_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_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...]
/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 45 milliseconds