Back to index

php5  5.3.10
Classes | Defines | Typedefs | Functions | Variables
zend_compile.h File Reference
#include "zend.h"
#include "zend_llist.h"
#include "zend_globals.h"
#include "zend_vm_opcodes.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _znode
struct  _zend_op
struct  _zend_brk_cont_element
struct  _zend_label
struct  _zend_try_catch_element
struct  _zend_property_info
struct  _zend_arg_info
struct  _zend_compiled_variable
struct  _zend_op_array
struct  _zend_internal_function
union  _zend_function
struct  _zend_function_state
struct  _zend_switch_entry
struct  _list_llist_element
struct  _zend_execute_data
struct  _zend_auto_global
union  _znode.u
struct  _znode.u.EA
struct  _zend_function.common

Defines

#define DEBUG_ZEND   0
#define FREE_PNODE(znode)   zval_dtor(&znode->u.constant);
#define SET_UNUSED(op)   (op).op_type = IS_UNUSED
#define INC_BPC(op_array)   if (op_array->fn_flags & ZEND_ACC_INTERACTIVE) { ((op_array)->backpatch_count++); }
#define DEC_BPC(op_array)   if (op_array->fn_flags & ZEND_ACC_INTERACTIVE) { ((op_array)->backpatch_count--); }
#define HANDLE_INTERACTIVE()   if (CG(active_op_array)->fn_flags & ZEND_ACC_INTERACTIVE) { execute_new_code(TSRMLS_C); }
#define DO_TICKS()   if (Z_LVAL(CG(declarables).ticks)) { zend_do_ticks(TSRMLS_C); }
#define RESET_DOC_COMMENT()
#define ZEND_OPCODE_HANDLER_ARGS   zend_execute_data *execute_data TSRMLS_DC
#define ZEND_OPCODE_HANDLER_ARGS_PASSTHRU   execute_data TSRMLS_CC
#define ZEND_ACC_STATIC   0x01
#define ZEND_ACC_ABSTRACT   0x02
#define ZEND_ACC_FINAL   0x04
#define ZEND_ACC_IMPLEMENTED_ABSTRACT   0x08
#define ZEND_ACC_IMPLICIT_ABSTRACT_CLASS   0x10
#define ZEND_ACC_EXPLICIT_ABSTRACT_CLASS   0x20
#define ZEND_ACC_FINAL_CLASS   0x40
#define ZEND_ACC_INTERFACE   0x80
#define ZEND_ACC_INTERACTIVE   0x10
#define ZEND_ACC_PUBLIC   0x100
#define ZEND_ACC_PROTECTED   0x200
#define ZEND_ACC_PRIVATE   0x400
#define ZEND_ACC_PPP_MASK   (ZEND_ACC_PUBLIC | ZEND_ACC_PROTECTED | ZEND_ACC_PRIVATE)
#define ZEND_ACC_CHANGED   0x800
#define ZEND_ACC_IMPLICIT_PUBLIC   0x1000
#define ZEND_ACC_CTOR   0x2000
#define ZEND_ACC_DTOR   0x4000
#define ZEND_ACC_CLONE   0x8000
#define ZEND_ACC_ALLOW_STATIC   0x10000
#define ZEND_ACC_SHADOW   0x20000
#define ZEND_ACC_DEPRECATED   0x40000
#define ZEND_ACC_IMPLEMENT_INTERFACES   0x80000
#define ZEND_ACC_CLOSURE   0x100000
#define ZEND_ACC_CALL_VIA_HANDLER   0x200000
#define ZEND_RETURN_VALUE   0
#define ZEND_RETURN_REFERENCE   1
#define ZEND_FN_SCOPE_NAME(function)   ((function) && (function)->common.scope ? (function)->common.scope->name : "")
#define EX(element)   execute_data.element
#define IS_CONST   (1<<0)
#define IS_TMP_VAR   (1<<1)
#define IS_VAR   (1<<2)
#define IS_UNUSED   (1<<3) /* Unused variable */
#define IS_CV   (1<<4) /* Compiled variable */
#define EXT_TYPE_UNUSED   (1<<0)
#define EXT_TYPE_FREE_ON_RETURN   (2<<0)
#define INITIAL_OP_ARRAY_SIZE   64
#define ZEND_FUNCTION_DTOR   (void (*)(void *)) zend_function_dtor
#define ZEND_CLASS_DTOR   (void (*)(void *)) destroy_zend_class
#define ZEND_OP_DATA   137
#define ZEND_FETCH_GLOBAL   0
#define ZEND_FETCH_LOCAL   1
#define ZEND_FETCH_STATIC   2
#define ZEND_FETCH_STATIC_MEMBER   3
#define ZEND_FETCH_GLOBAL_LOCK   4
#define ZEND_FETCH_LEXICAL   5
#define ZEND_FETCH_CLASS_DEFAULT   0
#define ZEND_FETCH_CLASS_SELF   1
#define ZEND_FETCH_CLASS_PARENT   2
#define ZEND_FETCH_CLASS_MAIN   3
#define ZEND_FETCH_CLASS_GLOBAL   4
#define ZEND_FETCH_CLASS_AUTO   5
#define ZEND_FETCH_CLASS_INTERFACE   6
#define ZEND_FETCH_CLASS_STATIC   7
#define ZEND_FETCH_CLASS_MASK   0x0f
#define ZEND_FETCH_CLASS_NO_AUTOLOAD   0x80
#define ZEND_FETCH_CLASS_SILENT   0x0100
#define ZEND_PARSED_MEMBER   (1<<0)
#define ZEND_PARSED_METHOD_CALL   (1<<1)
#define ZEND_PARSED_STATIC_MEMBER   (1<<2)
#define ZEND_PARSED_FUNCTION_CALL   (1<<3)
#define ZEND_PARSED_VARIABLE   (1<<4)
#define ZEND_PARSED_REFERENCE_VARIABLE   (1<<5)
#define ZEND_PARSED_NEW   (1<<6)
#define ZEND_UNSET_REG   0
#define BP_VAR_R   0
#define BP_VAR_W   1
#define BP_VAR_RW   2
#define BP_VAR_IS   3
#define BP_VAR_NA   4 /* if not applicable */
#define BP_VAR_FUNC_ARG   5
#define BP_VAR_UNSET   6
#define ZEND_INTERNAL_FUNCTION   1
#define ZEND_USER_FUNCTION   2
#define ZEND_OVERLOADED_FUNCTION   3
#define ZEND_EVAL_CODE   4
#define ZEND_OVERLOADED_FUNCTION_TEMPORARY   5
#define ZEND_INTERNAL_CLASS   1
#define ZEND_USER_CLASS   2
#define ZEND_EVAL   (1<<0)
#define ZEND_INCLUDE   (1<<1)
#define ZEND_INCLUDE_ONCE   (1<<2)
#define ZEND_REQUIRE   (1<<3)
#define ZEND_REQUIRE_ONCE   (1<<4)
#define ZEND_ISSET   (1<<0)
#define ZEND_ISEMPTY   (1<<1)
#define ZEND_ISSET_ISEMPTY_MASK   (ZEND_ISSET | ZEND_ISEMPTY)
#define ZEND_QUICK_SET   (1<<2)
#define ZEND_CT   (1<<0)
#define ZEND_RT   (1<<1)
#define ZEND_FETCH_STANDARD   0x00000000
#define ZEND_FETCH_ADD_LOCK   0x08000000
#define ZEND_FETCH_MAKE_REF   0x04000000
#define ZEND_FE_FETCH_BYREF   1
#define ZEND_FE_FETCH_WITH_KEY   2
#define ZEND_FE_RESET_VARIABLE   1
#define ZEND_FE_RESET_REFERENCE   2
#define ZEND_MEMBER_FUNC_CALL   1<<0
#define ZEND_ARG_SEND_BY_REF   (1<<0)
#define ZEND_ARG_COMPILE_TIME_BOUND   (1<<1)
#define ZEND_ARG_SEND_FUNCTION   (1<<2)
#define ZEND_ARG_SEND_SILENT   (1<<3)
#define ZEND_SEND_BY_VAL   0
#define ZEND_SEND_BY_REF   1
#define ZEND_SEND_PREFER_REF   2
#define ARG_SEND_TYPE(zf, arg_num)
#define ARG_MUST_BE_SENT_BY_REF(zf, arg_num)   (ARG_SEND_TYPE(zf, arg_num) == ZEND_SEND_BY_REF)
#define ARG_SHOULD_BE_SENT_BY_REF(zf, arg_num)   (ARG_SEND_TYPE(zf, arg_num) & (ZEND_SEND_BY_REF|ZEND_SEND_PREFER_REF))
#define ARG_MAY_BE_SENT_BY_REF(zf, arg_num)   (ARG_SEND_TYPE(zf, arg_num) == ZEND_SEND_PREFER_REF)
#define ZEND_RETURN_VAL   0
#define ZEND_RETURN_REF   1
#define ZEND_RETURNS_FUNCTION   1<<0
#define ZEND_RETURNS_NEW   1<<1
#define ZEND_CLONE_FUNC_NAME   "__clone"
#define ZEND_CONSTRUCTOR_FUNC_NAME   "__construct"
#define ZEND_DESTRUCTOR_FUNC_NAME   "__destruct"
#define ZEND_GET_FUNC_NAME   "__get"
#define ZEND_SET_FUNC_NAME   "__set"
#define ZEND_UNSET_FUNC_NAME   "__unset"
#define ZEND_ISSET_FUNC_NAME   "__isset"
#define ZEND_CALL_FUNC_NAME   "__call"
#define ZEND_CALLSTATIC_FUNC_NAME   "__callstatic"
#define ZEND_TOSTRING_FUNC_NAME   "__tostring"
#define ZEND_AUTOLOAD_FUNC_NAME   "__autoload"
#define ZEND_COMPILE_EXTENDED_INFO   (1<<0)
#define ZEND_COMPILE_HANDLE_OP_ARRAY   (1<<1)
#define ZEND_COMPILE_IGNORE_INTERNAL_FUNCTIONS   (1<<2)
#define ZEND_COMPILE_IGNORE_INTERNAL_CLASSES   (1<<3)
#define ZEND_COMPILE_DELAYED_BINDING   (1<<4)
#define ZEND_COMPILE_NO_CONSTANT_SUBSTITUTION   (1<<5)
#define ZEND_COMPILE_DEFAULT   ZEND_COMPILE_HANDLE_OP_ARRAY
#define ZEND_COMPILE_DEFAULT_FOR_EVAL   0

Typedefs

typedef struct _zend_op_array
typedef struct _zend_op
typedef struct _znode znode
typedef struct _zend_execute_data
typedef int(* user_opcode_handler_t )(ZEND_OPCODE_HANDLER_ARGS)
typedef struct
_zend_brk_cont_element 
zend_brk_cont_element
typedef struct _zend_label zend_label
typedef struct
_zend_try_catch_element 
zend_try_catch_element
typedef struct _zend_property_info zend_property_info
typedef struct _zend_arg_info zend_arg_info
typedef struct
_zend_compiled_variable 
zend_compiled_variable
typedef struct
_zend_internal_function 
zend_internal_function
typedef union _zend_function zend_function
typedef struct _zend_function_state zend_function_state
typedef struct _zend_switch_entry zend_switch_entry
typedef struct _list_llist_element list_llist_element
typedef int(* unary_op_type )(zval *, zval *TSRMLS_DC)
typedef int(* binary_op_type )(zval *, zval *, zval *TSRMLS_DC)
typedef zend_bool(* zend_auto_global_callback )(char *name, uint name_len TSRMLS_DC)
typedef struct _zend_auto_global zend_auto_global

Functions

typedef int (ZEND_FASTCALL *opcode_handler_t)(ZEND_OPCODE_HANDLER_ARGS)
char * zend_visibility_string (zend_uint fn_flags)
void init_compiler (TSRMLS_D)
void shutdown_compiler (TSRMLS_D)
void zend_init_compiler_data_structures (TSRMLS_D)
ZEND_API int lex_scan (zval *zendlval TSRMLS_DC)
void startup_scanner (TSRMLS_D)
void shutdown_scanner (TSRMLS_D)
ZEND_API char * zend_set_compiled_filename (const char *new_compiled_filename TSRMLS_DC)
ZEND_API void zend_restore_compiled_filename (char *original_compiled_filename TSRMLS_DC)
ZEND_API char * zend_get_compiled_filename (TSRMLS_D)
ZEND_API int zend_get_compiled_lineno (TSRMLS_D)
ZEND_API size_t zend_get_scanned_file_offset (TSRMLS_D)
void zend_resolve_non_class_name (znode *element_name, zend_bool check_namespace TSRMLS_DC)
void zend_resolve_class_name (znode *class_name, ulong *fetch_type, int check_ns_name TSRMLS_DC)
ZEND_API char * zend_get_compiled_variable_name (const zend_op_array *op_array, zend_uint var, int *name_len)
void zend_do_binary_op (zend_uchar op, znode *result, const znode *op1, const znode *op2 TSRMLS_DC)
void zend_do_unary_op (zend_uchar op, znode *result, const znode *op1 TSRMLS_DC)
void zend_do_binary_assign_op (zend_uchar op, znode *result, const znode *op1, const znode *op2 TSRMLS_DC)
void zend_do_assign (znode *result, znode *variable, const znode *value TSRMLS_DC)
void zend_do_assign_ref (znode *result, const znode *lvar, const znode *rvar TSRMLS_DC)
void fetch_simple_variable (znode *result, znode *varname, int bp TSRMLS_DC)
void fetch_simple_variable_ex (znode *result, znode *varname, int bp, zend_uchar op TSRMLS_DC)
void zend_do_indirect_references (znode *result, const znode *num_references, znode *variable TSRMLS_DC)
void zend_do_fetch_static_variable (znode *varname, const znode *static_assignment, int fetch_type TSRMLS_DC)
void zend_do_fetch_global_variable (znode *varname, const znode *static_assignment, int fetch_type TSRMLS_DC)
void fetch_array_begin (znode *result, znode *varname, znode *first_dim TSRMLS_DC)
void fetch_array_dim (znode *result, const znode *parent, const znode *dim TSRMLS_DC)
void fetch_string_offset (znode *result, const znode *parent, const znode *offset TSRMLS_DC)
void zend_do_fetch_static_member (znode *result, znode *class_znode TSRMLS_DC)
void zend_do_print (znode *result, const znode *arg TSRMLS_DC)
void zend_do_echo (const znode *arg TSRMLS_DC)
ZEND_API unary_op_type get_unary_op (int opcode)
ZEND_API binary_op_type get_binary_op (int opcode)
void zend_do_while_cond (const znode *expr, znode *close_bracket_token TSRMLS_DC)
void zend_do_while_end (const znode *while_token, const znode *close_bracket_token TSRMLS_DC)
void zend_do_do_while_begin (TSRMLS_D)
void zend_do_do_while_end (const znode *do_token, const znode *expr_open_bracket, const znode *expr TSRMLS_DC)
void zend_do_if_cond (const znode *cond, znode *closing_bracket_token TSRMLS_DC)
void zend_do_if_after_statement (const znode *closing_bracket_token, unsigned char initialize TSRMLS_DC)
void zend_do_if_end (TSRMLS_D)
void zend_do_for_cond (const znode *expr, znode *second_semicolon_token TSRMLS_DC)
void zend_do_for_before_statement (const znode *cond_start, const znode *second_semicolon_token TSRMLS_DC)
void zend_do_for_end (const znode *second_semicolon_token TSRMLS_DC)
void zend_do_pre_incdec (znode *result, const znode *op1, zend_uchar op TSRMLS_DC)
void zend_do_post_incdec (znode *result, const znode *op1, zend_uchar op TSRMLS_DC)
void zend_do_begin_variable_parse (TSRMLS_D)
void zend_do_end_variable_parse (znode *variable, int type, int arg_offset TSRMLS_DC)
void zend_check_writable_variable (const znode *variable)
void zend_do_free (znode *op1 TSRMLS_DC)
void zend_do_add_string (znode *result, const znode *op1, znode *op2 TSRMLS_DC)
void zend_do_add_variable (znode *result, const znode *op1, const znode *op2 TSRMLS_DC)
int zend_do_verify_access_types (const znode *current_access_type, const znode *new_modifier)
void zend_do_begin_function_declaration (znode *function_token, znode *function_name, int is_method, int return_reference, znode *fn_flags_znode TSRMLS_DC)
void zend_do_end_function_declaration (const znode *function_token TSRMLS_DC)
void zend_do_receive_arg (zend_uchar op, const znode *var, const znode *offset, const znode *initialization, znode *class_type, const znode *varname, zend_bool pass_by_reference TSRMLS_DC)
int zend_do_begin_function_call (znode *function_name, zend_bool check_namespace TSRMLS_DC)
void zend_do_begin_method_call (znode *left_bracket TSRMLS_DC)
void zend_do_clone (znode *result, const znode *expr TSRMLS_DC)
void zend_do_begin_dynamic_function_call (znode *function_name, int prefix_len TSRMLS_DC)
void zend_do_fetch_class (znode *result, znode *class_name TSRMLS_DC)
void zend_do_build_full_name (znode *result, znode *prefix, znode *name, int is_class_member TSRMLS_DC)
int zend_do_begin_class_member_function_call (znode *class_name, znode *method_name TSRMLS_DC)
void zend_do_end_function_call (znode *function_name, znode *result, const znode *argument_list, int is_method, int is_dynamic_fcall TSRMLS_DC)
void zend_do_return (znode *expr, int do_end_vparse TSRMLS_DC)
void zend_do_handle_exception (TSRMLS_D)
void zend_do_begin_lambda_function_declaration (znode *result, znode *function_token, int return_reference TSRMLS_DC)
void zend_do_fetch_lexical_variable (znode *varname, zend_bool is_ref TSRMLS_DC)
void zend_do_try (znode *try_token TSRMLS_DC)
void zend_do_begin_catch (znode *try_token, znode *catch_class, const znode *catch_var, znode *first_catch TSRMLS_DC)
void zend_do_end_catch (const znode *try_token TSRMLS_DC)
void zend_do_throw (const znode *expr TSRMLS_DC)
ZEND_API int do_bind_function (zend_op *opline, HashTable *function_table, zend_bool compile_time)
ZEND_API zend_class_entry * do_bind_class (const zend_op *opline, HashTable *class_table, zend_bool compile_time TSRMLS_DC)
ZEND_API zend_class_entry * do_bind_inherited_class (const zend_op *opline, HashTable *class_table, zend_class_entry *parent_ce, zend_bool compile_time TSRMLS_DC)
ZEND_API void zend_do_inherit_interfaces (zend_class_entry *ce, const zend_class_entry *iface TSRMLS_DC)
ZEND_API void zend_do_implement_interface (zend_class_entry *ce, zend_class_entry *iface TSRMLS_DC)
void zend_do_implements_interface (znode *interface_znode TSRMLS_DC)
ZEND_API void zend_do_inheritance (zend_class_entry *ce, zend_class_entry *parent_ce TSRMLS_DC)
void zend_do_early_binding (TSRMLS_D)
ZEND_API void zend_do_delayed_early_binding (const zend_op_array *op_array TSRMLS_DC)
void zend_do_pass_param (znode *param, zend_uchar op, int offset TSRMLS_DC)
void zend_do_boolean_or_begin (znode *expr1, znode *op_token TSRMLS_DC)
void zend_do_boolean_or_end (znode *result, const znode *expr1, const znode *expr2, znode *op_token TSRMLS_DC)
void zend_do_boolean_and_begin (znode *expr1, znode *op_token TSRMLS_DC)
void zend_do_boolean_and_end (znode *result, const znode *expr1, const znode *expr2, const znode *op_token TSRMLS_DC)
void zend_do_brk_cont (zend_uchar op, const znode *expr TSRMLS_DC)
void zend_do_switch_cond (const znode *cond TSRMLS_DC)
void zend_do_switch_end (const znode *case_list TSRMLS_DC)
void zend_do_case_before_statement (const znode *case_list, znode *case_token, const znode *case_expr TSRMLS_DC)
void zend_do_case_after_statement (znode *result, const znode *case_token TSRMLS_DC)
void zend_do_default_before_statement (const znode *case_list, znode *default_token TSRMLS_DC)
void zend_do_begin_class_declaration (const znode *class_token, znode *class_name, const znode *parent_class_name TSRMLS_DC)
void zend_do_end_class_declaration (const znode *class_token, const znode *parent_token TSRMLS_DC)
void zend_do_declare_property (const znode *var_name, const znode *value, zend_uint access_type TSRMLS_DC)
void zend_do_declare_implicit_property (TSRMLS_D)
void zend_do_declare_class_constant (znode *var_name, const znode *value TSRMLS_DC)
void zend_do_fetch_property (znode *result, znode *object, const znode *property TSRMLS_DC)
void zend_do_halt_compiler_register (TSRMLS_D)
void zend_do_push_object (const znode *object TSRMLS_DC)
void zend_do_pop_object (znode *object TSRMLS_DC)
void zend_do_begin_new_object (znode *new_token, znode *class_type TSRMLS_DC)
void zend_do_end_new_object (znode *result, const znode *new_token, const znode *argument_list TSRMLS_DC)
void zend_do_fetch_constant (znode *result, znode *constant_container, znode *constant_name, int mode, zend_bool check_namespace TSRMLS_DC)
void zend_do_shell_exec (znode *result, const znode *cmd TSRMLS_DC)
void zend_do_init_array (znode *result, const znode *expr, const znode *offset, zend_bool is_ref TSRMLS_DC)
void zend_do_add_array_element (znode *result, const znode *expr, const znode *offset, zend_bool is_ref TSRMLS_DC)
void zend_do_add_static_array_element (znode *result, znode *offset, const znode *expr)
void zend_do_list_init (TSRMLS_D)
void zend_do_list_end (znode *result, znode *expr TSRMLS_DC)
void zend_do_add_list_element (const znode *element TSRMLS_DC)
void zend_do_new_list_begin (TSRMLS_D)
void zend_do_new_list_end (TSRMLS_D)
void zend_do_cast (znode *result, const znode *expr, int type TSRMLS_DC)
void zend_do_include_or_eval (int type, znode *result, const znode *op1 TSRMLS_DC)
void zend_do_unset (const znode *variable TSRMLS_DC)
void zend_do_isset_or_isempty (int type, znode *result, znode *variable TSRMLS_DC)
void zend_do_instanceof (znode *result, const znode *expr, const znode *class_znode, int type TSRMLS_DC)
void zend_do_foreach_begin (znode *foreach_token, znode *open_brackets_token, znode *array, znode *as_token, int variable TSRMLS_DC)
void zend_do_foreach_cont (znode *foreach_token, const znode *open_brackets_token, const znode *as_token, znode *value, znode *key TSRMLS_DC)
void zend_do_foreach_end (const znode *foreach_token, const znode *as_token TSRMLS_DC)
void zend_do_declare_begin (TSRMLS_D)
void zend_do_declare_stmt (znode *var, znode *val TSRMLS_DC)
void zend_do_declare_end (const znode *declare_token TSRMLS_DC)
void zend_do_exit (znode *result, const znode *message TSRMLS_DC)
void zend_do_begin_silence (znode *strudel_token TSRMLS_DC)
void zend_do_end_silence (const znode *strudel_token TSRMLS_DC)
void zend_do_jmp_set (const znode *value, znode *jmp_token, znode *colon_token TSRMLS_DC)
void zend_do_jmp_set_else (znode *result, const znode *false_value, const znode *jmp_token, const znode *colon_token TSRMLS_DC)
void zend_do_begin_qm_op (const znode *cond, znode *qm_token TSRMLS_DC)
void zend_do_qm_true (const znode *true_value, znode *qm_token, znode *colon_token TSRMLS_DC)
void zend_do_qm_false (znode *result, const znode *false_value, const znode *qm_token, const znode *colon_token TSRMLS_DC)
void zend_do_extended_info (TSRMLS_D)
void zend_do_extended_fcall_begin (TSRMLS_D)
void zend_do_extended_fcall_end (TSRMLS_D)
void zend_do_ticks (TSRMLS_D)
void zend_do_abstract_method (const znode *function_name, znode *modifiers, const znode *body TSRMLS_DC)
void zend_do_declare_constant (znode *name, znode *value TSRMLS_DC)
void zend_do_build_namespace_name (znode *result, znode *prefix, znode *name TSRMLS_DC)
void zend_do_begin_namespace (const znode *name, zend_bool with_brackets TSRMLS_DC)
void zend_do_end_namespace (TSRMLS_D)
void zend_verify_namespace (TSRMLS_D)
void zend_do_use (znode *name, znode *new_name, int is_global TSRMLS_DC)
void zend_do_end_compilation (TSRMLS_D)
void zend_do_label (znode *label TSRMLS_DC)
void zend_do_goto (const znode *label TSRMLS_DC)
void zend_resolve_goto_label (zend_op_array *op_array, zend_op *opline, int pass2 TSRMLS_DC)
void zend_release_labels (TSRMLS_D)
ZEND_API void function_add_ref (zend_function *function)
ZEND_API zend_op_array * compile_file (zend_file_handle *file_handle, int type TSRMLS_DC)
ZEND_API zend_op_array * compile_string (zval *source_string, char *filename TSRMLS_DC)
ZEND_API zend_op_array * compile_filename (int type, zval *filename TSRMLS_DC)
ZEND_API int zend_execute_scripts (int type TSRMLS_DC, zval **retval, int file_count,...)
ZEND_API int open_file_for_scanning (zend_file_handle *file_handle TSRMLS_DC)
ZEND_API void init_op_array (zend_op_array *op_array, zend_uchar type, int initial_ops_size TSRMLS_DC)
ZEND_API void destroy_op_array (zend_op_array *op_array TSRMLS_DC)
ZEND_API void zend_destroy_file_handle (zend_file_handle *file_handle TSRMLS_DC)
ZEND_API int zend_cleanup_class_data (zend_class_entry **pce TSRMLS_DC)
ZEND_API int zend_cleanup_function_data (zend_function *function TSRMLS_DC)
ZEND_API int zend_cleanup_function_data_full (zend_function *function TSRMLS_DC)
ZEND_API void destroy_zend_function (zend_function *function TSRMLS_DC)
ZEND_API void zend_function_dtor (zend_function *function)
ZEND_API void destroy_zend_class (zend_class_entry **pce)
void zend_class_add_ref (zend_class_entry **ce)
ZEND_API void zend_mangle_property_name (char **dest, int *dest_length, const char *src1, int src1_length, const char *src2, int src2_length, int internal)
ZEND_API int zend_unmangle_property_name (char *mangled_property, int mangled_property_len, char **prop_name, char **class_name)
zend_op * get_next_op (zend_op_array *op_array TSRMLS_DC)
void init_op (zend_op *op TSRMLS_DC)
int get_next_op_number (zend_op_array *op_array)
int print_class (zend_class_entry *class_entry TSRMLS_DC)
void print_op_array (zend_op_array *op_array, int optimizations)
ZEND_API int pass_two (zend_op_array *op_array TSRMLS_DC)
zend_brk_cont_elementget_next_brk_cont_element (zend_op_array *op_array)
void zend_do_first_catch (znode *open_parentheses TSRMLS_DC)
void zend_initialize_try_catch_element (const znode *try_token TSRMLS_DC)
void zend_do_mark_last_catch (const znode *first_catch, const znode *last_additional_catch TSRMLS_DC)
ZEND_API zend_bool zend_is_compiling (TSRMLS_D)
ZEND_API char * zend_make_compiled_string_description (const char *name TSRMLS_DC)
ZEND_API void zend_initialize_class_data (zend_class_entry *ce, zend_bool nullify_handlers TSRMLS_DC)
int zend_get_class_fetch_type (const char *class_name, uint class_name_len)
void zend_auto_global_dtor (zend_auto_global *auto_global)
ZEND_API int zend_register_auto_global (const char *name, uint name_len, zend_auto_global_callback auto_global_callback TSRMLS_DC)
ZEND_API zend_bool zend_is_auto_global (const char *name, uint name_len TSRMLS_DC)
ZEND_API int zend_auto_global_disable_jit (const char *varname, zend_uint varname_length TSRMLS_DC)
ZEND_API size_t zend_dirname (char *path, size_t len)
int zendlex (znode *zendlval TSRMLS_DC)

Variables

ZEND_API opcode_handler_t * zend_opcode_handlers
ZEND_API zend_op_array *(* zend_compile_file )(zend_file_handle *file_handle, int type TSRMLS_DC)
ZEND_API zend_op_array *(* zend_compile_string )(zval *source_string, char *filename TSRMLS_DC)

Class Documentation

struct _znode

Definition at line 56 of file zend_compile.h.

Class Members
int op_type
union _znode u
struct _zend_op

Definition at line 82 of file zend_compile.h.

Collaboration diagram for _zend_op:
Class Members
ulong extended_value
opcode_handler_t handler
uint lineno
znode op1
znode op2
zend_uchar opcode
znode result
struct _zend_brk_cont_element

Definition at line 93 of file zend_compile.h.

Class Members
int brk
int cont
int parent
int start
struct _zend_label

Definition at line 100 of file zend_compile.h.

Class Members
int brk_cont
zend_uint opline_num
struct _zend_try_catch_element

Definition at line 105 of file zend_compile.h.

Class Members
zend_uint catch_op
zend_uint try_op
struct _zend_property_info

Definition at line 163 of file zend_compile.h.

Class Members
zend_class_entry * ce
char * doc_comment
int doc_comment_len
zend_uint flags
ulong h
char * name
int name_length
struct _zend_arg_info

Definition at line 174 of file zend_compile.h.

Class Members
zend_bool allow_null
zend_bool array_type_hint
const char * class_name
zend_uint class_name_len
const char * name
zend_uint name_len
zend_bool pass_by_reference
int required_num_args
zend_bool return_reference
struct _zend_compiled_variable

Definition at line 186 of file zend_compile.h.

Class Members
ulong hash_value
char * name
int name_len
struct _zend_op_array

Definition at line 192 of file zend_compile.h.

Collaboration diagram for _zend_op_array:
Class Members
zend_arg_info * arg_info
int backpatch_count
zend_brk_cont_element * brk_cont_array
int current_brk_cont
char * doc_comment
zend_uint doc_comment_len
zend_bool done_pass_two
zend_uint early_binding
char * filename
zend_uint fn_flags
char * function_name
zend_uint last
int last_brk_cont
int last_try_catch
int last_var
zend_uint line_end
zend_uint line_start
zend_uint num_args
zend_op * opcodes
zend_bool pass_rest_by_reference
union _zend_function * prototype
zend_uint * refcount
zend_uint required_num_args
void * reserved
unsigned char return_reference
zend_class_entry * scope
zend_uint size
int size_var
zend_op * start_op
HashTable * static_variables
zend_uint T
zend_uint this_var
zend_try_catch_element * try_catch_array
zend_uchar type
zend_compiled_variable * vars
union _zend_function

Definition at line 267 of file zend_compile.h.

Collaboration diagram for _zend_function:
Class Members
struct _zend_function common
zend_internal_function internal_function
zend_op_array op_array
zend_uchar type
struct _zend_function_state

Definition at line 288 of file zend_compile.h.

Collaboration diagram for _zend_function_state:
Class Members
void ** arguments
zend_function * function
struct _zend_switch_entry

Definition at line 294 of file zend_compile.h.

Collaboration diagram for _zend_switch_entry:
Class Members
znode cond
int control_var
int default_case
struct _list_llist_element

Definition at line 301 of file zend_compile.h.

Collaboration diagram for _list_llist_element:
Class Members
zend_llist dimensions
znode value
znode var
struct _zend_execute_data

Definition at line 309 of file zend_compile.h.

Collaboration diagram for _zend_execute_data:
Class Members
struct _zend_op * call_opline
zend_class_entry * called_scope
zend_class_entry * current_called_scope
zval * current_object
zend_class_entry * current_scope
zval * current_this
zval *** CVs
zend_function * fbc
zend_function_state function_state
zend_bool nested
zval * object
zval * old_error_reporting
zend_op_array * op_array
struct _zend_op * opline
zval ** original_return_value
struct _zend_execute_data * prev_execute_data
HashTable * symbol_table
union _temp_variable * Ts
struct _zend_auto_global

Definition at line 597 of file zend_compile.h.

Class Members
zend_bool armed
zend_auto_global_callback auto_global_callback
char * name
uint name_len
union _znode.u

Definition at line 58 of file zend_compile.h.

Class Members
zval constant
u EA
zend_op * jmp_addr
zend_op_array * op_array
zend_uint opline_num
zend_uint var
struct _znode.u.EA

Definition at line 65 of file zend_compile.h.

Class Members
zend_uint type
zend_uint var
struct _zend_function.common

Definition at line 270 of file zend_compile.h.

Class Members
zend_arg_info * arg_info
zend_uint fn_flags
char * function_name
zend_uint num_args
zend_bool pass_rest_by_reference
union _zend_function * prototype
zend_uint required_num_args
unsigned char return_reference
zend_class_entry * scope
zend_uchar type

Define Documentation

#define ARG_MAY_BE_SENT_BY_REF (   zf,
  arg_num 
)    (ARG_SEND_TYPE(zf, arg_num) == ZEND_SEND_PREFER_REF)

Definition at line 726 of file zend_compile.h.

#define ARG_MUST_BE_SENT_BY_REF (   zf,
  arg_num 
)    (ARG_SEND_TYPE(zf, arg_num) == ZEND_SEND_BY_REF)

Definition at line 720 of file zend_compile.h.

#define ARG_SEND_TYPE (   zf,
  arg_num 
)
Value:
((zf) ?                                                                     \
        ((((zend_function*)(zf))->common.arg_info &&                               \
          arg_num<=((zend_function*)(zf))->common.num_args) ?                      \
         ((zend_function *)(zf))->common.arg_info[arg_num-1].pass_by_reference :   \
         ((zend_function *)(zf))->common.pass_rest_by_reference) :                 \
        ZEND_SEND_BY_VAL)

Definition at line 712 of file zend_compile.h.

#define ARG_SHOULD_BE_SENT_BY_REF (   zf,
  arg_num 
)    (ARG_SEND_TYPE(zf, arg_num) & (ZEND_SEND_BY_REF|ZEND_SEND_PREFER_REF))

Definition at line 723 of file zend_compile.h.

#define BP_VAR_FUNC_ARG   5

Definition at line 664 of file zend_compile.h.

#define BP_VAR_IS   3

Definition at line 662 of file zend_compile.h.

#define BP_VAR_NA   4 /* if not applicable */

Definition at line 663 of file zend_compile.h.

#define BP_VAR_R   0

Definition at line 659 of file zend_compile.h.

#define BP_VAR_RW   2

Definition at line 661 of file zend_compile.h.

#define BP_VAR_UNSET   6

Definition at line 665 of file zend_compile.h.

#define BP_VAR_W   1

Definition at line 660 of file zend_compile.h.

#define DEBUG_ZEND   0

Definition at line 33 of file zend_compile.h.

#define DEC_BPC (   op_array)    if (op_array->fn_flags & ZEND_ACC_INTERACTIVE) { ((op_array)->backpatch_count--); }

Definition at line 40 of file zend_compile.h.

#define DO_TICKS ( )    if (Z_LVAL(CG(declarables).ticks)) { zend_do_ticks(TSRMLS_C); }

Definition at line 42 of file zend_compile.h.

#define EX (   element)    execute_data.element

Definition at line 330 of file zend_compile.h.

#define EXT_TYPE_FREE_ON_RETURN   (2<<0)

Definition at line 340 of file zend_compile.h.

#define EXT_TYPE_UNUSED   (1<<0)

Definition at line 339 of file zend_compile.h.

#define FREE_PNODE (   znode)    zval_dtor(&znode->u.constant);

Definition at line 35 of file zend_compile.h.

#define HANDLE_INTERACTIVE ( )    if (CG(active_op_array)->fn_flags & ZEND_ACC_INTERACTIVE) { execute_new_code(TSRMLS_C); }

Definition at line 41 of file zend_compile.h.

#define INC_BPC (   op_array)    if (op_array->fn_flags & ZEND_ACC_INTERACTIVE) { ((op_array)->backpatch_count++); }

Definition at line 39 of file zend_compile.h.

#define INITIAL_OP_ARRAY_SIZE   64

Definition at line 554 of file zend_compile.h.

#define IS_CONST   (1<<0)

Definition at line 333 of file zend_compile.h.

#define IS_CV   (1<<4) /* Compiled variable */

Definition at line 337 of file zend_compile.h.

#define IS_TMP_VAR   (1<<1)

Definition at line 334 of file zend_compile.h.

#define IS_UNUSED   (1<<3) /* Unused variable */

Definition at line 336 of file zend_compile.h.

#define IS_VAR   (1<<2)

Definition at line 335 of file zend_compile.h.

#define RESET_DOC_COMMENT ( )
Value:
{                              \
        if (CG(doc_comment)) {     \
          efree(CG(doc_comment));  \
          CG(doc_comment) = NULL;  \
        }                          \
        CG(doc_comment_len) = 0;   \
    }

Definition at line 44 of file zend_compile.h.

#define SET_UNUSED (   op)    (op).op_type = IS_UNUSED

Definition at line 37 of file zend_compile.h.

#define ZEND_ACC_ABSTRACT   0x02

Definition at line 113 of file zend_compile.h.

#define ZEND_ACC_ALLOW_STATIC   0x10000

Definition at line 144 of file zend_compile.h.

#define ZEND_ACC_CALL_VIA_HANDLER   0x200000

Definition at line 158 of file zend_compile.h.

#define ZEND_ACC_CHANGED   0x800

Definition at line 135 of file zend_compile.h.

#define ZEND_ACC_CLONE   0x8000

Definition at line 141 of file zend_compile.h.

#define ZEND_ACC_CLOSURE   0x100000

Definition at line 155 of file zend_compile.h.

#define ZEND_ACC_CTOR   0x2000

Definition at line 139 of file zend_compile.h.

#define ZEND_ACC_DEPRECATED   0x40000

Definition at line 150 of file zend_compile.h.

#define ZEND_ACC_DTOR   0x4000

Definition at line 140 of file zend_compile.h.

Definition at line 121 of file zend_compile.h.

#define ZEND_ACC_FINAL   0x04

Definition at line 114 of file zend_compile.h.

#define ZEND_ACC_FINAL_CLASS   0x40

Definition at line 122 of file zend_compile.h.

#define ZEND_ACC_IMPLEMENT_INTERFACES   0x80000

Definition at line 153 of file zend_compile.h.

#define ZEND_ACC_IMPLEMENTED_ABSTRACT   0x08

Definition at line 115 of file zend_compile.h.

Definition at line 120 of file zend_compile.h.

#define ZEND_ACC_IMPLICIT_PUBLIC   0x1000

Definition at line 136 of file zend_compile.h.

#define ZEND_ACC_INTERACTIVE   0x10

Definition at line 126 of file zend_compile.h.

#define ZEND_ACC_INTERFACE   0x80

Definition at line 123 of file zend_compile.h.

Definition at line 133 of file zend_compile.h.

#define ZEND_ACC_PRIVATE   0x400

Definition at line 132 of file zend_compile.h.

#define ZEND_ACC_PROTECTED   0x200

Definition at line 131 of file zend_compile.h.

#define ZEND_ACC_PUBLIC   0x100

Definition at line 130 of file zend_compile.h.

#define ZEND_ACC_SHADOW   0x20000

Definition at line 147 of file zend_compile.h.

#define ZEND_ACC_STATIC   0x01

Definition at line 112 of file zend_compile.h.

#define ZEND_ARG_COMPILE_TIME_BOUND   (1<<1)

Definition at line 704 of file zend_compile.h.

#define ZEND_ARG_SEND_BY_REF   (1<<0)

Definition at line 703 of file zend_compile.h.

#define ZEND_ARG_SEND_FUNCTION   (1<<2)

Definition at line 705 of file zend_compile.h.

#define ZEND_ARG_SEND_SILENT   (1<<3)

Definition at line 706 of file zend_compile.h.

#define ZEND_AUTOLOAD_FUNC_NAME   "__autoload"

Definition at line 748 of file zend_compile.h.

#define ZEND_CALL_FUNC_NAME   "__call"

Definition at line 745 of file zend_compile.h.

#define ZEND_CALLSTATIC_FUNC_NAME   "__callstatic"

Definition at line 746 of file zend_compile.h.

#define ZEND_CLASS_DTOR   (void (*)(void *)) destroy_zend_class

Definition at line 579 of file zend_compile.h.

#define ZEND_CLONE_FUNC_NAME   "__clone"

Definition at line 738 of file zend_compile.h.

Definition at line 774 of file zend_compile.h.

Definition at line 777 of file zend_compile.h.

#define ZEND_COMPILE_DELAYED_BINDING   (1<<4)

Definition at line 768 of file zend_compile.h.

#define ZEND_COMPILE_EXTENDED_INFO   (1<<0)

Definition at line 754 of file zend_compile.h.

#define ZEND_COMPILE_HANDLE_OP_ARRAY   (1<<1)

Definition at line 757 of file zend_compile.h.

Definition at line 765 of file zend_compile.h.

Definition at line 760 of file zend_compile.h.

Definition at line 771 of file zend_compile.h.

#define ZEND_CONSTRUCTOR_FUNC_NAME   "__construct"

Definition at line 739 of file zend_compile.h.

#define ZEND_CT   (1<<0)

Definition at line 688 of file zend_compile.h.

#define ZEND_DESTRUCTOR_FUNC_NAME   "__destruct"

Definition at line 740 of file zend_compile.h.

#define ZEND_EVAL   (1<<0)

Definition at line 677 of file zend_compile.h.

#define ZEND_EVAL_CODE   4

Definition at line 671 of file zend_compile.h.

#define ZEND_FE_FETCH_BYREF   1

Definition at line 695 of file zend_compile.h.

#define ZEND_FE_FETCH_WITH_KEY   2

Definition at line 696 of file zend_compile.h.

#define ZEND_FE_RESET_REFERENCE   2

Definition at line 699 of file zend_compile.h.

#define ZEND_FE_RESET_VARIABLE   1

Definition at line 698 of file zend_compile.h.

#define ZEND_FETCH_ADD_LOCK   0x08000000

Definition at line 692 of file zend_compile.h.

#define ZEND_FETCH_CLASS_AUTO   5

Definition at line 638 of file zend_compile.h.

#define ZEND_FETCH_CLASS_DEFAULT   0

Definition at line 633 of file zend_compile.h.

#define ZEND_FETCH_CLASS_GLOBAL   4

Definition at line 637 of file zend_compile.h.

Definition at line 639 of file zend_compile.h.

#define ZEND_FETCH_CLASS_MAIN   3

Definition at line 636 of file zend_compile.h.

#define ZEND_FETCH_CLASS_MASK   0x0f

Definition at line 641 of file zend_compile.h.

#define ZEND_FETCH_CLASS_NO_AUTOLOAD   0x80

Definition at line 642 of file zend_compile.h.

#define ZEND_FETCH_CLASS_PARENT   2

Definition at line 635 of file zend_compile.h.

#define ZEND_FETCH_CLASS_SELF   1

Definition at line 634 of file zend_compile.h.

#define ZEND_FETCH_CLASS_SILENT   0x0100

Definition at line 643 of file zend_compile.h.

#define ZEND_FETCH_CLASS_STATIC   7

Definition at line 640 of file zend_compile.h.

#define ZEND_FETCH_GLOBAL   0

Definition at line 624 of file zend_compile.h.

#define ZEND_FETCH_GLOBAL_LOCK   4

Definition at line 628 of file zend_compile.h.

#define ZEND_FETCH_LEXICAL   5

Definition at line 629 of file zend_compile.h.

#define ZEND_FETCH_LOCAL   1

Definition at line 625 of file zend_compile.h.

#define ZEND_FETCH_MAKE_REF   0x04000000

Definition at line 693 of file zend_compile.h.

#define ZEND_FETCH_STANDARD   0x00000000

Definition at line 691 of file zend_compile.h.

#define ZEND_FETCH_STATIC   2

Definition at line 626 of file zend_compile.h.

#define ZEND_FETCH_STATIC_MEMBER   3

Definition at line 627 of file zend_compile.h.

#define ZEND_FN_SCOPE_NAME (   function)    ((function) && (function)->common.scope ? (function)->common.scope->name : "")

Definition at line 265 of file zend_compile.h.

#define ZEND_FUNCTION_DTOR   (void (*)(void *)) zend_function_dtor

Definition at line 578 of file zend_compile.h.

#define ZEND_GET_FUNC_NAME   "__get"

Definition at line 741 of file zend_compile.h.

#define ZEND_INCLUDE   (1<<1)

Definition at line 678 of file zend_compile.h.

#define ZEND_INCLUDE_ONCE   (1<<2)

Definition at line 679 of file zend_compile.h.

#define ZEND_INTERNAL_CLASS   1

Definition at line 674 of file zend_compile.h.

#define ZEND_INTERNAL_FUNCTION   1

Definition at line 668 of file zend_compile.h.

#define ZEND_ISEMPTY   (1<<1)

Definition at line 684 of file zend_compile.h.

#define ZEND_ISSET   (1<<0)

Definition at line 683 of file zend_compile.h.

#define ZEND_ISSET_FUNC_NAME   "__isset"

Definition at line 744 of file zend_compile.h.

Definition at line 685 of file zend_compile.h.

#define ZEND_MEMBER_FUNC_CALL   1<<0

Definition at line 701 of file zend_compile.h.

#define ZEND_OP_DATA   137

Definition at line 616 of file zend_compile.h.

#define ZEND_OPCODE_HANDLER_ARGS   zend_execute_data *execute_data TSRMLS_DC

Definition at line 74 of file zend_compile.h.

#define ZEND_OPCODE_HANDLER_ARGS_PASSTHRU   execute_data TSRMLS_CC

Definition at line 75 of file zend_compile.h.

#define ZEND_OVERLOADED_FUNCTION   3

Definition at line 670 of file zend_compile.h.

Definition at line 672 of file zend_compile.h.

#define ZEND_PARSED_FUNCTION_CALL   (1<<3)

Definition at line 649 of file zend_compile.h.

#define ZEND_PARSED_MEMBER   (1<<0)

Definition at line 646 of file zend_compile.h.

#define ZEND_PARSED_METHOD_CALL   (1<<1)

Definition at line 647 of file zend_compile.h.

#define ZEND_PARSED_NEW   (1<<6)

Definition at line 652 of file zend_compile.h.

#define ZEND_PARSED_REFERENCE_VARIABLE   (1<<5)

Definition at line 651 of file zend_compile.h.

#define ZEND_PARSED_STATIC_MEMBER   (1<<2)

Definition at line 648 of file zend_compile.h.

#define ZEND_PARSED_VARIABLE   (1<<4)

Definition at line 650 of file zend_compile.h.

#define ZEND_QUICK_SET   (1<<2)

Definition at line 686 of file zend_compile.h.

#define ZEND_REQUIRE   (1<<3)

Definition at line 680 of file zend_compile.h.

#define ZEND_REQUIRE_ONCE   (1<<4)

Definition at line 681 of file zend_compile.h.

#define ZEND_RETURN_REF   1

Definition at line 730 of file zend_compile.h.

#define ZEND_RETURN_REFERENCE   1

Definition at line 245 of file zend_compile.h.

#define ZEND_RETURN_VAL   0

Definition at line 729 of file zend_compile.h.

#define ZEND_RETURN_VALUE   0

Definition at line 244 of file zend_compile.h.

#define ZEND_RETURNS_FUNCTION   1<<0

Definition at line 733 of file zend_compile.h.

#define ZEND_RETURNS_NEW   1<<1

Definition at line 734 of file zend_compile.h.

#define ZEND_RT   (1<<1)

Definition at line 689 of file zend_compile.h.

#define ZEND_SEND_BY_REF   1

Definition at line 709 of file zend_compile.h.

#define ZEND_SEND_BY_VAL   0

Definition at line 708 of file zend_compile.h.

#define ZEND_SEND_PREFER_REF   2

Definition at line 710 of file zend_compile.h.

#define ZEND_SET_FUNC_NAME   "__set"

Definition at line 742 of file zend_compile.h.

#define ZEND_TOSTRING_FUNC_NAME   "__tostring"

Definition at line 747 of file zend_compile.h.

#define ZEND_UNSET_FUNC_NAME   "__unset"

Definition at line 743 of file zend_compile.h.

#define ZEND_UNSET_REG   0

Definition at line 656 of file zend_compile.h.

#define ZEND_USER_CLASS   2

Definition at line 675 of file zend_compile.h.

#define ZEND_USER_FUNCTION   2

Definition at line 669 of file zend_compile.h.


Typedef Documentation

typedef struct _zend_execute_data

Definition at line 72 of file zend_compile.h.

typedef struct _zend_op

Definition at line 54 of file zend_compile.h.

typedef struct _zend_op_array

Definition at line 53 of file zend_compile.h.

typedef int(* binary_op_type)(zval *, zval *, zval *TSRMLS_DC)

Definition at line 392 of file zend_compile.h.

typedef int(* unary_op_type)(zval *, zval *TSRMLS_DC)

Definition at line 391 of file zend_compile.h.

Definition at line 77 of file zend_compile.h.

typedef struct _zend_arg_info zend_arg_info
typedef zend_bool(* zend_auto_global_callback)(char *name, uint name_len TSRMLS_DC)

Definition at line 596 of file zend_compile.h.

typedef struct _zend_label zend_label
typedef struct _znode znode

Function Documentation

ZEND_API zend_op_array* compile_file ( zend_file_handle file_handle,
int type  TSRMLS_DC 
)

Definition at line 333 of file zend_language_scanner.c.

{
       zend_lex_state original_lex_state;
       zend_op_array *op_array = (zend_op_array *) emalloc(sizeof(zend_op_array));
       zend_op_array *original_active_op_array = CG(active_op_array);
       zend_op_array *retval=NULL;
       int compiler_result;
       zend_bool compilation_successful=0;
       znode retval_znode;
       zend_bool original_in_compilation = CG(in_compilation);

       retval_znode.op_type = IS_CONST;
       retval_znode.u.constant.type = IS_LONG;
       retval_znode.u.constant.value.lval = 1;
       Z_UNSET_ISREF(retval_znode.u.constant);
       Z_SET_REFCOUNT(retval_znode.u.constant, 1);

       zend_save_lexical_state(&original_lex_state TSRMLS_CC);

       retval = op_array; /* success oriented */

       if (open_file_for_scanning(file_handle TSRMLS_CC)==FAILURE) {
              if (type==ZEND_REQUIRE) {
                     zend_message_dispatcher(ZMSG_FAILED_REQUIRE_FOPEN, file_handle->filename TSRMLS_CC);
                     zend_bailout();
              } else {
                     zend_message_dispatcher(ZMSG_FAILED_INCLUDE_FOPEN, file_handle->filename TSRMLS_CC);
              }
              compilation_successful=0;
       } else {
              init_op_array(op_array, ZEND_USER_FUNCTION, INITIAL_OP_ARRAY_SIZE TSRMLS_CC);
              CG(in_compilation) = 1;
              CG(active_op_array) = op_array;
              compiler_result = zendparse(TSRMLS_C);
              zend_do_return(&retval_znode, 0 TSRMLS_CC);
              CG(in_compilation) = original_in_compilation;
              if (compiler_result==1) { /* parser error */
                     zend_bailout();
              }
              compilation_successful=1;
       }

       if (retval) {
              CG(active_op_array) = original_active_op_array;
              if (compilation_successful) {
                     pass_two(op_array TSRMLS_CC);
                     zend_release_labels(TSRMLS_C);
              } else {
                     efree(op_array);
                     retval = NULL;
              }
       }
       zend_restore_lexical_state(&original_lex_state TSRMLS_CC);
       return retval;
}

Here is the call graph for this function:

Here is the caller graph for this function:

ZEND_API zend_op_array* compile_filename ( int  type,
zval *filename  TSRMLS_DC 
)

Definition at line 390 of file zend_language_scanner.c.

{
       zend_file_handle file_handle;
       zval tmp;
       zend_op_array *retval;
       char *opened_path = NULL;

       if (filename->type != IS_STRING) {
              tmp = *filename;
              zval_copy_ctor(&tmp);
              convert_to_string(&tmp);
              filename = &tmp;
       }
       file_handle.filename = filename->value.str.val;
       file_handle.free_filename = 0;
       file_handle.type = ZEND_HANDLE_FILENAME;
       file_handle.opened_path = NULL;
       file_handle.handle.fp = NULL;

       retval = zend_compile_file(&file_handle, type TSRMLS_CC);
       if (retval && file_handle.handle.stream.handle) {
              int dummy = 1;

              if (!file_handle.opened_path) {
                     file_handle.opened_path = opened_path = estrndup(filename->value.str.val, filename->value.str.len);
              }

              zend_hash_add(&EG(included_files), file_handle.opened_path, strlen(file_handle.opened_path)+1, (void *)&dummy, sizeof(int), NULL);

              if (opened_path) {
                     efree(opened_path);
              }
       }
       zend_destroy_file_handle(&file_handle TSRMLS_CC);

       if (filename==&tmp) {
              zval_dtor(&tmp);
       }
       return retval;
}

Here is the call graph for this function:

Here is the caller graph for this function:

ZEND_API zend_op_array* compile_string ( zval *  source_string,
char *filename  TSRMLS_DC 
)

Definition at line 491 of file zend_language_scanner.c.

{
       zend_lex_state original_lex_state;
       zend_op_array *op_array = (zend_op_array *) emalloc(sizeof(zend_op_array));
       zend_op_array *original_active_op_array = CG(active_op_array);
       zend_op_array *retval;
       zval tmp;
       int compiler_result;
       zend_bool original_in_compilation = CG(in_compilation);

       if (source_string->value.str.len==0) {
              efree(op_array);
              return NULL;
       }

       CG(in_compilation) = 1;

       tmp = *source_string;
       zval_copy_ctor(&tmp);
       convert_to_string(&tmp);
       source_string = &tmp;

       zend_save_lexical_state(&original_lex_state TSRMLS_CC);
       if (zend_prepare_string_for_scanning(source_string, filename TSRMLS_CC)==FAILURE) {
              efree(op_array);
              retval = NULL;
       } else {
              zend_bool orig_interactive = CG(interactive);

              CG(interactive) = 0;
              init_op_array(op_array, ZEND_EVAL_CODE, INITIAL_OP_ARRAY_SIZE TSRMLS_CC);
              CG(interactive) = orig_interactive;
              CG(active_op_array) = op_array;
              BEGIN(ST_IN_SCRIPTING);
              compiler_result = zendparse(TSRMLS_C);

#ifdef ZEND_MULTIBYTE
              if (SCNG(script_org)) {
                     efree(SCNG(script_org));
                     SCNG(script_org) = NULL;
              }
              if (SCNG(script_filtered)) {
                     efree(SCNG(script_filtered));
                     SCNG(script_filtered) = NULL;
              }
#endif /* ZEND_MULTIBYTE */

              if (compiler_result==1) {
                     CG(active_op_array) = original_active_op_array;
                     CG(unclean_shutdown)=1;
                     destroy_op_array(op_array TSRMLS_CC);
                     efree(op_array);
                     retval = NULL;
              } else {
                     zend_do_return(NULL, 0 TSRMLS_CC);
                     CG(active_op_array) = original_active_op_array;
                     pass_two(op_array TSRMLS_CC);
                     zend_release_labels(TSRMLS_C);
                     retval = op_array;
              }
       }
       zend_restore_lexical_state(&original_lex_state TSRMLS_CC);
       zval_dtor(&tmp);
       CG(in_compilation) = original_in_compilation;
       return retval;
}

Here is the call graph for this function:

Here is the caller graph for this function:

ZEND_API void destroy_op_array ( zend_op_array *op_array  TSRMLS_DC)

Definition at line 224 of file zend_opcode.c.

{
       zend_op *opline = op_array->opcodes;
       zend_op *end = op_array->opcodes+op_array->last;
       zend_uint i;

       if (op_array->static_variables) {
              zend_hash_destroy(op_array->static_variables);
              FREE_HASHTABLE(op_array->static_variables);
       }

       if (--(*op_array->refcount)>0) {
              return;
       }

       efree(op_array->refcount);

       if (op_array->vars) {
              i = op_array->last_var;
              while (i > 0) {
                     i--;
                     efree(op_array->vars[i].name);
              }
              efree(op_array->vars);
       }

       while (opline<end) {
              if (opline->op1.op_type==IS_CONST) {
#if DEBUG_ZEND>2
                     printf("Reducing refcount for %x 1=>0 (destroying)\n", &opline->op1.u.constant);
#endif
                     zval_dtor(&opline->op1.u.constant);
              }
              if (opline->op2.op_type==IS_CONST) {
#if DEBUG_ZEND>2
                     printf("Reducing refcount for %x 1=>0 (destroying)\n", &opline->op2.u.constant);
#endif
                     zval_dtor(&opline->op2.u.constant);
              }
              opline++;
       }
       efree(op_array->opcodes);

       if (op_array->function_name) {
              efree(op_array->function_name);
       }
       if (op_array->doc_comment) {
              efree(op_array->doc_comment);
       }
       if (op_array->brk_cont_array) {
              efree(op_array->brk_cont_array);
       }
       if (op_array->try_catch_array) {
              efree(op_array->try_catch_array);
       }
       if (op_array->done_pass_two) {
              zend_llist_apply_with_argument(&zend_extensions, (llist_apply_with_arg_func_t) zend_extension_op_array_dtor_handler, op_array TSRMLS_CC);
       }
       if (op_array->arg_info) {
              for (i=0; i<op_array->num_args; i++) {
                     efree((char*)op_array->arg_info[i].name);
                     if (op_array->arg_info[i].class_name) {
                            efree((char*)op_array->arg_info[i].class_name);
                     }
              }
              efree(op_array->arg_info);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

ZEND_API void destroy_zend_class ( zend_class_entry **  pce)

Definition at line 178 of file zend_opcode.c.

{
       zend_class_entry *ce = *pce;
       
       if (--ce->refcount > 0) {
              return;
       }
       switch (ce->type) {
              case ZEND_USER_CLASS:
                     zend_hash_destroy(&ce->default_properties);
                     zend_hash_destroy(&ce->properties_info);
                     zend_hash_destroy(&ce->default_static_members);
                     efree(ce->name);
                     zend_hash_destroy(&ce->function_table);
                     zend_hash_destroy(&ce->constants_table);
                     if (ce->num_interfaces > 0 && ce->interfaces) {
                            efree(ce->interfaces);
                     }
                     if (ce->doc_comment) {
                            efree(ce->doc_comment);
                     }
                     efree(ce);
                     break;
              case ZEND_INTERNAL_CLASS:
                     zend_hash_destroy(&ce->default_properties);
                     zend_hash_destroy(&ce->properties_info);
                     zend_hash_destroy(&ce->default_static_members);
                     free(ce->name);
                     zend_hash_destroy(&ce->function_table);
                     zend_hash_destroy(&ce->constants_table);
                     if (ce->num_interfaces > 0) {
                            free(ce->interfaces);
                     }
                     if (ce->doc_comment) {
                            free(ce->doc_comment);
                     }
                     free(ce);
                     break;
       }
}

Here is the call graph for this function:

ZEND_API void destroy_zend_function ( zend_function *function  TSRMLS_DC)

Definition at line 111 of file zend_opcode.c.

{
       switch (function->type) {
              case ZEND_USER_FUNCTION:
                     destroy_op_array((zend_op_array *) function TSRMLS_CC);
                     break;
              case ZEND_INTERNAL_FUNCTION:
                     /* do nothing */
                     break;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

ZEND_API zend_class_entry* do_bind_class ( const zend_op *  opline,
HashTable class_table,
zend_bool compile_time  TSRMLS_DC 
)

Definition at line 2980 of file zend_compile.c.

{
       zend_class_entry *ce, **pce;

       if (zend_hash_find(class_table, opline->op1.u.constant.value.str.val, opline->op1.u.constant.value.str.len, (void **) &pce)==FAILURE) {
              zend_error(E_COMPILE_ERROR, "Internal Zend error - Missing class information for %s", opline->op1.u.constant.value.str.val);
              return NULL;
       } else {
              ce = *pce;
       }
       ce->refcount++;
       if (zend_hash_add(class_table, opline->op2.u.constant.value.str.val, opline->op2.u.constant.value.str.len+1, &ce, sizeof(zend_class_entry *), NULL)==FAILURE) {
              ce->refcount--;
              if (!compile_time) {
                     /* If we're in compile time, in practice, it's quite possible
                      * that we'll never reach this class declaration at runtime,
                      * so we shut up about it.  This allows the if (!defined('FOO')) { return; }
                      * approach to work.
                      */
                     zend_error(E_COMPILE_ERROR, "Cannot redeclare class %s", ce->name);
              }
              return NULL;
       } else {
              if (!(ce->ce_flags & (ZEND_ACC_INTERFACE|ZEND_ACC_IMPLEMENT_INTERFACES))) {
                     zend_verify_abstract_class(ce TSRMLS_CC);
              }
              return ce;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

ZEND_API int do_bind_function ( zend_op *  opline,
HashTable function_table,
zend_bool  compile_time 
)

Definition at line 2952 of file zend_compile.c.

{
       zend_function *function;

       zend_hash_find(function_table, opline->op1.u.constant.value.str.val, opline->op1.u.constant.value.str.len, (void *) &function);
       if (zend_hash_add(function_table, opline->op2.u.constant.value.str.val, opline->op2.u.constant.value.str.len+1, function, sizeof(zend_function), NULL)==FAILURE) {
              int error_level = compile_time ? E_COMPILE_ERROR : E_ERROR;
              zend_function *old_function;

              if (zend_hash_find(function_table, opline->op2.u.constant.value.str.val, opline->op2.u.constant.value.str.len+1, (void *) &old_function)==SUCCESS
                     && old_function->type == ZEND_USER_FUNCTION
                     && old_function->op_array.last > 0) {
                     zend_error(error_level, "Cannot redeclare %s() (previously declared in %s:%d)",
                                          function->common.function_name,
                                          old_function->op_array.filename,
                                          old_function->op_array.opcodes[0].lineno);
              } else {
                     zend_error(error_level, "Cannot redeclare %s()", function->common.function_name);
              }
              return FAILURE;
       } else {
              (*function->op_array.refcount)++;
              function->op_array.static_variables = NULL; /* NULL out the unbound function */
              return SUCCESS;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

ZEND_API zend_class_entry* do_bind_inherited_class ( const zend_op *  opline,
HashTable class_table,
zend_class_entry *  parent_ce,
zend_bool compile_time  TSRMLS_DC 
)

Definition at line 3011 of file zend_compile.c.

{
       zend_class_entry *ce, **pce;
       int found_ce;

       found_ce = zend_hash_find(class_table, opline->op1.u.constant.value.str.val, opline->op1.u.constant.value.str.len, (void **) &pce);

       if (found_ce == FAILURE) {
              if (!compile_time) {
                     /* If we're in compile time, in practice, it's quite possible
                      * that we'll never reach this class declaration at runtime,
                      * so we shut up about it.  This allows the if (!defined('FOO')) { return; }
                      * approach to work.
                      */
                     zend_error(E_COMPILE_ERROR, "Cannot redeclare class %s", opline->op2.u.constant.value.str.val);
              }
              return NULL;
       } else {
              ce = *pce;
       }

       if (parent_ce->ce_flags & ZEND_ACC_INTERFACE) {
              zend_error(E_COMPILE_ERROR, "Class %s cannot extend from interface %s", ce->name, parent_ce->name);
       }

       zend_do_inheritance(ce, parent_ce TSRMLS_CC);

       ce->refcount++;

       /* Register the derived class */
       if (zend_hash_add(class_table, opline->op2.u.constant.value.str.val, opline->op2.u.constant.value.str.len+1, pce, sizeof(zend_class_entry *), NULL)==FAILURE) {
              zend_error(E_COMPILE_ERROR, "Cannot redeclare class %s", ce->name);
       }
       return ce;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void fetch_array_begin ( znode result,
znode varname,
znode *first_dim  TSRMLS_DC 
)

Definition at line 486 of file zend_compile.c.

{
       fetch_simple_variable(result, varname, 1 TSRMLS_CC);

       fetch_array_dim(result, result, first_dim TSRMLS_CC);
}

Here is the call graph for this function:

void fetch_array_dim ( znode result,
const znode parent,
const znode *dim  TSRMLS_DC 
)

Definition at line 494 of file zend_compile.c.

{
       zend_op opline;
       zend_llist *fetch_list_ptr;

       init_op(&opline TSRMLS_CC);
       opline.opcode = ZEND_FETCH_DIM_W;  /* the backpatching routine assumes W */
       opline.result.op_type = IS_VAR;
       opline.result.u.EA.type = 0;
       opline.result.u.var = get_temporary_variable(CG(active_op_array));
       opline.op1 = *parent;
       opline.op2 = *dim;
       opline.extended_value = ZEND_FETCH_STANDARD;
       *result = opline.result;

       zend_stack_top(&CG(bp_stack), (void **) &fetch_list_ptr);
       zend_llist_add_element(fetch_list_ptr, &opline);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void fetch_simple_variable ( znode result,
znode varname,
int bp  TSRMLS_DC 
)

Definition at line 424 of file zend_compile.c.

{
       /* the default mode must be Write, since fetch_simple_variable() is used to define function arguments */
       fetch_simple_variable_ex(result, varname, bp, ZEND_FETCH_W TSRMLS_CC);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void fetch_simple_variable_ex ( znode result,
znode varname,
int  bp,
zend_uchar op  TSRMLS_DC 
)

Definition at line 372 of file zend_compile.c.

{
       zend_op opline;
       zend_op *opline_ptr;
       zend_llist *fetch_list_ptr;

       if (varname->op_type == IS_CONST) {
              if (Z_TYPE(varname->u.constant) != IS_STRING) {
                     convert_to_string(&varname->u.constant);
              }
              if (!zend_is_auto_global(varname->u.constant.value.str.val, varname->u.constant.value.str.len TSRMLS_CC) &&
                  !(varname->u.constant.value.str.len == (sizeof("this")-1) &&
                    !memcmp(varname->u.constant.value.str.val, "this", sizeof("this"))) &&
                  (CG(active_op_array)->last == 0 ||
                   CG(active_op_array)->opcodes[CG(active_op_array)->last-1].opcode != ZEND_BEGIN_SILENCE)) {
                     result->op_type = IS_CV;
                     result->u.var = lookup_cv(CG(active_op_array), varname->u.constant.value.str.val, varname->u.constant.value.str.len);
                     result->u.EA.type = 0;
                     varname->u.constant.value.str.val = CG(active_op_array)->vars[result->u.var].name;
                     return;
              }
       }

       if (bp) {
              opline_ptr = &opline;
              init_op(opline_ptr TSRMLS_CC);
       } else {
              opline_ptr = get_next_op(CG(active_op_array) TSRMLS_CC);
       }

       opline_ptr->opcode = op;
       opline_ptr->result.op_type = IS_VAR;
       opline_ptr->result.u.EA.type = 0;
       opline_ptr->result.u.var = get_temporary_variable(CG(active_op_array));
       opline_ptr->op1 = *varname;
       *result = opline_ptr->result;
       SET_UNUSED(opline_ptr->op2);

       opline_ptr->op2.u.EA.type = ZEND_FETCH_LOCAL;
       if (varname->op_type == IS_CONST && varname->u.constant.type == IS_STRING) {
              if (zend_is_auto_global(varname->u.constant.value.str.val, varname->u.constant.value.str.len TSRMLS_CC)) {
                     opline_ptr->op2.u.EA.type = ZEND_FETCH_GLOBAL;
              }
       }

       if (bp) {
              zend_stack_top(&CG(bp_stack), (void **) &fetch_list_ptr);
              zend_llist_add_element(fetch_list_ptr, opline_ptr);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

void fetch_string_offset ( znode result,
const znode parent,
const znode *offset  TSRMLS_DC 
)

Definition at line 514 of file zend_compile.c.

{
       fetch_array_dim(result, parent, offset TSRMLS_CC);
}

Here is the call graph for this function:

ZEND_API void function_add_ref ( zend_function function)

Definition at line 2400 of file zend_compile.c.

{
       if (function->type == ZEND_USER_FUNCTION) {
              zend_op_array *op_array = &function->op_array;

              (*op_array->refcount)++;
              if (op_array->static_variables) {
                     HashTable *static_variables = op_array->static_variables;
                     zval *tmp_zval;

                     ALLOC_HASHTABLE(op_array->static_variables);
                     zend_hash_init(op_array->static_variables, zend_hash_num_elements(static_variables), NULL, ZVAL_PTR_DTOR, 0);
                     zend_hash_copy(op_array->static_variables, static_variables, (copy_ctor_func_t) zval_add_ref, (void *) &tmp_zval, sizeof(zval *));
              }
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 443 of file zend_opcode.c.

{
       switch (opcode) {
              case ZEND_ADD:
              case ZEND_ASSIGN_ADD:
                     return (binary_op_type) add_function;
                     break;
              case ZEND_SUB:
              case ZEND_ASSIGN_SUB:
                     return (binary_op_type) sub_function;
                     break;
              case ZEND_MUL:
              case ZEND_ASSIGN_MUL:
                     return (binary_op_type) mul_function;
                     break;
              case ZEND_DIV:
              case ZEND_ASSIGN_DIV:
                     return (binary_op_type) div_function;
                     break;
              case ZEND_MOD:
              case ZEND_ASSIGN_MOD:
                     return (binary_op_type) mod_function;
                     break;
              case ZEND_SL:
              case ZEND_ASSIGN_SL:
                     return (binary_op_type) shift_left_function;
                     break;
              case ZEND_SR:
              case ZEND_ASSIGN_SR:
                     return (binary_op_type) shift_right_function;
                     break;
              case ZEND_CONCAT:
              case ZEND_ASSIGN_CONCAT:
                     return (binary_op_type) concat_function;
                     break;
              case ZEND_IS_IDENTICAL:
                     return (binary_op_type) is_identical_function;
                     break;
              case ZEND_IS_NOT_IDENTICAL:
                     return (binary_op_type) is_not_identical_function;
                     break;
              case ZEND_IS_EQUAL:
                     return (binary_op_type) is_equal_function;
                     break;
              case ZEND_IS_NOT_EQUAL:
                     return (binary_op_type) is_not_equal_function;
                     break;
              case ZEND_IS_SMALLER:
                     return (binary_op_type) is_smaller_function;
                     break;
              case ZEND_IS_SMALLER_OR_EQUAL:
                     return (binary_op_type) is_smaller_or_equal_function;
                     break;
              case ZEND_BW_OR:
              case ZEND_ASSIGN_BW_OR:
                     return (binary_op_type) bitwise_or_function;
                     break;
              case ZEND_BW_AND:
              case ZEND_ASSIGN_BW_AND:
                     return (binary_op_type) bitwise_and_function;
                     break;
              case ZEND_BW_XOR:
              case ZEND_ASSIGN_BW_XOR:
                     return (binary_op_type) bitwise_xor_function;
                     break;
              case ZEND_BOOL_XOR:
                     return (binary_op_type) boolean_xor_function;
                     break;
              default:
                     return (binary_op_type) NULL;
                     break;
       }
}

Here is the call graph for this function:

zend_brk_cont_element* get_next_brk_cont_element ( zend_op_array *  op_array)

Definition at line 328 of file zend_opcode.c.

{
       op_array->last_brk_cont++;
       op_array->brk_cont_array = erealloc(op_array->brk_cont_array, sizeof(zend_brk_cont_element)*op_array->last_brk_cont);
       return &op_array->brk_cont_array[op_array->last_brk_cont-1];
}

Here is the caller graph for this function:

zend_op* get_next_op ( zend_op_array *op_array  TSRMLS_DC)

Definition at line 300 of file zend_opcode.c.

{
       zend_uint next_op_num = op_array->last++;
       zend_op *next_op;

       if (next_op_num >= op_array->size) {
              if (op_array->fn_flags & ZEND_ACC_INTERACTIVE) {
                     /* we messed up */
                     zend_printf("Ran out of opcode space!\n"
                                          "You should probably consider writing this huge script into a file!\n");
                     zend_bailout();
              }
              op_array->size *= 4;
              op_array_alloc_ops(op_array);
       }
       
       next_op = &(op_array->opcodes[next_op_num]);
       
       init_op(next_op TSRMLS_CC);

       return next_op;
}

Here is the call graph for this function:

int get_next_op_number ( zend_op_array *  op_array)

Definition at line 323 of file zend_opcode.c.

{
       return op_array->last;
}

Definition at line 428 of file zend_opcode.c.

{
       switch (opcode) {
              case ZEND_BW_NOT:
                     return (unary_op_type) bitwise_not_function;
                     break;
              case ZEND_BOOL_NOT:
                     return (unary_op_type) boolean_not_function;
                     break;
              default:
                     return (unary_op_type) NULL;
                     break;
       }
}

Here is the call graph for this function:

void init_compiler ( TSRMLS_D  )

Definition at line 179 of file zend_compile.c.

{
       CG(active_op_array) = NULL;
       zend_init_compiler_data_structures(TSRMLS_C);
       zend_init_rsrc_list(TSRMLS_C);
       zend_hash_init(&CG(filenames_table), 5, NULL, (dtor_func_t) free_estring, 0);
       zend_llist_init(&CG(open_files), sizeof(zend_file_handle), (void (*)(void *)) file_handle_dtor, 0);
       CG(unclean_shutdown) = 0;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void init_op ( zend_op *op  TSRMLS_DC)

Definition at line 293 of file zend_opcode.c.

{
       memset(op, 0, sizeof(zend_op));
       op->lineno = CG(zend_lineno);
       SET_UNUSED(op->result);
}

Here is the caller graph for this function:

ZEND_API void init_op_array ( zend_op_array *  op_array,
zend_uchar  type,
int initial_ops_size  TSRMLS_DC 
)

Definition at line 51 of file zend_opcode.c.

{
       op_array->type = type;

       op_array->backpatch_count = 0;
       if (CG(interactive)) {
              /* We must avoid a realloc() on the op_array in interactive mode, since pointers to constants
               * will become invalid
               */
              initial_ops_size = 8192;
       }

       op_array->refcount = (zend_uint *) emalloc(sizeof(zend_uint));
       *op_array->refcount = 1;
       op_array->size = initial_ops_size;
       op_array->last = 0;
       op_array->opcodes = NULL;
       op_array_alloc_ops(op_array);

       op_array->size_var = 0; /* FIXME:??? */
       op_array->last_var = 0;
       op_array->vars = NULL;

       op_array->T = 0;

       op_array->function_name = NULL;
       op_array->filename = zend_get_compiled_filename(TSRMLS_C);
       op_array->doc_comment = NULL;
       op_array->doc_comment_len = 0;

       op_array->arg_info = NULL;
       op_array->num_args = 0;
       op_array->required_num_args = 0;

       op_array->scope = NULL;

       op_array->brk_cont_array = NULL;
       op_array->try_catch_array = NULL;
       op_array->last_brk_cont = 0;
       op_array->current_brk_cont = -1;

       op_array->static_variables = NULL;
       op_array->last_try_catch = 0;

       op_array->return_reference = 0;
       op_array->done_pass_two = 0;

       op_array->this_var = -1;

       op_array->start_op = NULL;

       op_array->fn_flags = CG(interactive)?ZEND_ACC_INTERACTIVE:0;

       op_array->early_binding = -1;

       memset(op_array->reserved, 0, ZEND_MAX_RESERVED_RESOURCES * sizeof(void*));

       zend_llist_apply_with_argument(&zend_extensions, (llist_apply_with_arg_func_t) zend_extension_op_array_ctor_handler, op_array TSRMLS_CC);
}

Here is the call graph for this function:

Here is the caller graph for this function:

typedef int ( ZEND_FASTCALL opcode_handler_t)
ZEND_API int lex_scan ( zval *zendlval  TSRMLS_DC)

Definition at line 853 of file zend_language_scanner.c.

{
restart:
       SCNG(yy_text) = YYCURSOR;

yymore_restart:


#line 862 "Zend/zend_language_scanner.c"
{
       YYCTYPE yych;
       unsigned int yyaccept = 0;
       if (YYGETCONDITION() < 5) {
              if (YYGETCONDITION() < 2) {
                     if (YYGETCONDITION() < 1) {
                            goto yyc_ST_IN_SCRIPTING;
                     } else {
                            goto yyc_ST_LOOKING_FOR_PROPERTY;
                     }
              } else {
                     if (YYGETCONDITION() < 3) {
                            goto yyc_ST_BACKQUOTE;
                     } else {
                            if (YYGETCONDITION() < 4) {
                                   goto yyc_ST_DOUBLE_QUOTES;
                            } else {
                                   goto yyc_ST_HEREDOC;
                            }
                     }
              }
       } else {
              if (YYGETCONDITION() < 7) {
                     if (YYGETCONDITION() < 6) {
                            goto yyc_ST_LOOKING_FOR_VARNAME;
                     } else {
                            goto yyc_ST_VAR_OFFSET;
                     }
              } else {
                     if (YYGETCONDITION() < 8) {
                            goto yyc_INITIAL;
                     } else {
                            if (YYGETCONDITION() < 9) {
                                   goto yyc_ST_END_HEREDOC;
                            } else {
                                   goto yyc_ST_NOWDOC;
                            }
                     }
              }
       }
/* *********************************** */
yyc_INITIAL:
       {
              static const unsigned char yybm[] = {
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0, 128, 128,   0,   0, 128,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                     128,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
              };

              YYDEBUG(0, *YYCURSOR);
              YYFILL(8);
              yych = *YYCURSOR;
              if (yych != '<') goto yy4;
              YYDEBUG(2, *YYCURSOR);
              yyaccept = 0;
              yych = *(YYMARKER = ++YYCURSOR);
              if (yych <= '?') {
                     if (yych == '%') goto yy7;
                     if (yych >= '?') goto yy5;
              } else {
                     if (yych <= 'S') {
                            if (yych >= 'S') goto yy9;
                     } else {
                            if (yych == 's') goto yy9;
                     }
              }
yy3:
              YYDEBUG(3, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1586 "Zend/zend_language_scanner.l"
              {
       if (YYCURSOR > YYLIMIT) {
              return 0;
       }

inline_char_handler:

       while (1) {
              YYCTYPE *ptr = memchr(YYCURSOR, '<', YYLIMIT - YYCURSOR);

              YYCURSOR = ptr ? ptr + 1 : YYLIMIT;

              if (YYCURSOR < YYLIMIT) {
                     switch (*YYCURSOR) {
                            case '?':
                                   if (CG(short_tags) || !strncasecmp(YYCURSOR + 1, "php", 3)) { /* Assume [ \t\n\r] follows "php" */
                                          break;
                                   }
                                   continue;
                            case '%':
                                   if (CG(asp_tags)) {
                                          break;
                                   }
                                   continue;
                            case 's':
                            case 'S':
                                   /* Probably NOT an opening PHP <script> tag, so don't end the HTML chunk yet
                                    * If it is, the PHP <script> tag rule checks for any HTML scanned before it */
                                   YYCURSOR--;
                                   yymore();
                            default:
                                   continue;
                     }

                     YYCURSOR--;
              }

              break;
       }

inline_html:
       yyleng = YYCURSOR - SCNG(yy_text);

#ifdef ZEND_MULTIBYTE
       if (SCNG(output_filter)) {
              int readsize;
              size_t sz = 0;
              readsize = SCNG(output_filter)((unsigned char **)&(zendlval->value.str.val), &sz, (unsigned char *)yytext, (size_t)yyleng TSRMLS_CC);
              zendlval->value.str.len = sz;
              if (readsize < yyleng) {
                     yyless(readsize);
              }
       } else {
         zendlval->value.str.val = (char *) estrndup(yytext, yyleng);
         zendlval->value.str.len = yyleng;
       }
#else /* !ZEND_MULTIBYTE */
       zendlval->value.str.val = (char *) estrndup(yytext, yyleng);
       zendlval->value.str.len = yyleng;
#endif
       zendlval->type = IS_STRING;
       HANDLE_NEWLINES(yytext, yyleng);
       return T_INLINE_HTML;
}
#line 1026 "Zend/zend_language_scanner.c"
yy4:
              YYDEBUG(4, *YYCURSOR);
              yych = *++YYCURSOR;
              goto yy3;
yy5:
              YYDEBUG(5, *YYCURSOR);
              yyaccept = 1;
              yych = *(YYMARKER = ++YYCURSOR);
              if (yych <= 'O') {
                     if (yych == '=') goto yy45;
              } else {
                     if (yych <= 'P') goto yy47;
                     if (yych == 'p') goto yy47;
              }
yy6:
              YYDEBUG(6, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1574 "Zend/zend_language_scanner.l"
              {
       if (CG(short_tags)) {
              zendlval->value.str.val = yytext; /* no copying - intentional */
              zendlval->value.str.len = yyleng;
              zendlval->type = IS_STRING;
              BEGIN(ST_IN_SCRIPTING);
              return T_OPEN_TAG;
       } else {
              goto inline_char_handler;
       }
}
#line 1056 "Zend/zend_language_scanner.c"
yy7:
              YYDEBUG(7, *YYCURSOR);
              ++YYCURSOR;
              if ((yych = *YYCURSOR) == '=') goto yy43;
              YYDEBUG(8, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1551 "Zend/zend_language_scanner.l"
              {
       if (CG(asp_tags)) {
              zendlval->value.str.val = yytext; /* no copying - intentional */
              zendlval->value.str.len = yyleng;
              zendlval->type = IS_STRING;
              BEGIN(ST_IN_SCRIPTING);
              return T_OPEN_TAG;
       } else {
              goto inline_char_handler;
       }
}
#line 1075 "Zend/zend_language_scanner.c"
yy9:
              YYDEBUG(9, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'C') goto yy11;
              if (yych == 'c') goto yy11;
yy10:
              YYDEBUG(10, *YYCURSOR);
              YYCURSOR = YYMARKER;
              if (yyaccept <= 0) {
                     goto yy3;
              } else {
                     goto yy6;
              }
yy11:
              YYDEBUG(11, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'R') goto yy12;
              if (yych != 'r') goto yy10;
yy12:
              YYDEBUG(12, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'I') goto yy13;
              if (yych != 'i') goto yy10;
yy13:
              YYDEBUG(13, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'P') goto yy14;
              if (yych != 'p') goto yy10;
yy14:
              YYDEBUG(14, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'T') goto yy15;
              if (yych != 't') goto yy10;
yy15:
              YYDEBUG(15, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'L') goto yy10;
              if (yych == 'l') goto yy10;
              goto yy17;
yy16:
              YYDEBUG(16, *YYCURSOR);
              ++YYCURSOR;
              YYFILL(8);
              yych = *YYCURSOR;
yy17:
              YYDEBUG(17, *YYCURSOR);
              if (yybm[0+yych] & 128) {
                     goto yy16;
              }
              if (yych == 'L') goto yy18;
              if (yych != 'l') goto yy10;
yy18:
              YYDEBUG(18, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'A') goto yy19;
              if (yych != 'a') goto yy10;
yy19:
              YYDEBUG(19, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'N') goto yy20;
              if (yych != 'n') goto yy10;
yy20:
              YYDEBUG(20, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'G') goto yy21;
              if (yych != 'g') goto yy10;
yy21:
              YYDEBUG(21, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'U') goto yy22;
              if (yych != 'u') goto yy10;
yy22:
              YYDEBUG(22, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'A') goto yy23;
              if (yych != 'a') goto yy10;
yy23:
              YYDEBUG(23, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'G') goto yy24;
              if (yych != 'g') goto yy10;
yy24:
              YYDEBUG(24, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'E') goto yy25;
              if (yych != 'e') goto yy10;
yy25:
              YYDEBUG(25, *YYCURSOR);
              ++YYCURSOR;
              YYFILL(1);
              yych = *YYCURSOR;
              YYDEBUG(26, *YYCURSOR);
              if (yych <= '\r') {
                     if (yych <= 0x08) goto yy10;
                     if (yych <= '\n') goto yy25;
                     if (yych <= '\f') goto yy10;
                     goto yy25;
              } else {
                     if (yych <= ' ') {
                            if (yych <= 0x1F) goto yy10;
                            goto yy25;
                     } else {
                            if (yych != '=') goto yy10;
                     }
              }
yy27:
              YYDEBUG(27, *YYCURSOR);
              ++YYCURSOR;
              YYFILL(5);
              yych = *YYCURSOR;
              YYDEBUG(28, *YYCURSOR);
              if (yych <= '!') {
                     if (yych <= '\f') {
                            if (yych <= 0x08) goto yy10;
                            if (yych <= '\n') goto yy27;
                            goto yy10;
                     } else {
                            if (yych <= '\r') goto yy27;
                            if (yych == ' ') goto yy27;
                            goto yy10;
                     }
              } else {
                     if (yych <= 'O') {
                            if (yych <= '"') goto yy30;
                            if (yych == '\'') goto yy31;
                            goto yy10;
                     } else {
                            if (yych <= 'P') goto yy29;
                            if (yych != 'p') goto yy10;
                     }
              }
yy29:
              YYDEBUG(29, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'H') goto yy42;
              if (yych == 'h') goto yy42;
              goto yy10;
yy30:
              YYDEBUG(30, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'P') goto yy39;
              if (yych == 'p') goto yy39;
              goto yy10;
yy31:
              YYDEBUG(31, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'P') goto yy32;
              if (yych != 'p') goto yy10;
yy32:
              YYDEBUG(32, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'H') goto yy33;
              if (yych != 'h') goto yy10;
yy33:
              YYDEBUG(33, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'P') goto yy34;
              if (yych != 'p') goto yy10;
yy34:
              YYDEBUG(34, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych != '\'') goto yy10;
yy35:
              YYDEBUG(35, *YYCURSOR);
              ++YYCURSOR;
              YYFILL(1);
              yych = *YYCURSOR;
              YYDEBUG(36, *YYCURSOR);
              if (yych <= '\r') {
                     if (yych <= 0x08) goto yy10;
                     if (yych <= '\n') goto yy35;
                     if (yych <= '\f') goto yy10;
                     goto yy35;
              } else {
                     if (yych <= ' ') {
                            if (yych <= 0x1F) goto yy10;
                            goto yy35;
                     } else {
                            if (yych != '>') goto yy10;
                     }
              }
              YYDEBUG(37, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(38, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1507 "Zend/zend_language_scanner.l"
              {
       YYCTYPE *bracket = zend_memrchr(yytext, '<', yyleng - (sizeof("script language=php>") - 1));

       if (bracket != SCNG(yy_text)) {
              /* Handle previously scanned HTML, as possible <script> tags found are assumed to not be PHP's */
              YYCURSOR = bracket;
              goto inline_html;
       }

       HANDLE_NEWLINES(yytext, yyleng);
       zendlval->value.str.val = yytext; /* no copying - intentional */
       zendlval->value.str.len = yyleng;
       zendlval->type = IS_STRING;
       BEGIN(ST_IN_SCRIPTING);
       return T_OPEN_TAG;
}
#line 1278 "Zend/zend_language_scanner.c"
yy39:
              YYDEBUG(39, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'H') goto yy40;
              if (yych != 'h') goto yy10;
yy40:
              YYDEBUG(40, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'P') goto yy41;
              if (yych != 'p') goto yy10;
yy41:
              YYDEBUG(41, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == '"') goto yy35;
              goto yy10;
yy42:
              YYDEBUG(42, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'P') goto yy35;
              if (yych == 'p') goto yy35;
              goto yy10;
yy43:
              YYDEBUG(43, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(44, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1525 "Zend/zend_language_scanner.l"
              {
       if (CG(asp_tags)) {
              zendlval->value.str.val = yytext; /* no copying - intentional */
              zendlval->value.str.len = yyleng;
              zendlval->type = IS_STRING;
              BEGIN(ST_IN_SCRIPTING);
              return T_OPEN_TAG_WITH_ECHO;
       } else {
              goto inline_char_handler;
       }
}
#line 1317 "Zend/zend_language_scanner.c"
yy45:
              YYDEBUG(45, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(46, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1538 "Zend/zend_language_scanner.l"
              {
       if (CG(short_tags)) {
              zendlval->value.str.val = yytext; /* no copying - intentional */
              zendlval->value.str.len = yyleng;
              zendlval->type = IS_STRING;
              BEGIN(ST_IN_SCRIPTING);
              return T_OPEN_TAG_WITH_ECHO;
       } else {
              goto inline_char_handler;
       }
}
#line 1335 "Zend/zend_language_scanner.c"
yy47:
              YYDEBUG(47, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'H') goto yy48;
              if (yych != 'h') goto yy10;
yy48:
              YYDEBUG(48, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'P') goto yy49;
              if (yych != 'p') goto yy10;
yy49:
              YYDEBUG(49, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych <= '\f') {
                     if (yych <= 0x08) goto yy10;
                     if (yych >= '\v') goto yy10;
              } else {
                     if (yych <= '\r') goto yy52;
                     if (yych != ' ') goto yy10;
              }
yy50:
              YYDEBUG(50, *YYCURSOR);
              ++YYCURSOR;
yy51:
              YYDEBUG(51, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1564 "Zend/zend_language_scanner.l"
              {
       zendlval->value.str.val = yytext; /* no copying - intentional */
       zendlval->value.str.len = yyleng;
       zendlval->type = IS_STRING;
       HANDLE_NEWLINE(yytext[yyleng-1]);
       BEGIN(ST_IN_SCRIPTING);
       return T_OPEN_TAG;
}
#line 1371 "Zend/zend_language_scanner.c"
yy52:
              YYDEBUG(52, *YYCURSOR);
              ++YYCURSOR;
              if ((yych = *YYCURSOR) == '\n') goto yy50;
              goto yy51;
       }
/* *********************************** */
yyc_ST_BACKQUOTE:
       {
              static const unsigned char yybm[] = {
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128,   0,   0,   0,   0,   0,   0, 
                       0, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128,   0,   0,   0,   0, 128, 
                       0, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128,   0,   0,   0,   0, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
              };
              YYDEBUG(53, *YYCURSOR);
              YYFILL(2);
              yych = *YYCURSOR;
              if (yych <= '_') {
                     if (yych != '$') goto yy60;
              } else {
                     if (yych <= '`') goto yy58;
                     if (yych == '{') goto yy57;
                     goto yy60;
              }
              YYDEBUG(55, *YYCURSOR);
              ++YYCURSOR;
              if ((yych = *YYCURSOR) <= '_') {
                     if (yych <= '@') goto yy56;
                     if (yych <= 'Z') goto yy63;
                     if (yych >= '_') goto yy63;
              } else {
                     if (yych <= 'z') {
                            if (yych >= 'a') goto yy63;
                     } else {
                            if (yych <= '{') goto yy66;
                            if (yych >= 0x7F) goto yy63;
                     }
              }
yy56:
              YYDEBUG(56, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 2044 "Zend/zend_language_scanner.l"
              {
       if (YYCURSOR > YYLIMIT) {
              return 0;
       }
       if (yytext[0] == '\\' && YYCURSOR < YYLIMIT) {
              YYCURSOR++;
       }

       while (YYCURSOR < YYLIMIT) {
              switch (*YYCURSOR++) {
                     case '`':
                            break;
                     case '$':
                            if (IS_LABEL_START(*YYCURSOR) || *YYCURSOR == '{') {
                                   break;
                            }
                            continue;
                     case '{':
                            if (*YYCURSOR == '$') {
                                   break;
                            }
                            continue;
                     case '\\':
                            if (YYCURSOR < YYLIMIT) {
                                   YYCURSOR++;
                            }
                            /* fall through */
                     default:
                            continue;
              }

              YYCURSOR--;
              break;
       }

       yyleng = YYCURSOR - SCNG(yy_text);

       zend_scan_escape_string(zendlval, yytext, yyleng, '`' TSRMLS_CC);
       return T_ENCAPSED_AND_WHITESPACE;
}
#line 1483 "Zend/zend_language_scanner.c"
yy57:
              YYDEBUG(57, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == '$') goto yy61;
              goto yy56;
yy58:
              YYDEBUG(58, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(59, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1988 "Zend/zend_language_scanner.l"
              {
       BEGIN(ST_IN_SCRIPTING);
       return '`';
}
#line 1499 "Zend/zend_language_scanner.c"
yy60:
              YYDEBUG(60, *YYCURSOR);
              yych = *++YYCURSOR;
              goto yy56;
yy61:
              YYDEBUG(61, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(62, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1975 "Zend/zend_language_scanner.l"
              {
       zendlval->value.lval = (long) '{';
       yy_push_state(ST_IN_SCRIPTING TSRMLS_CC);
       yyless(1);
       return T_CURLY_OPEN;
}
#line 1516 "Zend/zend_language_scanner.c"
yy63:
              YYDEBUG(63, *YYCURSOR);
              yyaccept = 0;
              YYMARKER = ++YYCURSOR;
              YYFILL(3);
              yych = *YYCURSOR;
              YYDEBUG(64, *YYCURSOR);
              if (yybm[0+yych] & 128) {
                     goto yy63;
              }
              if (yych == '-') goto yy68;
              if (yych == '[') goto yy70;
yy65:
              YYDEBUG(65, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1673 "Zend/zend_language_scanner.l"
              {
       zend_copy_value(zendlval, (yytext+1), (yyleng-1));
       zendlval->type = IS_STRING;
       return T_VARIABLE;
}
#line 1538 "Zend/zend_language_scanner.c"
yy66:
              YYDEBUG(66, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(67, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1300 "Zend/zend_language_scanner.l"
              {
       yy_push_state(ST_LOOKING_FOR_VARNAME TSRMLS_CC);
       return T_DOLLAR_OPEN_CURLY_BRACES;
}
#line 1549 "Zend/zend_language_scanner.c"
yy68:
              YYDEBUG(68, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == '>') goto yy72;
yy69:
              YYDEBUG(69, *YYCURSOR);
              YYCURSOR = YYMARKER;
              goto yy65;
yy70:
              YYDEBUG(70, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(71, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1665 "Zend/zend_language_scanner.l"
              {
       yyless(yyleng - 1);
       yy_push_state(ST_VAR_OFFSET TSRMLS_CC);
       zend_copy_value(zendlval, (yytext+1), (yyleng-1));
       zendlval->type = IS_STRING;
       return T_VARIABLE;
}
#line 1571 "Zend/zend_language_scanner.c"
yy72:
              YYDEBUG(72, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych <= '_') {
                     if (yych <= '@') goto yy69;
                     if (yych <= 'Z') goto yy73;
                     if (yych <= '^') goto yy69;
              } else {
                     if (yych <= '`') goto yy69;
                     if (yych <= 'z') goto yy73;
                     if (yych <= '~') goto yy69;
              }
yy73:
              YYDEBUG(73, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(74, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1655 "Zend/zend_language_scanner.l"
              {
       yyless(yyleng - 3);
       yy_push_state(ST_LOOKING_FOR_PROPERTY TSRMLS_CC);
       zend_copy_value(zendlval, (yytext+1), (yyleng-1));
       zendlval->type = IS_STRING;
       return T_VARIABLE;
}
#line 1597 "Zend/zend_language_scanner.c"
       }
/* *********************************** */
yyc_ST_DOUBLE_QUOTES:
       {
              static const unsigned char yybm[] = {
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128,   0,   0,   0,   0,   0,   0, 
                       0, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128,   0,   0,   0,   0, 128, 
                       0, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128,   0,   0,   0,   0, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
              };
              YYDEBUG(75, *YYCURSOR);
              YYFILL(2);
              yych = *YYCURSOR;
              if (yych <= '#') {
                     if (yych == '"') goto yy80;
                     goto yy82;
              } else {
                     if (yych <= '$') goto yy77;
                     if (yych == '{') goto yy79;
                     goto yy82;
              }
yy77:
              YYDEBUG(77, *YYCURSOR);
              ++YYCURSOR;
              if ((yych = *YYCURSOR) <= '_') {
                     if (yych <= '@') goto yy78;
                     if (yych <= 'Z') goto yy85;
                     if (yych >= '_') goto yy85;
              } else {
                     if (yych <= 'z') {
                            if (yych >= 'a') goto yy85;
                     } else {
                            if (yych <= '{') goto yy88;
                            if (yych >= 0x7F) goto yy85;
                     }
              }
yy78:
              YYDEBUG(78, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1994 "Zend/zend_language_scanner.l"
              {
       if (GET_DOUBLE_QUOTES_SCANNED_LENGTH()) {
              YYCURSOR += GET_DOUBLE_QUOTES_SCANNED_LENGTH() - 1;
              SET_DOUBLE_QUOTES_SCANNED_LENGTH(0);

              goto double_quotes_scan_done;
       }

       if (YYCURSOR > YYLIMIT) {
              return 0;
       }
       if (yytext[0] == '\\' && YYCURSOR < YYLIMIT) {
              YYCURSOR++;
       }

       while (YYCURSOR < YYLIMIT) {
              switch (*YYCURSOR++) {
                     case '"':
                            break;
                     case '$':
                            if (IS_LABEL_START(*YYCURSOR) || *YYCURSOR == '{') {
                                   break;
                            }
                            continue;
                     case '{':
                            if (*YYCURSOR == '$') {
                                   break;
                            }
                            continue;
                     case '\\':
                            if (YYCURSOR < YYLIMIT) {
                                   YYCURSOR++;
                            }
                            /* fall through */
                     default:
                            continue;
              }

              YYCURSOR--;
              break;
       }

double_quotes_scan_done:
       yyleng = YYCURSOR - SCNG(yy_text);

       zend_scan_escape_string(zendlval, yytext, yyleng, '"' TSRMLS_CC);
       return T_ENCAPSED_AND_WHITESPACE;
}
#line 1714 "Zend/zend_language_scanner.c"
yy79:
              YYDEBUG(79, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == '$') goto yy83;
              goto yy78;
yy80:
              YYDEBUG(80, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(81, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1983 "Zend/zend_language_scanner.l"
              {
       BEGIN(ST_IN_SCRIPTING);
       return '"';
}
#line 1730 "Zend/zend_language_scanner.c"
yy82:
              YYDEBUG(82, *YYCURSOR);
              yych = *++YYCURSOR;
              goto yy78;
yy83:
              YYDEBUG(83, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(84, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1975 "Zend/zend_language_scanner.l"
              {
       zendlval->value.lval = (long) '{';
       yy_push_state(ST_IN_SCRIPTING TSRMLS_CC);
       yyless(1);
       return T_CURLY_OPEN;
}
#line 1747 "Zend/zend_language_scanner.c"
yy85:
              YYDEBUG(85, *YYCURSOR);
              yyaccept = 0;
              YYMARKER = ++YYCURSOR;
              YYFILL(3);
              yych = *YYCURSOR;
              YYDEBUG(86, *YYCURSOR);
              if (yybm[0+yych] & 128) {
                     goto yy85;
              }
              if (yych == '-') goto yy90;
              if (yych == '[') goto yy92;
yy87:
              YYDEBUG(87, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1673 "Zend/zend_language_scanner.l"
              {
       zend_copy_value(zendlval, (yytext+1), (yyleng-1));
       zendlval->type = IS_STRING;
       return T_VARIABLE;
}
#line 1769 "Zend/zend_language_scanner.c"
yy88:
              YYDEBUG(88, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(89, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1300 "Zend/zend_language_scanner.l"
              {
       yy_push_state(ST_LOOKING_FOR_VARNAME TSRMLS_CC);
       return T_DOLLAR_OPEN_CURLY_BRACES;
}
#line 1780 "Zend/zend_language_scanner.c"
yy90:
              YYDEBUG(90, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == '>') goto yy94;
yy91:
              YYDEBUG(91, *YYCURSOR);
              YYCURSOR = YYMARKER;
              goto yy87;
yy92:
              YYDEBUG(92, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(93, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1665 "Zend/zend_language_scanner.l"
              {
       yyless(yyleng - 1);
       yy_push_state(ST_VAR_OFFSET TSRMLS_CC);
       zend_copy_value(zendlval, (yytext+1), (yyleng-1));
       zendlval->type = IS_STRING;
       return T_VARIABLE;
}
#line 1802 "Zend/zend_language_scanner.c"
yy94:
              YYDEBUG(94, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych <= '_') {
                     if (yych <= '@') goto yy91;
                     if (yych <= 'Z') goto yy95;
                     if (yych <= '^') goto yy91;
              } else {
                     if (yych <= '`') goto yy91;
                     if (yych <= 'z') goto yy95;
                     if (yych <= '~') goto yy91;
              }
yy95:
              YYDEBUG(95, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(96, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1655 "Zend/zend_language_scanner.l"
              {
       yyless(yyleng - 3);
       yy_push_state(ST_LOOKING_FOR_PROPERTY TSRMLS_CC);
       zend_copy_value(zendlval, (yytext+1), (yyleng-1));
       zendlval->type = IS_STRING;
       return T_VARIABLE;
}
#line 1828 "Zend/zend_language_scanner.c"
       }
/* *********************************** */
yyc_ST_END_HEREDOC:
       YYDEBUG(97, *YYCURSOR);
       YYFILL(1);
       yych = *YYCURSOR;
       YYDEBUG(99, *YYCURSOR);
       ++YYCURSOR;
       YYDEBUG(100, *YYCURSOR);
       yyleng = YYCURSOR - SCNG(yy_text);
#line 1962 "Zend/zend_language_scanner.l"
       {
       YYCURSOR += CG(heredoc_len) - 1;
       yyleng = CG(heredoc_len);

       Z_STRVAL_P(zendlval) = CG(heredoc);
       Z_STRLEN_P(zendlval) = CG(heredoc_len);
       CG(heredoc) = NULL;
       CG(heredoc_len) = 0;
       BEGIN(ST_IN_SCRIPTING);
       return T_END_HEREDOC;
}
#line 1851 "Zend/zend_language_scanner.c"
/* *********************************** */
yyc_ST_HEREDOC:
       {
              static const unsigned char yybm[] = {
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128,   0,   0,   0,   0,   0,   0, 
                       0, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128,   0,   0,   0,   0, 128, 
                       0, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128,   0,   0,   0,   0, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
                     128, 128, 128, 128, 128, 128, 128, 128, 
              };
              YYDEBUG(101, *YYCURSOR);
              YYFILL(2);
              yych = *YYCURSOR;
              if (yych == '$') goto yy103;
              if (yych == '{') goto yy105;
              goto yy106;
yy103:
              YYDEBUG(103, *YYCURSOR);
              ++YYCURSOR;
              if ((yych = *YYCURSOR) <= '_') {
                     if (yych <= '@') goto yy104;
                     if (yych <= 'Z') goto yy109;
                     if (yych >= '_') goto yy109;
              } else {
                     if (yych <= 'z') {
                            if (yych >= 'a') goto yy109;
                     } else {
                            if (yych <= '{') goto yy112;
                            if (yych >= 0x7F) goto yy109;
                     }
              }
yy104:
              YYDEBUG(104, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 2086 "Zend/zend_language_scanner.l"
              {
       int newline = 0;

       if (YYCURSOR > YYLIMIT) {
              return 0;
       }

       YYCURSOR--;

       while (YYCURSOR < YYLIMIT) {
              switch (*YYCURSOR++) {
                     case '\r':
                            if (*YYCURSOR == '\n') {
                                   YYCURSOR++;
                            }
                            /* fall through */
                     case '\n':
                            /* Check for ending label on the next line */
                            if (IS_LABEL_START(*YYCURSOR) && CG(heredoc_len) < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, CG(heredoc), CG(heredoc_len))) {
                                   YYCTYPE *end = YYCURSOR + CG(heredoc_len);

                                   if (*end == ';') {
                                          end++;
                                   }

                                   if (*end == '\n' || *end == '\r') {
                                          /* newline before label will be subtracted from returned text, but
                                           * yyleng/yytext will include it, for zend_highlight/strip, tokenizer, etc. */
                                          if (YYCURSOR[-2] == '\r' && YYCURSOR[-1] == '\n') {
                                                 newline = 2; /* Windows newline */
                                          } else {
                                                 newline = 1;
                                          }

                                          CG(increment_lineno) = 1; /* For newline before label */
                                          BEGIN(ST_END_HEREDOC);

                                          goto heredoc_scan_done;
                                   }
                            }
                            continue;
                     case '$':
                            if (IS_LABEL_START(*YYCURSOR) || *YYCURSOR == '{') {
                                   break;
                            }
                            continue;
                     case '{':
                            if (*YYCURSOR == '$') {
                                   break;
                            }
                            continue;
                     case '\\':
                            if (YYCURSOR < YYLIMIT && *YYCURSOR != '\n' && *YYCURSOR != '\r') {
                                   YYCURSOR++;
                            }
                            /* fall through */
                     default:
                            continue;
              }

              YYCURSOR--;
              break;
       }

heredoc_scan_done:
       yyleng = YYCURSOR - SCNG(yy_text);

       zend_scan_escape_string(zendlval, yytext, yyleng - newline, 0 TSRMLS_CC);
       return T_ENCAPSED_AND_WHITESPACE;
}
#line 1984 "Zend/zend_language_scanner.c"
yy105:
              YYDEBUG(105, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == '$') goto yy107;
              goto yy104;
yy106:
              YYDEBUG(106, *YYCURSOR);
              yych = *++YYCURSOR;
              goto yy104;
yy107:
              YYDEBUG(107, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(108, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1975 "Zend/zend_language_scanner.l"
              {
       zendlval->value.lval = (long) '{';
       yy_push_state(ST_IN_SCRIPTING TSRMLS_CC);
       yyless(1);
       return T_CURLY_OPEN;
}
#line 2006 "Zend/zend_language_scanner.c"
yy109:
              YYDEBUG(109, *YYCURSOR);
              yyaccept = 0;
              YYMARKER = ++YYCURSOR;
              YYFILL(3);
              yych = *YYCURSOR;
              YYDEBUG(110, *YYCURSOR);
              if (yybm[0+yych] & 128) {
                     goto yy109;
              }
              if (yych == '-') goto yy114;
              if (yych == '[') goto yy116;
yy111:
              YYDEBUG(111, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1673 "Zend/zend_language_scanner.l"
              {
       zend_copy_value(zendlval, (yytext+1), (yyleng-1));
       zendlval->type = IS_STRING;
       return T_VARIABLE;
}
#line 2028 "Zend/zend_language_scanner.c"
yy112:
              YYDEBUG(112, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(113, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1300 "Zend/zend_language_scanner.l"
              {
       yy_push_state(ST_LOOKING_FOR_VARNAME TSRMLS_CC);
       return T_DOLLAR_OPEN_CURLY_BRACES;
}
#line 2039 "Zend/zend_language_scanner.c"
yy114:
              YYDEBUG(114, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == '>') goto yy118;
yy115:
              YYDEBUG(115, *YYCURSOR);
              YYCURSOR = YYMARKER;
              goto yy111;
yy116:
              YYDEBUG(116, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(117, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1665 "Zend/zend_language_scanner.l"
              {
       yyless(yyleng - 1);
       yy_push_state(ST_VAR_OFFSET TSRMLS_CC);
       zend_copy_value(zendlval, (yytext+1), (yyleng-1));
       zendlval->type = IS_STRING;
       return T_VARIABLE;
}
#line 2061 "Zend/zend_language_scanner.c"
yy118:
              YYDEBUG(118, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych <= '_') {
                     if (yych <= '@') goto yy115;
                     if (yych <= 'Z') goto yy119;
                     if (yych <= '^') goto yy115;
              } else {
                     if (yych <= '`') goto yy115;
                     if (yych <= 'z') goto yy119;
                     if (yych <= '~') goto yy115;
              }
yy119:
              YYDEBUG(119, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(120, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1655 "Zend/zend_language_scanner.l"
              {
       yyless(yyleng - 3);
       yy_push_state(ST_LOOKING_FOR_PROPERTY TSRMLS_CC);
       zend_copy_value(zendlval, (yytext+1), (yyleng-1));
       zendlval->type = IS_STRING;
       return T_VARIABLE;
}
#line 2087 "Zend/zend_language_scanner.c"
       }
/* *********************************** */
yyc_ST_IN_SCRIPTING:
       {
              static const unsigned char yybm[] = {
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0, 192,  64,   0,   0,  64,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                     192,   0,   0,   0,   0,   0,   0,   0, 
                       0,   0,   0,   0,   0,   0,   0,   0, 
                      56,  56,  56,  56,  56,  56,  56,  56, 
                      56,  56,   0,   0,   0,   0,   0,   0, 
                       0,  40,  40,  40,  40,  40,  40,   8, 
                       8,   8,   8,   8,   8,   8,   8,   8, 
                       8,   8,   8,   8,   8,   8,   8,   8, 
                       8,   8,   8,   0,   0,   0,   0,   8, 
                       0,  40,  40,  40,  40,  40,  40,   8, 
                       8,   8,   8,   8,   8,   8,   8,   8, 
                       8,   8,   8,   8,   8,   8,   8,   8, 
                       8,   8,   8,   0,   0,   0,   0,   8, 
                       8,   8,   8,   8,   8,   8,   8,   8, 
                       8,   8,   8,   8,   8,   8,   8,   8, 
                       8,   8,   8,   8,   8,   8,   8,   8, 
                       8,   8,   8,   8,   8,   8,   8,   8, 
                       8,   8,   8,   8,   8,   8,   8,   8, 
                       8,   8,   8,   8,   8,   8,   8,   8, 
                       8,   8,   8,   8,   8,   8,   8,   8, 
                       8,   8,   8,   8,   8,   8,   8,   8, 
                       8,   8,   8,   8,   8,   8,   8,   8, 
                       8,   8,   8,   8,   8,   8,   8,   8, 
                       8,   8,   8,   8,   8,   8,   8,   8, 
                       8,   8,   8,   8,   8,   8,   8,   8, 
                       8,   8,   8,   8,   8,   8,   8,   8, 
                       8,   8,   8,   8,   8,   8,   8,   8, 
                       8,   8,   8,   8,   8,   8,   8,   8, 
                       8,   8,   8,   8,   8,   8,   8,   8, 
              };
              YYDEBUG(121, *YYCURSOR);
              YYFILL(16);
              yych = *YYCURSOR;
              YYDEBUG(-1, yych);
              switch (yych) {
              case 0x00:
              case 0x01:
              case 0x02:
              case 0x03:
              case 0x04:
              case 0x05:
              case 0x06:
              case 0x07:
              case 0x08:
              case '\v':
              case '\f':
              case 0x0E:
              case 0x0F:
              case 0x10:
              case 0x11:
              case 0x12:
              case 0x13:
              case 0x14:
              case 0x15:
              case 0x16:
              case 0x17:
              case 0x18:
              case 0x19:
              case 0x1A:
              case 0x1B:
              case 0x1C:
              case 0x1D:
              case 0x1E:
              case 0x1F:    goto yy183;
              case '\t':
              case '\n':
              case '\r':
              case ' ':     goto yy139;
              case '!':     goto yy152;
              case '"':     goto yy179;
              case '#':     goto yy175;
              case '$':     goto yy164;
              case '%':     goto yy158;
              case '&':     goto yy159;
              case '\'':    goto yy177;
              case '(':     goto yy146;
              case ')':
              case ',':
              case ';':
              case '@':
              case '[':
              case ']':
              case '~':     goto yy165;
              case '*':     goto yy155;
              case '+':     goto yy151;
              case '-':     goto yy137;
              case '.':     goto yy157;
              case '/':     goto yy156;
              case '0':     goto yy171;
              case '1':
              case '2':
              case '3':
              case '4':
              case '5':
              case '6':
              case '7':
              case '8':
              case '9':     goto yy173;
              case ':':     goto yy141;
              case '<':     goto yy153;
              case '=':     goto yy149;
              case '>':     goto yy154;
              case '?':     goto yy166;
              case 'A':
              case 'a':     goto yy132;
              case 'B':
              case 'b':     goto yy134;
              case 'C':
              case 'c':     goto yy127;
              case 'D':
              case 'd':     goto yy125;
              case 'E':
              case 'e':     goto yy123;
              case 'F':
              case 'f':     goto yy126;
              case 'G':
              case 'g':     goto yy135;
              case 'I':
              case 'i':     goto yy130;
              case 'L':
              case 'l':     goto yy150;
              case 'N':
              case 'n':     goto yy144;
              case 'O':
              case 'o':     goto yy162;
              case 'P':
              case 'p':     goto yy136;
              case 'R':
              case 'r':     goto yy128;
              case 'S':
              case 's':     goto yy133;
              case 'T':
              case 't':     goto yy129;
              case 'U':
              case 'u':     goto yy147;
              case 'V':
              case 'v':     goto yy145;
              case 'W':
              case 'w':     goto yy131;
              case 'X':
              case 'x':     goto yy163;
              case '\\':    goto yy142;
              case '^':     goto yy161;
              case '_':     goto yy148;
              case '`':     goto yy181;
              case '{':     goto yy167;
              case '|':     goto yy160;
              case '}':     goto yy169;
              default:      goto yy174;
              }
yy123:
              YYDEBUG(123, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(-1, yych);
              switch ((yych = *YYCURSOR)) {
              case 'C':
              case 'c':     goto yy701;
              case 'L':
              case 'l':     goto yy702;
              case 'M':
              case 'm':     goto yy703;
              case 'N':
              case 'n':     goto yy704;
              case 'V':
              case 'v':     goto yy705;
              case 'X':
              case 'x':     goto yy706;
              default:      goto yy186;
              }
yy124:
              YYDEBUG(124, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1696 "Zend/zend_language_scanner.l"
              {
       zend_copy_value(zendlval, yytext, yyleng);
       zendlval->type = IS_STRING;
       return T_STRING;
}
#line 2274 "Zend/zend_language_scanner.c"
yy125:
              YYDEBUG(125, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych <= 'O') {
                     if (yych <= 'H') {
                            if (yych == 'E') goto yy683;
                            goto yy186;
                     } else {
                            if (yych <= 'I') goto yy684;
                            if (yych <= 'N') goto yy186;
                            goto yy685;
                     }
              } else {
                     if (yych <= 'h') {
                            if (yych == 'e') goto yy683;
                            goto yy186;
                     } else {
                            if (yych <= 'i') goto yy684;
                            if (yych == 'o') goto yy685;
                            goto yy186;
                     }
              }
yy126:
              YYDEBUG(126, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych <= 'U') {
                     if (yych <= 'N') {
                            if (yych == 'I') goto yy662;
                            goto yy186;
                     } else {
                            if (yych <= 'O') goto yy663;
                            if (yych <= 'T') goto yy186;
                            goto yy664;
                     }
              } else {
                     if (yych <= 'n') {
                            if (yych == 'i') goto yy662;
                            goto yy186;
                     } else {
                            if (yych <= 'o') goto yy663;
                            if (yych == 'u') goto yy664;
                            goto yy186;
                     }
              }
yy127:
              YYDEBUG(127, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych <= 'O') {
                     if (yych <= 'K') {
                            if (yych == 'A') goto yy634;
                            goto yy186;
                     } else {
                            if (yych <= 'L') goto yy635;
                            if (yych <= 'N') goto yy186;
                            goto yy636;
                     }
              } else {
                     if (yych <= 'k') {
                            if (yych == 'a') goto yy634;
                            goto yy186;
                     } else {
                            if (yych <= 'l') goto yy635;
                            if (yych == 'o') goto yy636;
                            goto yy186;
                     }
              }
yy128:
              YYDEBUG(128, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'E') goto yy616;
              if (yych == 'e') goto yy616;
              goto yy186;
yy129:
              YYDEBUG(129, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych <= 'R') {
                     if (yych == 'H') goto yy608;
                     if (yych <= 'Q') goto yy186;
                     goto yy609;
              } else {
                     if (yych <= 'h') {
                            if (yych <= 'g') goto yy186;
                            goto yy608;
                     } else {
                            if (yych == 'r') goto yy609;
                            goto yy186;
                     }
              }
yy130:
              YYDEBUG(130, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych <= 'S') {
                     if (yych <= 'L') {
                            if (yych == 'F') goto yy561;
                            goto yy186;
                     } else {
                            if (yych <= 'M') goto yy563;
                            if (yych <= 'N') goto yy564;
                            if (yych <= 'R') goto yy186;
                            goto yy565;
                     }
              } else {
                     if (yych <= 'm') {
                            if (yych == 'f') goto yy561;
                            if (yych <= 'l') goto yy186;
                            goto yy563;
                     } else {
                            if (yych <= 'n') goto yy564;
                            if (yych == 's') goto yy565;
                            goto yy186;
                     }
              }
yy131:
              YYDEBUG(131, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'H') goto yy556;
              if (yych == 'h') goto yy556;
              goto yy186;
yy132:
              YYDEBUG(132, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych <= 'S') {
                     if (yych <= 'M') {
                            if (yych == 'B') goto yy538;
                            goto yy186;
                     } else {
                            if (yych <= 'N') goto yy539;
                            if (yych <= 'Q') goto yy186;
                            if (yych <= 'R') goto yy540;
                            goto yy541;
                     }
              } else {
                     if (yych <= 'n') {
                            if (yych == 'b') goto yy538;
                            if (yych <= 'm') goto yy186;
                            goto yy539;
                     } else {
                            if (yych <= 'q') goto yy186;
                            if (yych <= 'r') goto yy540;
                            if (yych <= 's') goto yy541;
                            goto yy186;
                     }
              }
yy133:
              YYDEBUG(133, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych <= 'W') {
                     if (yych == 'T') goto yy526;
                     if (yych <= 'V') goto yy186;
                     goto yy527;
              } else {
                     if (yych <= 't') {
                            if (yych <= 's') goto yy186;
                            goto yy526;
                     } else {
                            if (yych == 'w') goto yy527;
                            goto yy186;
                     }
              }
yy134:
              YYDEBUG(134, *YYCURSOR);
              yyaccept = 0;
              yych = *(YYMARKER = ++YYCURSOR);
              if (yych <= ';') {
                     if (yych <= '"') {
                            if (yych <= '!') goto yy186;
                            goto yy518;
                     } else {
                            if (yych == '\'') goto yy519;
                            goto yy186;
                     }
              } else {
                     if (yych <= 'R') {
                            if (yych <= '<') goto yy517;
                            if (yych <= 'Q') goto yy186;
                            goto yy520;
                     } else {
                            if (yych == 'r') goto yy520;
                            goto yy186;
                     }
              }
yy135:
              YYDEBUG(135, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych <= 'O') {
                     if (yych == 'L') goto yy507;
                     if (yych <= 'N') goto yy186;
                     goto yy508;
              } else {
                     if (yych <= 'l') {
                            if (yych <= 'k') goto yy186;
                            goto yy507;
                     } else {
                            if (yych == 'o') goto yy508;
                            goto yy186;
                     }
              }
yy136:
              YYDEBUG(136, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych <= 'U') {
                     if (yych == 'R') goto yy483;
                     if (yych <= 'T') goto yy186;
                     goto yy484;
              } else {
                     if (yych <= 'r') {
                            if (yych <= 'q') goto yy186;
                            goto yy483;
                     } else {
                            if (yych == 'u') goto yy484;
                            goto yy186;
                     }
              }
yy137:
              YYDEBUG(137, *YYCURSOR);
              ++YYCURSOR;
              if ((yych = *YYCURSOR) <= '<') {
                     if (yych == '-') goto yy479;
              } else {
                     if (yych <= '=') goto yy477;
                     if (yych <= '>') goto yy481;
              }
yy138:
              YYDEBUG(138, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1289 "Zend/zend_language_scanner.l"
              {
       return yytext[0];
}
#line 2504 "Zend/zend_language_scanner.c"
yy139:
              YYDEBUG(139, *YYCURSOR);
              ++YYCURSOR;
              yych = *YYCURSOR;
              goto yy476;
yy140:
              YYDEBUG(140, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1024 "Zend/zend_language_scanner.l"
              {
       zendlval->value.str.val = yytext; /* no copying - intentional */
       zendlval->value.str.len = yyleng;
       zendlval->type = IS_STRING;
       HANDLE_NEWLINES(yytext, yyleng);
       return T_WHITESPACE;
}
#line 2521 "Zend/zend_language_scanner.c"
yy141:
              YYDEBUG(141, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == ':') goto yy473;
              goto yy138;
yy142:
              YYDEBUG(142, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(143, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1053 "Zend/zend_language_scanner.l"
              {
       return T_NS_SEPARATOR;
}
#line 2536 "Zend/zend_language_scanner.c"
yy144:
              YYDEBUG(144, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych <= 'E') {
                     if (yych == 'A') goto yy461;
                     if (yych <= 'D') goto yy186;
                     goto yy462;
              } else {
                     if (yych <= 'a') {
                            if (yych <= '`') goto yy186;
                            goto yy461;
                     } else {
                            if (yych == 'e') goto yy462;
                            goto yy186;
                     }
              }
yy145:
              YYDEBUG(145, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'A') goto yy458;
              if (yych == 'a') goto yy458;
              goto yy186;
yy146:
              YYDEBUG(146, *YYCURSOR);
              yyaccept = 1;
              yych = *(YYMARKER = ++YYCURSOR);
              if (yych <= 'S') {
                     if (yych <= 'D') {
                            if (yych <= ' ') {
                                   if (yych == '\t') goto yy379;
                                   if (yych <= 0x1F) goto yy138;
                                   goto yy379;
                            } else {
                                   if (yych <= '@') goto yy138;
                                   if (yych == 'C') goto yy138;
                                   goto yy379;
                            }
                     } else {
                            if (yych <= 'I') {
                                   if (yych == 'F') goto yy379;
                                   if (yych <= 'H') goto yy138;
                                   goto yy379;
                            } else {
                                   if (yych == 'O') goto yy379;
                                   if (yych <= 'Q') goto yy138;
                                   goto yy379;
                            }
                     }
              } else {
                     if (yych <= 'f') {
                            if (yych <= 'b') {
                                   if (yych == 'U') goto yy379;
                                   if (yych <= '`') goto yy138;
                                   goto yy379;
                            } else {
                                   if (yych == 'd') goto yy379;
                                   if (yych <= 'e') goto yy138;
                                   goto yy379;
                            }
                     } else {
                            if (yych <= 'o') {
                                   if (yych == 'i') goto yy379;
                                   if (yych <= 'n') goto yy138;
                                   goto yy379;
                            } else {
                                   if (yych <= 's') {
                                          if (yych <= 'q') goto yy138;
                                          goto yy379;
                                   } else {
                                          if (yych == 'u') goto yy379;
                                          goto yy138;
                                   }
                            }
                     }
              }
yy147:
              YYDEBUG(147, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych <= 'S') {
                     if (yych == 'N') goto yy370;
                     if (yych <= 'R') goto yy186;
                     goto yy371;
              } else {
                     if (yych <= 'n') {
                            if (yych <= 'm') goto yy186;
                            goto yy370;
                     } else {
                            if (yych == 's') goto yy371;
                            goto yy186;
                     }
              }
yy148:
              YYDEBUG(148, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == '_') goto yy296;
              goto yy186;
yy149:
              YYDEBUG(149, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych <= '<') goto yy138;
              if (yych <= '=') goto yy290;
              if (yych <= '>') goto yy292;
              goto yy138;
yy150:
              YYDEBUG(150, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'I') goto yy286;
              if (yych == 'i') goto yy286;
              goto yy186;
yy151:
              YYDEBUG(151, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == '+') goto yy284;
              if (yych == '=') goto yy282;
              goto yy138;
yy152:
              YYDEBUG(152, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == '=') goto yy279;
              goto yy138;
yy153:
              YYDEBUG(153, *YYCURSOR);
              yyaccept = 1;
              yych = *(YYMARKER = ++YYCURSOR);
              if (yych <= ';') {
                     if (yych == '/') goto yy251;
                     goto yy138;
              } else {
                     if (yych <= '<') goto yy249;
                     if (yych <= '=') goto yy252;
                     if (yych <= '>') goto yy254;
                     goto yy138;
              }
yy154:
              YYDEBUG(154, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych <= '<') goto yy138;
              if (yych <= '=') goto yy245;
              if (yych <= '>') goto yy243;
              goto yy138;
yy155:
              YYDEBUG(155, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == '=') goto yy241;
              goto yy138;
yy156:
              YYDEBUG(156, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych <= '.') {
                     if (yych == '*') goto yy233;
                     goto yy138;
              } else {
                     if (yych <= '/') goto yy235;
                     if (yych == '=') goto yy236;
                     goto yy138;
              }
yy157:
              YYDEBUG(157, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych <= '/') goto yy138;
              if (yych <= '9') goto yy229;
              if (yych == '=') goto yy231;
              goto yy138;
yy158:
              YYDEBUG(158, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych <= '<') goto yy138;
              if (yych <= '=') goto yy225;
              if (yych <= '>') goto yy223;
              goto yy138;
yy159:
              YYDEBUG(159, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == '&') goto yy219;
              if (yych == '=') goto yy221;
              goto yy138;
yy160:
              YYDEBUG(160, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == '=') goto yy217;
              if (yych == '|') goto yy215;
              goto yy138;
yy161:
              YYDEBUG(161, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == '=') goto yy213;
              goto yy138;
yy162:
              YYDEBUG(162, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'R') goto yy211;
              if (yych == 'r') goto yy211;
              goto yy186;
yy163:
              YYDEBUG(163, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'O') goto yy208;
              if (yych == 'o') goto yy208;
              goto yy186;
yy164:
              YYDEBUG(164, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych <= '_') {
                     if (yych <= '@') goto yy138;
                     if (yych <= 'Z') goto yy205;
                     if (yych <= '^') goto yy138;
                     goto yy205;
              } else {
                     if (yych <= '`') goto yy138;
                     if (yych <= 'z') goto yy205;
                     if (yych <= '~') goto yy138;
                     goto yy205;
              }
yy165:
              YYDEBUG(165, *YYCURSOR);
              yych = *++YYCURSOR;
              goto yy138;
yy166:
              YYDEBUG(166, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == '>') goto yy201;
              goto yy138;
yy167:
              YYDEBUG(167, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(168, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1294 "Zend/zend_language_scanner.l"
              {
       yy_push_state(ST_IN_SCRIPTING TSRMLS_CC);
       return '{';
}
#line 2769 "Zend/zend_language_scanner.c"
yy169:
              YYDEBUG(169, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(170, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1306 "Zend/zend_language_scanner.l"
              {
       RESET_DOC_COMMENT();
       if (!zend_stack_is_empty(&SCNG(state_stack))) {
              yy_pop_state(TSRMLS_C);
       }
       return '}';
}
#line 2783 "Zend/zend_language_scanner.c"
yy171:
              YYDEBUG(171, *YYCURSOR);
              yyaccept = 2;
              yych = *(YYMARKER = ++YYCURSOR);
              if (yych <= 'E') {
                     if (yych <= '/') {
                            if (yych == '.') goto yy187;
                     } else {
                            if (yych <= '9') goto yy190;
                            if (yych >= 'E') goto yy192;
                     }
              } else {
                     if (yych <= 'd') {
                            if (yych == 'X') goto yy197;
                     } else {
                            if (yych <= 'e') goto yy192;
                            if (yych == 'x') goto yy197;
                     }
              }
yy172:
              YYDEBUG(172, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1332 "Zend/zend_language_scanner.l"
              {
       if (yyleng < MAX_LENGTH_OF_LONG - 1) { /* Won't overflow */
              zendlval->value.lval = strtol(yytext, NULL, 0);
       } else {
              errno = 0;
              zendlval->value.lval = strtol(yytext, NULL, 0);
              if (errno == ERANGE) { /* Overflow */
                     if (yytext[0] == '0') { /* octal overflow */
                            zendlval->value.dval = zend_oct_strtod(yytext, NULL);
                     } else {
                            zendlval->value.dval = zend_strtod(yytext, NULL);
                     }
                     zendlval->type = IS_DOUBLE;
                     return T_DNUMBER;
              }
       }

       zendlval->type = IS_LONG;
       return T_LNUMBER;
}
#line 2827 "Zend/zend_language_scanner.c"
yy173:
              YYDEBUG(173, *YYCURSOR);
              yyaccept = 2;
              yych = *(YYMARKER = ++YYCURSOR);
              if (yych <= '9') {
                     if (yych == '.') goto yy187;
                     if (yych <= '/') goto yy172;
                     goto yy190;
              } else {
                     if (yych <= 'E') {
                            if (yych <= 'D') goto yy172;
                            goto yy192;
                     } else {
                            if (yych == 'e') goto yy192;
                            goto yy172;
                     }
              }
yy174:
              YYDEBUG(174, *YYCURSOR);
              yych = *++YYCURSOR;
              goto yy186;
yy175:
              YYDEBUG(175, *YYCURSOR);
              ++YYCURSOR;
yy176:
              YYDEBUG(176, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1703 "Zend/zend_language_scanner.l"
              {
       while (YYCURSOR < YYLIMIT) {
              switch (*YYCURSOR++) {
                     case '\r':
                            if (*YYCURSOR == '\n') {
                                   YYCURSOR++;
                            }
                            /* fall through */
                     case '\n':
                            CG(zend_lineno)++;
                            break;
                     case '%':
                            if (!CG(asp_tags)) {
                                   continue;
                            }
                            /* fall through */
                     case '?':
                            if (*YYCURSOR == '>') {
                                   YYCURSOR--;
                                   break;
                            }
                            /* fall through */
                     default:
                            continue;
              }

              break;
       }

       yyleng = YYCURSOR - SCNG(yy_text);

       return T_COMMENT;
}
#line 2889 "Zend/zend_language_scanner.c"
yy177:
              YYDEBUG(177, *YYCURSOR);
              ++YYCURSOR;
yy178:
              YYDEBUG(178, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1794 "Zend/zend_language_scanner.l"
              {
       register char *s, *t;
       char *end;
       int bprefix = (yytext[0] != '\'') ? 1 : 0;

       while (1) {
              if (YYCURSOR < YYLIMIT) {
                     if (*YYCURSOR == '\'') {
                            YYCURSOR++;
                            yyleng = YYCURSOR - SCNG(yy_text);

                            break;
                     } else if (*YYCURSOR++ == '\\' && YYCURSOR < YYLIMIT) {
                            YYCURSOR++;
                     }
              } else {
                     yyleng = YYLIMIT - SCNG(yy_text);

                     /* Unclosed single quotes; treat similar to double quotes, but without a separate token
                      * for ' (unrecognized by parser), instead of old flex fallback to "Unexpected character..."
                      * rule, which continued in ST_IN_SCRIPTING state after the quote */
                     return T_ENCAPSED_AND_WHITESPACE;
              }
       }

       zendlval->value.str.val = estrndup(yytext+bprefix+1, yyleng-bprefix-2);
       zendlval->value.str.len = yyleng-bprefix-2;
       zendlval->type = IS_STRING;

       /* convert escape sequences */
       s = t = zendlval->value.str.val;
       end = s+zendlval->value.str.len;
       while (s<end) {
              if (*s=='\\') {
                     s++;

                     switch(*s) {
                            case '\\':
                            case '\'':
                                   *t++ = *s;
                                   zendlval->value.str.len--;
                                   break;
                            default:
                                   *t++ = '\\';
                                   *t++ = *s;
                                   break;
                     }
              } else {
                     *t++ = *s;
              }

              if (*s == '\n' || (*s == '\r' && (*(s+1) != '\n'))) {
                     CG(zend_lineno)++;
              }
              s++;
       }
       *t = 0;

#ifdef ZEND_MULTIBYTE
       if (SCNG(output_filter)) {
              size_t sz = 0;
              s = zendlval->value.str.val;
              SCNG(output_filter)((unsigned char **)&(zendlval->value.str.val), &sz, (unsigned char *)s, (size_t)zendlval->value.str.len TSRMLS_CC);
              zendlval->value.str.len = sz;
              efree(s);
       }
#endif /* ZEND_MULTIBYTE */
       return T_CONSTANT_ENCAPSED_STRING;
}
#line 2966 "Zend/zend_language_scanner.c"
yy179:
              YYDEBUG(179, *YYCURSOR);
              ++YYCURSOR;
yy180:
              YYDEBUG(180, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1865 "Zend/zend_language_scanner.l"
              {
       int bprefix = (yytext[0] != '"') ? 1 : 0;

       while (YYCURSOR < YYLIMIT) {
              switch (*YYCURSOR++) {
                     case '"':
                            yyleng = YYCURSOR - SCNG(yy_text);
                            zend_scan_escape_string(zendlval, yytext+bprefix+1, yyleng-bprefix-2, '"' TSRMLS_CC);
                            return T_CONSTANT_ENCAPSED_STRING;
                     case '$':
                            if (IS_LABEL_START(*YYCURSOR) || *YYCURSOR == '{') {
                                   break;
                            }
                            continue;
                     case '{':
                            if (*YYCURSOR == '$') {
                                   break;
                            }
                            continue;
                     case '\\':
                            if (YYCURSOR < YYLIMIT) {
                                   YYCURSOR++;
                            }
                            /* fall through */
                     default:
                            continue;
              }

              YYCURSOR--;
              break;
       }

       /* Remember how much was scanned to save rescanning */
       SET_DOUBLE_QUOTES_SCANNED_LENGTH(YYCURSOR - SCNG(yy_text) - yyleng);

       YYCURSOR = SCNG(yy_text) + yyleng;

       BEGIN(ST_DOUBLE_QUOTES);
       return '"';
}
#line 3014 "Zend/zend_language_scanner.c"
yy181:
              YYDEBUG(181, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(182, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1956 "Zend/zend_language_scanner.l"
              {
       BEGIN(ST_BACKQUOTE);
       return '`';
}
#line 3025 "Zend/zend_language_scanner.c"
yy183:
              YYDEBUG(183, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(184, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 2214 "Zend/zend_language_scanner.l"
              {
       if (YYCURSOR > YYLIMIT) {
              return 0;
       }

       zend_error(E_COMPILE_WARNING,"Unexpected character in input:  '%c' (ASCII=%d) state=%d", yytext[0], yytext[0], YYSTATE);
       goto restart;
}
#line 3040 "Zend/zend_language_scanner.c"
yy185:
              YYDEBUG(185, *YYCURSOR);
              ++YYCURSOR;
              YYFILL(1);
              yych = *YYCURSOR;
yy186:
              YYDEBUG(186, *YYCURSOR);
              if (yybm[0+yych] & 8) {
                     goto yy185;
              }
              goto yy124;
yy187:
              YYDEBUG(187, *YYCURSOR);
              yyaccept = 3;
              YYMARKER = ++YYCURSOR;
              YYFILL(3);
              yych = *YYCURSOR;
              YYDEBUG(188, *YYCURSOR);
              if (yybm[0+yych] & 16) {
                     goto yy187;
              }
              if (yych == 'E') goto yy192;
              if (yych == 'e') goto yy192;
yy189:
              YYDEBUG(189, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1393 "Zend/zend_language_scanner.l"
              {
       zendlval->value.dval = zend_strtod(yytext, NULL);
       zendlval->type = IS_DOUBLE;
       return T_DNUMBER;
}
#line 3073 "Zend/zend_language_scanner.c"
yy190:
              YYDEBUG(190, *YYCURSOR);
              yyaccept = 2;
              YYMARKER = ++YYCURSOR;
              YYFILL(3);
              yych = *YYCURSOR;
              YYDEBUG(191, *YYCURSOR);
              if (yych <= '9') {
                     if (yych == '.') goto yy187;
                     if (yych <= '/') goto yy172;
                     goto yy190;
              } else {
                     if (yych <= 'E') {
                            if (yych <= 'D') goto yy172;
                     } else {
                            if (yych != 'e') goto yy172;
                     }
              }
yy192:
              YYDEBUG(192, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych <= ',') {
                     if (yych == '+') goto yy194;
              } else {
                     if (yych <= '-') goto yy194;
                     if (yych <= '/') goto yy193;
                     if (yych <= '9') goto yy195;
              }
yy193:
              YYDEBUG(193, *YYCURSOR);
              YYCURSOR = YYMARKER;
              if (yyaccept <= 2) {
                     if (yyaccept <= 1) {
                            if (yyaccept <= 0) {
                                   goto yy124;
                            } else {
                                   goto yy138;
                            }
                     } else {
                            goto yy172;
                     }
              } else {
                     if (yyaccept <= 4) {
                            if (yyaccept <= 3) {
                                   goto yy189;
                            } else {
                                   goto yy234;
                            }
                     } else {
                            goto yy250;
                     }
              }
yy194:
              YYDEBUG(194, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych <= '/') goto yy193;
              if (yych >= ':') goto yy193;
yy195:
              YYDEBUG(195, *YYCURSOR);
              ++YYCURSOR;
              YYFILL(1);
              yych = *YYCURSOR;
              YYDEBUG(196, *YYCURSOR);
              if (yych <= '/') goto yy189;
              if (yych <= '9') goto yy195;
              goto yy189;
yy197:
              YYDEBUG(197, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yybm[0+yych] & 32) {
                     goto yy198;
              }
              goto yy193;
yy198:
              YYDEBUG(198, *YYCURSOR);
              ++YYCURSOR;
              YYFILL(1);
              yych = *YYCURSOR;
              YYDEBUG(199, *YYCURSOR);
              if (yybm[0+yych] & 32) {
                     goto yy198;
              }
              YYDEBUG(200, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1353 "Zend/zend_language_scanner.l"
              {
       char *hex = yytext + 2; /* Skip "0x" */
       int len = yyleng - 2;

       /* Skip any leading 0s */
       while (*hex == '0') {
              hex++;
              len--;
       }

       if (len < SIZEOF_LONG * 2 || (len == SIZEOF_LONG * 2 && *hex <= '7')) {
              zendlval->value.lval = strtol(hex, NULL, 16);
              zendlval->type = IS_LONG;
              return T_LNUMBER;
       } else {
              zendlval->value.dval = zend_hex_strtod(hex, NULL);
              zendlval->type = IS_DOUBLE;
              return T_DNUMBER;
       }
}
#line 3179 "Zend/zend_language_scanner.c"
yy201:
              YYDEBUG(201, *YYCURSOR);
              ++YYCURSOR;
              if ((yych = *YYCURSOR) == '\n') goto yy203;
              if (yych == '\r') goto yy204;
yy202:
              YYDEBUG(202, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1771 "Zend/zend_language_scanner.l"
              {
       zendlval->value.str.val = yytext; /* no copying - intentional */
       zendlval->value.str.len = yyleng;
       zendlval->type = IS_STRING;
       BEGIN(INITIAL);
       return T_CLOSE_TAG;  /* implicit ';' at php-end tag */
}
#line 3196 "Zend/zend_language_scanner.c"
yy203:
              YYDEBUG(203, *YYCURSOR);
              yych = *++YYCURSOR;
              goto yy202;
yy204:
              YYDEBUG(204, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == '\n') goto yy203;
              goto yy202;
yy205:
              YYDEBUG(205, *YYCURSOR);
              ++YYCURSOR;
              YYFILL(1);
              yych = *YYCURSOR;
              YYDEBUG(206, *YYCURSOR);
              if (yych <= '^') {
                     if (yych <= '9') {
                            if (yych >= '0') goto yy205;
                     } else {
                            if (yych <= '@') goto yy207;
                            if (yych <= 'Z') goto yy205;
                     }
              } else {
                     if (yych <= '`') {
                            if (yych <= '_') goto yy205;
                     } else {
                            if (yych <= 'z') goto yy205;
                            if (yych >= 0x7F) goto yy205;
                     }
              }
yy207:
              YYDEBUG(207, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1673 "Zend/zend_language_scanner.l"
              {
       zend_copy_value(zendlval, (yytext+1), (yyleng-1));
       zendlval->type = IS_STRING;
       return T_VARIABLE;
}
#line 3236 "Zend/zend_language_scanner.c"
yy208:
              YYDEBUG(208, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'R') goto yy209;
              if (yych != 'r') goto yy186;
yy209:
              YYDEBUG(209, *YYCURSOR);
              ++YYCURSOR;
              if (yybm[0+(yych = *YYCURSOR)] & 8) {
                     goto yy185;
              }
              YYDEBUG(210, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1277 "Zend/zend_language_scanner.l"
              {
       return T_LOGICAL_XOR;
}
#line 3254 "Zend/zend_language_scanner.c"
yy211:
              YYDEBUG(211, *YYCURSOR);
              ++YYCURSOR;
              if (yybm[0+(yych = *YYCURSOR)] & 8) {
                     goto yy185;
              }
              YYDEBUG(212, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1269 "Zend/zend_language_scanner.l"
              {
       return T_LOGICAL_OR;
}
#line 3267 "Zend/zend_language_scanner.c"
yy213:
              YYDEBUG(213, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(214, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1257 "Zend/zend_language_scanner.l"
              {
       return T_XOR_EQUAL;
}
#line 3277 "Zend/zend_language_scanner.c"
yy215:
              YYDEBUG(215, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(216, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1261 "Zend/zend_language_scanner.l"
              {
       return T_BOOLEAN_OR;
}
#line 3287 "Zend/zend_language_scanner.c"
yy217:
              YYDEBUG(217, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(218, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1253 "Zend/zend_language_scanner.l"
              {
       return T_OR_EQUAL;
}
#line 3297 "Zend/zend_language_scanner.c"
yy219:
              YYDEBUG(219, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(220, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1265 "Zend/zend_language_scanner.l"
              {
       return T_BOOLEAN_AND;
}
#line 3307 "Zend/zend_language_scanner.c"
yy221:
              YYDEBUG(221, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(222, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1249 "Zend/zend_language_scanner.l"
              {
       return T_AND_EQUAL;
}
#line 3317 "Zend/zend_language_scanner.c"
yy223:
              YYDEBUG(223, *YYCURSOR);
              ++YYCURSOR;
              if ((yych = *YYCURSOR) == '\n') goto yy227;
              if (yych == '\r') goto yy228;
yy224:
              YYDEBUG(224, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1780 "Zend/zend_language_scanner.l"
              {
       if (CG(asp_tags)) {
              BEGIN(INITIAL);
              zendlval->value.str.len = yyleng;
              zendlval->type = IS_STRING;
              zendlval->value.str.val = yytext; /* no copying - intentional */
              return T_CLOSE_TAG;  /* implicit ';' at php-end tag */
       } else {
              yyless(1);
              return yytext[0];
       }
}
#line 3339 "Zend/zend_language_scanner.c"
yy225:
              YYDEBUG(225, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(226, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1237 "Zend/zend_language_scanner.l"
              {
       return T_MOD_EQUAL;
}
#line 3349 "Zend/zend_language_scanner.c"
yy227:
              YYDEBUG(227, *YYCURSOR);
              yych = *++YYCURSOR;
              goto yy224;
yy228:
              YYDEBUG(228, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == '\n') goto yy227;
              goto yy224;
yy229:
              YYDEBUG(229, *YYCURSOR);
              yyaccept = 3;
              YYMARKER = ++YYCURSOR;
              YYFILL(3);
              yych = *YYCURSOR;
              YYDEBUG(230, *YYCURSOR);
              if (yych <= 'D') {
                     if (yych <= '/') goto yy189;
                     if (yych <= '9') goto yy229;
                     goto yy189;
              } else {
                     if (yych <= 'E') goto yy192;
                     if (yych == 'e') goto yy192;
                     goto yy189;
              }
yy231:
              YYDEBUG(231, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(232, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1233 "Zend/zend_language_scanner.l"
              {
       return T_CONCAT_EQUAL;
}
#line 3384 "Zend/zend_language_scanner.c"
yy233:
              YYDEBUG(233, *YYCURSOR);
              yyaccept = 4;
              yych = *(YYMARKER = ++YYCURSOR);
              if (yych == '*') goto yy238;
yy234:
              YYDEBUG(234, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1737 "Zend/zend_language_scanner.l"
              {
       int doc_com;

       if (yyleng > 2) {
              doc_com = 1;
              RESET_DOC_COMMENT();
       } else {
              doc_com = 0;
       }

       while (YYCURSOR < YYLIMIT) {
              if (*YYCURSOR++ == '*' && *YYCURSOR == '/') {
                     break;
              }
       }

       if (YYCURSOR < YYLIMIT) {
              YYCURSOR++;
       } else {
              zend_error(E_COMPILE_WARNING, "Unterminated comment starting line %d", CG(zend_lineno));
       }

       yyleng = YYCURSOR - SCNG(yy_text);
       HANDLE_NEWLINES(yytext, yyleng);

       if (doc_com) {
              CG(doc_comment) = estrndup(yytext, yyleng);
              CG(doc_comment_len) = yyleng;
              return T_DOC_COMMENT;
       }

       return T_COMMENT;
}
#line 3427 "Zend/zend_language_scanner.c"
yy235:
              YYDEBUG(235, *YYCURSOR);
              yych = *++YYCURSOR;
              goto yy176;
yy236:
              YYDEBUG(236, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(237, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1229 "Zend/zend_language_scanner.l"
              {
       return T_DIV_EQUAL;
}
#line 3441 "Zend/zend_language_scanner.c"
yy238:
              YYDEBUG(238, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yybm[0+yych] & 64) {
                     goto yy239;
              }
              goto yy193;
yy239:
              YYDEBUG(239, *YYCURSOR);
              ++YYCURSOR;
              YYFILL(1);
              yych = *YYCURSOR;
              YYDEBUG(240, *YYCURSOR);
              if (yybm[0+yych] & 64) {
                     goto yy239;
              }
              goto yy234;
yy241:
              YYDEBUG(241, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(242, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1225 "Zend/zend_language_scanner.l"
              {
       return T_MUL_EQUAL;
}
#line 3468 "Zend/zend_language_scanner.c"
yy243:
              YYDEBUG(243, *YYCURSOR);
              ++YYCURSOR;
              if ((yych = *YYCURSOR) == '=') goto yy247;
              YYDEBUG(244, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1285 "Zend/zend_language_scanner.l"
              {
       return T_SR;
}
#line 3479 "Zend/zend_language_scanner.c"
yy245:
              YYDEBUG(245, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(246, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1213 "Zend/zend_language_scanner.l"
              {
       return T_IS_GREATER_OR_EQUAL;
}
#line 3489 "Zend/zend_language_scanner.c"
yy247:
              YYDEBUG(247, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(248, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1245 "Zend/zend_language_scanner.l"
              {
       return T_SR_EQUAL;
}
#line 3499 "Zend/zend_language_scanner.c"
yy249:
              YYDEBUG(249, *YYCURSOR);
              yyaccept = 5;
              yych = *(YYMARKER = ++YYCURSOR);
              if (yych <= ';') goto yy250;
              if (yych <= '<') goto yy265;
              if (yych <= '=') goto yy263;
yy250:
              YYDEBUG(250, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1281 "Zend/zend_language_scanner.l"
              {
       return T_SL;
}
#line 3514 "Zend/zend_language_scanner.c"
yy251:
              YYDEBUG(251, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'S') goto yy256;
              if (yych == 's') goto yy256;
              goto yy193;
yy252:
              YYDEBUG(252, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(253, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1209 "Zend/zend_language_scanner.l"
              {
       return T_IS_SMALLER_OR_EQUAL;
}
#line 3530 "Zend/zend_language_scanner.c"
yy254:
              YYDEBUG(254, *YYCURSOR);
              ++YYCURSOR;
yy255:
              YYDEBUG(255, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1205 "Zend/zend_language_scanner.l"
              {
       return T_IS_NOT_EQUAL;
}
#line 3541 "Zend/zend_language_scanner.c"
yy256:
              YYDEBUG(256, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'C') goto yy257;
              if (yych != 'c') goto yy193;
yy257:
              YYDEBUG(257, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'R') goto yy258;
              if (yych != 'r') goto yy193;
yy258:
              YYDEBUG(258, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'I') goto yy259;
              if (yych != 'i') goto yy193;
yy259:
              YYDEBUG(259, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'P') goto yy260;
              if (yych != 'p') goto yy193;
yy260:
              YYDEBUG(260, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'T') goto yy261;
              if (yych != 't') goto yy193;
yy261:
              YYDEBUG(261, *YYCURSOR);
              ++YYCURSOR;
              YYFILL(3);
              yych = *YYCURSOR;
              YYDEBUG(262, *YYCURSOR);
              if (yych <= '\r') {
                     if (yych <= 0x08) goto yy193;
                     if (yych <= '\n') goto yy261;
                     if (yych <= '\f') goto yy193;
                     goto yy261;
              } else {
                     if (yych <= ' ') {
                            if (yych <= 0x1F) goto yy193;
                            goto yy261;
                     } else {
                            if (yych == '>') goto yy201;
                            goto yy193;
                     }
              }
yy263:
              YYDEBUG(263, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(264, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1241 "Zend/zend_language_scanner.l"
              {
       return T_SL_EQUAL;
}
#line 3596 "Zend/zend_language_scanner.c"
yy265:
              YYDEBUG(265, *YYCURSOR);
              ++YYCURSOR;
              YYFILL(2);
              yych = *YYCURSOR;
              YYDEBUG(266, *YYCURSOR);
              if (yybm[0+yych] & 128) {
                     goto yy265;
              }
              if (yych <= 'Z') {
                     if (yych <= '&') {
                            if (yych == '"') goto yy270;
                            goto yy193;
                     } else {
                            if (yych <= '\'') goto yy269;
                            if (yych <= '@') goto yy193;
                     }
              } else {
                     if (yych <= '`') {
                            if (yych != '_') goto yy193;
                     } else {
                            if (yych <= 'z') goto yy267;
                            if (yych <= '~') goto yy193;
                     }
              }
yy267:
              YYDEBUG(267, *YYCURSOR);
              ++YYCURSOR;
              YYFILL(2);
              yych = *YYCURSOR;
              YYDEBUG(268, *YYCURSOR);
              if (yych <= '@') {
                     if (yych <= '\f') {
                            if (yych == '\n') goto yy274;
                            goto yy193;
                     } else {
                            if (yych <= '\r') goto yy276;
                            if (yych <= '/') goto yy193;
                            if (yych <= '9') goto yy267;
                            goto yy193;
                     }
              } else {
                     if (yych <= '_') {
                            if (yych <= 'Z') goto yy267;
                            if (yych <= '^') goto yy193;
                            goto yy267;
                     } else {
                            if (yych <= '`') goto yy193;
                            if (yych <= 'z') goto yy267;
                            if (yych <= '~') goto yy193;
                            goto yy267;
                     }
              }
yy269:
              YYDEBUG(269, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == '\'') goto yy193;
              if (yych <= '/') goto yy278;
              if (yych <= '9') goto yy193;
              goto yy278;
yy270:
              YYDEBUG(270, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == '"') goto yy193;
              if (yych <= '/') goto yy272;
              if (yych <= '9') goto yy193;
              goto yy272;
yy271:
              YYDEBUG(271, *YYCURSOR);
              ++YYCURSOR;
              YYFILL(3);
              yych = *YYCURSOR;
yy272:
              YYDEBUG(272, *YYCURSOR);
              if (yych <= 'Z') {
                     if (yych <= '/') {
                            if (yych != '"') goto yy193;
                     } else {
                            if (yych <= '9') goto yy271;
                            if (yych <= '@') goto yy193;
                            goto yy271;
                     }
              } else {
                     if (yych <= '`') {
                            if (yych == '_') goto yy271;
                            goto yy193;
                     } else {
                            if (yych <= 'z') goto yy271;
                            if (yych <= '~') goto yy193;
                            goto yy271;
                     }
              }
yy273:
              YYDEBUG(273, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == '\n') goto yy274;
              if (yych == '\r') goto yy276;
              goto yy193;
yy274:
              YYDEBUG(274, *YYCURSOR);
              ++YYCURSOR;
yy275:
              YYDEBUG(275, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1907 "Zend/zend_language_scanner.l"
              {
       char *s;
       int bprefix = (yytext[0] != '<') ? 1 : 0;

       /* save old heredoc label */
       Z_STRVAL_P(zendlval) = CG(heredoc);
       Z_STRLEN_P(zendlval) = CG(heredoc_len);

       CG(zend_lineno)++;
       CG(heredoc_len) = yyleng-bprefix-3-1-(yytext[yyleng-2]=='\r'?1:0);
       s = yytext+bprefix+3;
       while ((*s == ' ') || (*s == '\t')) {
              s++;
              CG(heredoc_len)--;
       }

       if (*s == '\'') {
              s++;
              CG(heredoc_len) -= 2;

              BEGIN(ST_NOWDOC);
       } else {
              if (*s == '"') {
                     s++;
                     CG(heredoc_len) -= 2;
              }

              BEGIN(ST_HEREDOC);
       }

       CG(heredoc) = estrndup(s, CG(heredoc_len));

       /* Check for ending label on the next line */
       if (CG(heredoc_len) < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, s, CG(heredoc_len))) {
              YYCTYPE *end = YYCURSOR + CG(heredoc_len);

              if (*end == ';') {
                     end++;
              }

              if (*end == '\n' || *end == '\r') {
                     BEGIN(ST_END_HEREDOC);
              }
       }

       return T_START_HEREDOC;
}
#line 3749 "Zend/zend_language_scanner.c"
yy276:
              YYDEBUG(276, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == '\n') goto yy274;
              goto yy275;
yy277:
              YYDEBUG(277, *YYCURSOR);
              ++YYCURSOR;
              YYFILL(3);
              yych = *YYCURSOR;
yy278:
              YYDEBUG(278, *YYCURSOR);
              if (yych <= 'Z') {
                     if (yych <= '/') {
                            if (yych == '\'') goto yy273;
                            goto yy193;
                     } else {
                            if (yych <= '9') goto yy277;
                            if (yych <= '@') goto yy193;
                            goto yy277;
                     }
              } else {
                     if (yych <= '`') {
                            if (yych == '_') goto yy277;
                            goto yy193;
                     } else {
                            if (yych <= 'z') goto yy277;
                            if (yych <= '~') goto yy193;
                            goto yy277;
                     }
              }
yy279:
              YYDEBUG(279, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych != '=') goto yy255;
              YYDEBUG(280, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(281, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1197 "Zend/zend_language_scanner.l"
              {
       return T_IS_NOT_IDENTICAL;
}
#line 3793 "Zend/zend_language_scanner.c"
yy282:
              YYDEBUG(282, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(283, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1217 "Zend/zend_language_scanner.l"
              {
       return T_PLUS_EQUAL;
}
#line 3803 "Zend/zend_language_scanner.c"
yy284:
              YYDEBUG(284, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(285, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1185 "Zend/zend_language_scanner.l"
              {
       return T_INC;
}
#line 3813 "Zend/zend_language_scanner.c"
yy286:
              YYDEBUG(286, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'S') goto yy287;
              if (yych != 's') goto yy186;
yy287:
              YYDEBUG(287, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'T') goto yy288;
              if (yych != 't') goto yy186;
yy288:
              YYDEBUG(288, *YYCURSOR);
              ++YYCURSOR;
              if (yybm[0+(yych = *YYCURSOR)] & 8) {
                     goto yy185;
              }
              YYDEBUG(289, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1177 "Zend/zend_language_scanner.l"
              {
       return T_LIST;
}
#line 3836 "Zend/zend_language_scanner.c"
yy290:
              YYDEBUG(290, *YYCURSOR);
              ++YYCURSOR;
              if ((yych = *YYCURSOR) == '=') goto yy294;
              YYDEBUG(291, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1201 "Zend/zend_language_scanner.l"
              {
       return T_IS_EQUAL;
}
#line 3847 "Zend/zend_language_scanner.c"
yy292:
              YYDEBUG(292, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(293, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1173 "Zend/zend_language_scanner.l"
              {
       return T_DOUBLE_ARROW;
}
#line 3857 "Zend/zend_language_scanner.c"
yy294:
              YYDEBUG(294, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(295, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1193 "Zend/zend_language_scanner.l"
              {
       return T_IS_IDENTICAL;
}
#line 3867 "Zend/zend_language_scanner.c"
yy296:
              YYDEBUG(296, *YYCURSOR);
              yych = *++YYCURSOR;
              YYDEBUG(-1, yych);
              switch (yych) {
              case 'C':
              case 'c':     goto yy298;
              case 'D':
              case 'd':     goto yy302;
              case 'F':
              case 'f':     goto yy299;
              case 'H':
              case 'h':     goto yy297;
              case 'L':
              case 'l':     goto yy301;
              case 'M':
              case 'm':     goto yy300;
              case 'N':
              case 'n':     goto yy303;
              default:      goto yy186;
              }
yy297:
              YYDEBUG(297, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'A') goto yy357;
              if (yych == 'a') goto yy357;
              goto yy186;
yy298:
              YYDEBUG(298, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'L') goto yy350;
              if (yych == 'l') goto yy350;
              goto yy186;
yy299:
              YYDEBUG(299, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych <= 'U') {
                     if (yych == 'I') goto yy334;
                     if (yych <= 'T') goto yy186;
                     goto yy335;
              } else {
                     if (yych <= 'i') {
                            if (yych <= 'h') goto yy186;
                            goto yy334;
                     } else {
                            if (yych == 'u') goto yy335;
                            goto yy186;
                     }
              }
yy300:
              YYDEBUG(300, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'E') goto yy326;
              if (yych == 'e') goto yy326;
              goto yy186;
yy301:
              YYDEBUG(301, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'I') goto yy320;
              if (yych == 'i') goto yy320;
              goto yy186;
yy302:
              YYDEBUG(302, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'I') goto yy315;
              if (yych == 'i') goto yy315;
              goto yy186;
yy303:
              YYDEBUG(303, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'A') goto yy304;
              if (yych != 'a') goto yy186;
yy304:
              YYDEBUG(304, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'M') goto yy305;
              if (yych != 'm') goto yy186;
yy305:
              YYDEBUG(305, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'E') goto yy306;
              if (yych != 'e') goto yy186;
yy306:
              YYDEBUG(306, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'S') goto yy307;
              if (yych != 's') goto yy186;
yy307:
              YYDEBUG(307, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'P') goto yy308;
              if (yych != 'p') goto yy186;
yy308:
              YYDEBUG(308, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'A') goto yy309;
              if (yych != 'a') goto yy186;
yy309:
              YYDEBUG(309, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'C') goto yy310;
              if (yych != 'c') goto yy186;
yy310:
              YYDEBUG(310, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'E') goto yy311;
              if (yych != 'e') goto yy186;
yy311:
              YYDEBUG(311, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych != '_') goto yy186;
              YYDEBUG(312, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych != '_') goto yy186;
              YYDEBUG(313, *YYCURSOR);
              ++YYCURSOR;
              if (yybm[0+(yych = *YYCURSOR)] & 8) {
                     goto yy185;
              }
              YYDEBUG(314, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1497 "Zend/zend_language_scanner.l"
              {
       if (CG(current_namespace)) {
              *zendlval = *CG(current_namespace);
              zval_copy_ctor(zendlval);
       } else {
              ZVAL_EMPTY_STRING(zendlval);
       }
       return T_NS_C;
}
#line 3999 "Zend/zend_language_scanner.c"
yy315:
              YYDEBUG(315, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'R') goto yy316;
              if (yych != 'r') goto yy186;
yy316:
              YYDEBUG(316, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych != '_') goto yy186;
              YYDEBUG(317, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych != '_') goto yy186;
              YYDEBUG(318, *YYCURSOR);
              ++YYCURSOR;
              if (yybm[0+(yych = *YYCURSOR)] & 8) {
                     goto yy185;
              }
              YYDEBUG(319, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1470 "Zend/zend_language_scanner.l"
              {
       char *filename = zend_get_compiled_filename(TSRMLS_C);
       const size_t filename_len = strlen(filename);
       char *dirname;

       if (!filename) {
              filename = "";
       }

       dirname = estrndup(filename, filename_len);
       zend_dirname(dirname, filename_len);

       if (strcmp(dirname, ".") == 0) {
              dirname = erealloc(dirname, MAXPATHLEN);
#if HAVE_GETCWD
              VCWD_GETCWD(dirname, MAXPATHLEN);
#elif HAVE_GETWD
              VCWD_GETWD(dirname);
#endif
       }

       zendlval->value.str.len = strlen(dirname);
       zendlval->value.str.val = dirname;
       zendlval->type = IS_STRING;
       return T_DIR;
}
#line 4046 "Zend/zend_language_scanner.c"
yy320:
              YYDEBUG(320, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'N') goto yy321;
              if (yych != 'n') goto yy186;
yy321:
              YYDEBUG(321, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'E') goto yy322;
              if (yych != 'e') goto yy186;
yy322:
              YYDEBUG(322, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych != '_') goto yy186;
              YYDEBUG(323, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych != '_') goto yy186;
              YYDEBUG(324, *YYCURSOR);
              ++YYCURSOR;
              if (yybm[0+(yych = *YYCURSOR)] & 8) {
                     goto yy185;
              }
              YYDEBUG(325, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1452 "Zend/zend_language_scanner.l"
              {
       zendlval->value.lval = CG(zend_lineno);
       zendlval->type = IS_LONG;
       return T_LINE;
}
#line 4077 "Zend/zend_language_scanner.c"
yy326:
              YYDEBUG(326, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'T') goto yy327;
              if (yych != 't') goto yy186;
yy327:
              YYDEBUG(327, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'H') goto yy328;
              if (yych != 'h') goto yy186;
yy328:
              YYDEBUG(328, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'O') goto yy329;
              if (yych != 'o') goto yy186;
yy329:
              YYDEBUG(329, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'D') goto yy330;
              if (yych != 'd') goto yy186;
yy330:
              YYDEBUG(330, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych != '_') goto yy186;
              YYDEBUG(331, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych != '_') goto yy186;
              YYDEBUG(332, *YYCURSOR);
              ++YYCURSOR;
              if (yybm[0+(yych = *YYCURSOR)] & 8) {
                     goto yy185;
              }
              YYDEBUG(333, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1431 "Zend/zend_language_scanner.l"
              {
       char *class_name = CG(active_class_entry) ? CG(active_class_entry)->name : NULL;
       char *func_name = CG(active_op_array)? CG(active_op_array)->function_name : NULL;
       size_t len = 0;

       if (class_name) {
              len += strlen(class_name) + 2;
       }
       if (func_name) {
              len += strlen(func_name);
       }

       zendlval->value.str.len = zend_spprintf(&zendlval->value.str.val, 0, "%s%s%s", 
              class_name ? class_name : "",
              class_name && func_name ? "::" : "",
              func_name ? func_name : ""
              );
       zendlval->type = IS_STRING;
       return T_METHOD_C;
}
#line 4133 "Zend/zend_language_scanner.c"
yy334:
              YYDEBUG(334, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'L') goto yy345;
              if (yych == 'l') goto yy345;
              goto yy186;
yy335:
              YYDEBUG(335, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'N') goto yy336;
              if (yych != 'n') goto yy186;
yy336:
              YYDEBUG(336, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'C') goto yy337;
              if (yych != 'c') goto yy186;
yy337:
              YYDEBUG(337, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'T') goto yy338;
              if (yych != 't') goto yy186;
yy338:
              YYDEBUG(338, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'I') goto yy339;
              if (yych != 'i') goto yy186;
yy339:
              YYDEBUG(339, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'O') goto yy340;
              if (yych != 'o') goto yy186;
yy340:
              YYDEBUG(340, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'N') goto yy341;
              if (yych != 'n') goto yy186;
yy341:
              YYDEBUG(341, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych != '_') goto yy186;
              YYDEBUG(342, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych != '_') goto yy186;
              YYDEBUG(343, *YYCURSOR);
              ++YYCURSOR;
              if (yybm[0+(yych = *YYCURSOR)] & 8) {
                     goto yy185;
              }
              YYDEBUG(344, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1415 "Zend/zend_language_scanner.l"
              {
       char *func_name = NULL;

       if (CG(active_op_array)) {
              func_name = CG(active_op_array)->function_name;
       }

       if (!func_name) {
              func_name = "";
       }
       zendlval->value.str.len = strlen(func_name);
       zendlval->value.str.val = estrndup(func_name, zendlval->value.str.len);
       zendlval->type = IS_STRING;
       return T_FUNC_C;
}
#line 4200 "Zend/zend_language_scanner.c"
yy345:
              YYDEBUG(345, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'E') goto yy346;
              if (yych != 'e') goto yy186;
yy346:
              YYDEBUG(346, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych != '_') goto yy186;
              YYDEBUG(347, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych != '_') goto yy186;
              YYDEBUG(348, *YYCURSOR);
              ++YYCURSOR;
              if (yybm[0+(yych = *YYCURSOR)] & 8) {
                     goto yy185;
              }
              YYDEBUG(349, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1458 "Zend/zend_language_scanner.l"
              {
       char *filename = zend_get_compiled_filename(TSRMLS_C);

       if (!filename) {
              filename = "";
       }
       zendlval->value.str.len = strlen(filename);
       zendlval->value.str.val = estrndup(filename, zendlval->value.str.len);
       zendlval->type = IS_STRING;
       return T_FILE;
}
#line 4232 "Zend/zend_language_scanner.c"
yy350:
              YYDEBUG(350, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'A') goto yy351;
              if (yych != 'a') goto yy186;
yy351:
              YYDEBUG(351, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'S') goto yy352;
              if (yych != 's') goto yy186;
yy352:
              YYDEBUG(352, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'S') goto yy353;
              if (yych != 's') goto yy186;
yy353:
              YYDEBUG(353, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych != '_') goto yy186;
              YYDEBUG(354, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych != '_') goto yy186;
              YYDEBUG(355, *YYCURSOR);
              ++YYCURSOR;
              if (yybm[0+(yych = *YYCURSOR)] & 8) {
                     goto yy185;
              }
              YYDEBUG(356, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1399 "Zend/zend_language_scanner.l"
              {
       char *class_name = NULL;

       if (CG(active_class_entry)) {
              class_name = CG(active_class_entry)->name;
       }

       if (!class_name) {
              class_name = "";
       }
       zendlval->value.str.len = strlen(class_name);
       zendlval->value.str.val = estrndup(class_name, zendlval->value.str.len);
       zendlval->type = IS_STRING;
       return T_CLASS_C;
}
#line 4278 "Zend/zend_language_scanner.c"
yy357:
              YYDEBUG(357, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'L') goto yy358;
              if (yych != 'l') goto yy186;
yy358:
              YYDEBUG(358, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'T') goto yy359;
              if (yych != 't') goto yy186;
yy359:
              YYDEBUG(359, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych != '_') goto yy186;
              YYDEBUG(360, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'C') goto yy361;
              if (yych != 'c') goto yy186;
yy361:
              YYDEBUG(361, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'O') goto yy362;
              if (yych != 'o') goto yy186;
yy362:
              YYDEBUG(362, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'M') goto yy363;
              if (yych != 'm') goto yy186;
yy363:
              YYDEBUG(363, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'P') goto yy364;
              if (yych != 'p') goto yy186;
yy364:
              YYDEBUG(364, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'I') goto yy365;
              if (yych != 'i') goto yy186;
yy365:
              YYDEBUG(365, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'L') goto yy366;
              if (yych != 'l') goto yy186;
yy366:
              YYDEBUG(366, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'E') goto yy367;
              if (yych != 'e') goto yy186;
yy367:
              YYDEBUG(367, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'R') goto yy368;
              if (yych != 'r') goto yy186;
yy368:
              YYDEBUG(368, *YYCURSOR);
              ++YYCURSOR;
              if (yybm[0+(yych = *YYCURSOR)] & 8) {
                     goto yy185;
              }
              YYDEBUG(369, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1141 "Zend/zend_language_scanner.l"
              {
       return T_HALT_COMPILER;
}
#line 4344 "Zend/zend_language_scanner.c"
yy370:
              YYDEBUG(370, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'S') goto yy374;
              if (yych == 's') goto yy374;
              goto yy186;
yy371:
              YYDEBUG(371, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'E') goto yy372;
              if (yych != 'e') goto yy186;
yy372:
              YYDEBUG(372, *YYCURSOR);
              ++YYCURSOR;
              if (yybm[0+(yych = *YYCURSOR)] & 8) {
                     goto yy185;
              }
              YYDEBUG(373, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1125 "Zend/zend_language_scanner.l"
              {
       return T_USE;
}
#line 4368 "Zend/zend_language_scanner.c"
yy374:
              YYDEBUG(374, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'E') goto yy375;
              if (yych != 'e') goto yy186;
yy375:
              YYDEBUG(375, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'T') goto yy376;
              if (yych != 't') goto yy186;
yy376:
              YYDEBUG(376, *YYCURSOR);
              ++YYCURSOR;
              if (yybm[0+(yych = *YYCURSOR)] & 8) {
                     goto yy185;
              }
              YYDEBUG(377, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1169 "Zend/zend_language_scanner.l"
              {
       return T_UNSET;
}
#line 4391 "Zend/zend_language_scanner.c"
yy378:
              YYDEBUG(378, *YYCURSOR);
              ++YYCURSOR;
              YYFILL(7);
              yych = *YYCURSOR;
yy379:
              YYDEBUG(379, *YYCURSOR);
              if (yych <= 'S') {
                     if (yych <= 'D') {
                            if (yych <= ' ') {
                                   if (yych == '\t') goto yy378;
                                   if (yych <= 0x1F) goto yy193;
                                   goto yy378;
                            } else {
                                   if (yych <= 'A') {
                                          if (yych <= '@') goto yy193;
                                          goto yy383;
                                   } else {
                                          if (yych <= 'B') goto yy381;
                                          if (yych <= 'C') goto yy193;
                                          goto yy386;
                                   }
                            }
                     } else {
                            if (yych <= 'I') {
                                   if (yych == 'F') goto yy387;
                                   if (yych <= 'H') goto yy193;
                                   goto yy388;
                            } else {
                                   if (yych <= 'O') {
                                          if (yych <= 'N') goto yy193;
                                          goto yy382;
                                   } else {
                                          if (yych <= 'Q') goto yy193;
                                          if (yych <= 'R') goto yy385;
                                          goto yy384;
                                   }
                            }
                     }
              } else {
                     if (yych <= 'f') {
                            if (yych <= 'a') {
                                   if (yych == 'U') goto yy380;
                                   if (yych <= '`') goto yy193;
                                   goto yy383;
                            } else {
                                   if (yych <= 'c') {
                                          if (yych <= 'b') goto yy381;
                                          goto yy193;
                                   } else {
                                          if (yych <= 'd') goto yy386;
                                          if (yych <= 'e') goto yy193;
                                          goto yy387;
                                   }
                            }
                     } else {
                            if (yych <= 'q') {
                                   if (yych <= 'i') {
                                          if (yych <= 'h') goto yy193;
                                          goto yy388;
                                   } else {
                                          if (yych == 'o') goto yy382;
                                          goto yy193;
                                   }
                            } else {
                                   if (yych <= 's') {
                                          if (yych <= 'r') goto yy385;
                                          goto yy384;
                                   } else {
                                          if (yych != 'u') goto yy193;
                                   }
                            }
                     }
              }
yy380:
              YYDEBUG(380, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'N') goto yy451;
              if (yych == 'n') goto yy451;
              goto yy193;
yy381:
              YYDEBUG(381, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych <= 'O') {
                     if (yych == 'I') goto yy434;
                     if (yych <= 'N') goto yy193;
                     goto yy435;
              } else {
                     if (yych <= 'i') {
                            if (yych <= 'h') goto yy193;
                            goto yy434;
                     } else {
                            if (yych == 'o') goto yy435;
                            goto yy193;
                     }
              }
yy382:
              YYDEBUG(382, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'B') goto yy426;
              if (yych == 'b') goto yy426;
              goto yy193;
yy383:
              YYDEBUG(383, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'R') goto yy419;
              if (yych == 'r') goto yy419;
              goto yy193;
yy384:
              YYDEBUG(384, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'T') goto yy411;
              if (yych == 't') goto yy411;
              goto yy193;
yy385:
              YYDEBUG(385, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'E') goto yy409;
              if (yych == 'e') goto yy409;
              goto yy193;
yy386:
              YYDEBUG(386, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'O') goto yy405;
              if (yych == 'o') goto yy405;
              goto yy193;
yy387:
              YYDEBUG(387, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'L') goto yy398;
              if (yych == 'l') goto yy398;
              goto yy193;
yy388:
              YYDEBUG(388, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'N') goto yy389;
              if (yych != 'n') goto yy193;
yy389:
              YYDEBUG(389, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'T') goto yy390;
              if (yych != 't') goto yy193;
yy390:
              YYDEBUG(390, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'E') goto yy391;
              if (yych != 'e') goto yy393;
yy391:
              YYDEBUG(391, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'G') goto yy396;
              if (yych == 'g') goto yy396;
              goto yy193;
yy392:
              YYDEBUG(392, *YYCURSOR);
              ++YYCURSOR;
              YYFILL(1);
              yych = *YYCURSOR;
yy393:
              YYDEBUG(393, *YYCURSOR);
              if (yych <= 0x1F) {
                     if (yych == '\t') goto yy392;
                     goto yy193;
              } else {
                     if (yych <= ' ') goto yy392;
                     if (yych != ')') goto yy193;
              }
              YYDEBUG(394, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(395, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1069 "Zend/zend_language_scanner.l"
              {
       return T_INT_CAST;
}
#line 4567 "Zend/zend_language_scanner.c"
yy396:
              YYDEBUG(396, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'E') goto yy397;
              if (yych != 'e') goto yy193;
yy397:
              YYDEBUG(397, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'R') goto yy392;
              if (yych == 'r') goto yy392;
              goto yy193;
yy398:
              YYDEBUG(398, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'O') goto yy399;
              if (yych != 'o') goto yy193;
yy399:
              YYDEBUG(399, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'A') goto yy400;
              if (yych != 'a') goto yy193;
yy400:
              YYDEBUG(400, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'T') goto yy401;
              if (yych != 't') goto yy193;
yy401:
              YYDEBUG(401, *YYCURSOR);
              ++YYCURSOR;
              YYFILL(1);
              yych = *YYCURSOR;
              YYDEBUG(402, *YYCURSOR);
              if (yych <= 0x1F) {
                     if (yych == '\t') goto yy401;
                     goto yy193;
              } else {
                     if (yych <= ' ') goto yy401;
                     if (yych != ')') goto yy193;
              }
              YYDEBUG(403, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(404, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1073 "Zend/zend_language_scanner.l"
              {
       return T_DOUBLE_CAST;
}
#line 4615 "Zend/zend_language_scanner.c"
yy405:
              YYDEBUG(405, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'U') goto yy406;
              if (yych != 'u') goto yy193;
yy406:
              YYDEBUG(406, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'B') goto yy407;
              if (yych != 'b') goto yy193;
yy407:
              YYDEBUG(407, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'L') goto yy408;
              if (yych != 'l') goto yy193;
yy408:
              YYDEBUG(408, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'E') goto yy401;
              if (yych == 'e') goto yy401;
              goto yy193;
yy409:
              YYDEBUG(409, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'A') goto yy410;
              if (yych != 'a') goto yy193;
yy410:
              YYDEBUG(410, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'L') goto yy401;
              if (yych == 'l') goto yy401;
              goto yy193;
yy411:
              YYDEBUG(411, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'R') goto yy412;
              if (yych != 'r') goto yy193;
yy412:
              YYDEBUG(412, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'I') goto yy413;
              if (yych != 'i') goto yy193;
yy413:
              YYDEBUG(413, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'N') goto yy414;
              if (yych != 'n') goto yy193;
yy414:
              YYDEBUG(414, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'G') goto yy415;
              if (yych != 'g') goto yy193;
yy415:
              YYDEBUG(415, *YYCURSOR);
              ++YYCURSOR;
              YYFILL(1);
              yych = *YYCURSOR;
              YYDEBUG(416, *YYCURSOR);
              if (yych <= 0x1F) {
                     if (yych == '\t') goto yy415;
                     goto yy193;
              } else {
                     if (yych <= ' ') goto yy415;
                     if (yych != ')') goto yy193;
              }
              YYDEBUG(417, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(418, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1077 "Zend/zend_language_scanner.l"
              {
       return T_STRING_CAST;
}
#line 4689 "Zend/zend_language_scanner.c"
yy419:
              YYDEBUG(419, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'R') goto yy420;
              if (yych != 'r') goto yy193;
yy420:
              YYDEBUG(420, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'A') goto yy421;
              if (yych != 'a') goto yy193;
yy421:
              YYDEBUG(421, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'Y') goto yy422;
              if (yych != 'y') goto yy193;
yy422:
              YYDEBUG(422, *YYCURSOR);
              ++YYCURSOR;
              YYFILL(1);
              yych = *YYCURSOR;
              YYDEBUG(423, *YYCURSOR);
              if (yych <= 0x1F) {
                     if (yych == '\t') goto yy422;
                     goto yy193;
              } else {
                     if (yych <= ' ') goto yy422;
                     if (yych != ')') goto yy193;
              }
              YYDEBUG(424, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(425, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1085 "Zend/zend_language_scanner.l"
              {
       return T_ARRAY_CAST;
}
#line 4726 "Zend/zend_language_scanner.c"
yy426:
              YYDEBUG(426, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'J') goto yy427;
              if (yych != 'j') goto yy193;
yy427:
              YYDEBUG(427, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'E') goto yy428;
              if (yych != 'e') goto yy193;
yy428:
              YYDEBUG(428, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'C') goto yy429;
              if (yych != 'c') goto yy193;
yy429:
              YYDEBUG(429, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'T') goto yy430;
              if (yych != 't') goto yy193;
yy430:
              YYDEBUG(430, *YYCURSOR);
              ++YYCURSOR;
              YYFILL(1);
              yych = *YYCURSOR;
              YYDEBUG(431, *YYCURSOR);
              if (yych <= 0x1F) {
                     if (yych == '\t') goto yy430;
                     goto yy193;
              } else {
                     if (yych <= ' ') goto yy430;
                     if (yych != ')') goto yy193;
              }
              YYDEBUG(432, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(433, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1089 "Zend/zend_language_scanner.l"
              {
       return T_OBJECT_CAST;
}
#line 4768 "Zend/zend_language_scanner.c"
yy434:
              YYDEBUG(434, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'N') goto yy444;
              if (yych == 'n') goto yy444;
              goto yy193;
yy435:
              YYDEBUG(435, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'O') goto yy436;
              if (yych != 'o') goto yy193;
yy436:
              YYDEBUG(436, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'L') goto yy437;
              if (yych != 'l') goto yy193;
yy437:
              YYDEBUG(437, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'E') goto yy442;
              if (yych == 'e') goto yy442;
              goto yy439;
yy438:
              YYDEBUG(438, *YYCURSOR);
              ++YYCURSOR;
              YYFILL(1);
              yych = *YYCURSOR;
yy439:
              YYDEBUG(439, *YYCURSOR);
              if (yych <= 0x1F) {
                     if (yych == '\t') goto yy438;
                     goto yy193;
              } else {
                     if (yych <= ' ') goto yy438;
                     if (yych != ')') goto yy193;
              }
              YYDEBUG(440, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(441, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1093 "Zend/zend_language_scanner.l"
              {
       return T_BOOL_CAST;
}
#line 4813 "Zend/zend_language_scanner.c"
yy442:
              YYDEBUG(442, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'A') goto yy443;
              if (yych != 'a') goto yy193;
yy443:
              YYDEBUG(443, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'N') goto yy438;
              if (yych == 'n') goto yy438;
              goto yy193;
yy444:
              YYDEBUG(444, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'A') goto yy445;
              if (yych != 'a') goto yy193;
yy445:
              YYDEBUG(445, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'R') goto yy446;
              if (yych != 'r') goto yy193;
yy446:
              YYDEBUG(446, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'Y') goto yy447;
              if (yych != 'y') goto yy193;
yy447:
              YYDEBUG(447, *YYCURSOR);
              ++YYCURSOR;
              YYFILL(1);
              yych = *YYCURSOR;
              YYDEBUG(448, *YYCURSOR);
              if (yych <= 0x1F) {
                     if (yych == '\t') goto yy447;
                     goto yy193;
              } else {
                     if (yych <= ' ') goto yy447;
                     if (yych != ')') goto yy193;
              }
              YYDEBUG(449, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(450, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1081 "Zend/zend_language_scanner.l"
              {
       return T_STRING_CAST;
}
#line 4861 "Zend/zend_language_scanner.c"
yy451:
              YYDEBUG(451, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'S') goto yy452;
              if (yych != 's') goto yy193;
yy452:
              YYDEBUG(452, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'E') goto yy453;
              if (yych != 'e') goto yy193;
yy453:
              YYDEBUG(453, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'T') goto yy454;
              if (yych != 't') goto yy193;
yy454:
              YYDEBUG(454, *YYCURSOR);
              ++YYCURSOR;
              YYFILL(1);
              yych = *YYCURSOR;
              YYDEBUG(455, *YYCURSOR);
              if (yych <= 0x1F) {
                     if (yych == '\t') goto yy454;
                     goto yy193;
              } else {
                     if (yych <= ' ') goto yy454;
                     if (yych != ')') goto yy193;
              }
              YYDEBUG(456, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(457, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1097 "Zend/zend_language_scanner.l"
              {
       return T_UNSET_CAST;
}
#line 4898 "Zend/zend_language_scanner.c"
yy458:
              YYDEBUG(458, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'R') goto yy459;
              if (yych != 'r') goto yy186;
yy459:
              YYDEBUG(459, *YYCURSOR);
              ++YYCURSOR;
              if (yybm[0+(yych = *YYCURSOR)] & 8) {
                     goto yy185;
              }
              YYDEBUG(460, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1065 "Zend/zend_language_scanner.l"
              {
       return T_VAR;
}
#line 4916 "Zend/zend_language_scanner.c"
yy461:
              YYDEBUG(461, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'M') goto yy465;
              if (yych == 'm') goto yy465;
              goto yy186;
yy462:
              YYDEBUG(462, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'W') goto yy463;
              if (yych != 'w') goto yy186;
yy463:
              YYDEBUG(463, *YYCURSOR);
              ++YYCURSOR;
              if (yybm[0+(yych = *YYCURSOR)] & 8) {
                     goto yy185;
              }
              YYDEBUG(464, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1057 "Zend/zend_language_scanner.l"
              {
       return T_NEW;
}
#line 4940 "Zend/zend_language_scanner.c"
yy465:
              YYDEBUG(465, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'E') goto yy466;
              if (yych != 'e') goto yy186;
yy466:
              YYDEBUG(466, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'S') goto yy467;
              if (yych != 's') goto yy186;
yy467:
              YYDEBUG(467, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'P') goto yy468;
              if (yych != 'p') goto yy186;
yy468:
              YYDEBUG(468, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'A') goto yy469;
              if (yych != 'a') goto yy186;
yy469:
              YYDEBUG(469, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'C') goto yy470;
              if (yych != 'c') goto yy186;
yy470:
              YYDEBUG(470, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'E') goto yy471;
              if (yych != 'e') goto yy186;
yy471:
              YYDEBUG(471, *YYCURSOR);
              ++YYCURSOR;
              if (yybm[0+(yych = *YYCURSOR)] & 8) {
                     goto yy185;
              }
              YYDEBUG(472, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1121 "Zend/zend_language_scanner.l"
              {
       return T_NAMESPACE;
}
#line 4983 "Zend/zend_language_scanner.c"
yy473:
              YYDEBUG(473, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(474, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1049 "Zend/zend_language_scanner.l"
              {
       return T_PAAMAYIM_NEKUDOTAYIM;
}
#line 4993 "Zend/zend_language_scanner.c"
yy475:
              YYDEBUG(475, *YYCURSOR);
              ++YYCURSOR;
              YYFILL(1);
              yych = *YYCURSOR;
yy476:
              YYDEBUG(476, *YYCURSOR);
              if (yych <= '\f') {
                     if (yych <= 0x08) goto yy140;
                     if (yych <= '\n') goto yy475;
                     goto yy140;
              } else {
                     if (yych <= '\r') goto yy475;
                     if (yych == ' ') goto yy475;
                     goto yy140;
              }
yy477:
              YYDEBUG(477, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(478, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1221 "Zend/zend_language_scanner.l"
              {
       return T_MINUS_EQUAL;
}
#line 5019 "Zend/zend_language_scanner.c"
yy479:
              YYDEBUG(479, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(480, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1189 "Zend/zend_language_scanner.l"
              {
       return T_DEC;
}
#line 5029 "Zend/zend_language_scanner.c"
yy481:
              YYDEBUG(481, *YYCURSOR);
              ++YYCURSOR;
              YYDEBUG(482, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1019 "Zend/zend_language_scanner.l"
              {
       yy_push_state(ST_LOOKING_FOR_PROPERTY TSRMLS_CC);
       return T_OBJECT_OPERATOR;
}
#line 5040 "Zend/zend_language_scanner.c"
yy483:
              YYDEBUG(483, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych <= 'O') {
                     if (yych == 'I') goto yy490;
                     if (yych <= 'N') goto yy186;
                     goto yy491;
              } else {
                     if (yych <= 'i') {
                            if (yych <= 'h') goto yy186;
                            goto yy490;
                     } else {
                            if (yych == 'o') goto yy491;
                            goto yy186;
                     }
              }
yy484:
              YYDEBUG(484, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'B') goto yy485;
              if (yych != 'b') goto yy186;
yy485:
              YYDEBUG(485, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'L') goto yy486;
              if (yych != 'l') goto yy186;
yy486:
              YYDEBUG(486, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'I') goto yy487;
              if (yych != 'i') goto yy186;
yy487:
              YYDEBUG(487, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'C') goto yy488;
              if (yych != 'c') goto yy186;
yy488:
              YYDEBUG(488, *YYCURSOR);
              ++YYCURSOR;
              if (yybm[0+(yych = *YYCURSOR)] & 8) {
                     goto yy185;
              }
              YYDEBUG(489, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1165 "Zend/zend_language_scanner.l"
              {
       return T_PUBLIC;
}
#line 5089 "Zend/zend_language_scanner.c"
yy490:
              YYDEBUG(490, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych <= 'V') {
                     if (yych == 'N') goto yy499;
                     if (yych <= 'U') goto yy186;
                     goto yy500;
              } else {
                     if (yych <= 'n') {
                            if (yych <= 'm') goto yy186;
                            goto yy499;
                     } else {
                            if (yych == 'v') goto yy500;
                            goto yy186;
                     }
              }
yy491:
              YYDEBUG(491, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'T') goto yy492;
              if (yych != 't') goto yy186;
yy492:
              YYDEBUG(492, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'E') goto yy493;
              if (yych != 'e') goto yy186;
yy493:
              YYDEBUG(493, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'C') goto yy494;
              if (yych != 'c') goto yy186;
yy494:
              YYDEBUG(494, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'T') goto yy495;
              if (yych != 't') goto yy186;
yy495:
              YYDEBUG(495, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'E') goto yy496;
              if (yych != 'e') goto yy186;
yy496:
              YYDEBUG(496, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'D') goto yy497;
              if (yych != 'd') goto yy186;
yy497:
              YYDEBUG(497, *YYCURSOR);
              ++YYCURSOR;
              if (yybm[0+(yych = *YYCURSOR)] & 8) {
                     goto yy185;
              }
              YYDEBUG(498, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1161 "Zend/zend_language_scanner.l"
              {
       return T_PROTECTED;
}
#line 5148 "Zend/zend_language_scanner.c"
yy499:
              YYDEBUG(499, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'T') goto yy505;
              if (yych == 't') goto yy505;
              goto yy186;
yy500:
              YYDEBUG(500, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'A') goto yy501;
              if (yych != 'a') goto yy186;
yy501:
              YYDEBUG(501, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'T') goto yy502;
              if (yych != 't') goto yy186;
yy502:
              YYDEBUG(502, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'E') goto yy503;
              if (yych != 'e') goto yy186;
yy503:
              YYDEBUG(503, *YYCURSOR);
              ++YYCURSOR;
              if (yybm[0+(yych = *YYCURSOR)] & 8) {
                     goto yy185;
              }
              YYDEBUG(504, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1157 "Zend/zend_language_scanner.l"
              {
       return T_PRIVATE;
}
#line 5182 "Zend/zend_language_scanner.c"
yy505:
              YYDEBUG(505, *YYCURSOR);
              ++YYCURSOR;
              if (yybm[0+(yych = *YYCURSOR)] & 8) {
                     goto yy185;
              }
              YYDEBUG(506, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 999 "Zend/zend_language_scanner.l"
              {
       return T_PRINT;
}
#line 5195 "Zend/zend_language_scanner.c"
yy507:
              YYDEBUG(507, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'O') goto yy512;
              if (yych == 'o') goto yy512;
              goto yy186;
yy508:
              YYDEBUG(508, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'T') goto yy509;
              if (yych != 't') goto yy186;
yy509:
              YYDEBUG(509, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'O') goto yy510;
              if (yych != 'o') goto yy186;
yy510:
              YYDEBUG(510, *YYCURSOR);
              ++YYCURSOR;
              if (yybm[0+(yych = *YYCURSOR)] & 8) {
                     goto yy185;
              }
              YYDEBUG(511, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 991 "Zend/zend_language_scanner.l"
              {
       return T_GOTO;
}
#line 5224 "Zend/zend_language_scanner.c"
yy512:
              YYDEBUG(512, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'B') goto yy513;
              if (yych != 'b') goto yy186;
yy513:
              YYDEBUG(513, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'A') goto yy514;
              if (yych != 'a') goto yy186;
yy514:
              YYDEBUG(514, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'L') goto yy515;
              if (yych != 'l') goto yy186;
yy515:
              YYDEBUG(515, *YYCURSOR);
              ++YYCURSOR;
              if (yybm[0+(yych = *YYCURSOR)] & 8) {
                     goto yy185;
              }
              YYDEBUG(516, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1129 "Zend/zend_language_scanner.l"
              {
       return T_GLOBAL;
}
#line 5252 "Zend/zend_language_scanner.c"
yy517:
              YYDEBUG(517, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == '<') goto yy525;
              goto yy193;
yy518:
              YYDEBUG(518, *YYCURSOR);
              yych = *++YYCURSOR;
              goto yy180;
yy519:
              YYDEBUG(519, *YYCURSOR);
              yych = *++YYCURSOR;
              goto yy178;
yy520:
              YYDEBUG(520, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'E') goto yy521;
              if (yych != 'e') goto yy186;
yy521:
              YYDEBUG(521, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'A') goto yy522;
              if (yych != 'a') goto yy186;
yy522:
              YYDEBUG(522, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'K') goto yy523;
              if (yych != 'k') goto yy186;
yy523:
              YYDEBUG(523, *YYCURSOR);
              ++YYCURSOR;
              if (yybm[0+(yych = *YYCURSOR)] & 8) {
                     goto yy185;
              }
              YYDEBUG(524, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 983 "Zend/zend_language_scanner.l"
              {
       return T_BREAK;
}
#line 5293 "Zend/zend_language_scanner.c"
yy525:
              YYDEBUG(525, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == '<') goto yy265;
              goto yy193;
yy526:
              YYDEBUG(526, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'A') goto yy533;
              if (yych == 'a') goto yy533;
              goto yy186;
yy527:
              YYDEBUG(527, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'I') goto yy528;
              if (yych != 'i') goto yy186;
yy528:
              YYDEBUG(528, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'T') goto yy529;
              if (yych != 't') goto yy186;
yy529:
              YYDEBUG(529, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'C') goto yy530;
              if (yych != 'c') goto yy186;
yy530:
              YYDEBUG(530, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'H') goto yy531;
              if (yych != 'h') goto yy186;
yy531:
              YYDEBUG(531, *YYCURSOR);
              ++YYCURSOR;
              if (yybm[0+(yych = *YYCURSOR)] & 8) {
                     goto yy185;
              }
              YYDEBUG(532, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 967 "Zend/zend_language_scanner.l"
              {
       return T_SWITCH;
}
#line 5337 "Zend/zend_language_scanner.c"
yy533:
              YYDEBUG(533, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'T') goto yy534;
              if (yych != 't') goto yy186;
yy534:
              YYDEBUG(534, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'I') goto yy535;
              if (yych != 'i') goto yy186;
yy535:
              YYDEBUG(535, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'C') goto yy536;
              if (yych != 'c') goto yy186;
yy536:
              YYDEBUG(536, *YYCURSOR);
              ++YYCURSOR;
              if (yybm[0+(yych = *YYCURSOR)] & 8) {
                     goto yy185;
              }
              YYDEBUG(537, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1145 "Zend/zend_language_scanner.l"
              {
       return T_STATIC;
}
#line 5365 "Zend/zend_language_scanner.c"
yy538:
              YYDEBUG(538, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'S') goto yy549;
              if (yych == 's') goto yy549;
              goto yy186;
yy539:
              YYDEBUG(539, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'D') goto yy547;
              if (yych == 'd') goto yy547;
              goto yy186;
yy540:
              YYDEBUG(540, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'R') goto yy543;
              if (yych == 'r') goto yy543;
              goto yy186;
yy541:
              YYDEBUG(541, *YYCURSOR);
              ++YYCURSOR;
              if (yybm[0+(yych = *YYCURSOR)] & 8) {
                     goto yy185;
              }
              YYDEBUG(542, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 963 "Zend/zend_language_scanner.l"
              {
       return T_AS;
}
#line 5396 "Zend/zend_language_scanner.c"
yy543:
              YYDEBUG(543, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'A') goto yy544;
              if (yych != 'a') goto yy186;
yy544:
              YYDEBUG(544, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'Y') goto yy545;
              if (yych != 'y') goto yy186;
yy545:
              YYDEBUG(545, *YYCURSOR);
              ++YYCURSOR;
              if (yybm[0+(yych = *YYCURSOR)] & 8) {
                     goto yy185;
              }
              YYDEBUG(546, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1181 "Zend/zend_language_scanner.l"
              {
       return T_ARRAY;
}
#line 5419 "Zend/zend_language_scanner.c"
yy547:
              YYDEBUG(547, *YYCURSOR);
              ++YYCURSOR;
              if (yybm[0+(yych = *YYCURSOR)] & 8) {
                     goto yy185;
              }
              YYDEBUG(548, *YYCURSOR);
              yyleng = YYCURSOR - SCNG(yy_text);
#line 1273 "Zend/zend_language_scanner.l"
              {
       return T_LOGICAL_AND;
}
#line 5432 "Zend/zend_language_scanner.c"
yy549:
              YYDEBUG(549, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'T') goto yy550;
              if (yych != 't') goto yy186;
yy550:
              YYDEBUG(550, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'R') goto yy551;
              if (yych != 'r') goto yy186;
yy551:
              YYDEBUG(551, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'A') goto yy552;
              if (yych != 'a') goto yy186;
yy552:
              YYDEBUG(552, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'C') goto yy553;
              if (yych != 'c') goto yy186;
yy553:
              YYDEBUG(553, *YYCURSOR);
              yych = *++YYCURSOR;
              if (yych == 'T') goto yy554;
              if (yych != 't') goto yy186;
yy554:
              YYDEBUG(554, *YYCURSOR);
              ++YYCURSOR;
              if (yybm[0+(yych = *YYCURSOR)] & 8) {
                     goto yy185;
              }
              YYDEBUG(555, *YYCURSOR);
              yyleng =