typedef unsigned int size_t;
typedef unsigned char __u_char;
typedef unsigned short __u_short;
typedef unsigned int __u_int;
typedef unsigned long __u_long;
typedef signed char __int8_t;
typedef unsigned char __uint8_t;
typedef short __int16_t;
typedef unsigned short __uint16_t;
typedef int __int32_t;
typedef unsigned int __uint32_t;
typedef long long __int64_t;
typedef unsigned long long __uint64_t;
typedef long long __quad_t;
typedef unsigned long long __u_quad_t;
typedef __u_quad_t __dev_t;
typedef unsigned int __uid_t;
typedef unsigned int __gid_t;
typedef unsigned long __ino_t;
typedef __u_quad_t __ino64_t;
typedef unsigned int __mode_t;
typedef unsigned int __nlink_t;
typedef long __off_t;
typedef __quad_t __off64_t;
typedef int __pid_t;
struct __anonstruct___fsid_t_1 {
   int __val[2] ;
};
typedef struct __anonstruct___fsid_t_1 __fsid_t;
typedef long __clock_t;
typedef unsigned long __rlim_t;
typedef __u_quad_t __rlim64_t;
typedef unsigned int __id_t;
typedef long __time_t;
typedef unsigned int __useconds_t;
typedef long __suseconds_t;
typedef int __daddr_t;
typedef long __swblk_t;
typedef int __key_t;
typedef int __clockid_t;
typedef void *__timer_t;
typedef long __blksize_t;
typedef long __blkcnt_t;
typedef __quad_t __blkcnt64_t;
typedef unsigned long __fsblkcnt_t;
typedef __u_quad_t __fsblkcnt64_t;
typedef unsigned long __fsfilcnt_t;
typedef __u_quad_t __fsfilcnt64_t;
typedef int __ssize_t;
typedef __off64_t __loff_t;
typedef __quad_t *__qaddr_t;
typedef char *__caddr_t;
typedef int __intptr_t;
typedef unsigned int __socklen_t;
struct _IO_FILE;
struct _IO_FILE;
typedef struct _IO_FILE FILE;
typedef struct _IO_FILE __FILE;
union __anonunion___value_3 {
   unsigned int __wch ;
   char __wchb[4] ;
};
struct __anonstruct___mbstate_t_2 {
   int __count ;
   union __anonunion___value_3 __value ;
};
typedef struct __anonstruct___mbstate_t_2 __mbstate_t;
struct __anonstruct__G_fpos_t_4 {
   __off_t __pos ;
   __mbstate_t __state ;
};
typedef struct __anonstruct__G_fpos_t_4 _G_fpos_t;
struct __anonstruct__G_fpos64_t_5 {
   __off64_t __pos ;
   __mbstate_t __state ;
};
typedef struct __anonstruct__G_fpos64_t_5 _G_fpos64_t;
typedef short _G_int16_t;
typedef int _G_int32_t;
typedef unsigned short _G_uint16_t;
typedef unsigned int _G_uint32_t;
typedef __builtin_va_list __gnuc_va_list;
struct _IO_jump_t;
struct _IO_jump_t;
struct _IO_FILE;
typedef void _IO_lock_t;
struct _IO_marker {
   struct _IO_marker *_next ;
   struct _IO_FILE *_sbuf ;
   int _pos ;
};
enum __codecvt_result {
    __codecvt_ok = 0,
    __codecvt_partial = 1,
    __codecvt_error = 2,
    __codecvt_noconv = 3
} ;
struct _IO_FILE {
   int _flags ;
   char *_IO_read_ptr ;
   char *_IO_read_end ;
   char *_IO_read_base ;
   char *_IO_write_base ;
   char *_IO_write_ptr ;
   char *_IO_write_end ;
   char *_IO_buf_base ;
   char *_IO_buf_end ;
   char *_IO_save_base ;
   char *_IO_backup_base ;
   char *_IO_save_end ;
   struct _IO_marker *_markers ;
   struct _IO_FILE *_chain ;
   int _fileno ;
   int _flags2 ;
   __off_t _old_offset ;
   unsigned short _cur_column ;
   signed char _vtable_offset ;
   char _shortbuf[1] ;
   _IO_lock_t *_lock ;
   __off64_t _offset ;
   void *__pad1 ;
   void *__pad2 ;
   void *__pad3 ;
   void *__pad4 ;
   size_t __pad5 ;
   int _mode ;
   char _unused2[(15U * sizeof(int ) - 4U * sizeof(void *)) - sizeof(size_t )] ;
};
typedef struct _IO_FILE _IO_FILE;
struct _IO_FILE_plus;
struct _IO_FILE_plus;
typedef __ssize_t __io_read_fn(void *__cookie , char *__buf , size_t __nbytes );
typedef __ssize_t __io_write_fn(void *__cookie , char const   *__buf , size_t __n );
typedef int __io_seek_fn(void *__cookie , __off64_t *__pos , int __w );
typedef int __io_close_fn(void *__cookie );
typedef __gnuc_va_list va_list;
typedef __off_t off_t;
typedef __ssize_t ssize_t;
typedef _G_fpos_t fpos_t;
typedef long wchar_t;
struct __anonstruct___wait_terminated_6 {
   unsigned int __w_termsig : 7 ;
   unsigned int __w_coredump : 1 ;
   unsigned int __w_retcode : 8 ;
   unsigned int  : 16 ;
};
struct __anonstruct___wait_stopped_7 {
   unsigned int __w_stopval : 8 ;
   unsigned int __w_stopsig : 8 ;
   unsigned int  : 16 ;
};
union wait {
   int w_status ;
   struct __anonstruct___wait_terminated_6 __wait_terminated ;
   struct __anonstruct___wait_stopped_7 __wait_stopped ;
};
union __anonunion___WAIT_STATUS_8 {
   union wait *__uptr ;
   int *__iptr ;
};
typedef union __anonunion___WAIT_STATUS_8  __attribute__((__transparent_union__)) __WAIT_STATUS;
struct __anonstruct_div_t_9 {
   int quot ;
   int rem ;
};
typedef struct __anonstruct_div_t_9 div_t;
struct __anonstruct_ldiv_t_10 {
   long quot ;
   long rem ;
};
typedef struct __anonstruct_ldiv_t_10 ldiv_t;
struct __anonstruct_lldiv_t_11 {
   long long quot ;
   long long rem ;
};
typedef struct __anonstruct_lldiv_t_11 lldiv_t;
typedef __u_char u_char;
typedef __u_short u_short;
typedef __u_int u_int;
typedef __u_long u_long;
typedef __quad_t quad_t;
typedef __u_quad_t u_quad_t;
typedef __fsid_t fsid_t;
typedef __loff_t loff_t;
typedef __ino_t ino_t;
typedef __dev_t dev_t;
typedef __gid_t gid_t;
typedef __mode_t mode_t;
typedef __nlink_t nlink_t;
typedef __uid_t uid_t;
typedef __pid_t pid_t;
typedef __id_t id_t;
typedef __daddr_t daddr_t;
typedef __caddr_t caddr_t;
typedef __key_t key_t;
typedef __clock_t clock_t;
typedef __time_t time_t;
typedef __clockid_t clockid_t;
typedef __timer_t timer_t;
typedef unsigned long ulong;
typedef unsigned short ushort;
typedef unsigned int uint;
typedef signed char int8_t;
typedef short int16_t;
typedef int int32_t;
typedef long long int64_t;
typedef unsigned char u_int8_t;
typedef unsigned short u_int16_t;
typedef unsigned int u_int32_t;
typedef unsigned long long u_int64_t;
typedef int register_t;
typedef int __sig_atomic_t;
struct __anonstruct___sigset_t_12 {
   unsigned long __val[1024U / (8U * sizeof(unsigned long ))] ;
};
typedef struct __anonstruct___sigset_t_12 __sigset_t;
typedef __sigset_t sigset_t;
struct timespec {
   __time_t tv_sec ;
   long tv_nsec ;
};
struct timeval {
   __time_t tv_sec ;
   __suseconds_t tv_usec ;
};
typedef __suseconds_t suseconds_t;
typedef long __fd_mask;
struct __anonstruct_fd_set_13 {
   __fd_mask __fds_bits[1024 / (8 * (int )sizeof(__fd_mask ))] ;
};
typedef struct __anonstruct_fd_set_13 fd_set;
typedef __fd_mask fd_mask;
typedef __blksize_t blksize_t;
typedef __blkcnt_t blkcnt_t;
typedef __fsblkcnt_t fsblkcnt_t;
typedef __fsfilcnt_t fsfilcnt_t;
typedef unsigned long pthread_t;
union __anonunion_pthread_attr_t_14 {
   char __size[36] ;
   long __align ;
};
typedef union __anonunion_pthread_attr_t_14 pthread_attr_t;
struct __pthread_internal_slist {
   struct __pthread_internal_slist *__next ;
};
typedef struct __pthread_internal_slist __pthread_slist_t;
union __anonunion____missing_field_name_16 {
   int __spins ;
   __pthread_slist_t __list ;
};
struct __pthread_mutex_s {
   int __lock ;
   unsigned int __count ;
   int __owner ;
   int __kind ;
   unsigned int __nusers ;
   union __anonunion____missing_field_name_16 __annonCompField1 ;
};
union __anonunion_pthread_mutex_t_15 {
   struct __pthread_mutex_s __data ;
   char __size[24] ;
   long __align ;
};
typedef union __anonunion_pthread_mutex_t_15 pthread_mutex_t;
union __anonunion_pthread_mutexattr_t_17 {
   char __size[4] ;
   long __align ;
};
typedef union __anonunion_pthread_mutexattr_t_17 pthread_mutexattr_t;
struct __anonstruct___data_19 {
   int __lock ;
   unsigned int __futex ;
   unsigned long long __total_seq ;
   unsigned long long __wakeup_seq ;
   unsigned long long __woken_seq ;
   void *__mutex ;
   unsigned int __nwaiters ;
   unsigned int __broadcast_seq ;
};
union __anonunion_pthread_cond_t_18 {
   struct __anonstruct___data_19 __data ;
   char __size[48] ;
   long long __align ;
};
typedef union __anonunion_pthread_cond_t_18 pthread_cond_t;
union __anonunion_pthread_condattr_t_20 {
   char __size[4] ;
   long __align ;
};
typedef union __anonunion_pthread_condattr_t_20 pthread_condattr_t;
typedef unsigned int pthread_key_t;
typedef int pthread_once_t;
struct __anonstruct___data_22 {
   int __lock ;
   unsigned int __nr_readers ;
   unsigned int __readers_wakeup ;
   unsigned int __writer_wakeup ;
   unsigned int __nr_readers_queued ;
   unsigned int __nr_writers_queued ;
   unsigned char __flags ;
   unsigned char __shared ;
   unsigned char __pad1 ;
   unsigned char __pad2 ;
   int __writer ;
};
union __anonunion_pthread_rwlock_t_21 {
   struct __anonstruct___data_22 __data ;
   char __size[32] ;
   long __align ;
};
typedef union __anonunion_pthread_rwlock_t_21 pthread_rwlock_t;
union __anonunion_pthread_rwlockattr_t_23 {
   char __size[8] ;
   long __align ;
};
typedef union __anonunion_pthread_rwlockattr_t_23 pthread_rwlockattr_t;
typedef int volatile   pthread_spinlock_t;
union __anonunion_pthread_barrier_t_24 {
   char __size[20] ;
   long __align ;
};
typedef union __anonunion_pthread_barrier_t_24 pthread_barrier_t;
union __anonunion_pthread_barrierattr_t_25 {
   char __size[4] ;
   int __align ;
};
typedef union __anonunion_pthread_barrierattr_t_25 pthread_barrierattr_t;
struct random_data {
   int32_t *fptr ;
   int32_t *rptr ;
   int32_t *state ;
   int rand_type ;
   int rand_deg ;
   int rand_sep ;
   int32_t *end_ptr ;
};
struct drand48_data {
   unsigned short __x[3] ;
   unsigned short __old_x[3] ;
   unsigned short __c ;
   unsigned short __init ;
   unsigned long long __a ;
};
typedef int (*__compar_fn_t)(void const   * , void const   * );
struct __locale_data;
struct __locale_struct {
   struct __locale_data *__locales[13] ;
   unsigned short const   *__ctype_b ;
   int const   *__ctype_tolower ;
   int const   *__ctype_toupper ;
   char const   *__names[13] ;
};
typedef struct __locale_struct *__locale_t;
typedef __locale_t locale_t;
typedef long double float_t;
typedef long double double_t;
enum __anonenum_26 {
    FP_NAN = 0,
    FP_INFINITE = 1,
    FP_ZERO = 2,
    FP_SUBNORMAL = 3,
    FP_NORMAL = 4
} ;
enum __anonenum__LIB_VERSION_TYPE_27 {
    _IEEE_ = -1,
    _SVID_ = 0,
    _XOPEN_ = 1,
    _POSIX_ = 2,
    _ISOC_ = 3
} ;
typedef enum __anonenum__LIB_VERSION_TYPE_27 _LIB_VERSION_TYPE;
struct exception {
   int type ;
   char *name ;
   double arg1 ;
   double arg2 ;
   double retval ;
};
union __anonunion___u_28 {
   float __f ;
   int __i ;
};
union __anonunion___u_29 {
   double __d ;
   int __i[2] ;
};
union __anonunion___u_30 {
   long double __l ;
   int __i[3] ;
};
union __anonunion___n_31 {
   long double __xld ;
   unsigned int __xi[3] ;
};
union __anonunion_32 {
   double __d ;
   int __i[2] ;
};
typedef long tsrm_intptr_t;
typedef unsigned long tsrm_uintptr_t;
struct _zend_leak_info {
   void *addr ;
   size_t size ;
   char const   *filename ;
   uint lineno ;
   char const   *orig_filename ;
   uint orig_lineno ;
};
typedef struct _zend_leak_info zend_leak_info;
struct _zend_mm_heap;
typedef struct _zend_mm_heap zend_mm_heap;
struct _zend_mm_storage;
typedef struct _zend_mm_storage zend_mm_storage;
struct _zend_mm_segment {
   size_t size ;
   struct _zend_mm_segment *next_segment ;
};
typedef struct _zend_mm_segment zend_mm_segment;
struct _zend_mm_mem_handlers {
   char const   *name ;
   zend_mm_storage *(*init)(void *params ) ;
   void (*dtor)(zend_mm_storage *storage ) ;
   void (*compact)(zend_mm_storage *storage ) ;
   zend_mm_segment *(*_alloc)(zend_mm_storage *storage , size_t size ) ;
   zend_mm_segment *(*_realloc)(zend_mm_storage *storage , zend_mm_segment *ptr , size_t size ) ;
   void (*_free)(zend_mm_storage *storage , zend_mm_segment *ptr ) ;
};
typedef struct _zend_mm_mem_handlers zend_mm_mem_handlers;
struct _zend_mm_storage {
   zend_mm_mem_handlers const   *handlers ;
   void *data ;
};
typedef unsigned char zend_bool;
typedef unsigned char zend_uchar;
typedef unsigned int zend_uint;
typedef unsigned long zend_ulong;
typedef unsigned short zend_ushort;
typedef long long zend_long64;
typedef unsigned long long zend_ulong64;
typedef long zend_intptr_t;
typedef unsigned long zend_uintptr_t;
typedef unsigned int zend_object_handle;
struct _zend_object_handlers;
typedef struct _zend_object_handlers zend_object_handlers;
struct _zend_object_value {
   zend_object_handle handle ;
   zend_object_handlers const   *handlers ;
};
typedef struct _zend_object_value zend_object_value;
typedef ulong (*hash_func_t)(char const   *arKey , uint nKeyLength );
typedef int (*compare_func_t)(void const   * , void const   * );
typedef void (*sort_func_t)(void * , size_t  , size_t  , int (*)(void const   * , void const   * ) );
typedef void (*dtor_func_t)(void *pDest );
typedef void (*copy_ctor_func_t)(void *pElement );
typedef void (*copy_ctor_param_func_t)(void *pElement , void *pParam );
struct _hashtable;
struct _hashtable;
struct bucket {
   ulong h ;
   uint nKeyLength ;
   void *pData ;
   void *pDataPtr ;
   struct bucket *pListNext ;
   struct bucket *pListLast ;
   struct bucket *pNext ;
   struct bucket *pLast ;
   char const   *arKey ;
};
typedef struct bucket Bucket;
struct _hashtable {
   uint nTableSize ;
   uint nTableMask ;
   uint nNumOfElements ;
   ulong nNextFreeElement ;
   Bucket *pInternalPointer ;
   Bucket *pListHead ;
   Bucket *pListTail ;
   Bucket **arBuckets ;
   void (*pDestructor)(void *pDest ) ;
   zend_bool persistent ;
   unsigned char nApplyCount ;
   zend_bool bApplyProtection ;
};
typedef struct _hashtable HashTable;
struct _zend_hash_key {
   char const   *arKey ;
   uint nKeyLength ;
   ulong h ;
};
typedef struct _zend_hash_key zend_hash_key;
typedef zend_bool (*merge_checker_func_t)(HashTable *target_ht , void *source_data , zend_hash_key *hash_key , void *pParam );
typedef Bucket *HashPosition;
typedef int (*apply_func_t)(void *pDest );
typedef int (*apply_func_arg_t)(void *pDest , void *argument );
typedef int (*apply_func_args_t)(void *pDest , int num_args , va_list args , zend_hash_key *hash_key );
struct _HashPointer {
   HashPosition pos ;
   ulong h ;
};
typedef struct _HashPointer HashPointer;
struct _zend_ts_hashtable {
   HashTable hash ;
   zend_uint reader ;
};
typedef struct _zend_ts_hashtable TsHashTable;
struct _zend_llist_element {
   struct _zend_llist_element *next ;
   struct _zend_llist_element *prev ;
   char data[1] ;
};
typedef struct _zend_llist_element zend_llist_element;
typedef void (*llist_dtor_func_t)(void * );
typedef int (*llist_compare_func_t)(zend_llist_element const   ** , zend_llist_element const   ** );
typedef void (*llist_apply_with_args_func_t)(void *data , int num_args , va_list args );
typedef void (*llist_apply_with_arg_func_t)(void *data , void *arg );
typedef void (*llist_apply_func_t)(void * );
struct _zend_llist {
   zend_llist_element *head ;
   zend_llist_element *tail ;
   size_t count ;
   size_t size ;
   void (*dtor)(void * ) ;
   unsigned char persistent ;
   zend_llist_element *traverse_ptr ;
};
typedef struct _zend_llist zend_llist;
typedef zend_llist_element *zend_llist_position;
struct _zval_struct;
typedef struct _zval_struct zval;
struct _zend_class_entry;
typedef struct _zend_class_entry zend_class_entry;
struct _zend_guard {
   zend_bool in_get ;
   zend_bool in_set ;
   zend_bool in_unset ;
   zend_bool in_isset ;
   zend_bool dummy ;
};
typedef struct _zend_guard zend_guard;
struct _zend_object {
   zend_class_entry *ce ;
   HashTable *properties ;
   zval **properties_table ;
   HashTable *guards ;
};
typedef struct _zend_object zend_object;
union _zend_function;
union _zend_function;
struct _zend_property_info;
struct _zend_property_info;
struct _zend_literal;
struct _zend_literal;
typedef zval *(*zend_object_read_property_t)(zval *object , zval *member , int type , struct _zend_literal  const  *key );
typedef zval *(*zend_object_read_dimension_t)(zval *object , zval *offset , int type );
typedef void (*zend_object_write_property_t)(zval *object , zval *member , zval *value , struct _zend_literal  const  *key );
typedef void (*zend_object_write_dimension_t)(zval *object , zval *offset , zval *value );
typedef zval **(*zend_object_get_property_ptr_ptr_t)(zval *object , zval *member , struct _zend_literal  const  *key );
typedef void (*zend_object_set_t)(zval **object , zval *value );
typedef zval *(*zend_object_get_t)(zval *object );
typedef int (*zend_object_has_property_t)(zval *object , zval *member , int has_set_exists , struct _zend_literal  const  *key );
typedef int (*zend_object_has_dimension_t)(zval *object , zval *member , int check_empty );
typedef void (*zend_object_unset_property_t)(zval *object , zval *member , struct _zend_literal  const  *key );
typedef void (*zend_object_unset_dimension_t)(zval *object , zval *offset );
typedef HashTable *(*zend_object_get_properties_t)(zval *object );
typedef HashTable *(*zend_object_get_debug_info_t)(zval *object , int *is_temp );
typedef int (*zend_object_call_method_t)(char const   *method , int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used );
typedef union _zend_function *(*zend_object_get_method_t)(zval **object_ptr , char *method , int method_len , struct _zend_literal  const  *key );
typedef union _zend_function *(*zend_object_get_constructor_t)(zval *object );
typedef void (*zend_object_add_ref_t)(zval *object );
typedef void (*zend_object_del_ref_t)(zval *object );
typedef void (*zend_object_delete_obj_t)(zval *object );
typedef zend_object_value (*zend_object_clone_obj_t)(zval *object );
typedef zend_class_entry *(*zend_object_get_class_entry_t)(zval const   *object );
typedef int (*zend_object_get_class_name_t)(zval const   *object , char const   **class_name , zend_uint *class_name_len , int parent );
typedef int (*zend_object_compare_t)(zval *object1 , zval *object2 );
typedef int (*zend_object_cast_t)(zval *readobj , zval *retval , int type );
typedef int (*zend_object_count_elements_t)(zval *object , long *count );
typedef int (*zend_object_get_closure_t)(zval *obj , zend_class_entry **ce_ptr , union _zend_function **fptr_ptr , zval **zobj_ptr );
typedef HashTable *(*zend_object_get_gc_t)(zval *object , zval ***table , int *n );
struct _zend_object_handlers {
   void (*add_ref)(zval *object ) ;
   void (*del_ref)(zval *object ) ;
   zend_object_value (*clone_obj)(zval *object ) ;
   zval *(*read_property)(zval *object , zval *member , int type , struct _zend_literal  const  *key ) ;
   void (*write_property)(zval *object , zval *member , zval *value , struct _zend_literal  const  *key ) ;
   zval *(*read_dimension)(zval *object , zval *offset , int type ) ;
   void (*write_dimension)(zval *object , zval *offset , zval *value ) ;
   zval **(*get_property_ptr_ptr)(zval *object , zval *member , struct _zend_literal  const  *key ) ;
   zval *(*get)(zval *object ) ;
   void (*set)(zval **object , zval *value ) ;
   int (*has_property)(zval *object , zval *member , int has_set_exists , struct _zend_literal  const  *key ) ;
   void (*unset_property)(zval *object , zval *member , struct _zend_literal  const  *key ) ;
   int (*has_dimension)(zval *object , zval *member , int check_empty ) ;
   void (*unset_dimension)(zval *object , zval *offset ) ;
   HashTable *(*get_properties)(zval *object ) ;
   union _zend_function *(*get_method)(zval **object_ptr , char *method , int method_len , struct _zend_literal  const  *key ) ;
   int (*call_method)(char const   *method , int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
   union _zend_function *(*get_constructor)(zval *object ) ;
   zend_class_entry *(*get_class_entry)(zval const   *object ) ;
   int (*get_class_name)(zval const   *object , char const   **class_name , zend_uint *class_name_len , int parent ) ;
   int (*compare_objects)(zval *object1 , zval *object2 ) ;
   int (*cast_object)(zval *readobj , zval *retval , int type ) ;
   int (*count_elements)(zval *object , long *count ) ;
   HashTable *(*get_debug_info)(zval *object , int *is_temp ) ;
   int (*get_closure)(zval *obj , zend_class_entry **ce_ptr , union _zend_function **fptr_ptr , zval **zobj_ptr ) ;
   HashTable *(*get_gc)(zval *object , zval ***table , int *n ) ;
};
struct __anonstruct_str_33 {
   char *val ;
   int len ;
};
union _zvalue_value {
   long lval ;
   double dval ;
   struct __anonstruct_str_33 str ;
   HashTable *ht ;
   zend_object_value obj ;
};
typedef union _zvalue_value zvalue_value;
struct _zval_struct {
   zvalue_value value ;
   zend_uint refcount__gc ;
   zend_uchar type ;
   zend_uchar is_ref__gc ;
};
union _zend_function;
struct _zend_object_iterator;
typedef struct _zend_object_iterator zend_object_iterator;
struct _zend_object_iterator_funcs {
   void (*dtor)(zend_object_iterator *iter ) ;
   int (*valid)(zend_object_iterator *iter ) ;
   void (*get_current_data)(zend_object_iterator *iter , zval ***data ) ;
   int (*get_current_key)(zend_object_iterator *iter , char **str_key , uint *str_key_len , ulong *int_key ) ;
   void (*move_forward)(zend_object_iterator *iter ) ;
   void (*rewind)(zend_object_iterator *iter ) ;
   void (*invalidate_current)(zend_object_iterator *iter ) ;
};
typedef struct _zend_object_iterator_funcs zend_object_iterator_funcs;
struct _zend_object_iterator {
   void *data ;
   zend_object_iterator_funcs *funcs ;
   ulong index ;
};
struct _zend_class_iterator_funcs {
   zend_object_iterator_funcs *funcs ;
   union _zend_function *zf_new_iterator ;
   union _zend_function *zf_valid ;
   union _zend_function *zf_current ;
   union _zend_function *zf_key ;
   union _zend_function *zf_next ;
   union _zend_function *zf_rewind ;
};
typedef struct _zend_class_iterator_funcs zend_class_iterator_funcs;
enum zend_object_iterator_kind {
    ZEND_ITER_INVALID = 0,
    ZEND_ITER_PLAIN_ARRAY = 1,
    ZEND_ITER_PLAIN_OBJECT = 2,
    ZEND_ITER_OBJECT = 3
} ;
struct _zend_serialize_data;
struct _zend_serialize_data;
struct _zend_unserialize_data;
struct _zend_unserialize_data;
typedef struct _zend_serialize_data zend_serialize_data;
typedef struct _zend_unserialize_data zend_unserialize_data;
struct _zend_trait_method_reference {
   char const   *method_name ;
   unsigned int mname_len ;
   zend_class_entry *ce ;
   char const   *class_name ;
   unsigned int cname_len ;
};
typedef struct _zend_trait_method_reference zend_trait_method_reference;
struct _zend_trait_precedence {
   zend_trait_method_reference *trait_method ;
   zend_class_entry **exclude_from_classes ;
   union _zend_function *function ;
};
typedef struct _zend_trait_precedence zend_trait_precedence;
struct _zend_trait_alias {
   zend_trait_method_reference *trait_method ;
   char const   *alias ;
   unsigned int alias_len ;
   zend_uint modifiers ;
   union _zend_function *function ;
};
typedef struct _zend_trait_alias zend_trait_alias;
struct __anonstruct_user_35 {
   char const   *filename ;
   zend_uint line_start ;
   zend_uint line_end ;
   char const   *doc_comment ;
   zend_uint doc_comment_len ;
};
struct _zend_function_entry;
struct _zend_module_entry;
struct __anonstruct_internal_36 {
   struct _zend_function_entry  const  *builtin_functions ;
   struct _zend_module_entry *module ;
};
union __anonunion_info_34 {
   struct __anonstruct_user_35 user ;
   struct __anonstruct_internal_36 internal ;
};
struct _zend_class_entry {
   char type ;
   char const   *name ;
   zend_uint name_length ;
   struct _zend_class_entry *parent ;
   int refcount ;
   zend_uint ce_flags ;
   HashTable function_table ;
   HashTable properties_info ;
   zval **default_properties_table ;
   zval **default_static_members_table ;
   zval **static_members_table ;
   HashTable constants_table ;
   int default_properties_count ;
   int default_static_members_count ;
   union _zend_function *constructor ;
   union _zend_function *destructor ;
   union _zend_function *clone ;
   union _zend_function *__get ;
   union _zend_function *__set ;
   union _zend_function *__unset ;
   union _zend_function *__isset ;
   union _zend_function *__call ;
   union _zend_function *__callstatic ;
   union _zend_function *__tostring ;
   union _zend_function *serialize_func ;
   union _zend_function *unserialize_func ;
   zend_class_iterator_funcs iterator_funcs ;
   zend_object_value (*create_object)(zend_class_entry *class_type ) ;
   zend_object_iterator *(*get_iterator)(zend_class_entry *ce , zval *object , int by_ref ) ;
   int (*interface_gets_implemented)(zend_class_entry *iface , zend_class_entry *class_type ) ;
   union _zend_function *(*get_static_method)(zend_class_entry *ce , char *method , int method_len ) ;
   int (*serialize)(zval *object , unsigned char **buffer , zend_uint *buf_len , zend_serialize_data *data ) ;
   int (*unserialize)(zval **object , zend_class_entry *ce , unsigned char const   *buf , zend_uint buf_len , zend_unserialize_data *data ) ;
   zend_class_entry **interfaces ;
   zend_uint num_interfaces ;
   zend_class_entry **traits ;
   zend_uint num_traits ;
   zend_trait_alias **trait_aliases ;
   zend_trait_precedence **trait_precedences ;
   union __anonunion_info_34 info ;
};
typedef size_t (*zend_stream_fsizer_t)(void *handle );
typedef size_t (*zend_stream_reader_t)(void *handle , char *buf , size_t len );
typedef void (*zend_stream_closer_t)(void *handle );
enum __anonenum_zend_stream_type_37 {
    ZEND_HANDLE_FILENAME = 0,
    ZEND_HANDLE_FD = 1,
    ZEND_HANDLE_FP = 2,
    ZEND_HANDLE_STREAM = 3,
    ZEND_HANDLE_MAPPED = 4
} ;
typedef enum __anonenum_zend_stream_type_37 zend_stream_type;
struct _zend_mmap {
   size_t len ;
   size_t pos ;
   void *map ;
   char *buf ;
   void *old_handle ;
   void (*old_closer)(void *handle ) ;
};
typedef struct _zend_mmap zend_mmap;
struct _zend_stream {
   void *handle ;
   int isatty ;
   zend_mmap mmap ;
   size_t (*reader)(void *handle , char *buf , size_t len ) ;
   size_t (*fsizer)(void *handle ) ;
   void (*closer)(void *handle ) ;
};
typedef struct _zend_stream zend_stream;
union __anonunion_handle_38 {
   int fd ;
   FILE *fp ;
   zend_stream stream ;
};
struct _zend_file_handle {
   zend_stream_type type ;
   char const   *filename ;
   char *opened_path ;
   union __anonunion_handle_38 handle ;
   zend_bool free_filename ;
};
typedef struct _zend_file_handle zend_file_handle;
struct _zend_utility_functions {
   void ( /* format attribute */  (*error_function))(int type , char const   *error_filename , uint error_lineno , char const   *format , va_list args ) ;
   int ( /* format attribute */  (*printf_function))(char const   *format  , ...) ;
   int (*write_function)(char const   *str , uint str_length ) ;
   FILE *(*fopen_function)(char const   *filename , char **opened_path ) ;
   void (*message_handler)(long message , void const   *data ) ;
   int (*get_configuration_directive)(char const   *name , uint name_length , zval *contents ) ;
   void (*ticks_function)(int ticks ) ;
   void (*on_timeout)(int seconds ) ;
   int (*stream_open_function)(char const   *filename , zend_file_handle *handle ) ;
   int (*vspprintf_function)(char **pbuf , size_t max_len , char const   *format , va_list ap ) ;
   char *(*getenv_function)(char *name , size_t name_len ) ;
   char *(*resolve_path_function)(char const   *filename , int filename_len ) ;
};
typedef struct _zend_utility_functions zend_utility_functions;
struct _zend_utility_values {
   char *import_use_extension ;
   uint import_use_extension_length ;
   zend_bool html_errors ;
};
typedef struct _zend_utility_values zend_utility_values;
typedef int (*zend_write_func_t)(char const   *str , uint str_length );
typedef __sig_atomic_t sig_atomic_t;
union sigval {
   int sival_int ;
   void *sival_ptr ;
};
typedef union sigval sigval_t;
struct __anonstruct__kill_40 {
   __pid_t si_pid ;
   __uid_t si_uid ;
};
struct __anonstruct__timer_41 {
   int si_tid ;
   int si_overrun ;
   sigval_t si_sigval ;
};
struct __anonstruct__rt_42 {
   __pid_t si_pid ;
   __uid_t si_uid ;
   sigval_t si_sigval ;
};
struct __anonstruct__sigchld_43 {
   __pid_t si_pid ;
   __uid_t si_uid ;
   int si_status ;
   __clock_t si_utime ;
   __clock_t si_stime ;
};
struct __anonstruct__sigfault_44 {
   void *si_addr ;
};
struct __anonstruct__sigpoll_45 {
   long si_band ;
   int si_fd ;
};
union __anonunion__sifields_39 {
   int _pad[128U / sizeof(int ) - 3U] ;
   struct __anonstruct__kill_40 _kill ;
   struct __anonstruct__timer_41 _timer ;
   struct __anonstruct__rt_42 _rt ;
   struct __anonstruct__sigchld_43 _sigchld ;
   struct __anonstruct__sigfault_44 _sigfault ;
   struct __anonstruct__sigpoll_45 _sigpoll ;
};
struct siginfo {
   int si_signo ;
   int si_errno ;
   int si_code ;
   union __anonunion__sifields_39 _sifields ;
};
typedef struct siginfo siginfo_t;
enum __anonenum_46 {
    SI_ASYNCNL = -60,
    SI_TKILL = -6,
    SI_SIGIO = -5,
    SI_ASYNCIO = -4,
    SI_MESGQ = -3,
    SI_TIMER = -2,
    SI_QUEUE = -1,
    SI_USER = 0,
    SI_KERNEL = 128
} ;
enum __anonenum_47 {
    ILL_ILLOPC = 1,
    ILL_ILLOPN = 2,
    ILL_ILLADR = 3,
    ILL_ILLTRP = 4,
    ILL_PRVOPC = 5,
    ILL_PRVREG = 6,
    ILL_COPROC = 7,
    ILL_BADSTK = 8
} ;
enum __anonenum_48 {
    FPE_INTDIV = 1,
    FPE_INTOVF = 2,
    FPE_FLTDIV = 3,
    FPE_FLTOVF = 4,
    FPE_FLTUND = 5,
    FPE_FLTRES = 6,
    FPE_FLTINV = 7,
    FPE_FLTSUB = 8
} ;
enum __anonenum_49 {
    SEGV_MAPERR = 1,
    SEGV_ACCERR = 2
} ;
enum __anonenum_50 {
    BUS_ADRALN = 1,
    BUS_ADRERR = 2,
    BUS_OBJERR = 3
} ;
enum __anonenum_51 {
    TRAP_BRKPT = 1,
    TRAP_TRACE = 2
} ;
enum __anonenum_52 {
    CLD_EXITED = 1,
    CLD_KILLED = 2,
    CLD_DUMPED = 3,
    CLD_TRAPPED = 4,
    CLD_STOPPED = 5,
    CLD_CONTINUED = 6
} ;
enum __anonenum_53 {
    POLL_IN = 1,
    POLL_OUT = 2,
    POLL_MSG = 3,
    POLL_ERR = 4,
    POLL_PRI = 5,
    POLL_HUP = 6
} ;
struct __anonstruct__sigev_thread_55 {
   void (*_function)(sigval_t  ) ;
   void *_attribute ;
};
union __anonunion__sigev_un_54 {
   int _pad[64U / sizeof(int ) - 3U] ;
   __pid_t _tid ;
   struct __anonstruct__sigev_thread_55 _sigev_thread ;
};
struct sigevent {
   sigval_t sigev_value ;
   int sigev_signo ;
   int sigev_notify ;
   union __anonunion__sigev_un_54 _sigev_un ;
};
typedef struct sigevent sigevent_t;
enum __anonenum_56 {
    SIGEV_SIGNAL = 0,
    SIGEV_NONE = 1,
    SIGEV_THREAD = 2,
    SIGEV_THREAD_ID = 4
} ;
typedef void (*__sighandler_t)(int  );
typedef void (*sig_t)(int  );
union __anonunion___sigaction_handler_57 {
   void (*sa_handler)(int  ) ;
   void (*sa_sigaction)(int  , siginfo_t * , void * ) ;
};
struct sigaction {
   union __anonunion___sigaction_handler_57 __sigaction_handler ;
   __sigset_t sa_mask ;
   int sa_flags ;
   void (*sa_restorer)(void) ;
};
struct sigvec {
   void (*sv_handler)(int  ) ;
   int sv_mask ;
   int sv_flags ;
};
typedef signed char __s8;
typedef unsigned char __u8;
typedef short __s16;
typedef unsigned short __u16;
typedef int __s32;
typedef unsigned int __u32;
typedef long long __s64;
typedef unsigned long long __u64;
typedef unsigned short umode_t;
struct __anonstruct___kernel_fd_set_58 {
   unsigned long fds_bits[1024U / (8U * sizeof(unsigned long ))] ;
};
typedef struct __anonstruct___kernel_fd_set_58 __kernel_fd_set;
typedef void (*__kernel_sighandler_t)(int  );
typedef int __kernel_key_t;
typedef int __kernel_mqd_t;
typedef unsigned long __kernel_ino_t;
typedef unsigned short __kernel_mode_t;
typedef unsigned short __kernel_nlink_t;
typedef long __kernel_off_t;
typedef int __kernel_pid_t;
typedef unsigned short __kernel_ipc_pid_t;
typedef unsigned short __kernel_uid_t;
typedef unsigned short __kernel_gid_t;
typedef unsigned int __kernel_size_t;
typedef int __kernel_ssize_t;
typedef int __kernel_ptrdiff_t;
typedef long __kernel_time_t;
typedef long __kernel_suseconds_t;
typedef long __kernel_clock_t;
typedef int __kernel_timer_t;
typedef int __kernel_clockid_t;
typedef int __kernel_daddr_t;
typedef char *__kernel_caddr_t;
typedef unsigned short __kernel_uid16_t;
typedef unsigned short __kernel_gid16_t;
typedef unsigned int __kernel_uid32_t;
typedef unsigned int __kernel_gid32_t;
typedef unsigned short __kernel_old_uid_t;
typedef unsigned short __kernel_old_gid_t;
typedef unsigned short __kernel_old_dev_t;
typedef long long __kernel_loff_t;
struct __anonstruct___kernel_fsid_t_59 {
   int val[2] ;
};
typedef struct __anonstruct___kernel_fsid_t_59 __kernel_fsid_t;
typedef __u16 __le16;
typedef __u16 __be16;
typedef __u32 __le32;
typedef __u32 __be32;
typedef __u64 __le64;
typedef __u64 __be64;
typedef __u16 __sum16;
typedef __u32 __wsum;
struct _fpx_sw_bytes {
   __u32 magic1 ;
   __u32 extended_size ;
   __u64 xstate_bv ;
   __u32 xstate_size ;
   __u32 padding[7] ;
};
struct _fpreg {
   unsigned short significand[4] ;
   unsigned short exponent ;
};
struct _fpxreg {
   unsigned short significand[4] ;
   unsigned short exponent ;
   unsigned short padding[3] ;
};
struct _xmmreg {
   unsigned long element[4] ;
};
union __anonunion____missing_field_name_60 {
   unsigned long padding2[12] ;
   struct _fpx_sw_bytes sw_reserved ;
};
struct _fpstate {
   unsigned long cw ;
   unsigned long sw ;
   unsigned long tag ;
   unsigned long ipoff ;
   unsigned long cssel ;
   unsigned long dataoff ;
   unsigned long datasel ;
   struct _fpreg _st[8] ;
   unsigned short status ;
   unsigned short magic ;
   unsigned long _fxsr_env[6] ;
   unsigned long mxcsr ;
   unsigned long reserved ;
   struct _fpxreg _fxsr_st[8] ;
   struct _xmmreg _xmm[8] ;
   unsigned long padding1[44] ;
   union __anonunion____missing_field_name_60 __annonCompField2 ;
};
struct sigcontext {
   unsigned short gs ;
   unsigned short __gsh ;
   unsigned short fs ;
   unsigned short __fsh ;
   unsigned short es ;
   unsigned short __esh ;
   unsigned short ds ;
   unsigned short __dsh ;
   unsigned long edi ;
   unsigned long esi ;
   unsigned long ebp ;
   unsigned long esp ;
   unsigned long ebx ;
   unsigned long edx ;
   unsigned long ecx ;
   unsigned long eax ;
   unsigned long trapno ;
   unsigned long err ;
   unsigned long eip ;
   unsigned short cs ;
   unsigned short __csh ;
   unsigned long eflags ;
   unsigned long esp_at_signal ;
   unsigned short ss ;
   unsigned short __ssh ;
   struct _fpstate *fpstate ;
   unsigned long oldmask ;
   unsigned long cr2 ;
};
struct _xsave_hdr {
   __u64 xstate_bv ;
   __u64 reserved1[2] ;
   __u64 reserved2[5] ;
};
struct _ymmh_state {
   __u32 ymmh_space[64] ;
};
struct _xstate {
   struct _fpstate fpstate ;
   struct _xsave_hdr xstate_hdr ;
   struct _ymmh_state ymmh ;
};
struct sigstack {
   void *ss_sp ;
   int ss_onstack ;
};
enum __anonenum_61 {
    SS_ONSTACK = 1,
    SS_DISABLE = 2
} ;
struct sigaltstack {
   void *ss_sp ;
   int ss_flags ;
   size_t ss_size ;
};
typedef struct sigaltstack stack_t;
typedef int greg_t;
typedef greg_t gregset_t[19];
struct _libc_fpreg {
   unsigned short significand[4] ;
   unsigned short exponent ;
};
struct _libc_fpstate {
   unsigned long cw ;
   unsigned long sw ;
   unsigned long tag ;
   unsigned long ipoff ;
   unsigned long cssel ;
   unsigned long dataoff ;
   unsigned long datasel ;
   struct _libc_fpreg _st[8] ;
   unsigned long status ;
};
typedef struct _libc_fpstate *fpregset_t;
struct __anonstruct_mcontext_t_62 {
   gregset_t gregs ;
   fpregset_t fpregs ;
   unsigned long oldmask ;
   unsigned long cr2 ;
};
typedef struct __anonstruct_mcontext_t_62 mcontext_t;
struct ucontext {
   unsigned long uc_flags ;
   struct ucontext *uc_link ;
   stack_t uc_stack ;
   mcontext_t uc_mcontext ;
   __sigset_t uc_sigmask ;
   struct _libc_fpstate __fpregs_mem ;
};
typedef struct ucontext ucontext_t;
struct _zend_signal_entry_t {
   int flags ;
   void *handler ;
};
typedef struct _zend_signal_entry_t zend_signal_entry_t;
struct _zend_signal_t {
   int signo ;
   siginfo_t *siginfo ;
   void *context ;
};
typedef struct _zend_signal_t zend_signal_t;
struct _zend_signal_queue_t {
   zend_signal_t zend_signal ;
   struct _zend_signal_queue_t *next ;
};
typedef struct _zend_signal_queue_t zend_signal_queue_t;
struct _zend_signal_globals_t {
   int depth ;
   int blocked ;
   int running ;
   int active ;
   int initialized ;
   zend_bool check ;
   zend_signal_entry_t handlers[65] ;
   zend_signal_queue_t pstorage[32] ;
   zend_signal_queue_t *phead ;
   zend_signal_queue_t *ptail ;
   zend_signal_queue_t *pavail ;
};
typedef struct _zend_signal_globals_t zend_signal_globals_t;
union __anonunion_u_63 {
   zval *pz ;
   zend_object_handlers const   *handlers ;
};
struct _gc_root_buffer {
   struct _gc_root_buffer *prev ;
   struct _gc_root_buffer *next ;
   zend_object_handle handle ;
   union __anonunion_u_63 u ;
};
typedef struct _gc_root_buffer gc_root_buffer;
union __anonunion_u_64 {
   gc_root_buffer *buffered ;
   struct _zval_gc_info *next ;
};
struct _zval_gc_info {
   zval z ;
   union __anonunion_u_64 u ;
};
typedef struct _zval_gc_info zval_gc_info;
struct _zend_gc_globals {
   zend_bool gc_enabled ;
   zend_bool gc_active ;
   gc_root_buffer *buf ;
   gc_root_buffer roots ;
   gc_root_buffer *unused ;
   gc_root_buffer *first_unused ;
   gc_root_buffer *last_unused ;
   zval_gc_info *zval_to_free ;
   zval_gc_info *free_list ;
   zval_gc_info *next_to_free ;
   zend_uint gc_runs ;
   zend_uint collected ;
};
typedef struct _zend_gc_globals zend_gc_globals;
enum __anonenum_zend_error_handling_t_65 {
    EH_NORMAL = 0,
    EH_SUPPRESS = 1,
    EH_THROW = 2
} ;
typedef enum __anonenum_zend_error_handling_t_65 zend_error_handling_t;
struct __anonstruct_zend_error_handling_66 {
   zend_error_handling_t handling ;
   zend_class_entry *exception ;
   zval *user_handler ;
};
typedef struct __anonstruct_zend_error_handling_66 zend_error_handling;
struct _zend_op_array;
typedef struct _zend_op_array zend_op_array;
struct _zend_op;
typedef struct _zend_op zend_op;
struct _zend_compiler_context {
   zend_uint opcodes_size ;
   int vars_size ;
   int literals_size ;
   int current_brk_cont ;
   int backpatch_count ;
   HashTable *labels ;
};
typedef struct _zend_compiler_context zend_compiler_context;
struct _zend_literal {
   zval constant ;
   zend_ulong hash_value ;
   zend_uint cache_slot ;
};
typedef struct _zend_literal zend_literal;
union _znode_op {
   zend_uint constant ;
   zend_uint var ;
   zend_uint num ;
   zend_ulong hash ;
   zend_uint opline_num ;
   zend_op *jmp_addr ;
   zval *zv ;
   zend_literal *literal ;
   void *ptr ;
};
typedef union _znode_op znode_op;
union __anonunion_u_67 {
   znode_op op ;
   zval constant ;
   zend_op_array *op_array ;
};
struct _znode {
   int op_type ;
   union __anonunion_u_67 u ;
   zend_uint EA ;
};
typedef struct _znode znode;
struct _zend_execute_data;
typedef struct _zend_execute_data zend_execute_data;
typedef int (*user_opcode_handler_t)(zend_execute_data *execute_data );
typedef int ( __attribute__((__fastcall__)) (*opcode_handler_t))(zend_execute_data *execute_data );
struct _zend_op {
   int ( __attribute__((__fastcall__)) (*handler))(zend_execute_data *execute_data ) ;
   znode_op op1 ;
   znode_op op2 ;
   znode_op result ;
   ulong extended_value ;
   uint lineno ;
   zend_uchar opcode ;
   zend_uchar op1_type ;
   zend_uchar op2_type ;
   zend_uchar result_type ;
};
struct _zend_brk_cont_element {
   int start ;
   int cont ;
   int brk ;
   int parent ;
};
typedef struct _zend_brk_cont_element zend_brk_cont_element;
struct _zend_label {
   int brk_cont ;
   zend_uint opline_num ;
};
typedef struct _zend_label zend_label;
struct _zend_try_catch_element {
   zend_uint try_op ;
   zend_uint catch_op ;
};
typedef struct _zend_try_catch_element zend_try_catch_element;
struct _zend_property_info {
   zend_uint flags ;
   char const   *name ;
   int name_length ;
   ulong h ;
   int offset ;
   char const   *doc_comment ;
   int doc_comment_len ;
   zend_class_entry *ce ;
};
typedef struct _zend_property_info zend_property_info;
struct _zend_arg_info {
   char const   *name ;
   zend_uint name_len ;
   char const   *class_name ;
   zend_uint class_name_len ;
   zend_uchar type_hint ;
   zend_bool allow_null ;
   zend_bool pass_by_reference ;
};
typedef struct _zend_arg_info zend_arg_info;
struct _zend_internal_function_info {
   char const   *_name ;
   zend_uint _name_len ;
   char const   *_class_name ;
   zend_uint required_num_args ;
   zend_uchar _type_hint ;
   zend_bool return_reference ;
   zend_bool pass_rest_by_reference ;
};
typedef struct _zend_internal_function_info zend_internal_function_info;
struct _zend_compiled_variable {
   char const   *name ;
   int name_len ;
   ulong hash_value ;
};
typedef struct _zend_compiled_variable zend_compiled_variable;
struct _zend_op_array {
   zend_uchar type ;
   char const   *function_name ;
   zend_class_entry *scope ;
   zend_uint fn_flags ;
   union _zend_function *prototype ;
   zend_uint num_args ;
   zend_uint required_num_args ;
   zend_arg_info *arg_info ;
   zend_uint *refcount ;
   zend_op *opcodes ;
   zend_uint last ;
   zend_compiled_variable *vars ;
   int last_var ;
   zend_uint T ;
   zend_brk_cont_element *brk_cont_array ;
   int last_brk_cont ;
   zend_try_catch_element *try_catch_array ;
   int last_try_catch ;
   HashTable *static_variables ;
   zend_uint this_var ;
   char const   *filename ;
   zend_uint line_start ;
   zend_uint line_end ;
   char const   *doc_comment ;
   zend_uint doc_comment_len ;
   zend_uint early_binding ;
   zend_literal *literals ;
   int last_literal ;
   void **run_time_cache ;
   int last_cache_slot ;
   void *reserved[4] ;
};
struct _zend_internal_function {
   zend_uchar type ;
   char const   *function_name ;
   zend_class_entry *scope ;
   zend_uint fn_flags ;
   union _zend_function *prototype ;
   zend_uint num_args ;
   zend_uint required_num_args ;
   zend_arg_info *arg_info ;
   void (*handler)(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
   struct _zend_module_entry *module ;
};
typedef struct _zend_internal_function zend_internal_function;
struct __anonstruct_common_68 {
   zend_uchar type ;
   char const   *function_name ;
   zend_class_entry *scope ;
   zend_uint fn_flags ;
   union _zend_function *prototype ;
   zend_uint num_args ;
   zend_uint required_num_args ;
   zend_arg_info *arg_info ;
};
union _zend_function {
   zend_uchar type ;
   struct __anonstruct_common_68 common ;
   zend_op_array op_array ;
   zend_internal_function internal_function ;
};
typedef union _zend_function zend_function;
struct _zend_function_state {
   zend_function *function ;
   void **arguments ;
};
typedef struct _zend_function_state zend_function_state;
struct _zend_switch_entry {
   znode cond ;
   int default_case ;
   int control_var ;
};
typedef struct _zend_switch_entry zend_switch_entry;
struct _list_llist_element {
   znode var ;
   zend_llist dimensions ;
   znode value ;
};
typedef struct _list_llist_element list_llist_element;
union _temp_variable;
union _temp_variable;
struct _zend_execute_data {
   struct _zend_op *opline ;
   zend_function_state function_state ;
   zend_function *fbc ;
   zend_class_entry *called_scope ;
   zend_op_array *op_array ;
   zval *object ;
   union _temp_variable *Ts ;
   zval ***CVs ;
   HashTable *symbol_table ;
   struct _zend_execute_data *prev_execute_data ;
   zval *old_error_reporting ;
   zend_bool nested ;
   zval **original_return_value ;
   zend_class_entry *current_scope ;
   zend_class_entry *current_called_scope ;
   zval *current_this ;
   zval *current_object ;
};
typedef int __jmp_buf[6];
struct __jmp_buf_tag {
   __jmp_buf __jmpbuf ;
   int __mask_was_saved ;
   __sigset_t __saved_mask ;
};
typedef struct __jmp_buf_tag jmp_buf[1];
typedef struct __jmp_buf_tag sigjmp_buf[1];
struct _zend_compiler_globals;
typedef struct _zend_compiler_globals zend_compiler_globals;
struct _zend_executor_globals;
typedef struct _zend_executor_globals zend_executor_globals;
struct _zend_php_scanner_globals;
typedef struct _zend_php_scanner_globals zend_php_scanner_globals;
struct _zend_ini_scanner_globals;
typedef struct _zend_ini_scanner_globals zend_ini_scanner_globals;
struct _zend_stack {
   int top ;
   int max ;
   void **elements ;
};
typedef struct _zend_stack zend_stack;
struct _zend_ptr_stack {
   int top ;
   int max ;
   void **elements ;
   void **top_element ;
   zend_bool persistent ;
};
typedef struct _zend_ptr_stack zend_ptr_stack;
typedef void (*zend_objects_store_dtor_t)(void *object , zend_object_handle handle );
typedef void (*zend_objects_free_object_storage_t)(void *object );
typedef void (*zend_objects_store_clone_t)(void *object , void **object_clone );
struct _store_object {
   void *object ;
   void (*dtor)(void *object , zend_object_handle handle ) ;
   void (*free_storage)(void *object ) ;
   void (*clone)(void *object , void **object_clone ) ;
   zend_object_handlers const   *handlers ;
   zend_uint refcount ;
   gc_root_buffer *buffered ;
};
struct __anonstruct_free_list_69 {
   int next ;
};
union _store_bucket {
   struct _store_object obj ;
   struct __anonstruct_free_list_69 free_list ;
};
struct _zend_object_store_bucket {
   zend_bool destructor_called ;
   zend_bool valid ;
   union _store_bucket bucket ;
};
typedef struct _zend_object_store_bucket zend_object_store_bucket;
struct _zend_objects_store {
   zend_object_store_bucket *object_buckets ;
   zend_uint top ;
   zend_uint size ;
   int free_list_head ;
};
typedef struct _zend_objects_store zend_objects_store;
typedef unsigned short fpu_control_t;
struct _zend_encoding;
typedef struct _zend_encoding zend_encoding;
typedef size_t (*zend_encoding_filter)(unsigned char **str , size_t *str_length , unsigned char const   *buf , size_t length );
typedef zend_encoding const   *(*zend_encoding_fetcher)(char const   *encoding_name );
typedef char const   *(*zend_encoding_name_getter)(zend_encoding const   *encoding );
typedef int (*zend_encoding_lexer_compatibility_checker)(zend_encoding const   *encoding );
typedef zend_encoding const   *(*zend_encoding_detector)(unsigned char const   *string , size_t length , zend_encoding const   **list , size_t list_size );
typedef size_t (*zend_encoding_converter)(unsigned char **to , size_t *to_length , unsigned char const   *from , size_t from_length , zend_encoding const   *encoding_to , zend_encoding const   *encoding_from );
typedef int (*zend_encoding_list_parser)(char const   *encoding_list , size_t encoding_list_len , zend_encoding const   ***return_list , size_t *return_size , int persistent );
typedef zend_encoding const   *(*zend_encoding_internal_encoding_getter)(void);
typedef int (*zend_encoding_internal_encoding_setter)(zend_encoding const   *encoding );
struct _zend_multibyte_functions {
   char const   *provider_name ;
   zend_encoding const   *(*encoding_fetcher)(char const   *encoding_name ) ;
   char const   *(*encoding_name_getter)(zend_encoding const   *encoding ) ;
   int (*lexer_compatibility_checker)(zend_encoding const   *encoding ) ;
   zend_encoding const   *(*encoding_detector)(unsigned char const   *string , size_t length , zend_encoding const   **list , size_t list_size ) ;
   size_t (*encoding_converter)(unsigned char **to , size_t *to_length , unsigned char const   *from , size_t from_length , zend_encoding const   *encoding_to , zend_encoding const   *encoding_from ) ;
   int (*encoding_list_parser)(char const   *encoding_list , size_t encoding_list_len , zend_encoding const   ***return_list , size_t *return_size , int persistent ) ;
   zend_encoding const   *(*internal_encoding_getter)(void) ;
   int (*internal_encoding_setter)(zend_encoding const   *encoding ) ;
};
typedef struct _zend_multibyte_functions zend_multibyte_functions;
struct _zend_declarables {
   zval ticks ;
};
typedef struct _zend_declarables zend_declarables;
struct _zend_vm_stack;
typedef struct _zend_vm_stack *zend_vm_stack;
struct _zend_ini_entry;
typedef struct _zend_ini_entry zend_ini_entry;
struct _zend_ini_parser_param;
struct _zend_compiler_globals {
   zend_stack bp_stack ;
   zend_stack switch_cond_stack ;
   zend_stack foreach_copy_stack ;
   zend_stack object_stack ;
   zend_stack declare_stack ;
   zend_class_entry *active_class_entry ;
   zend_llist list_llist ;
   zend_llist dimension_llist ;
   zend_stack list_stack ;
   zend_stack function_call_stack ;
   char *compiled_filename ;
   int zend_lineno ;
   char *heredoc ;
   int heredoc_len ;
   zend_op_array *active_op_array ;
   HashTable *function_table ;
   HashTable *class_table ;
   HashTable filenames_table ;
   HashTable *auto_globals ;
   zend_bool parse_error ;
   zend_bool in_compilation ;
   zend_bool short_tags ;
   zend_bool asp_tags ;
   zend_declarables declarables ;
   zend_bool unclean_shutdown ;
   zend_bool ini_parser_unbuffered_errors ;
   zend_llist open_files ;
   long catch_begin ;
   struct _zend_ini_parser_param *ini_parser_param ;
   int interactive ;
   zend_uint start_lineno ;
   zend_bool increment_lineno ;
   znode implementing_class ;
   zend_uint access_type ;
   char *doc_comment ;
   zend_uint doc_comment_len ;
   zend_uint compiler_options ;
   zval *current_namespace ;
   HashTable *current_import ;
   zend_bool in_namespace ;
   zend_bool has_bracketed_namespaces ;
   zend_compiler_context context ;
   zend_stack context_stack ;
   char *interned_strings_start ;
   char *interned_strings_end ;
   char *interned_strings_top ;
   char *interned_strings_snapshot_top ;
   HashTable interned_strings ;
   zend_encoding const   **script_encoding_list ;
   size_t script_encoding_list_size ;
   zend_bool multibyte ;
   zend_bool detect_unicode ;
   zend_bool encoding_declared ;
};
struct _zend_executor_globals {
   zval **return_value_ptr_ptr ;
   zval uninitialized_zval ;
   zval *uninitialized_zval_ptr ;
   zval error_zval ;
   zval *error_zval_ptr ;
   zend_ptr_stack arg_types_stack ;
   HashTable *symtable_cache[32] ;
   HashTable **symtable_cache_limit ;
   HashTable **symtable_cache_ptr ;
   zend_op **opline_ptr ;
   HashTable *active_symbol_table ;
   HashTable symbol_table ;
   HashTable included_files ;
   jmp_buf *bailout ;
   int error_reporting ;
   int orig_error_reporting ;
   int exit_status ;
   zend_op_array *active_op_array ;
   HashTable *function_table ;
   HashTable *class_table ;
   HashTable *zend_constants ;
   zend_class_entry *scope ;
   zend_class_entry *called_scope ;
   zval *This ;
   long precision ;
   int ticks_count ;
   zend_bool in_execution ;
   HashTable *in_autoload ;
   zend_function *autoload_func ;
   zend_bool full_tables_cleanup ;
   zend_bool no_extensions ;
   HashTable regular_list ;
   HashTable persistent_list ;
   zend_vm_stack argument_stack ;
   int user_error_handler_error_reporting ;
   zval *user_error_handler ;
   zval *user_exception_handler ;
   zend_stack user_error_handlers_error_reporting ;
   zend_ptr_stack user_error_handlers ;
   zend_ptr_stack user_exception_handlers ;
   zend_error_handling_t error_handling ;
   zend_class_entry *exception_class ;
   int timeout_seconds ;
   int lambda_count ;
   HashTable *ini_directives ;
   HashTable *modified_ini_directives ;
   zend_ini_entry *error_reporting_ini_entry ;
   zend_objects_store objects_store ;
   zval *exception ;
   zval *prev_exception ;
   zend_op *opline_before_exception ;
   zend_op exception_op[3] ;
   struct _zend_execute_data *current_execute_data ;
   struct _zend_module_entry *current_module ;
   zend_property_info std_property_info ;
   zend_bool active ;
   zend_op *start_op ;
   void *saved_fpu_cw_ptr ;
   fpu_control_t saved_fpu_cw ;
   void *reserved[4] ;
};
struct _zend_ini_scanner_globals {
   zend_file_handle *yy_in ;
   zend_file_handle *yy_out ;
   unsigned int yy_leng ;
   unsigned char *yy_start ;
   unsigned char *yy_text ;
   unsigned char *yy_cursor ;
   unsigned char *yy_marker ;
   unsigned char *yy_limit ;
   int yy_state ;
   zend_stack state_stack ;
   char *filename ;
   int lineno ;
   int scanner_mode ;
};
struct _zend_php_scanner_globals {
   zend_file_handle *yy_in ;
   zend_file_handle *yy_out ;
   unsigned int yy_leng ;
   unsigned char *yy_start ;
   unsigned char *yy_text ;
   unsigned char *yy_cursor ;
   unsigned char *yy_marker ;
   unsigned char *yy_limit ;
   int yy_state ;
   zend_stack state_stack ;
   unsigned char *script_org ;
   size_t script_org_size ;
   unsigned char *script_filtered ;
   size_t script_filtered_size ;
   size_t (*input_filter)(unsigned char **str , size_t *str_length , unsigned char const   *buf , size_t length ) ;
   size_t (*output_filter)(unsigned char **str , size_t *str_length , unsigned char const   *buf , size_t length ) ;
   zend_encoding const   *script_encoding ;
};
typedef int (*unary_op_type)(zval * , zval * );
typedef int (*binary_op_type)(zval * , zval * , zval * );
typedef zend_bool (*zend_auto_global_callback)(char const   *name , uint name_len );
struct _zend_auto_global {
   char const   *name ;
   uint name_len ;
   zend_bool (*auto_global_callback)(char const   *name , uint name_len ) ;
   zend_bool jit ;
   zend_bool armed ;
};
typedef struct _zend_auto_global zend_auto_global;
struct _zend_ini_entry;
typedef struct _zend_module_entry zend_module_entry;
struct _zend_module_dep;
typedef struct _zend_module_dep zend_module_dep;
struct _zend_module_entry {
   unsigned short size ;
   unsigned int zend_api ;
   unsigned char zend_debug ;
   unsigned char zts ;
   struct _zend_ini_entry  const  *ini_entry ;
   struct _zend_module_dep  const  *deps ;
   char const   *name ;
   struct _zend_function_entry  const  *functions ;
   int (*module_startup_func)(int type , int module_number ) ;
   int (*module_shutdown_func)(int type , int module_number ) ;
   int (*request_startup_func)(int type , int module_number ) ;
   int (*request_shutdown_func)(int type , int module_number ) ;
   void (*info_func)(zend_module_entry *zend_module ) ;
   char const   *version ;
   size_t globals_size ;
   void *globals_ptr ;
   void (*globals_ctor)(void *global ) ;
   void (*globals_dtor)(void *global ) ;
   int (*post_deactivate_func)(void) ;
   int module_started ;
   unsigned char type ;
   void *handle ;
   int module_number ;
   char const   *build_id ;
};
struct _zend_module_dep {
   char const   *name ;
   char const   *rel ;
   char const   *version ;
   unsigned char type ;
};
struct _zend_rsrc_list_entry {
   void *ptr ;
   int type ;
   int refcount ;
};
typedef struct _zend_rsrc_list_entry zend_rsrc_list_entry;
typedef void (*rsrc_dtor_func_t)(zend_rsrc_list_entry *rsrc );
struct _zend_rsrc_list_dtors_entry {
   void (*list_dtor)(void * ) ;
   void (*plist_dtor)(void * ) ;
   void (*list_dtor_ex)(zend_rsrc_list_entry *rsrc ) ;
   void (*plist_dtor_ex)(zend_rsrc_list_entry *rsrc ) ;
   char const   *type_name ;
   int module_number ;
   int resource_id ;
   unsigned char type ;
};
typedef struct _zend_rsrc_list_dtors_entry zend_rsrc_list_dtors_entry;
struct __anonstruct_var_70 {
   zval **ptr_ptr ;
   zval *ptr ;
   zend_bool fcall_returned_reference ;
};
struct __anonstruct_str_offset_71 {
   zval **ptr_ptr ;
   zval *str ;
   zend_uint offset ;
};
struct __anonstruct_fe_72 {
   zval **ptr_ptr ;
   zval *ptr ;
   HashPointer fe_pos ;
};
union _temp_variable {
   zval tmp_var ;
   struct __anonstruct_var_70 var ;
   struct __anonstruct_str_offset_71 str_offset ;
   struct __anonstruct_fe_72 fe ;
   zend_class_entry *class_entry ;
};
typedef union _temp_variable temp_variable;
struct _zend_vm_stack {
   void **top ;
   void **end ;
   zend_vm_stack prev ;
};
struct _zend_free_op {
   zval *var ;
};
typedef struct _zend_free_op zend_free_op;
struct _zend_function_entry {
   char const   *fname ;
   void (*handler)(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
   struct _zend_arg_info  const  *arg_info ;
   zend_uint num_args ;
   zend_uint flags ;
};
typedef struct _zend_function_entry zend_function_entry;
struct _zend_fcall_info {
   size_t size ;
   HashTable *function_table ;
   zval *function_name ;
   HashTable *symbol_table ;
   zval **retval_ptr_ptr ;
   zend_uint param_count ;
   zval ***params ;
   zval *object_ptr ;
   zend_bool no_separation ;
};
typedef struct _zend_fcall_info zend_fcall_info;
struct _zend_fcall_info_cache {
   zend_bool initialized ;
   zend_function *function_handler ;
   zend_class_entry *calling_scope ;
   zend_class_entry *called_scope ;
   zval *object_ptr ;
};
typedef struct _zend_fcall_info_cache zend_fcall_info_cache;
enum __anonenum_73 {
    _ISupper = 256,
    _ISlower = 512,
    _ISalpha = 1024,
    _ISdigit = 2048,
    _ISxdigit = 4096,
    _ISspace = 8192,
    _ISprint = 16384,
    _ISgraph = 32768,
    _ISblank = 1,
    _IScntrl = 2,
    _ISpunct = 4,
    _ISalnum = 8
} ;
typedef __useconds_t useconds_t;
typedef __intptr_t intptr_t;
typedef __socklen_t socklen_t;
enum __anonenum_74 {
    _PC_LINK_MAX = 0,
    _PC_MAX_CANON = 1,
    _PC_MAX_INPUT = 2,
    _PC_NAME_MAX = 3,
    _PC_PATH_MAX = 4,
    _PC_PIPE_BUF = 5,
    _PC_CHOWN_RESTRICTED = 6,
    _PC_NO_TRUNC = 7,
    _PC_VDISABLE = 8,
    _PC_SYNC_IO = 9,
    _PC_ASYNC_IO = 10,
    _PC_PRIO_IO = 11,
    _PC_SOCK_MAXBUF = 12,
    _PC_FILESIZEBITS = 13,
    _PC_REC_INCR_XFER_SIZE = 14,
    _PC_REC_MAX_XFER_SIZE = 15,
    _PC_REC_MIN_XFER_SIZE = 16,
    _PC_REC_XFER_ALIGN = 17,
    _PC_ALLOC_SIZE_MIN = 18,
    _PC_SYMLINK_MAX = 19,
    _PC_2_SYMLINKS = 20
} ;
enum __anonenum_75 {
    _SC_ARG_MAX = 0,
    _SC_CHILD_MAX = 1,
    _SC_CLK_TCK = 2,
    _SC_NGROUPS_MAX = 3,
    _SC_OPEN_MAX = 4,
    _SC_STREAM_MAX = 5,
    _SC_TZNAME_MAX = 6,
    _SC_JOB_CONTROL = 7,
    _SC_SAVED_IDS = 8,
    _SC_REALTIME_SIGNALS = 9,
    _SC_PRIORITY_SCHEDULING = 10,
    _SC_TIMERS = 11,
    _SC_ASYNCHRONOUS_IO = 12,
    _SC_PRIORITIZED_IO = 13,
    _SC_SYNCHRONIZED_IO = 14,
    _SC_FSYNC = 15,
    _SC_MAPPED_FILES = 16,
    _SC_MEMLOCK = 17,
    _SC_MEMLOCK_RANGE = 18,
    _SC_MEMORY_PROTECTION = 19,
    _SC_MESSAGE_PASSING = 20,
    _SC_SEMAPHORES = 21,
    _SC_SHARED_MEMORY_OBJECTS = 22,
    _SC_AIO_LISTIO_MAX = 23,
    _SC_AIO_MAX = 24,
    _SC_AIO_PRIO_DELTA_MAX = 25,
    _SC_DELAYTIMER_MAX = 26,
    _SC_MQ_OPEN_MAX = 27,
    _SC_MQ_PRIO_MAX = 28,
    _SC_VERSION = 29,
    _SC_PAGESIZE = 30,
    _SC_RTSIG_MAX = 31,
    _SC_SEM_NSEMS_MAX = 32,
    _SC_SEM_VALUE_MAX = 33,
    _SC_SIGQUEUE_MAX = 34,
    _SC_TIMER_MAX = 35,
    _SC_BC_BASE_MAX = 36,
    _SC_BC_DIM_MAX = 37,
    _SC_BC_SCALE_MAX = 38,
    _SC_BC_STRING_MAX = 39,
    _SC_COLL_WEIGHTS_MAX = 40,
    _SC_EQUIV_CLASS_MAX = 41,
    _SC_EXPR_NEST_MAX = 42,
    _SC_LINE_MAX = 43,
    _SC_RE_DUP_MAX = 44,
    _SC_CHARCLASS_NAME_MAX = 45,
    _SC_2_VERSION = 46,
    _SC_2_C_BIND = 47,
    _SC_2_C_DEV = 48,
    _SC_2_FORT_DEV = 49,
    _SC_2_FORT_RUN = 50,
    _SC_2_SW_DEV = 51,
    _SC_2_LOCALEDEF = 52,
    _SC_PII = 53,
    _SC_PII_XTI = 54,
    _SC_PII_SOCKET = 55,
    _SC_PII_INTERNET = 56,
    _SC_PII_OSI = 57,
    _SC_POLL = 58,
    _SC_SELECT = 59,
    _SC_UIO_MAXIOV = 60,
    _SC_IOV_MAX = 60,
    _SC_PII_INTERNET_STREAM = 61,
    _SC_PII_INTERNET_DGRAM = 62,
    _SC_PII_OSI_COTS = 63,
    _SC_PII_OSI_CLTS = 64,
    _SC_PII_OSI_M = 65,
    _SC_T_IOV_MAX = 66,
    _SC_THREADS = 67,
    _SC_THREAD_SAFE_FUNCTIONS = 68,
    _SC_GETGR_R_SIZE_MAX = 69,
    _SC_GETPW_R_SIZE_MAX = 70,
    _SC_LOGIN_NAME_MAX = 71,
    _SC_TTY_NAME_MAX = 72,
    _SC_THREAD_DESTRUCTOR_ITERATIONS = 73,
    _SC_THREAD_KEYS_MAX = 74,
    _SC_THREAD_STACK_MIN = 75,
    _SC_THREAD_THREADS_MAX = 76,
    _SC_THREAD_ATTR_STACKADDR = 77,
    _SC_THREAD_ATTR_STACKSIZE = 78,
    _SC_THREAD_PRIORITY_SCHEDULING = 79,
    _SC_THREAD_PRIO_INHERIT = 80,
    _SC_THREAD_PRIO_PROTECT = 81,
    _SC_THREAD_PROCESS_SHARED = 82,
    _SC_NPROCESSORS_CONF = 83,
    _SC_NPROCESSORS_ONLN = 84,
    _SC_PHYS_PAGES = 85,
    _SC_AVPHYS_PAGES = 86,
    _SC_ATEXIT_MAX = 87,
    _SC_PASS_MAX = 88,
    _SC_XOPEN_VERSION = 89,
    _SC_XOPEN_XCU_VERSION = 90,
    _SC_XOPEN_UNIX = 91,
    _SC_XOPEN_CRYPT = 92,
    _SC_XOPEN_ENH_I18N = 93,
    _SC_XOPEN_SHM = 94,
    _SC_2_CHAR_TERM = 95,
    _SC_2_C_VERSION = 96,
    _SC_2_UPE = 97,
    _SC_XOPEN_XPG2 = 98,
    _SC_XOPEN_XPG3 = 99,
    _SC_XOPEN_XPG4 = 100,
    _SC_CHAR_BIT = 101,
    _SC_CHAR_MAX = 102,
    _SC_CHAR_MIN = 103,
    _SC_INT_MAX = 104,
    _SC_INT_MIN = 105,
    _SC_LONG_BIT = 106,
    _SC_WORD_BIT = 107,
    _SC_MB_LEN_MAX = 108,
    _SC_NZERO = 109,
    _SC_SSIZE_MAX = 110,
    _SC_SCHAR_MAX = 111,
    _SC_SCHAR_MIN = 112,
    _SC_SHRT_MAX = 113,
    _SC_SHRT_MIN = 114,
    _SC_UCHAR_MAX = 115,
    _SC_UINT_MAX = 116,
    _SC_ULONG_MAX = 117,
    _SC_USHRT_MAX = 118,
    _SC_NL_ARGMAX = 119,
    _SC_NL_LANGMAX = 120,
    _SC_NL_MSGMAX = 121,
    _SC_NL_NMAX = 122,
    _SC_NL_SETMAX = 123,
    _SC_NL_TEXTMAX = 124,
    _SC_XBS5_ILP32_OFF32 = 125,
    _SC_XBS5_ILP32_OFFBIG = 126,
    _SC_XBS5_LP64_OFF64 = 127,
    _SC_XBS5_LPBIG_OFFBIG = 128,
    _SC_XOPEN_LEGACY = 129,
    _SC_XOPEN_REALTIME = 130,
    _SC_XOPEN_REALTIME_THREADS = 131,
    _SC_ADVISORY_INFO = 132,
    _SC_BARRIERS = 133,
    _SC_BASE = 134,
    _SC_C_LANG_SUPPORT = 135,
    _SC_C_LANG_SUPPORT_R = 136,
    _SC_CLOCK_SELECTION = 137,
    _SC_CPUTIME = 138,
    _SC_THREAD_CPUTIME = 139,
    _SC_DEVICE_IO = 140,
    _SC_DEVICE_SPECIFIC = 141,
    _SC_DEVICE_SPECIFIC_R = 142,
    _SC_FD_MGMT = 143,
    _SC_FIFO = 144,
    _SC_PIPE = 145,
    _SC_FILE_ATTRIBUTES = 146,
    _SC_FILE_LOCKING = 147,
    _SC_FILE_SYSTEM = 148,
    _SC_MONOTONIC_CLOCK = 149,
    _SC_MULTI_PROCESS = 150,
    _SC_SINGLE_PROCESS = 151,
    _SC_NETWORKING = 152,
    _SC_READER_WRITER_LOCKS = 153,
    _SC_SPIN_LOCKS = 154,
    _SC_REGEXP = 155,
    _SC_REGEX_VERSION = 156,
    _SC_SHELL = 157,
    _SC_SIGNALS = 158,
    _SC_SPAWN = 159,
    _SC_SPORADIC_SERVER = 160,
    _SC_THREAD_SPORADIC_SERVER = 161,
    _SC_SYSTEM_DATABASE = 162,
    _SC_SYSTEM_DATABASE_R = 163,
    _SC_TIMEOUTS = 164,
    _SC_TYPED_MEMORY_OBJECTS = 165,
    _SC_USER_GROUPS = 166,
    _SC_USER_GROUPS_R = 167,
    _SC_2_PBS = 168,
    _SC_2_PBS_ACCOUNTING = 169,
    _SC_2_PBS_LOCATE = 170,
    _SC_2_PBS_MESSAGE = 171,
    _SC_2_PBS_TRACK = 172,
    _SC_SYMLOOP_MAX = 173,
    _SC_STREAMS = 174,
    _SC_2_PBS_CHECKPOINT = 175,
    _SC_V6_ILP32_OFF32 = 176,
    _SC_V6_ILP32_OFFBIG = 177,
    _SC_V6_LP64_OFF64 = 178,
    _SC_V6_LPBIG_OFFBIG = 179,
    _SC_HOST_NAME_MAX = 180,
    _SC_TRACE = 181,
    _SC_TRACE_EVENT_FILTER = 182,
    _SC_TRACE_INHERIT = 183,
    _SC_TRACE_LOG = 184,
    _SC_LEVEL1_ICACHE_SIZE = 185,
    _SC_LEVEL1_ICACHE_ASSOC = 186,
    _SC_LEVEL1_ICACHE_LINESIZE = 187,
    _SC_LEVEL1_DCACHE_SIZE = 188,
    _SC_LEVEL1_DCACHE_ASSOC = 189,
    _SC_LEVEL1_DCACHE_LINESIZE = 190,
    _SC_LEVEL2_CACHE_SIZE = 191,
    _SC_LEVEL2_CACHE_ASSOC = 192,
    _SC_LEVEL2_CACHE_LINESIZE = 193,
    _SC_LEVEL3_CACHE_SIZE = 194,
    _SC_LEVEL3_CACHE_ASSOC = 195,
    _SC_LEVEL3_CACHE_LINESIZE = 196,
    _SC_LEVEL4_CACHE_SIZE = 197,
    _SC_LEVEL4_CACHE_ASSOC = 198,
    _SC_LEVEL4_CACHE_LINESIZE = 199,
    _SC_IPV6 = 235,
    _SC_RAW_SOCKETS = 236,
    _SC_V7_ILP32_OFF32 = 237,
    _SC_V7_ILP32_OFFBIG = 238,
    _SC_V7_LP64_OFF64 = 239,
    _SC_V7_LPBIG_OFFBIG = 240,
    _SC_SS_REPL_MAX = 241,
    _SC_TRACE_EVENT_NAME_MAX = 242,
    _SC_TRACE_NAME_MAX = 243,
    _SC_TRACE_SYS_MAX = 244,
    _SC_TRACE_USER_EVENT_MAX = 245,
    _SC_XOPEN_STREAMS = 246,
    _SC_THREAD_ROBUST_PRIO_INHERIT = 247,
    _SC_THREAD_ROBUST_PRIO_PROTECT = 248
} ;
enum __anonenum_76 {
    _CS_PATH = 0,
    _CS_V6_WIDTH_RESTRICTED_ENVS = 1,
    _CS_GNU_LIBC_VERSION = 2,
    _CS_GNU_LIBPTHREAD_VERSION = 3,
    _CS_V5_WIDTH_RESTRICTED_ENVS = 4,
    _CS_V7_WIDTH_RESTRICTED_ENVS = 5,
    _CS_LFS_CFLAGS = 1000,
    _CS_LFS_LDFLAGS = 1001,
    _CS_LFS_LIBS = 1002,
    _CS_LFS_LINTFLAGS = 1003,
    _CS_LFS64_CFLAGS = 1004,
    _CS_LFS64_LDFLAGS = 1005,
    _CS_LFS64_LIBS = 1006,
    _CS_LFS64_LINTFLAGS = 1007,
    _CS_XBS5_ILP32_OFF32_CFLAGS = 1100,
    _CS_XBS5_ILP32_OFF32_LDFLAGS = 1101,
    _CS_XBS5_ILP32_OFF32_LIBS = 1102,
    _CS_XBS5_ILP32_OFF32_LINTFLAGS = 1103,
    _CS_XBS5_ILP32_OFFBIG_CFLAGS = 1104,
    _CS_XBS5_ILP32_OFFBIG_LDFLAGS = 1105,
    _CS_XBS5_ILP32_OFFBIG_LIBS = 1106,
    _CS_XBS5_ILP32_OFFBIG_LINTFLAGS = 1107,
    _CS_XBS5_LP64_OFF64_CFLAGS = 1108,
    _CS_XBS5_LP64_OFF64_LDFLAGS = 1109,
    _CS_XBS5_LP64_OFF64_LIBS = 1110,
    _CS_XBS5_LP64_OFF64_LINTFLAGS = 1111,
    _CS_XBS5_LPBIG_OFFBIG_CFLAGS = 1112,
    _CS_XBS5_LPBIG_OFFBIG_LDFLAGS = 1113,
    _CS_XBS5_LPBIG_OFFBIG_LIBS = 1114,
    _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS = 1115,
    _CS_POSIX_V6_ILP32_OFF32_CFLAGS = 1116,
    _CS_POSIX_V6_ILP32_OFF32_LDFLAGS = 1117,
    _CS_POSIX_V6_ILP32_OFF32_LIBS = 1118,
    _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS = 1119,
    _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS = 1120,
    _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS = 1121,
    _CS_POSIX_V6_ILP32_OFFBIG_LIBS = 1122,
    _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS = 1123,
    _CS_POSIX_V6_LP64_OFF64_CFLAGS = 1124,
    _CS_POSIX_V6_LP64_OFF64_LDFLAGS = 1125,
    _CS_POSIX_V6_LP64_OFF64_LIBS = 1126,
    _CS_POSIX_V6_LP64_OFF64_LINTFLAGS = 1127,
    _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS = 1128,
    _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS = 1129,
    _CS_POSIX_V6_LPBIG_OFFBIG_LIBS = 1130,
    _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS = 1131,
    _CS_POSIX_V7_ILP32_OFF32_CFLAGS = 1132,
    _CS_POSIX_V7_ILP32_OFF32_LDFLAGS = 1133,
    _CS_POSIX_V7_ILP32_OFF32_LIBS = 1134,
    _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS = 1135,
    _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS = 1136,
    _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS = 1137,
    _CS_POSIX_V7_ILP32_OFFBIG_LIBS = 1138,
    _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS = 1139,
    _CS_POSIX_V7_LP64_OFF64_CFLAGS = 1140,
    _CS_POSIX_V7_LP64_OFF64_LDFLAGS = 1141,
    _CS_POSIX_V7_LP64_OFF64_LIBS = 1142,
    _CS_POSIX_V7_LP64_OFF64_LINTFLAGS = 1143,
    _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS = 1144,
    _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS = 1145,
    _CS_POSIX_V7_LPBIG_OFFBIG_LIBS = 1146,
    _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS = 1147,
    _CS_V6_ENV = 1148,
    _CS_V7_ENV = 1149
} ;
struct passwd {
   char *pw_name ;
   char *pw_passwd ;
   __uid_t pw_uid ;
   __gid_t pw_gid ;
   char *pw_gecos ;
   char *pw_dir ;
   char *pw_shell ;
};
typedef int bool_int;
enum __anonenum_boolean_e_77 {
    NO = 0,
    YES = 1
} ;
typedef enum __anonenum_boolean_e_77 boolean_e;
enum __anonenum_length_modifier_e_78 {
    LM_STD = 0,
    LM_INTMAX_T = 1,
    LM_PTRDIFF_T = 2,
    LM_LONG_LONG = 3,
    LM_SIZE_T = 4,
    LM_LONG = 5,
    LM_LONG_DOUBLE = 6
} ;
typedef enum __anonenum_length_modifier_e_78 length_modifier_e;
typedef long long wide_int;
typedef unsigned long long u_wide_int;
enum _php_output_handler_status_t {
    PHP_OUTPUT_HANDLER_FAILURE = 0,
    PHP_OUTPUT_HANDLER_SUCCESS = 1,
    PHP_OUTPUT_HANDLER_NO_DATA = 2
} ;
typedef enum _php_output_handler_status_t php_output_handler_status_t;
enum _php_output_handler_hook_t {
    PHP_OUTPUT_HANDLER_HOOK_GET_OPAQ = 0,
    PHP_OUTPUT_HANDLER_HOOK_GET_FLAGS = 1,
    PHP_OUTPUT_HANDLER_HOOK_GET_LEVEL = 2,
    PHP_OUTPUT_HANDLER_HOOK_IMMUTABLE = 3,
    PHP_OUTPUT_HANDLER_HOOK_DISABLE = 4,
    PHP_OUTPUT_HANDLER_HOOK_LAST = 5
} ;
typedef enum _php_output_handler_hook_t php_output_handler_hook_t;
struct _php_output_buffer {
   char *data ;
   size_t size ;
   size_t used ;
   uint free : 1 ;
   uint _res : 31 ;
};
typedef struct _php_output_buffer php_output_buffer;
struct _php_output_context {
   int op ;
   php_output_buffer in ;
   php_output_buffer out ;
};
typedef struct _php_output_context php_output_context;
typedef void (*php_output_handler_func_t)(char *output , uint output_len , char **handled_output , uint *handled_output_len , int mode );
typedef int (*php_output_handler_context_func_t)(void **handler_context , php_output_context *output_context );
typedef void (*php_output_handler_context_dtor_t)(void *opaq );
typedef int (*php_output_handler_conflict_check_t)(char const   *handler_name , size_t handler_name_len );
struct _php_output_handler;
typedef struct _php_output_handler *(*php_output_handler_alias_ctor_t)(char const   *handler_name , size_t handler_name_len , size_t chunk_size , int flags );
struct _php_output_handler_user_func_t {
   zend_fcall_info fci ;
   zend_fcall_info_cache fcc ;
   zval *zoh ;
};
typedef struct _php_output_handler_user_func_t php_output_handler_user_func_t;
union __anonunion_func_79 {
   php_output_handler_user_func_t *user ;
   int (*internal)(void **handler_context , php_output_context *output_context ) ;
};
struct _php_output_handler {
   char *name ;
   size_t name_len ;
   int flags ;
   int level ;
   size_t size ;
   php_output_buffer buffer ;
   void *opaq ;
   void (*dtor)(void *opaq ) ;
   union __anonunion_func_79 func ;
};
typedef struct _php_output_handler php_output_handler;
struct _zend_output_globals {
   int flags ;
   zend_stack handlers ;
   php_output_handler *active ;
   php_output_handler *running ;
   char const   *output_start_filename ;
   int output_start_lineno ;
};
typedef struct _zend_output_globals zend_output_globals;
struct timezone {
   int tz_minuteswest ;
   int tz_dsttime ;
};
typedef struct timezone * __restrict  __timezone_ptr_t;
enum __itimer_which {
    ITIMER_REAL = 0,
    ITIMER_VIRTUAL = 1,
    ITIMER_PROF = 2
} ;
struct itimerval {
   struct timeval it_interval ;
   struct timeval it_value ;
};
typedef int __itimer_which_t;
struct stat {
   __dev_t st_dev ;
   unsigned short __pad1 ;
   __ino_t st_ino ;
   __mode_t st_mode ;
   __nlink_t st_nlink ;
   __uid_t st_uid ;
   __gid_t st_gid ;
   __dev_t st_rdev ;
   unsigned short __pad2 ;
   __off_t st_size ;
   __blksize_t st_blksize ;
   __blkcnt_t st_blocks ;
   struct timespec st_atim ;
   struct timespec st_mtim ;
   struct timespec st_ctim ;
   unsigned long __unused4 ;
   unsigned long __unused5 ;
};
struct _php_stream;
typedef struct _php_stream php_stream;
struct _php_stream_wrapper;
typedef struct _php_stream_wrapper php_stream_wrapper;
struct _php_stream_context;
typedef struct _php_stream_context php_stream_context;
struct _php_stream_filter;
typedef struct _php_stream_filter php_stream_filter;
typedef void (*php_stream_notification_func)(php_stream_context *context , int notifycode , int severity , char *xmsg , int xcode , size_t bytes_sofar , size_t bytes_max , void *ptr );
struct _php_stream_notifier;
typedef struct _php_stream_notifier php_stream_notifier;
struct _php_stream_notifier {
   void (*func)(php_stream_context *context , int notifycode , int severity , char *xmsg , int xcode , size_t bytes_sofar , size_t bytes_max , void *ptr ) ;
   void (*dtor)(php_stream_notifier *notifier ) ;
   void *ptr ;
   int mask ;
   size_t progress ;
   size_t progress_max ;
};
struct _php_stream_context {
   php_stream_notifier *notifier ;
   zval *options ;
   zval *links ;
   int rsrc_id ;
};
struct _php_stream_bucket;
typedef struct _php_stream_bucket php_stream_bucket;
struct _php_stream_bucket_brigade;
typedef struct _php_stream_bucket_brigade php_stream_bucket_brigade;
struct _php_stream_bucket {
   php_stream_bucket *next ;
   php_stream_bucket *prev ;
   php_stream_bucket_brigade *brigade ;
   char *buf ;
   size_t buflen ;
   int own_buf ;
   int is_persistent ;
   int refcount ;
};
struct _php_stream_bucket_brigade {
   php_stream_bucket *head ;
   php_stream_bucket *tail ;
};
enum __anonenum_php_stream_filter_status_t_80 {
    PSFS_ERR_FATAL = 0,
    PSFS_FEED_ME = 1,
    PSFS_PASS_ON = 2
} ;
typedef enum __anonenum_php_stream_filter_status_t_80 php_stream_filter_status_t;
struct _php_stream_filter_ops {
   php_stream_filter_status_t (*filter)(php_stream *stream , php_stream_filter *thisfilter , php_stream_bucket_brigade *buckets_in , php_stream_bucket_brigade *buckets_out , size_t *bytes_consumed , int flags ) ;
   void (*dtor)(php_stream_filter *thisfilter ) ;
   char const   *label ;
};
typedef struct _php_stream_filter_ops php_stream_filter_ops;
struct _php_stream_filter_chain {
   php_stream_filter *head ;
   php_stream_filter *tail ;
   php_stream *stream ;
};
typedef struct _php_stream_filter_chain php_stream_filter_chain;
struct _php_stream_filter {
   php_stream_filter_ops *fops ;
   void *abstract ;
   php_stream_filter *next ;
   php_stream_filter *prev ;
   int is_persistent ;
   php_stream_filter_chain *chain ;
   php_stream_bucket_brigade buffer ;
   int rsrc_id ;
};
struct _php_stream_filter_factory {
   php_stream_filter *(*create_filter)(char const   *filtername , zval *filterparams , int persistent ) ;
};
typedef struct _php_stream_filter_factory php_stream_filter_factory;
struct _php_stream_statbuf {
   struct stat sb ;
};
typedef struct _php_stream_statbuf php_stream_statbuf;
struct _php_stream_dirent {
   char d_name[4096] ;
};
typedef struct _php_stream_dirent php_stream_dirent;
struct _php_stream_ops {
   size_t (*write)(php_stream *stream , char const   *buf , size_t count ) ;
   size_t (*read)(php_stream *stream , char *buf , size_t count ) ;
   int (*close)(php_stream *stream , int close_handle ) ;
   int (*flush)(php_stream *stream ) ;
   char const   *label ;
   int (*seek)(php_stream *stream , off_t offset , int whence , off_t *newoffset ) ;
   int (*cast)(php_stream *stream , int castas , void **ret ) ;
   int (*stat)(php_stream *stream , php_stream_statbuf *ssb ) ;
   int (*set_option)(php_stream *stream , int option , int value , void *ptrparam ) ;
};
typedef struct _php_stream_ops php_stream_ops;
struct _php_stream_wrapper_ops {
   php_stream *(*stream_opener)(php_stream_wrapper *wrapper , char *filename , char *mode , int options , char **opened_path , php_stream_context *context ) ;
   int (*stream_closer)(php_stream_wrapper *wrapper , php_stream *stream ) ;
   int (*stream_stat)(php_stream_wrapper *wrapper , php_stream *stream , php_stream_statbuf *ssb ) ;
   int (*url_stat)(php_stream_wrapper *wrapper , char *url , int flags , php_stream_statbuf *ssb , php_stream_context *context ) ;
   php_stream *(*dir_opener)(php_stream_wrapper *wrapper , char *filename , char *mode , int options , char **opened_path , php_stream_context *context ) ;
   char const   *label ;
   int (*unlink)(php_stream_wrapper *wrapper , char *url , int options , php_stream_context *context ) ;
   int (*rename)(php_stream_wrapper *wrapper , char *url_from , char *url_to , int options , php_stream_context *context ) ;
   int (*stream_mkdir)(php_stream_wrapper *wrapper , char *url , int mode , int options , php_stream_context *context ) ;
   int (*stream_rmdir)(php_stream_wrapper *wrapper , char *url , int options , php_stream_context *context ) ;
   int (*stream_metadata)(php_stream_wrapper *wrapper , char *url , int options , void *value , php_stream_context *context ) ;
};
typedef struct _php_stream_wrapper_ops php_stream_wrapper_ops;
struct _php_stream_wrapper {
   php_stream_wrapper_ops *wops ;
   void *abstract ;
   int is_url ;
   int err_count ;
   char **err_stack ;
};
struct _php_stream {
   php_stream_ops *ops ;
   void *abstract ;
   php_stream_filter_chain readfilters ;
   php_stream_filter_chain writefilters ;
   php_stream_wrapper *wrapper ;
   void *wrapperthis ;
   zval *wrapperdata ;
   int fgetss_state ;
   int is_persistent ;
   char mode[16] ;
   int rsrc_id ;
   int in_free ;
   int fclose_stdiocast ;
   FILE *stdiocast ;
   char *orig_path ;
   php_stream_context *context ;
   int flags ;
   off_t position ;
   unsigned char *readbuf ;
   size_t readbuflen ;
   off_t readpos ;
   off_t writepos ;
   size_t chunk_size ;
   int eof ;
   struct _php_stream *enclosing_stream ;
};
struct iovec {
   void *iov_base ;
   size_t iov_len ;
};
enum __socket_type {
    SOCK_STREAM = 1,
    SOCK_DGRAM = 2,
    SOCK_RAW = 3,
    SOCK_RDM = 4,
    SOCK_SEQPACKET = 5,
    SOCK_DCCP = 6,
    SOCK_PACKET = 10,
    SOCK_CLOEXEC = 524288,
    SOCK_NONBLOCK = 2048
} ;
typedef unsigned short sa_family_t;
struct sockaddr {
   sa_family_t sa_family ;
   char sa_data[14] ;
};
struct sockaddr_storage {
   sa_family_t ss_family ;
   unsigned long __ss_align ;
   char __ss_padding[128U - 2U * sizeof(unsigned long )] ;
};
enum __anonenum_81 {
    MSG_OOB = 1,
    MSG_PEEK = 2,
    MSG_DONTROUTE = 4,
    MSG_CTRUNC = 8,
    MSG_PROXY = 16,
    MSG_TRUNC = 32,
    MSG_DONTWAIT = 64,
    MSG_EOR = 128,
    MSG_WAITALL = 256,
    MSG_FIN = 512,
    MSG_SYN = 1024,
    MSG_CONFIRM = 2048,
    MSG_RST = 4096,
    MSG_ERRQUEUE = 8192,
    MSG_NOSIGNAL = 16384,
    MSG_MORE = 32768,
    MSG_WAITFORONE = 65536,
    MSG_CMSG_CLOEXEC = 1073741824
} ;
struct msghdr {
   void *msg_name ;
   socklen_t msg_namelen ;
   struct iovec *msg_iov ;
   size_t msg_iovlen ;
   void *msg_control ;
   size_t msg_controllen ;
   int msg_flags ;
};
struct cmsghdr {
   size_t cmsg_len ;
   int cmsg_level ;
   int cmsg_type ;
   unsigned char __cmsg_data[] ;
};
enum __anonenum_82 {
    SCM_RIGHTS = 1
} ;
struct linger {
   int l_onoff ;
   int l_linger ;
};
struct mmsghdr;
struct osockaddr {
   unsigned short sa_family ;
   unsigned char sa_data[14] ;
};
enum __anonenum_83 {
    SHUT_RD = 0,
    SHUT_WR = 1,
    SHUT_RDWR = 2
} ;
typedef php_stream *php_stream_transport_factory_func(char const   *proto , long protolen , char *resourcename , long resourcenamelen , char const   *persistent_id , int options , int flags , struct timeval *timeout , php_stream_context *context );
typedef php_stream_transport_factory_func *php_stream_transport_factory;
enum php_stream_xport_send_recv_flags {
    STREAM_OOB = 1,
    STREAM_PEEK = 2
} ;
enum __anonenum_stream_shutdown_t_84 {
    STREAM_SHUT_RD = 0,
    STREAM_SHUT_WR = 1,
    STREAM_SHUT_RDWR = 2
} ;
typedef enum __anonenum_stream_shutdown_t_84 stream_shutdown_t;
enum __anonenum_op_85 {
    STREAM_XPORT_OP_BIND = 0,
    STREAM_XPORT_OP_CONNECT = 1,
    STREAM_XPORT_OP_LISTEN = 2,
    STREAM_XPORT_OP_ACCEPT = 3,
    STREAM_XPORT_OP_CONNECT_ASYNC = 4,
    STREAM_XPORT_OP_GET_NAME = 5,
    STREAM_XPORT_OP_GET_PEER_NAME = 6,
    STREAM_XPORT_OP_RECV = 7,
    STREAM_XPORT_OP_SEND = 8,
    STREAM_XPORT_OP_SHUTDOWN = 9
} ;
struct __anonstruct_inputs_86 {
   char *name ;
   long namelen ;
   int backlog ;
   struct timeval *timeout ;
   struct sockaddr *addr ;
   socklen_t addrlen ;
   char *buf ;
   size_t buflen ;
   long flags ;
};
struct __anonstruct_outputs_87 {
   php_stream *client ;
   int returncode ;
   struct sockaddr *addr ;
   socklen_t addrlen ;
   char *textaddr ;
   long textaddrlen ;
   char *error_text ;
   int error_code ;
};
struct _php_stream_xport_param {
   enum __anonenum_op_85 op ;
   unsigned int want_addr : 1 ;
   unsigned int want_textaddr : 1 ;
   unsigned int want_errortext : 1 ;
   unsigned int how : 2 ;
   struct __anonstruct_inputs_86 inputs ;
   struct __anonstruct_outputs_87 outputs ;
};
typedef struct _php_stream_xport_param php_stream_xport_param;
enum __anonenum_php_stream_xport_crypt_method_t_88 {
    STREAM_CRYPTO_METHOD_SSLv2_CLIENT = 0,
    STREAM_CRYPTO_METHOD_SSLv3_CLIENT = 1,
    STREAM_CRYPTO_METHOD_SSLv23_CLIENT = 2,
    STREAM_CRYPTO_METHOD_TLS_CLIENT = 3,
    STREAM_CRYPTO_METHOD_SSLv2_SERVER = 4,
    STREAM_CRYPTO_METHOD_SSLv3_SERVER = 5,
    STREAM_CRYPTO_METHOD_SSLv23_SERVER = 6,
    STREAM_CRYPTO_METHOD_TLS_SERVER = 7
} ;
typedef enum __anonenum_php_stream_xport_crypt_method_t_88 php_stream_xport_crypt_method_t;
enum __anonenum_op_89 {
    STREAM_XPORT_CRYPTO_OP_SETUP = 0,
    STREAM_XPORT_CRYPTO_OP_ENABLE = 1
} ;
struct __anonstruct_inputs_90 {
   int activate ;
   php_stream_xport_crypt_method_t method ;
   php_stream *session ;
};
struct __anonstruct_outputs_91 {
   int returncode ;
};
struct _php_stream_xport_crypto_param {
   enum __anonenum_op_89 op ;
   struct __anonstruct_inputs_90 inputs ;
   struct __anonstruct_outputs_91 outputs ;
};
typedef struct _php_stream_xport_crypto_param php_stream_xport_crypto_param;
enum __anonenum_php_stream_mmap_operation_t_92 {
    PHP_STREAM_MMAP_SUPPORTED = 0,
    PHP_STREAM_MMAP_MAP_RANGE = 1,
    PHP_STREAM_MMAP_UNMAP = 2
} ;
typedef enum __anonenum_php_stream_mmap_operation_t_92 php_stream_mmap_operation_t;
enum __anonenum_php_stream_mmap_access_t_93 {
    PHP_STREAM_MAP_MODE_READONLY = 0,
    PHP_STREAM_MAP_MODE_READWRITE = 1,
    PHP_STREAM_MAP_MODE_SHARED_READONLY = 2,
    PHP_STREAM_MAP_MODE_SHARED_READWRITE = 3
} ;
typedef enum __anonenum_php_stream_mmap_access_t_93 php_stream_mmap_access_t;
struct __anonstruct_php_stream_mmap_range_94 {
   size_t offset ;
   size_t length ;
   php_stream_mmap_access_t mode ;
   char *mapped ;
};
typedef struct __anonstruct_php_stream_mmap_range_94 php_stream_mmap_range;
struct _php_core_globals;
typedef struct _php_core_globals php_core_globals;
struct _php_tick_function_entry;
struct _php_tick_function_entry;
struct _arg_separators {
   char *output ;
   char *input ;
};
typedef struct _arg_separators arg_separators;
struct _php_core_globals {
   zend_bool implicit_flush ;
   long output_buffering ;
   zend_bool sql_safe_mode ;
   zend_bool enable_dl ;
   char *output_handler ;
   char *unserialize_callback_func ;
   long serialize_precision ;
   long memory_limit ;
   long max_input_time ;
   zend_bool track_errors ;
   zend_bool display_errors ;
   zend_bool display_startup_errors ;
   zend_bool log_errors ;
   long log_errors_max_len ;
   zend_bool ignore_repeated_errors ;
   zend_bool ignore_repeated_source ;
   zend_bool report_memleaks ;
   char *error_log ;
   char *doc_root ;
   char *user_dir ;
   char *include_path ;
   char *open_basedir ;
   char *extension_dir ;
   char *php_binary ;
   char *upload_tmp_dir ;
   long upload_max_filesize ;
   char *error_append_string ;
   char *error_prepend_string ;
   char *auto_prepend_file ;
   char *auto_append_file ;
   arg_separators arg_separator ;
   char *variables_order ;
   HashTable rfc1867_protected_variables ;
   short connection_status ;
   short ignore_user_abort ;
   unsigned char header_is_being_sent ;
   zend_llist tick_functions ;
   zval *http_globals[6] ;
   zend_bool expose_php ;
   zend_bool register_argc_argv ;
   zend_bool auto_globals_jit ;
   char *docref_root ;
   char *docref_ext ;
   zend_bool html_errors ;
   zend_bool xmlrpc_errors ;
   long xmlrpc_error_number ;
   zend_bool activated_auto_globals[8] ;
   zend_bool modules_activated ;
   zend_bool file_uploads ;
   zend_bool during_request_startup ;
   zend_bool allow_url_fopen ;
   zend_bool enable_post_data_reading ;
   zend_bool always_populate_raw_post_data ;
   zend_bool report_zend_debug ;
   int last_error_type ;
   char *last_error_message ;
   char *last_error_file ;
   int last_error_lineno ;
   char *disable_functions ;
   char *disable_classes ;
   zend_bool allow_url_include ;
   zend_bool exit_on_timeout ;
   long max_input_nesting_level ;
   long max_input_vars ;
   zend_bool in_user_include ;
   char *user_ini_filename ;
   long user_ini_cache_ttl ;
   char *request_order ;
   zend_bool mail_x_header ;
   char *mail_log ;
   zend_bool in_error_log ;
};
struct _zend_ini_entry {
   int module_number ;
   int modifiable ;
   char *name ;
   uint name_length ;
   int (*on_modify)(zend_ini_entry *entry , char *new_value , uint new_value_length , void *mh_arg1 , void *mh_arg2 , void *mh_arg3 , int stage ) ;
   void *mh_arg1 ;
   void *mh_arg2 ;
   void *mh_arg3 ;
   char *value ;
   uint value_length ;
   char *orig_value ;
   uint orig_value_length ;
   int orig_modifiable ;
   int modified ;
   void (*displayer)(zend_ini_entry *ini_entry , int type ) ;
};
typedef void (*zend_ini_parser_cb_t)(zval *arg1 , zval *arg2 , zval *arg3 , int callback_type , void *arg );
struct _zend_ini_parser_param {
   void (*ini_parser_cb)(zval *arg1 , zval *arg2 , zval *arg3 , int callback_type , void *arg ) ;
   void *arg ;
};
typedef struct _zend_ini_parser_param zend_ini_parser_param;
struct utimbuf {
   __time_t actime ;
   __time_t modtime ;
};
struct dirent {
   __ino_t d_ino ;
   __off_t d_off ;
   unsigned short d_reclen ;
   unsigned char d_type ;
   char d_name[256] ;
};
enum __anonenum_95 {
    DT_UNKNOWN = 0,
    DT_FIFO = 1,
    DT_CHR = 2,
    DT_DIR = 4,
    DT_BLK = 6,
    DT_REG = 8,
    DT_LNK = 10,
    DT_SOCK = 12,
    DT_WHT = 14
} ;
struct __dirstream;
typedef struct __dirstream DIR;
struct _cwd_state {
   char *cwd ;
   int cwd_length ;
};
typedef struct _cwd_state cwd_state;
typedef int (*verify_path_func)(cwd_state const   * );
struct _realpath_cache_bucket {
   unsigned long key ;
   char *path ;
   int path_len ;
   char *realpath ;
   int realpath_len ;
   int is_dir ;
   time_t expires ;
   struct _realpath_cache_bucket *next ;
};
typedef struct _realpath_cache_bucket realpath_cache_bucket;
struct _virtual_cwd_globals {
   cwd_state cwd ;
   long realpath_cache_size ;
   long realpath_cache_size_limit ;
   long realpath_cache_ttl ;
   realpath_cache_bucket *realpath_cache[1024] ;
};
typedef struct _virtual_cwd_globals virtual_cwd_globals;
struct _zend_constant {
   zval value ;
   int flags ;
   char *name ;
   uint name_len ;
   int module_number ;
};
typedef struct _zend_constant zend_constant;
struct tm {
   int tm_sec ;
   int tm_min ;
   int tm_hour ;
   int tm_mday ;
   int tm_mon ;
   int tm_year ;
   int tm_wday ;
   int tm_yday ;
   int tm_isdst ;
   long tm_gmtoff ;
   char const   *tm_zone ;
};
struct itimerspec {
   struct timespec it_interval ;
   struct timespec it_value ;
};
struct sigevent;
typedef unsigned int wint_t;
typedef __mbstate_t mbstate_t;
struct tm;
typedef int php_stat_len;
struct _zend_syntax_highlighter_ini {
   char *highlight_html ;
   char *highlight_comment ;
   char *highlight_default ;
   char *highlight_string ;
   char *highlight_keyword ;
};
typedef struct _zend_syntax_highlighter_ini zend_syntax_highlighter_ini;
struct __anonstruct_smart_str_96 {
   char *c ;
   size_t len ;
   size_t a ;
};
typedef struct __anonstruct_smart_str_96 smart_str;
struct __anonstruct_url_adapt_state_ex_t_97 {
   smart_str tag ;
   smart_str arg ;
   smart_str val ;
   smart_str buf ;
   smart_str result ;
   smart_str form_app ;
   smart_str url_app ;
   int active ;
   char *lookup_data ;
   int state ;
   HashTable *tags ;
};
typedef struct __anonstruct_url_adapt_state_ex_t_97 url_adapt_state_ex_t;
typedef unsigned int php_uint32;
typedef int php_int32;
struct __anonstruct_serialize_98 {
   void *var_hash ;
   unsigned int level ;
};
struct __anonstruct_unserialize_99 {
   void *var_hash ;
   unsigned int level ;
};
struct _php_basic_globals {
   HashTable *user_shutdown_function_names ;
   HashTable putenv_ht ;
   zval *strtok_zval ;
   char *strtok_string ;
   char *locale_string ;
   char *strtok_last ;
   char strtok_table[256] ;
   ulong strtok_len ;
   char str_ebuf[40] ;
   zend_fcall_info array_walk_fci ;
   zend_fcall_info_cache array_walk_fci_cache ;
   zend_fcall_info user_compare_fci ;
   zend_fcall_info_cache user_compare_fci_cache ;
   zend_llist *user_tick_functions ;
   zval *active_ini_file_section ;
   long page_uid ;
   long page_gid ;
   long page_inode ;
   time_t page_mtime ;
   char *CurrentStatFile ;
   char *CurrentLStatFile ;
   php_stream_statbuf ssb ;
   php_stream_statbuf lssb ;
   php_uint32 state[625] ;
   php_uint32 *next ;
   int left ;
   unsigned int rand_seed ;
   zend_bool rand_is_seeded ;
   zend_bool mt_rand_is_seeded ;
   char *syslog_device ;
   zend_class_entry *incomplete_class ;
   unsigned int serialize_lock ;
   struct __anonstruct_serialize_98 serialize ;
   struct __anonstruct_unserialize_99 unserialize ;
   url_adapt_state_ex_t url_adapt_state_ex ;
   void *mmap_file ;
   size_t mmap_len ;
   HashTable *user_filter_map ;
   int umask ;
};
typedef struct _php_basic_globals php_basic_globals;
struct __anonstruct_putenv_entry_100 {
   char *putenv_string ;
   char *previous_value ;
   char *key ;
   int key_len ;
};
typedef struct __anonstruct_putenv_entry_100 putenv_entry;
struct _php_shutdown_function_entry {
   zval **arguments ;
   int arg_count ;
};
typedef struct _php_shutdown_function_entry php_shutdown_function_entry;
struct lconv;
struct __anonstruct_sapi_header_struct_101 {
   char *header ;
   uint header_len ;
};
typedef struct __anonstruct_sapi_header_struct_101 sapi_header_struct;
struct __anonstruct_sapi_headers_struct_102 {
   zend_llist headers ;
   int http_response_code ;
   unsigned char send_default_content_type ;
   char *mimetype ;
   char *http_status_line ;
};
typedef struct __anonstruct_sapi_headers_struct_102 sapi_headers_struct;
struct _sapi_post_entry;
typedef struct _sapi_post_entry sapi_post_entry;
struct _sapi_module_struct;
typedef struct _sapi_module_struct sapi_module_struct;
struct __anonstruct_sapi_request_info_103 {
   char const   *request_method ;
   char *query_string ;
   char *post_data ;
   char *raw_post_data ;
   char *cookie_data ;
   long content_length ;
   uint post_data_length ;
   uint raw_post_data_length ;
   char *path_translated ;
   char *request_uri ;
   char const   *content_type ;
   zend_bool headers_only ;
   zend_bool no_headers ;
   zend_bool headers_read ;
   sapi_post_entry *post_entry ;
   char *content_type_dup ;
   char *auth_user ;
   char *auth_password ;
   char *auth_digest ;
   char *argv0 ;
   char *current_user ;
   int current_user_length ;
   int argc ;
   char **argv ;
   int proto_num ;
};
typedef struct __anonstruct_sapi_request_info_103 sapi_request_info;
struct _sapi_globals_struct {
   void *server_context ;
   sapi_request_info request_info ;
   sapi_headers_struct sapi_headers ;
   int read_post_bytes ;
   unsigned char headers_sent ;
   struct stat global_stat ;
   char *default_mimetype ;
   char *default_charset ;
   HashTable *rfc1867_uploaded_files ;
   long post_max_size ;
   int options ;
   zend_bool sapi_started ;
   double global_request_time ;
   HashTable known_post_content_types ;
   zval *callback_func ;
   zend_fcall_info_cache fci_cache ;
   zend_bool callback_run ;
};
typedef struct _sapi_globals_struct sapi_globals_struct;
struct __anonstruct_sapi_header_line_104 {
   char *line ;
   uint line_len ;
   long response_code ;
};
typedef struct __anonstruct_sapi_header_line_104 sapi_header_line;
enum __anonenum_sapi_header_op_enum_105 {
    SAPI_HEADER_REPLACE = 0,
    SAPI_HEADER_ADD = 1,
    SAPI_HEADER_DELETE = 2,
    SAPI_HEADER_DELETE_ALL = 3,
    SAPI_HEADER_SET_STATUS = 4
} ;
typedef enum __anonenum_sapi_header_op_enum_105 sapi_header_op_enum;
struct _sapi_module_struct {
   char *name ;
   char *pretty_name ;
   int (*startup)(struct _sapi_module_struct *sapi_module ) ;
   int (*shutdown)(struct _sapi_module_struct *sapi_module ) ;
   int (*activate)(void) ;
   int (*deactivate)(void) ;
   int (*ub_write)(char const   *str , unsigned int str_length ) ;
   void (*flush)(void *server_context ) ;
   struct stat *(*get_stat)(void) ;
   char *(*getenv)(char *name , size_t name_len ) ;
   void (*sapi_error)(int type , char const   *error_msg  , ...) ;
   int (*header_handler)(sapi_header_struct *sapi_header , sapi_header_op_enum op , sapi_headers_struct *sapi_headers ) ;
   int (*send_headers)(sapi_headers_struct *sapi_headers ) ;
   void (*send_header)(sapi_header_struct *sapi_header , void *server_context ) ;
   int (*read_post)(char *buffer , uint count_bytes ) ;
   char *(*read_cookies)(void) ;
   void (*register_server_variables)(zval *track_vars_array ) ;
   void (*log_message)(char *message ) ;
   double (*get_request_time)(void) ;
   void (*terminate_process)(void) ;
   char *php_ini_path_override ;
   void (*block_interruptions)(void) ;
   void (*unblock_interruptions)(void) ;
   void (*default_post_reader)(void) ;
   void (*treat_data)(int arg , char *str , zval *destArray ) ;
   char *executable_location ;
   int php_ini_ignore ;
   int php_ini_ignore_cwd ;
   int (*get_fd)(int *fd ) ;
   int (*force_http_10)(void) ;
   int (*get_target_uid)(uid_t * ) ;
   int (*get_target_gid)(gid_t * ) ;
   unsigned int (*input_filter)(int arg , char *var , char **val , unsigned int val_len , unsigned int *new_val_len ) ;
   void (*ini_defaults)(HashTable *configuration_hash ) ;
   int phpinfo_as_text ;
   char *ini_entries ;
   zend_function_entry const   *additional_functions ;
   unsigned int (*input_filter_init)(void) ;
};
struct _sapi_post_entry {
   char *content_type ;
   uint content_type_len ;
   void (*post_reader)(void) ;
   void (*post_handler)(char *content_type_dup , void *arg ) ;
};
enum __anonenum_106 {
    __LC_CTYPE = 0,
    __LC_NUMERIC = 1,
    __LC_TIME = 2,
    __LC_COLLATE = 3,
    __LC_MONETARY = 4,
    __LC_MESSAGES = 5,
    __LC_ALL = 6,
    __LC_PAPER = 7,
    __LC_NAME = 8,
    __LC_ADDRESS = 9,
    __LC_TELEPHONE = 10,
    __LC_MEASUREMENT = 11,
    __LC_IDENTIFICATION = 12
} ;
struct lconv {
   char *decimal_point ;
   char *thousands_sep ;
   char *grouping ;
   char *int_curr_symbol ;
   char *currency_symbol ;
   char *mon_decimal_point ;
   char *mon_thousands_sep ;
   char *mon_grouping ;
   char *positive_sign ;
   char *negative_sign ;
   char int_frac_digits ;
   char frac_digits ;
   char p_cs_precedes ;
   char p_sep_by_space ;
   char n_cs_precedes ;
   char n_sep_by_space ;
   char p_sign_posn ;
   char n_sign_posn ;
   char int_p_cs_precedes ;
   char int_p_sep_by_space ;
   char int_n_cs_precedes ;
   char int_n_sep_by_space ;
   char int_p_sign_posn ;
   char int_n_sign_posn ;
};
typedef void *nl_catd;
typedef int nl_item;
enum __anonenum_107 {
    ABDAY_1 = 131072,
    ABDAY_2 = 131073,
    ABDAY_3 = 131074,
    ABDAY_4 = 131075,
    ABDAY_5 = 131076,
    ABDAY_6 = 131077,
    ABDAY_7 = 131078,
    DAY_1 = 131079,
    DAY_2 = 131080,
    DAY_3 = 131081,
    DAY_4 = 131082,
    DAY_5 = 131083,
    DAY_6 = 131084,
    DAY_7 = 131085,
    ABMON_1 = 131086,
    ABMON_2 = 131087,
    ABMON_3 = 131088,
    ABMON_4 = 131089,
    ABMON_5 = 131090,
    ABMON_6 = 131091,
    ABMON_7 = 131092,
    ABMON_8 = 131093,
    ABMON_9 = 131094,
    ABMON_10 = 131095,
    ABMON_11 = 131096,
    ABMON_12 = 131097,
    MON_1 = 131098,
    MON_2 = 131099,
    MON_3 = 131100,
    MON_4 = 131101,
    MON_5 = 131102,
    MON_6 = 131103,
    MON_7 = 131104,
    MON_8 = 131105,
    MON_9 = 131106,
    MON_10 = 131107,
    MON_11 = 131108,
    MON_12 = 131109,
    AM_STR = 131110,
    PM_STR = 131111,
    D_T_FMT = 131112,
    D_FMT = 131113,
    T_FMT = 131114,
    T_FMT_AMPM = 131115,
    ERA = 131116,
    __ERA_YEAR = 131117,
    ERA_D_FMT = 131118,
    ALT_DIGITS = 131119,
    ERA_D_T_FMT = 131120,
    ERA_T_FMT = 131121,
    _NL_TIME_ERA_NUM_ENTRIES = 131122,
    _NL_TIME_ERA_ENTRIES = 131123,
    _NL_WABDAY_1 = 131124,
    _NL_WABDAY_2 = 131125,
    _NL_WABDAY_3 = 131126,
    _NL_WABDAY_4 = 131127,
    _NL_WABDAY_5 = 131128,
    _NL_WABDAY_6 = 131129,
    _NL_WABDAY_7 = 131130,
    _NL_WDAY_1 = 131131,
    _NL_WDAY_2 = 131132,
    _NL_WDAY_3 = 131133,
    _NL_WDAY_4 = 131134,
    _NL_WDAY_5 = 131135,
    _NL_WDAY_6 = 131136,
    _NL_WDAY_7 = 131137,
    _NL_WABMON_1 = 131138,
    _NL_WABMON_2 = 131139,
    _NL_WABMON_3 = 131140,
    _NL_WABMON_4 = 131141,
    _NL_WABMON_5 = 131142,
    _NL_WABMON_6 = 131143,
    _NL_WABMON_7 = 131144,
    _NL_WABMON_8 = 131145,
    _NL_WABMON_9 = 131146,
    _NL_WABMON_10 = 131147,
    _NL_WABMON_11 = 131148,
    _NL_WABMON_12 = 131149,
    _NL_WMON_1 = 131150,
    _NL_WMON_2 = 131151,
    _NL_WMON_3 = 131152,
    _NL_WMON_4 = 131153,
    _NL_WMON_5 = 131154,
    _NL_WMON_6 = 131155,
    _NL_WMON_7 = 131156,
    _NL_WMON_8 = 131157,
    _NL_WMON_9 = 131158,
    _NL_WMON_10 = 131159,
    _NL_WMON_11 = 131160,
    _NL_WMON_12 = 131161,
    _NL_WAM_STR = 131162,
    _NL_WPM_STR = 131163,
    _NL_WD_T_FMT = 131164,
    _NL_WD_FMT = 131165,
    _NL_WT_FMT = 131166,
    _NL_WT_FMT_AMPM = 131167,
    _NL_WERA_YEAR = 131168,
    _NL_WERA_D_FMT = 131169,
    _NL_WALT_DIGITS = 131170,
    _NL_WERA_D_T_FMT = 131171,
    _NL_WERA_T_FMT = 131172,
    _NL_TIME_WEEK_NDAYS = 131173,
    _NL_TIME_WEEK_1STDAY = 131174,
    _NL_TIME_WEEK_1STWEEK = 131175,
    _NL_TIME_FIRST_WEEKDAY = 131176,
    _NL_TIME_FIRST_WORKDAY = 131177,
    _NL_TIME_CAL_DIRECTION = 131178,
    _NL_TIME_TIMEZONE = 131179,
    _DATE_FMT = 131180,
    _NL_W_DATE_FMT = 131181,
    _NL_TIME_CODESET = 131182,
    _NL_NUM_LC_TIME = 131183,
    _NL_COLLATE_NRULES = 196608,
    _NL_COLLATE_RULESETS = 196609,
    _NL_COLLATE_TABLEMB = 196610,
    _NL_COLLATE_WEIGHTMB = 196611,
    _NL_COLLATE_EXTRAMB = 196612,
    _NL_COLLATE_INDIRECTMB = 196613,
    _NL_COLLATE_GAP1 = 196614,
    _NL_COLLATE_GAP2 = 196615,
    _NL_COLLATE_GAP3 = 196616,
    _NL_COLLATE_TABLEWC = 196617,
    _NL_COLLATE_WEIGHTWC = 196618,
    _NL_COLLATE_EXTRAWC = 196619,
    _NL_COLLATE_INDIRECTWC = 196620,
    _NL_COLLATE_SYMB_HASH_SIZEMB = 196621,
    _NL_COLLATE_SYMB_TABLEMB = 196622,
    _NL_COLLATE_SYMB_EXTRAMB = 196623,
    _NL_COLLATE_COLLSEQMB = 196624,
    _NL_COLLATE_COLLSEQWC = 196625,
    _NL_COLLATE_CODESET = 196626,
    _NL_NUM_LC_COLLATE = 196627,
    _NL_CTYPE_CLASS = 0,
    _NL_CTYPE_TOUPPER = 1,
    _NL_CTYPE_GAP1 = 2,
    _NL_CTYPE_TOLOWER = 3,
    _NL_CTYPE_GAP2 = 4,
    _NL_CTYPE_CLASS32 = 5,
    _NL_CTYPE_GAP3 = 6,
    _NL_CTYPE_GAP4 = 7,
    _NL_CTYPE_GAP5 = 8,
    _NL_CTYPE_GAP6 = 9,
    _NL_CTYPE_CLASS_NAMES = 10,
    _NL_CTYPE_MAP_NAMES = 11,
    _NL_CTYPE_WIDTH = 12,
    _NL_CTYPE_MB_CUR_MAX = 13,
    _NL_CTYPE_CODESET_NAME = 14,
    CODESET = 14,
    _NL_CTYPE_TOUPPER32 = 15,
    _NL_CTYPE_TOLOWER32 = 16,
    _NL_CTYPE_CLASS_OFFSET = 17,
    _NL_CTYPE_MAP_OFFSET = 18,
    _NL_CTYPE_INDIGITS_MB_LEN = 19,
    _NL_CTYPE_INDIGITS0_MB = 20,
    _NL_CTYPE_INDIGITS1_MB = 21,
    _NL_CTYPE_INDIGITS2_MB = 22,
    _NL_CTYPE_INDIGITS3_MB = 23,
    _NL_CTYPE_INDIGITS4_MB = 24,
    _NL_CTYPE_INDIGITS5_MB = 25,
    _NL_CTYPE_INDIGITS6_MB = 26,
    _NL_CTYPE_INDIGITS7_MB = 27,
    _NL_CTYPE_INDIGITS8_MB = 28,
    _NL_CTYPE_INDIGITS9_MB = 29,
    _NL_CTYPE_INDIGITS_WC_LEN = 30,
    _NL_CTYPE_INDIGITS0_WC = 31,
    _NL_CTYPE_INDIGITS1_WC = 32,
    _NL_CTYPE_INDIGITS2_WC = 33,
    _NL_CTYPE_INDIGITS3_WC = 34,
    _NL_CTYPE_INDIGITS4_WC = 35,
    _NL_CTYPE_INDIGITS5_WC = 36,
    _NL_CTYPE_INDIGITS6_WC = 37,
    _NL_CTYPE_INDIGITS7_WC = 38,
    _NL_CTYPE_INDIGITS8_WC = 39,
    _NL_CTYPE_INDIGITS9_WC = 40,
    _NL_CTYPE_OUTDIGIT0_MB = 41,
    _NL_CTYPE_OUTDIGIT1_MB = 42,
    _NL_CTYPE_OUTDIGIT2_MB = 43,
    _NL_CTYPE_OUTDIGIT3_MB = 44,
    _NL_CTYPE_OUTDIGIT4_MB = 45,
    _NL_CTYPE_OUTDIGIT5_MB = 46,
    _NL_CTYPE_OUTDIGIT6_MB = 47,
    _NL_CTYPE_OUTDIGIT7_MB = 48,
    _NL_CTYPE_OUTDIGIT8_MB = 49,
    _NL_CTYPE_OUTDIGIT9_MB = 50,
    _NL_CTYPE_OUTDIGIT0_WC = 51,
    _NL_CTYPE_OUTDIGIT1_WC = 52,
    _NL_CTYPE_OUTDIGIT2_WC = 53,
    _NL_CTYPE_OUTDIGIT3_WC = 54,
    _NL_CTYPE_OUTDIGIT4_WC = 55,
    _NL_CTYPE_OUTDIGIT5_WC = 56,
    _NL_CTYPE_OUTDIGIT6_WC = 57,
    _NL_CTYPE_OUTDIGIT7_WC = 58,
    _NL_CTYPE_OUTDIGIT8_WC = 59,
    _NL_CTYPE_OUTDIGIT9_WC = 60,
    _NL_CTYPE_TRANSLIT_TAB_SIZE = 61,
    _NL_CTYPE_TRANSLIT_FROM_IDX = 62,
    _NL_CTYPE_TRANSLIT_FROM_TBL = 63,
    _NL_CTYPE_TRANSLIT_TO_IDX = 64,
    _NL_CTYPE_TRANSLIT_TO_TBL = 65,
    _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN = 66,
    _NL_CTYPE_TRANSLIT_DEFAULT_MISSING = 67,
    _NL_CTYPE_TRANSLIT_IGNORE_LEN = 68,
    _NL_CTYPE_TRANSLIT_IGNORE = 69,
    _NL_CTYPE_MAP_TO_NONASCII = 70,
    _NL_CTYPE_NONASCII_CASE = 71,
    _NL_CTYPE_EXTRA_MAP_1 = 72,
    _NL_CTYPE_EXTRA_MAP_2 = 73,
    _NL_CTYPE_EXTRA_MAP_3 = 74,
    _NL_CTYPE_EXTRA_MAP_4 = 75,
    _NL_CTYPE_EXTRA_MAP_5 = 76,
    _NL_CTYPE_EXTRA_MAP_6 = 77,
    _NL_CTYPE_EXTRA_MAP_7 = 78,
    _NL_CTYPE_EXTRA_MAP_8 = 79,
    _NL_CTYPE_EXTRA_MAP_9 = 80,
    _NL_CTYPE_EXTRA_MAP_10 = 81,
    _NL_CTYPE_EXTRA_MAP_11 = 82,
    _NL_CTYPE_EXTRA_MAP_12 = 83,
    _NL_CTYPE_EXTRA_MAP_13 = 84,
    _NL_CTYPE_EXTRA_MAP_14 = 85,
    _NL_NUM_LC_CTYPE = 86,
    __INT_CURR_SYMBOL = 262144,
    __CURRENCY_SYMBOL = 262145,
    __MON_DECIMAL_POINT = 262146,
    __MON_THOUSANDS_SEP = 262147,
    __MON_GROUPING = 262148,
    __POSITIVE_SIGN = 262149,
    __NEGATIVE_SIGN = 262150,
    __INT_FRAC_DIGITS = 262151,
    __FRAC_DIGITS = 262152,
    __P_CS_PRECEDES = 262153,
    __P_SEP_BY_SPACE = 262154,
    __N_CS_PRECEDES = 262155,
    __N_SEP_BY_SPACE = 262156,
    __P_SIGN_POSN = 262157,
    __N_SIGN_POSN = 262158,
    _NL_MONETARY_CRNCYSTR = 262159,
    __INT_P_CS_PRECEDES = 262160,
    __INT_P_SEP_BY_SPACE = 262161,
    __INT_N_CS_PRECEDES = 262162,
    __INT_N_SEP_BY_SPACE = 262163,
    __INT_P_SIGN_POSN = 262164,
    __INT_N_SIGN_POSN = 262165,
    _NL_MONETARY_DUO_INT_CURR_SYMBOL = 262166,
    _NL_MONETARY_DUO_CURRENCY_SYMBOL = 262167,
    _NL_MONETARY_DUO_INT_FRAC_DIGITS = 262168,
    _NL_MONETARY_DUO_FRAC_DIGITS = 262169,
    _NL_MONETARY_DUO_P_CS_PRECEDES = 262170,
    _NL_MONETARY_DUO_P_SEP_BY_SPACE = 262171,
    _NL_MONETARY_DUO_N_CS_PRECEDES = 262172,
    _NL_MONETARY_DUO_N_SEP_BY_SPACE = 262173,
    _NL_MONETARY_DUO_INT_P_CS_PRECEDES = 262174,
    _NL_MONETARY_DUO_INT_P_SEP_BY_SPACE = 262175,
    _NL_MONETARY_DUO_INT_N_CS_PRECEDES = 262176,
    _NL_MONETARY_DUO_INT_N_SEP_BY_SPACE = 262177,
    _NL_MONETARY_DUO_P_SIGN_POSN = 262178,
    _NL_MONETARY_DUO_N_SIGN_POSN = 262179,
    _NL_MONETARY_DUO_INT_P_SIGN_POSN = 262180,
    _NL_MONETARY_DUO_INT_N_SIGN_POSN = 262181,
    _NL_MONETARY_UNO_VALID_FROM = 262182,
    _NL_MONETARY_UNO_VALID_TO = 262183,
    _NL_MONETARY_DUO_VALID_FROM = 262184,
    _NL_MONETARY_DUO_VALID_TO = 262185,
    _NL_MONETARY_CONVERSION_RATE = 262186,
    _NL_MONETARY_DECIMAL_POINT_WC = 262187,
    _NL_MONETARY_THOUSANDS_SEP_WC = 262188,
    _NL_MONETARY_CODESET = 262189,
    _NL_NUM_LC_MONETARY = 262190,
    __DECIMAL_POINT = 65536,
    RADIXCHAR = 65536,
    __THOUSANDS_SEP = 65537,
    THOUSEP = 65537,
    __GROUPING = 65538,
    _NL_NUMERIC_DECIMAL_POINT_WC = 65539,
    _NL_NUMERIC_THOUSANDS_SEP_WC = 65540,
    _NL_NUMERIC_CODESET = 65541,
    _NL_NUM_LC_NUMERIC = 65542,
    __YESEXPR = 327680,
    __NOEXPR = 327681,
    __YESSTR = 327682,
    __NOSTR = 327683,
    _NL_MESSAGES_CODESET = 327684,
    _NL_NUM_LC_MESSAGES = 327685,
    _NL_PAPER_HEIGHT = 458752,
    _NL_PAPER_WIDTH = 458753,
    _NL_PAPER_CODESET = 458754,
    _NL_NUM_LC_PAPER = 458755,
    _NL_NAME_NAME_FMT = 524288,
    _NL_NAME_NAME_GEN = 524289,
    _NL_NAME_NAME_MR = 524290,
    _NL_NAME_NAME_MRS = 524291,
    _NL_NAME_NAME_MISS = 524292,
    _NL_NAME_NAME_MS = 524293,
    _NL_NAME_CODESET = 524294,
    _NL_NUM_LC_NAME = 524295,
    _NL_ADDRESS_POSTAL_FMT = 589824,
    _NL_ADDRESS_COUNTRY_NAME = 589825,
    _NL_ADDRESS_COUNTRY_POST = 589826,
    _NL_ADDRESS_COUNTRY_AB2 = 589827,
    _NL_ADDRESS_COUNTRY_AB3 = 589828,
    _NL_ADDRESS_COUNTRY_CAR = 589829,
    _NL_ADDRESS_COUNTRY_NUM = 589830,
    _NL_ADDRESS_COUNTRY_ISBN = 589831,
    _NL_ADDRESS_LANG_NAME = 589832,
    _NL_ADDRESS_LANG_AB = 589833,
    _NL_ADDRESS_LANG_TERM = 589834,
    _NL_ADDRESS_LANG_LIB = 589835,
    _NL_ADDRESS_CODESET = 589836,
    _NL_NUM_LC_ADDRESS = 589837,
    _NL_TELEPHONE_TEL_INT_FMT = 655360,
    _NL_TELEPHONE_TEL_DOM_FMT = 655361,
    _NL_TELEPHONE_INT_SELECT = 655362,
    _NL_TELEPHONE_INT_PREFIX = 655363,
    _NL_TELEPHONE_CODESET = 655364,
    _NL_NUM_LC_TELEPHONE = 655365,
    _NL_MEASUREMENT_MEASUREMENT = 720896,
    _NL_MEASUREMENT_CODESET = 720897,
    _NL_NUM_LC_MEASUREMENT = 720898,
    _NL_IDENTIFICATION_TITLE = 786432,
    _NL_IDENTIFICATION_SOURCE = 786433,
    _NL_IDENTIFICATION_ADDRESS = 786434,
    _NL_IDENTIFICATION_CONTACT = 786435,
    _NL_IDENTIFICATION_EMAIL = 786436,
    _NL_IDENTIFICATION_TEL = 786437,
    _NL_IDENTIFICATION_FAX = 786438,
    _NL_IDENTIFICATION_LANGUAGE = 786439,
    _NL_IDENTIFICATION_TERRITORY = 786440,
    _NL_IDENTIFICATION_AUDIENCE = 786441,
    _NL_IDENTIFICATION_APPLICATION = 786442,
    _NL_IDENTIFICATION_ABBREVIATION = 786443,
    _NL_IDENTIFICATION_REVISION = 786444,
    _NL_IDENTIFICATION_DATE = 786445,
    _NL_IDENTIFICATION_CATEGORY = 786446,
    _NL_IDENTIFICATION_CODESET = 786447,
    _NL_NUM_LC_IDENTIFICATION = 786448,
    _NL_NUM = 786449
} ;
enum _php_meta_tags_token {
    TOK_EOF = 0,
    TOK_OPENTAG = 1,
    TOK_CLOSETAG = 2,
    TOK_SLASH = 3,
    TOK_EQUAL = 4,
    TOK_SPACE = 5,
    TOK_ID = 6,
    TOK_STRING = 7,
    TOK_OTHER = 8
} ;
typedef enum _php_meta_tags_token php_meta_tags_token;
struct _php_meta_tags_data {
   php_stream *stream ;
   int ulc ;
   int lc ;
   char *input_buffer ;
   char *token_data ;
   int token_len ;
   int in_meta ;
};
typedef struct _php_meta_tags_data php_meta_tags_data;
struct __anonstruct_php_file_globals_108 {
   int pclose_ret ;
   size_t def_chunk_size ;
   long auto_detect_line_endings ;
   long default_socket_timeout ;
   char *user_agent ;
   char *from_address ;
   char *user_stream_current_filename ;
   php_stream_context *default_context ;
   HashTable *stream_wrappers ;
   HashTable *stream_filters ;
};
typedef struct __anonstruct_php_file_globals_108 php_file_globals;
extern struct _IO_FILE_plus _IO_2_1_stdin_ ;
extern struct _IO_FILE_plus _IO_2_1_stdout_ ;
extern struct _IO_FILE_plus _IO_2_1_stderr_ ;
extern int __underflow(_IO_FILE * ) ;
extern int __uflow(_IO_FILE * ) ;
extern int __overflow(_IO_FILE * , int  ) ;
extern int _IO_getc(_IO_FILE *__fp ) ;
extern int _IO_putc(int __c , _IO_FILE *__fp ) ;
extern  __attribute__((__nothrow__)) int _IO_feof(_IO_FILE *__fp ) ;
extern  __attribute__((__nothrow__)) int _IO_ferror(_IO_FILE *__fp ) ;
extern int _IO_peekc_locked(_IO_FILE *__fp ) ;
extern  __attribute__((__nothrow__)) void _IO_flockfile(_IO_FILE * ) ;
extern  __attribute__((__nothrow__)) void _IO_funlockfile(_IO_FILE * ) ;
extern  __attribute__((__nothrow__)) int _IO_ftrylockfile(_IO_FILE * ) ;
extern int _IO_vfscanf(_IO_FILE * __restrict   , char const   * __restrict   , __gnuc_va_list  , int * __restrict   ) ;
extern int _IO_vfprintf(_IO_FILE * __restrict   , char const   * __restrict   , __gnuc_va_list  ) ;
extern __ssize_t _IO_padn(_IO_FILE * , int  , __ssize_t  ) ;
extern size_t _IO_sgetn(_IO_FILE * , void * , size_t  ) ;
extern __off64_t _IO_seekoff(_IO_FILE * , __off64_t  , int  , int  ) ;
extern __off64_t _IO_seekpos(_IO_FILE * , __off64_t  , int  ) ;
extern  __attribute__((__nothrow__)) void _IO_free_backup_area(_IO_FILE * ) ;
extern struct _IO_FILE *stdin ;
extern struct _IO_FILE *stdout ;
extern struct _IO_FILE *stderr ;
extern  __attribute__((__nothrow__)) int remove(char const   *__filename ) ;
extern  __attribute__((__nothrow__)) int rename(char const   *__old , char const   *__new ) ;
extern  __attribute__((__nothrow__)) int renameat(int __oldfd , char const   *__old , int __newfd , char const   *__new ) ;
extern FILE *tmpfile(void) ;
extern  __attribute__((__nothrow__)) char *tmpnam(char *__s ) ;
extern  __attribute__((__nothrow__)) char *tmpnam_r(char *__s ) ;
extern  __attribute__((__nothrow__)) char *tempnam(char const   *__dir , char const   *__pfx )  __attribute__((__malloc__)) ;
extern int fclose(FILE *__stream ) ;
extern int fflush(FILE *__stream ) ;
extern int fflush_unlocked(FILE *__stream ) ;
extern FILE *fopen(char const   * __restrict  __filename , char const   * __restrict  __modes ) ;
extern FILE *freopen(char const   * __restrict  __filename , char const   * __restrict  __modes , FILE * __restrict  __stream ) ;
extern  __attribute__((__nothrow__)) FILE *fdopen(int __fd , char const   *__modes ) ;
extern  __attribute__((__nothrow__)) FILE *fmemopen(void *__s , size_t __len , char const   *__modes ) ;
extern  __attribute__((__nothrow__)) FILE *open_memstream(char **__bufloc , size_t *__sizeloc ) ;
extern  __attribute__((__nothrow__)) void setbuf(FILE * __restrict  __stream , char * __restrict  __buf ) ;
extern  __attribute__((__nothrow__)) int setvbuf(FILE * __restrict  __stream , char * __restrict  __buf , int __modes , size_t __n ) ;
extern  __attribute__((__nothrow__)) void setbuffer(FILE * __restrict  __stream , char * __restrict  __buf , size_t __size ) ;
extern  __attribute__((__nothrow__)) void setlinebuf(FILE *__stream ) ;
extern int fprintf(FILE * __restrict  __stream , char const   * __restrict  __format  , ...) ;
extern int printf(char const   * __restrict  __format  , ...) ;
extern  __attribute__((__nothrow__)) int sprintf(char * __restrict  __s , char const   * __restrict  __format  , ...) ;
extern int vfprintf(FILE * __restrict  __s , char const   * __restrict  __format , __gnuc_va_list __arg ) ;
__inline extern int vprintf(char const   * __restrict  __fmt , __gnuc_va_list __arg ) ;
extern  __attribute__((__nothrow__)) int vsprintf(char * __restrict  __s , char const   * __restrict  __format , __gnuc_va_list __arg ) ;
extern  __attribute__((__nothrow__)) int ( /* format attribute */  snprintf)(char * __restrict  __s , size_t __maxlen , char const   * __restrict  __format  , ...) ;
extern  __attribute__((__nothrow__)) int ( /* format attribute */  vsnprintf)(char * __restrict  __s , size_t __maxlen , char const   * __restrict  __format , __gnuc_va_list __arg ) ;
extern int ( /* format attribute */  vdprintf)(int __fd , char const   * __restrict  __fmt , __gnuc_va_list __arg ) ;
extern int ( /* format attribute */  dprintf)(int __fd , char const   * __restrict  __fmt  , ...) ;
extern int fscanf(FILE * __restrict  __stream , char const   * __restrict  __format  , ...)  __asm__("__isoc99_fscanf")  ;
extern int scanf(char const   * __restrict  __format  , ...)  __asm__("__isoc99_scanf")  ;
extern  __attribute__((__nothrow__)) int sscanf(char const   * __restrict  __s , char const   * __restrict  __format  , ...)  __asm__("__isoc99_sscanf")  ;
extern int ( /* format attribute */  vfscanf)(FILE * __restrict  __s , char const   * __restrict  __format , __gnuc_va_list __arg )  __asm__("__isoc99_vfscanf")  ;
extern int ( /* format attribute */  vscanf)(char const   * __restrict  __format , __gnuc_va_list __arg )  __asm__("__isoc99_vscanf")  ;
extern  __attribute__((__nothrow__)) int ( /* format attribute */  vsscanf)(char const   * __restrict  __s , char const   * __restrict  __format , __gnuc_va_list __arg )  __asm__("__isoc99_vsscanf")  ;
extern int fgetc(FILE *__stream ) ;
extern int getc(FILE *__stream ) ;
__inline extern int getchar(void) ;
__inline extern int getc_unlocked(FILE *__fp ) ;
__inline extern int getchar_unlocked(void) ;
__inline extern int fgetc_unlocked(FILE *__fp ) ;
extern int fputc(int __c , FILE *__stream ) ;
extern int putc(int __c , FILE *__stream ) ;
__inline extern int putchar(int __c ) ;
__inline extern int fputc_unlocked(int __c , FILE *__stream ) ;
__inline extern int putc_unlocked(int __c , FILE *__stream ) ;
__inline extern int putchar_unlocked(int __c ) ;
extern int getw(FILE *__stream ) ;
extern int putw(int __w , FILE *__stream ) ;
extern char *fgets(char * __restrict  __s , int __n , FILE * __restrict  __stream ) ;
extern char *gets(char *__s ) ;
extern __ssize_t __getdelim(char ** __restrict  __lineptr , size_t * __restrict  __n , int __delimiter , FILE * __restrict  __stream ) ;
extern __ssize_t getdelim(char ** __restrict  __lineptr , size_t * __restrict  __n , int __delimiter , FILE * __restrict  __stream ) ;
extern __ssize_t getline(char ** __restrict  __lineptr , size_t * __restrict  __n , FILE * __restrict  __stream ) ;
extern int fputs(char const   * __restrict  __s , FILE * __restrict  __stream ) ;
extern int puts(char const   *__s ) ;
extern int ungetc(int __c , FILE *__stream ) ;
extern size_t fread(void * __restrict  __ptr , size_t __size , size_t __n , FILE * __restrict  __stream ) ;
extern size_t fwrite(void const   * __restrict  __ptr , size_t __size , size_t __n , FILE * __restrict  __s ) ;
extern size_t fread_unlocked(void * __restrict  __ptr , size_t __size , size_t __n , FILE * __restrict  __stream ) ;
extern size_t fwrite_unlocked(void const   * __restrict  __ptr , size_t __size , size_t __n , FILE * __restrict  __stream ) ;
extern int fseek(FILE *__stream , long __off , int __whence ) ;
extern long ftell(FILE *__stream ) ;
extern void rewind(FILE *__stream ) ;
extern int fseeko(FILE *__stream , __off_t __off , int __whence ) ;
extern __off_t ftello(FILE *__stream ) ;
extern int fgetpos(FILE * __restrict  __stream , fpos_t * __restrict  __pos ) ;
extern int fsetpos(FILE *__stream , fpos_t const   *__pos ) ;
extern  __attribute__((__nothrow__)) void clearerr(FILE *__stream ) ;
extern  __attribute__((__nothrow__)) int feof(FILE *__stream ) ;
extern  __attribute__((__nothrow__)) int ferror(FILE *__stream ) ;
extern  __attribute__((__nothrow__)) void clearerr_unlocked(FILE *__stream ) ;
__inline extern  __attribute__((__nothrow__)) int feof_unlocked(FILE *__stream ) ;
__inline extern  __attribute__((__nothrow__)) int ferror_unlocked(FILE *__stream ) ;
extern void perror(char const   *__s ) ;
extern int sys_nerr ;
extern char const   * const  sys_errlist[] ;
extern  __attribute__((__nothrow__)) int fileno(FILE *__stream ) ;
extern  __attribute__((__nothrow__)) int fileno_unlocked(FILE *__stream ) ;
extern FILE *popen(char const   *__command , char const   *__modes ) ;
extern int pclose(FILE *__stream ) ;
extern  __attribute__((__nothrow__)) char *ctermid(char *__s ) ;
extern  __attribute__((__nothrow__)) void flockfile(FILE *__stream ) ;
extern  __attribute__((__nothrow__)) int ftrylockfile(FILE *__stream ) ;
extern  __attribute__((__nothrow__)) void funlockfile(FILE *__stream ) ;
__inline extern int vprintf(char const   * __restrict  __fmt , __gnuc_va_list __arg ) 
{ int tmp ;

  {
  tmp = vfprintf((FILE */* __restrict  */)stdout, __fmt, __arg);
  return (tmp);
}
}
__inline extern int getchar(void) 
{ int tmp ;

  {
  tmp = _IO_getc(stdin);
  return (tmp);
}
}
__inline extern int fgetc_unlocked(FILE *__fp ) 
{ long tmp ;
  int tmp___0 ;
  char *tmp___1 ;
  int tmp___2 ;
  long tmp___3 ;

  {
  tmp___3 = __builtin_expect((long )((unsigned int )__fp->_IO_read_ptr >= (unsigned int )__fp->_IO_read_end), 0L);
  if (tmp___3) {
    tmp___0 = __uflow(__fp);
    tmp___2 = tmp___0;
  } else {
    tmp___1 = __fp->_IO_read_ptr;
    (__fp->_IO_read_ptr) ++;
    tmp___2 = (int )*((unsigned char *)tmp___1);
  }
  return (tmp___2);
}
}
__inline extern int getc_unlocked(FILE *__fp ) 
{ long tmp ;
  int tmp___0 ;
  char *tmp___1 ;
  int tmp___2 ;
  long tmp___3 ;

  {
  tmp___3 = __builtin_expect((long )((unsigned int )__fp->_IO_read_ptr >= (unsigned int )__fp->_IO_read_end), 0L);
  if (tmp___3) {
    tmp___0 = __uflow(__fp);
    tmp___2 = tmp___0;
  } else {
    tmp___1 = __fp->_IO_read_ptr;
    (__fp->_IO_read_ptr) ++;
    tmp___2 = (int )*((unsigned char *)tmp___1);
  }
  return (tmp___2);
}
}
__inline extern int getchar_unlocked(void) 
{ long tmp ;
  int tmp___0 ;
  char *tmp___1 ;
  int tmp___2 ;
  long tmp___3 ;

  {
  tmp___3 = __builtin_expect((long )((unsigned int )stdin->_IO_read_ptr >= (unsigned int )stdin->_IO_read_end), 0L);
  if (tmp___3) {
    tmp___0 = __uflow(stdin);
    tmp___2 = tmp___0;
  } else {
    tmp___1 = stdin->_IO_read_ptr;
    (stdin->_IO_read_ptr) ++;
    tmp___2 = (int )*((unsigned char *)tmp___1);
  }
  return (tmp___2);
}
}
__inline extern int putchar(int __c ) 
{ int tmp ;

  {
  tmp = _IO_putc(__c, stdout);
  return (tmp);
}
}
__inline extern int fputc_unlocked(int __c , FILE *__stream ) 
{ long tmp ;
  int tmp___0 ;
  char *tmp___1 ;
  char tmp___2 ;
  int tmp___3 ;
  long tmp___4 ;

  {
  tmp___4 = __builtin_expect((long )((unsigned int )__stream->_IO_write_ptr >= (unsigned int )__stream->_IO_write_end), 0L);
  if (tmp___4) {
    tmp___0 = __overflow(__stream, (int )((unsigned char )__c));
    tmp___3 = tmp___0;
  } else {
    tmp___1 = __stream->_IO_write_ptr;
    (__stream->_IO_write_ptr) ++;
    tmp___2 = (char )__c;
    *tmp___1 = tmp___2;
    tmp___3 = (int )((unsigned char )tmp___2);
  }
  return (tmp___3);
}
}
__inline extern int putc_unlocked(int __c , FILE *__stream ) 
{ long tmp ;
  int tmp___0 ;
  char *tmp___1 ;
  char tmp___2 ;
  int tmp___3 ;
  long tmp___4 ;

  {
  tmp___4 = __builtin_expect((long )((unsigned int )__stream->_IO_write_ptr >= (unsigned int )__stream->_IO_write_end), 0L);
  if (tmp___4) {
    tmp___0 = __overflow(__stream, (int )((unsigned char )__c));
    tmp___3 = tmp___0;
  } else {
    tmp___1 = __stream->_IO_write_ptr;
    (__stream->_IO_write_ptr) ++;
    tmp___2 = (char )__c;
    *tmp___1 = tmp___2;
    tmp___3 = (int )((unsigned char )tmp___2);
  }
  return (tmp___3);
}
}
__inline extern int putchar_unlocked(int __c ) 
{ long tmp ;
  int tmp___0 ;
  char *tmp___1 ;
  char tmp___2 ;
  int tmp___3 ;
  long tmp___4 ;

  {
  tmp___4 = __builtin_expect((long )((unsigned int )stdout->_IO_write_ptr >= (unsigned int )stdout->_IO_write_end), 0L);
  if (tmp___4) {
    tmp___0 = __overflow(stdout, (int )((unsigned char )__c));
    tmp___3 = tmp___0;
  } else {
    tmp___1 = stdout->_IO_write_ptr;
    (stdout->_IO_write_ptr) ++;
    tmp___2 = (char )__c;
    *tmp___1 = tmp___2;
    tmp___3 = (int )((unsigned char )tmp___2);
  }
  return (tmp___3);
}
}
__inline extern  __attribute__((__nothrow__)) int feof_unlocked(FILE *__stream ) ;
__inline extern int feof_unlocked(FILE *__stream ) 
{ 

  {
  return ((__stream->_flags & 0x10) != 0);
}
}
__inline extern  __attribute__((__nothrow__)) int ferror_unlocked(FILE *__stream ) ;
__inline extern int ferror_unlocked(FILE *__stream ) 
{ 

  {
  return ((__stream->_flags & 0x20) != 0);
}
}
extern  __attribute__((__nothrow__)) size_t __ctype_get_mb_cur_max(void) ;
__inline extern  __attribute__((__nothrow__)) double atof(char const   *__nptr )  __attribute__((__pure__, __nonnull__(1))) ;
__inline extern  __attribute__((__nothrow__)) int atoi(char const   *__nptr )  __attribute__((__pure__, __nonnull__(1))) ;
__inline extern  __attribute__((__nothrow__)) long atol(char const   *__nptr )  __attribute__((__pure__, __nonnull__(1))) ;
__inline extern  __attribute__((__nothrow__)) long long atoll(char const   *__nptr )  __attribute__((__pure__, __nonnull__(1))) ;
extern  __attribute__((__nothrow__)) double strtod(char const   * __restrict  __nptr , char ** __restrict  __endptr )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) float strtof(char const   * __restrict  __nptr , char ** __restrict  __endptr )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) long double strtold(char const   * __restrict  __nptr , char ** __restrict  __endptr )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) long strtol(char const   * __restrict  __nptr , char ** __restrict  __endptr , int __base )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) unsigned long strtoul(char const   * __restrict  __nptr , char ** __restrict  __endptr , int __base )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) long long strtoq(char const   * __restrict  __nptr , char ** __restrict  __endptr , int __base )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) unsigned long long strtouq(char const   * __restrict  __nptr , char ** __restrict  __endptr , int __base )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) long long strtoll(char const   * __restrict  __nptr , char ** __restrict  __endptr , int __base )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) unsigned long long strtoull(char const   * __restrict  __nptr , char ** __restrict  __endptr , int __base )  __attribute__((__nonnull__(1))) ;
__inline extern  __attribute__((__nothrow__)) double atof(char const   *__nptr )  __attribute__((__pure__, __nonnull__(1))) ;
__inline extern double atof(char const   *__nptr ) 
{ double tmp ;

  {
  tmp = strtod((char const   */* __restrict  */)__nptr, (char **/* __restrict  */)((char **)((void *)0)));
  return (tmp);
}
}
__inline extern  __attribute__((__nothrow__)) int atoi(char const   *__nptr )  __attribute__((__pure__, __nonnull__(1))) ;
__inline extern int atoi(char const   *__nptr ) 
{ long tmp ;

  {
  tmp = strtol((char const   */* __restrict  */)__nptr, (char **/* __restrict  */)((char **)((void *)0)), 10);
  return ((int )tmp);
}
}
__inline extern  __attribute__((__nothrow__)) long atol(char const   *__nptr )  __attribute__((__pure__, __nonnull__(1))) ;
__inline extern long atol(char const   *__nptr ) 
{ long tmp ;

  {
  tmp = strtol((char const   */* __restrict  */)__nptr, (char **/* __restrict  */)((char **)((void *)0)), 10);
  return (tmp);
}
}
__inline extern  __attribute__((__nothrow__)) long long atoll(char const   *__nptr )  __attribute__((__pure__, __nonnull__(1))) ;
__inline extern long long atoll(char const   *__nptr ) 
{ long long tmp ;

  {
  tmp = strtoll((char const   */* __restrict  */)__nptr, (char **/* __restrict  */)((char **)((void *)0)), 10);
  return (tmp);
}
}
extern  __attribute__((__nothrow__)) char *l64a(long __n ) ;
extern  __attribute__((__nothrow__)) long a64l(char const   *__s )  __attribute__((__pure__, __nonnull__(1))) ;
extern int select(int __nfds , fd_set * __restrict  __readfds , fd_set * __restrict  __writefds , fd_set * __restrict  __exceptfds , struct timeval * __restrict  __timeout ) ;
extern int pselect(int __nfds , fd_set * __restrict  __readfds , fd_set * __restrict  __writefds , fd_set * __restrict  __exceptfds , struct timespec  const  * __restrict  __timeout , __sigset_t const   * __restrict  __sigmask ) ;
__inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_major(unsigned long long __dev ) ;
__inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_minor(unsigned long long __dev ) ;
__inline extern  __attribute__((__nothrow__)) unsigned long long gnu_dev_makedev(unsigned int __major , unsigned int __minor ) ;
__inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_major(unsigned long long __dev ) ;
__inline extern unsigned int gnu_dev_major(unsigned long long __dev ) 
{ 

  {
  return ((unsigned int )(((__dev >> 8) & 4095ULL) | (unsigned long long )((unsigned int )(__dev >> 32) & 4294963200U)));
}
}
__inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_minor(unsigned long long __dev ) ;
__inline extern unsigned int gnu_dev_minor(unsigned long long __dev ) 
{ 

  {
  return ((unsigned int )((__dev & 255ULL) | (unsigned long long )((unsigned int )(__dev >> 12) & 4294967040U)));
}
}
__inline extern  __attribute__((__nothrow__)) unsigned long long gnu_dev_makedev(unsigned int __major , unsigned int __minor ) ;
__inline extern unsigned long long gnu_dev_makedev(unsigned int __major , unsigned int __minor ) 
{ 

  {
  return (((unsigned long long )((__minor & 255U) | ((__major & 4095U) << 8)) | ((unsigned long long )(__minor & 4294967040U) << 12)) | ((unsigned long long )(__major & 4294963200U) << 32));
}
}
extern  __attribute__((__nothrow__)) long random(void) ;
extern  __attribute__((__nothrow__)) void srandom(unsigned int __seed ) ;
extern  __attribute__((__nothrow__)) char *initstate(unsigned int __seed , char *__statebuf , size_t __statelen )  __attribute__((__nonnull__(2))) ;
extern  __attribute__((__nothrow__)) char *setstate(char *__statebuf )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int random_r(struct random_data * __restrict  __buf , int32_t * __restrict  __result )  __attribute__((__nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) int srandom_r(unsigned int __seed , struct random_data *__buf )  __attribute__((__nonnull__(2))) ;
extern  __attribute__((__nothrow__)) int initstate_r(unsigned int __seed , char * __restrict  __statebuf , size_t __statelen , struct random_data * __restrict  __buf )  __attribute__((__nonnull__(2,4))) ;
extern  __attribute__((__nothrow__)) int setstate_r(char * __restrict  __statebuf , struct random_data * __restrict  __buf )  __attribute__((__nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) int rand(void) ;
extern  __attribute__((__nothrow__)) void srand(unsigned int __seed ) ;
extern  __attribute__((__nothrow__)) int rand_r(unsigned int *__seed ) ;
extern  __attribute__((__nothrow__)) double drand48(void) ;
extern  __attribute__((__nothrow__)) double erand48(unsigned short *__xsubi )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) long lrand48(void) ;
extern  __attribute__((__nothrow__)) long nrand48(unsigned short *__xsubi )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) long mrand48(void) ;
extern  __attribute__((__nothrow__)) long jrand48(unsigned short *__xsubi )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) void srand48(long __seedval ) ;
extern  __attribute__((__nothrow__)) unsigned short *seed48(unsigned short *__seed16v )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) void lcong48(unsigned short *__param )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int drand48_r(struct drand48_data * __restrict  __buffer , double * __restrict  __result )  __attribute__((__nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) int erand48_r(unsigned short *__xsubi , struct drand48_data * __restrict  __buffer , double * __restrict  __result )  __attribute__((__nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) int lrand48_r(struct drand48_data * __restrict  __buffer , long * __restrict  __result )  __attribute__((__nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) int nrand48_r(unsigned short *__xsubi , struct drand48_data * __restrict  __buffer , long * __restrict  __result )  __attribute__((__nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) int mrand48_r(struct drand48_data * __restrict  __buffer , long * __restrict  __result )  __attribute__((__nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) int jrand48_r(unsigned short *__xsubi , struct drand48_data * __restrict  __buffer , long * __restrict  __result )  __attribute__((__nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) int srand48_r(long __seedval , struct drand48_data *__buffer )  __attribute__((__nonnull__(2))) ;
extern  __attribute__((__nothrow__)) int seed48_r(unsigned short *__seed16v , struct drand48_data *__buffer )  __attribute__((__nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) int lcong48_r(unsigned short *__param , struct drand48_data *__buffer )  __attribute__((__nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) void *malloc(size_t __size )  __attribute__((__malloc__)) ;
extern  __attribute__((__nothrow__)) void *calloc(size_t __nmemb , size_t __size )  __attribute__((__malloc__)) ;
extern  __attribute__((__nothrow__)) void *realloc(void *__ptr , size_t __size )  __attribute__((__warn_unused_result__)) ;
extern  __attribute__((__nothrow__)) void free(void *__ptr ) ;
extern  __attribute__((__nothrow__)) void cfree(void *__ptr ) ;
extern  __attribute__((__nothrow__)) void *alloca(size_t __size ) ;
extern  __attribute__((__nothrow__)) void *valloc(size_t __size )  __attribute__((__malloc__)) ;
extern  __attribute__((__nothrow__)) int posix_memalign(void **__memptr , size_t __alignment , size_t __size )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__, __noreturn__)) void abort(void) ;
extern  __attribute__((__nothrow__)) int atexit(void (*__func)(void) )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int on_exit(void (*__func)(int __status , void *__arg ) , void *__arg )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__, __noreturn__)) void exit(int __status ) ;
extern  __attribute__((__nothrow__, __noreturn__)) void _Exit(int __status ) ;
extern  __attribute__((__nothrow__)) char *getenv(char const   *__name )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) char *__secure_getenv(char const   *__name )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int putenv(char *__string )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int setenv(char const   *__name , char const   *__value , int __replace )  __attribute__((__nonnull__(2))) ;
extern  __attribute__((__nothrow__)) int unsetenv(char const   *__name )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int clearenv(void) ;
extern  __attribute__((__nothrow__)) char *mktemp(char *__template )  __attribute__((__nonnull__(1))) ;
extern int mkstemp(char *__template )  __attribute__((__nonnull__(1))) ;
extern int mkstemps(char *__template , int __suffixlen )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) char *mkdtemp(char *__template )  __attribute__((__nonnull__(1))) ;
extern int system(char const   *__command ) ;
extern  __attribute__((__nothrow__)) char *realpath(char const   * __restrict  __name , char * __restrict  __resolved ) ;
extern void *bsearch(void const   *__key , void const   *__base , size_t __nmemb , size_t __size , int (*__compar)(void const   * , void const   * ) )  __attribute__((__nonnull__(1,2,5))) ;
extern void qsort(void *__base , size_t __nmemb , size_t __size , int (*__compar)(void const   * , void const   * ) )  __attribute__((__nonnull__(1,4))) ;
extern  __attribute__((__nothrow__)) int abs(int __x )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) long labs(long __x )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) long long llabs(long long __x )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) div_t div(int __numer , int __denom )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) ldiv_t ldiv(long __numer , long __denom )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) lldiv_t lldiv(long long __numer , long long __denom )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) char *ecvt(double __value , int __ndigit , int * __restrict  __decpt , int * __restrict  __sign )  __attribute__((__nonnull__(3,4))) ;
extern  __attribute__((__nothrow__)) char *fcvt(double __value , int __ndigit , int * __restrict  __decpt , int * __restrict  __sign )  __attribute__((__nonnull__(3,4))) ;
extern  __attribute__((__nothrow__)) char *gcvt(double __value , int __ndigit , char *__buf )  __attribute__((__nonnull__(3))) ;
extern  __attribute__((__nothrow__)) char *qecvt(long double __value , int __ndigit , int * __restrict  __decpt , int * __restrict  __sign )  __attribute__((__nonnull__(3,4))) ;
extern  __attribute__((__nothrow__)) char *qfcvt(long double __value , int __ndigit , int * __restrict  __decpt , int * __restrict  __sign )  __attribute__((__nonnull__(3,4))) ;
extern  __attribute__((__nothrow__)) char *qgcvt(long double __value , int __ndigit , char *__buf )  __attribute__((__nonnull__(3))) ;
extern  __attribute__((__nothrow__)) int ecvt_r(double __value , int __ndigit , int * __restrict  __decpt , int * __restrict  __sign , char * __restrict  __buf , size_t __len )  __attribute__((__nonnull__(3,4,5))) ;
extern  __attribute__((__nothrow__)) int fcvt_r(double __value , int __ndigit , int * __restrict  __decpt , int * __restrict  __sign , char * __restrict  __buf , size_t __len )  __attribute__((__nonnull__(3,4,5))) ;
extern  __attribute__((__nothrow__)) int qecvt_r(long double __value , int __ndigit , int * __restrict  __decpt , int * __restrict  __sign , char * __restrict  __buf , size_t __len )  __attribute__((__nonnull__(3,4,5))) ;
extern  __attribute__((__nothrow__)) int qfcvt_r(long double __value , int __ndigit , int * __restrict  __decpt , int * __restrict  __sign , char * __restrict  __buf , size_t __len )  __attribute__((__nonnull__(3,4,5))) ;
extern  __attribute__((__nothrow__)) int mblen(char const   *__s , size_t __n ) ;
extern  __attribute__((__nothrow__)) int mbtowc(wchar_t * __restrict  __pwc , char const   * __restrict  __s , size_t __n ) ;
extern  __attribute__((__nothrow__)) int wctomb(char *__s , wchar_t __wchar ) ;
extern  __attribute__((__nothrow__)) size_t mbstowcs(wchar_t * __restrict  __pwcs , char const   * __restrict  __s , size_t __n ) ;
extern  __attribute__((__nothrow__)) size_t wcstombs(char * __restrict  __s , wchar_t const   * __restrict  __pwcs , size_t __n ) ;
extern  __attribute__((__nothrow__)) int rpmatch(char const   *__response )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int getsubopt(char ** __restrict  __optionp , char * const  * __restrict  __tokens , char ** __restrict  __valuep )  __attribute__((__nonnull__(1,2,3))) ;
extern  __attribute__((__nothrow__)) int getloadavg(double *__loadavg , int __nelem )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) void *memcpy(void * __restrict  __dest , void const   * __restrict  __src , size_t __n )  __attribute__((__nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) void *memmove(void *__dest , void const   *__src , size_t __n )  __attribute__((__nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) void *memccpy(void * __restrict  __dest , void const   * __restrict  __src , int __c , size_t __n )  __attribute__((__nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) void *memset(void *__s , int __c , size_t __n )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int memcmp(void const   *__s1 , void const   *__s2 , size_t __n )  __attribute__((__pure__, __nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) void *memchr(void const   *__s , int __c , size_t __n )  __attribute__((__pure__, __nonnull__(1))) ;
extern  __attribute__((__nothrow__)) char *strcpy(char * __restrict  __dest , char const   * __restrict  __src )  __attribute__((__nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) char *strncpy(char * __restrict  __dest , char const   * __restrict  __src , size_t __n )  __attribute__((__nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) char *strcat(char * __restrict  __dest , char const   * __restrict  __src )  __attribute__((__nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) char *strncat(char * __restrict  __dest , char const   * __restrict  __src , size_t __n )  __attribute__((__nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) int strcmp(char const   *__s1 , char const   *__s2 )  __attribute__((__pure__, __nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) int strncmp(char const   *__s1 , char const   *__s2 , size_t __n )  __attribute__((__pure__, __nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) int strcoll(char const   *__s1 , char const   *__s2 )  __attribute__((__pure__, __nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) size_t strxfrm(char * __restrict  __dest , char const   * __restrict  __src , size_t __n )  __attribute__((__nonnull__(2))) ;
extern  __attribute__((__nothrow__)) int strcoll_l(char const   *__s1 , char const   *__s2 , __locale_t __l )  __attribute__((__pure__, __nonnull__(1,2,3))) ;
extern  __attribute__((__nothrow__)) size_t strxfrm_l(char *__dest , char const   *__src , size_t __n , __locale_t __l )  __attribute__((__nonnull__(2,4))) ;
extern  __attribute__((__nothrow__)) char *strdup(char const   *__s )  __attribute__((__nonnull__(1), __malloc__)) ;
extern  __attribute__((__nothrow__)) char *strndup(char const   *__string , size_t __n )  __attribute__((__nonnull__(1), __malloc__)) ;
extern  __attribute__((__nothrow__)) char *strchr(char const   *__s , int __c )  __attribute__((__pure__, __nonnull__(1))) ;
extern  __attribute__((__nothrow__)) char *strrchr(char const   *__s , int __c )  __attribute__((__pure__, __nonnull__(1))) ;
extern  __attribute__((__nothrow__)) size_t strcspn(char const   *__s , char const   *__reject )  __attribute__((__pure__, __nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) size_t strspn(char const   *__s , char const   *__accept )  __attribute__((__pure__, __nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) char *strpbrk(char const   *__s , char const   *__accept )  __attribute__((__pure__, __nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) char *strstr(char const   *__haystack , char const   *__needle )  __attribute__((__pure__, __nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) char *strtok(char * __restrict  __s , char const   * __restrict  __delim )  __attribute__((__nonnull__(2))) ;
extern  __attribute__((__nothrow__)) char *__strtok_r(char * __restrict  __s , char const   * __restrict  __delim , char ** __restrict  __save_ptr )  __attribute__((__nonnull__(2,3))) ;
extern  __attribute__((__nothrow__)) char *strtok_r(char * __restrict  __s , char const   * __restrict  __delim , char ** __restrict  __save_ptr )  __attribute__((__nonnull__(2,3))) ;
extern  __attribute__((__nothrow__)) size_t strlen(char const   *__s )  __attribute__((__pure__, __nonnull__(1))) ;
extern  __attribute__((__nothrow__)) size_t strnlen(char const   *__string , size_t __maxlen )  __attribute__((__pure__, __nonnull__(1))) ;
extern  __attribute__((__nothrow__)) char *strerror(int __errnum ) ;
extern  __attribute__((__nothrow__)) int strerror_r(int __errnum , char *__buf , size_t __buflen )  __asm__("__xpg_strerror_r") __attribute__((__nonnull__(2))) ;
extern  __attribute__((__nothrow__)) char *strerror_l(int __errnum , __locale_t __l ) ;
extern  __attribute__((__nothrow__)) void __bzero(void *__s , size_t __n )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) void bcopy(void const   *__src , void *__dest , size_t __n )  __attribute__((__nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) void bzero(void *__s , size_t __n )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int bcmp(void const   *__s1 , void const   *__s2 , size_t __n )  __attribute__((__pure__, __nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) char *index(char const   *__s , int __c )  __attribute__((__pure__, __nonnull__(1))) ;
extern  __attribute__((__nothrow__)) char *rindex(char const   *__s , int __c )  __attribute__((__pure__, __nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int ffs(int __i )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) int strcasecmp(char const   *__s1 , char const   *__s2 )  __attribute__((__pure__, __nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) int strncasecmp(char const   *__s1 , char const   *__s2 , size_t __n )  __attribute__((__pure__, __nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) char *strsep(char ** __restrict  __stringp , char const   * __restrict  __delim )  __attribute__((__nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) char *strsignal(int __sig ) ;
extern  __attribute__((__nothrow__)) char *__stpcpy(char * __restrict  __dest , char const   * __restrict  __src )  __attribute__((__nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) char *stpcpy(char * __restrict  __dest , char const   * __restrict  __src )  __attribute__((__nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) char *__stpncpy(char * __restrict  __dest , char const   * __restrict  __src , size_t __n )  __attribute__((__nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) char *stpncpy(char * __restrict  __dest , char const   * __restrict  __src , size_t __n )  __attribute__((__nonnull__(1,2))) ;
extern void *__rawmemchr(void const   *__s , int __c ) ;
__inline extern size_t __strcspn_c1(char const   *__s , int __reject ) ;
__inline extern size_t __strcspn_c1(char const   *__s , int __reject ) 
{ register size_t __result ;

  {
  __result = (size_t )0;
  while (1) {
    if ((int const   )*(__s + __result) != 0) {
      if ((int const   )*(__s + __result) != (int const   )__reject) {

      } else {
        break;
      }
    } else {
      break;
    }
    __result ++;
  }
  return (__result);
}
}
__inline extern size_t __strcspn_c2(char const   *__s , int __reject1 , int __reject2 ) ;
__inline extern size_t __strcspn_c2(char const   *__s , int __reject1 , int __reject2 ) 
{ register size_t __result ;

  {
  __result = (size_t )0;
  while (1) {
    if ((int const   )*(__s + __result) != 0) {
      if ((int const   )*(__s + __result) != (int const   )__reject1) {
        if ((int const   )*(__s + __result) != (int const   )__reject2) {

        } else {
          break;
        }
      } else {
        break;
      }
    } else {
      break;
    }
    __result ++;
  }
  return (__result);
}
}
__inline extern size_t __strcspn_c3(char const   *__s , int __reject1 , int __reject2 , int __reject3 ) ;
__inline extern size_t __strcspn_c3(char const   *__s , int __reject1 , int __reject2 , int __reject3 ) 
{ register size_t __result ;

  {
  __result = (size_t )0;
  while (1) {
    if ((int const   )*(__s + __result) != 0) {
      if ((int const   )*(__s + __result) != (int const   )__reject1) {
        if ((int const   )*(__s + __result) != (int const   )__reject2) {
          if ((int const   )*(__s + __result) != (int const   )__reject3) {

          } else {
            break;
          }
        } else {
          break;
        }
      } else {
        break;
      }
    } else {
      break;
    }
    __result ++;
  }
  return (__result);
}
}
__inline extern size_t __strspn_c1(char const   *__s , int __accept ) ;
__inline extern size_t __strspn_c1(char const   *__s , int __accept ) 
{ register size_t __result ;

  {
  __result = (size_t )0;
  while ((int const   )*(__s + __result) == (int const   )__accept) {
    __result ++;
  }
  return (__result);
}
}
__inline extern size_t __strspn_c2(char const   *__s , int __accept1 , int __accept2 ) ;
__inline extern size_t __strspn_c2(char const   *__s , int __accept1 , int __accept2 ) 
{ register size_t __result ;

  {
  __result = (size_t )0;
  while (1) {
    if ((int const   )*(__s + __result) == (int const   )__accept1) {

    } else {
      if ((int const   )*(__s + __result) == (int const   )__accept2) {

      } else {
        break;
      }
    }
    __result ++;
  }
  return (__result);
}
}
__inline extern size_t __strspn_c3(char const   *__s , int __accept1 , int __accept2 , int __accept3 ) ;
__inline extern size_t __strspn_c3(char const   *__s , int __accept1 , int __accept2 , int __accept3 ) 
{ register size_t __result ;

  {
  __result = (size_t )0;
  while (1) {
    if ((int const   )*(__s + __result) == (int const   )__accept1) {

    } else {
      if ((int const   )*(__s + __result) == (int const   )__accept2) {

      } else {
        if ((int const   )*(__s + __result) == (int const   )__accept3) {

        } else {
          break;
        }
      }
    }
    __result ++;
  }
  return (__result);
}
}
__inline extern char *__strpbrk_c2(char const   *__s , int __accept1 , int __accept2 ) ;
__inline extern char *__strpbrk_c2(char const   *__s , int __accept1 , int __accept2 ) 
{ char *tmp ;

  {
  while (1) {
    if ((int const   )*__s != 0) {
      if ((int const   )*__s != (int const   )__accept1) {
        if ((int const   )*__s != (int const   )__accept2) {

        } else {
          break;
        }
      } else {
        break;
      }
    } else {
      break;
    }
    __s ++;
  }
  if ((int const   )*__s == 0) {
    tmp = (char *)((void *)0);
  } else {
    tmp = (char *)((unsigned int )__s);
  }
  return (tmp);
}
}
__inline extern char *__strpbrk_c3(char const   *__s , int __accept1 , int __accept2 , int __accept3 ) ;
__inline extern char *__strpbrk_c3(char const   *__s , int __accept1 , int __accept2 , int __accept3 ) 
{ char *tmp ;

  {
  while (1) {
    if ((int const   )*__s != 0) {
      if ((int const   )*__s != (int const   )__accept1) {
        if ((int const   )*__s != (int const   )__accept2) {
          if ((int const   )*__s != (int const   )__accept3) {

          } else {
            break;
          }
        } else {
          break;
        }
      } else {
        break;
      }
    } else {
      break;
    }
    __s ++;
  }
  if ((int const   )*__s == 0) {
    tmp = (char *)((void *)0);
  } else {
    tmp = (char *)((unsigned int )__s);
  }
  return (tmp);
}
}
__inline extern char *__strtok_r_1c(char *__s , char __sep , char **__nextp ) ;
__inline extern char *__strtok_r_1c(char *__s , char __sep , char **__nextp ) 
{ char *__result ;
  char *tmp ;
  char *tmp___0 ;

  {
  if ((unsigned int )__s == (unsigned int )((void *)0)) {
    __s = *__nextp;
  } else {

  }
  while ((int )*__s == (int )__sep) {
    __s ++;
  }
  __result = (char *)((void *)0);
  if ((int )*__s != 0) {
    tmp = __s;
    __s ++;
    __result = tmp;
    while ((int )*__s != 0) {
      tmp___0 = __s;
      __s ++;
      if ((int )*tmp___0 == (int )__sep) {
        *(__s + -1) = (char )'\000';
        break;
      } else {

      }
    }
  } else {

  }
  *__nextp = __s;
  return (__result);
}
}
extern char *__strsep_g(char **__stringp , char const   *__delim ) ;
__inline extern char *__strsep_1c(char **__s , char __reject ) ;
__inline extern char *__strsep_1c(char **__s , char __reject ) 
{ register char *__retval ;
  char *tmp ;
  char *tmp___0 ;
  void *tmp___1 ;
  char *tmp___2 ;

  {
  __retval = *__s;
  if ((unsigned int )__retval != (unsigned int )((void *)0)) {
    tmp___2 = __builtin_strchr(__retval, (int )__reject);
    tmp___0 = tmp___2;
    *__s = tmp___0;
    if ((unsigned int )tmp___0 != (unsigned int )((void *)0)) {
      tmp = *__s;
      (*__s) ++;
      *tmp = (char )'\000';
    } else {

    }
  } else {

  }
  return (__retval);
}
}
__inline extern char *__strsep_2c(char **__s , char __reject1 , char __reject2 ) ;
__inline extern char *__strsep_2c(char **__s , char __reject1 , char __reject2 ) 
{ register char *__retval ;
  register char *__cp ;
  char *tmp ;

  {
  __retval = *__s;
  if ((unsigned int )__retval != (unsigned int )((void *)0)) {
    __cp = __retval;
    while (1) {
      if ((int )*__cp == 0) {
        __cp = (char *)((void *)0);
        break;
      } else {

      }
      if ((int )*__cp == (int )__reject1) {
        tmp = __cp;
        __cp ++;
        *tmp = (char )'\000';
        break;
      } else {
        if ((int )*__cp == (int )__reject2) {
          tmp = __cp;
          __cp ++;
          *tmp = (char )'\000';
          break;
        } else {

        }
      }
      __cp ++;
    }
    *__s = __cp;
  } else {

  }
  return (__retval);
}
}
__inline extern char *__strsep_3c(char **__s , char __reject1 , char __reject2 , char __reject3 ) ;
__inline extern char *__strsep_3c(char **__s , char __reject1 , char __reject2 , char __reject3 ) 
{ register char *__retval ;
  register char *__cp ;
  char *tmp ;

  {
  __retval = *__s;
  if ((unsigned int )__retval != (unsigned int )((void *)0)) {
    __cp = __retval;
    while (1) {
      if ((int )*__cp == 0) {
        __cp = (char *)((void *)0);
        break;
      } else {

      }
      if ((int )*__cp == (int )__reject1) {
        tmp = __cp;
        __cp ++;
        *tmp = (char )'\000';
        break;
      } else {
        if ((int )*__cp == (int )__reject2) {
          tmp = __cp;
          __cp ++;
          *tmp = (char )'\000';
          break;
        } else {
          if ((int )*__cp == (int )__reject3) {
            tmp = __cp;
            __cp ++;
            *tmp = (char )'\000';
            break;
          } else {

          }
        }
      }
      __cp ++;
    }
    *__s = __cp;
  } else {

  }
  return (__retval);
}
}
extern  __attribute__((__nothrow__)) char *__strdup(char const   *__string )  __attribute__((__malloc__)) ;
extern  __attribute__((__nothrow__)) char *__strndup(char const   *__string , size_t __n )  __attribute__((__malloc__)) ;
extern  __attribute__((__nothrow__)) double acos(double __x ) ;
extern  __attribute__((__nothrow__)) double __acos(double __x ) ;
extern  __attribute__((__nothrow__)) double asin(double __x ) ;
extern  __attribute__((__nothrow__)) double __asin(double __x ) ;
extern  __attribute__((__nothrow__)) double atan(double __x ) ;
extern  __attribute__((__nothrow__)) double __atan(double __x ) ;
extern  __attribute__((__nothrow__)) double atan2(double __y , double __x ) ;
extern  __attribute__((__nothrow__)) double __atan2(double __y , double __x ) ;
extern  __attribute__((__nothrow__)) double cos(double __x ) ;
extern  __attribute__((__nothrow__)) double __cos(double __x ) ;
extern  __attribute__((__nothrow__)) double sin(double __x ) ;
extern  __attribute__((__nothrow__)) double __sin(double __x ) ;
extern  __attribute__((__nothrow__)) double tan(double __x ) ;
extern  __attribute__((__nothrow__)) double __tan(double __x ) ;
extern  __attribute__((__nothrow__)) double cosh(double __x ) ;
extern  __attribute__((__nothrow__)) double __cosh(double __x ) ;
extern  __attribute__((__nothrow__)) double sinh(double __x ) ;
extern  __attribute__((__nothrow__)) double __sinh(double __x ) ;
extern  __attribute__((__nothrow__)) double tanh(double __x ) ;
extern  __attribute__((__nothrow__)) double __tanh(double __x ) ;
extern  __attribute__((__nothrow__)) double acosh(double __x ) ;
extern  __attribute__((__nothrow__)) double __acosh(double __x ) ;
extern  __attribute__((__nothrow__)) double asinh(double __x ) ;
extern  __attribute__((__nothrow__)) double __asinh(double __x ) ;
extern  __attribute__((__nothrow__)) double atanh(double __x ) ;
extern  __attribute__((__nothrow__)) double __atanh(double __x ) ;
extern  __attribute__((__nothrow__)) double exp(double __x ) ;
extern  __attribute__((__nothrow__)) double __exp(double __x ) ;
extern  __attribute__((__nothrow__)) double frexp(double __x , int *__exponent ) ;
extern  __attribute__((__nothrow__)) double __frexp(double __x , int *__exponent ) ;
extern  __attribute__((__nothrow__)) double ldexp(double __x , int __exponent ) ;
extern  __attribute__((__nothrow__)) double __ldexp(double __x , int __exponent ) ;
extern  __attribute__((__nothrow__)) double log(double __x ) ;
extern  __attribute__((__nothrow__)) double __log(double __x ) ;
extern  __attribute__((__nothrow__)) double log10(double __x ) ;
extern  __attribute__((__nothrow__)) double __log10(double __x ) ;
extern  __attribute__((__nothrow__)) double modf(double __x , double *__iptr ) ;
extern  __attribute__((__nothrow__)) double __modf(double __x , double *__iptr ) ;
extern  __attribute__((__nothrow__)) double expm1(double __x ) ;
extern  __attribute__((__nothrow__)) double __expm1(double __x ) ;
extern  __attribute__((__nothrow__)) double log1p(double __x ) ;
extern  __attribute__((__nothrow__)) double __log1p(double __x ) ;
extern  __attribute__((__nothrow__)) double logb(double __x ) ;
extern  __attribute__((__nothrow__)) double __logb(double __x ) ;
extern  __attribute__((__nothrow__)) double exp2(double __x ) ;
extern  __attribute__((__nothrow__)) double __exp2(double __x ) ;
extern  __attribute__((__nothrow__)) double log2(double __x ) ;
extern  __attribute__((__nothrow__)) double __log2(double __x ) ;
extern  __attribute__((__nothrow__)) double pow(double __x , double __y ) ;
extern  __attribute__((__nothrow__)) double __pow(double __x , double __y ) ;
extern  __attribute__((__nothrow__)) double sqrt(double __x ) ;
extern  __attribute__((__nothrow__)) double __sqrt(double __x ) ;
extern  __attribute__((__nothrow__)) double hypot(double __x , double __y ) ;
extern  __attribute__((__nothrow__)) double __hypot(double __x , double __y ) ;
extern  __attribute__((__nothrow__)) double cbrt(double __x ) ;
extern  __attribute__((__nothrow__)) double __cbrt(double __x ) ;
__inline extern  __attribute__((__nothrow__)) double ceil(double __x )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) double __ceil(double __x )  __attribute__((__const__)) ;
__inline extern  __attribute__((__nothrow__)) double fabs(double __x )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) double __fabs(double __x )  __attribute__((__const__)) ;
__inline extern  __attribute__((__nothrow__)) double floor(double __x )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) double __floor(double __x )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) double fmod(double __x , double __y ) ;
extern  __attribute__((__nothrow__)) double __fmod(double __x , double __y ) ;
extern  __attribute__((__nothrow__)) int __isinf(double __value )  __attribute__((__const__)) ;
__inline extern  __attribute__((__nothrow__)) int __finite(double __x )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) int isinf(double __value )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) int finite(double __value )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) double drem(double __x , double __y ) ;
extern  __attribute__((__nothrow__)) double __drem(double __x , double __y ) ;
extern  __attribute__((__nothrow__)) double significand(double __x ) ;
extern  __attribute__((__nothrow__)) double __significand(double __x ) ;
extern  __attribute__((__nothrow__)) double copysign(double __x , double __y )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) double __copysign(double __x , double __y )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) double nan(char const   *__tagb )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) double __nan(char const   *__tagb )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) int __isnan(double __value )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) int isnan(double __value )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) double j0(double  ) ;
extern  __attribute__((__nothrow__)) double __j0(double  ) ;
extern  __attribute__((__nothrow__)) double j1(double  ) ;
extern  __attribute__((__nothrow__)) double __j1(double  ) ;
extern  __attribute__((__nothrow__)) double jn(int  , double  ) ;
extern  __attribute__((__nothrow__)) double __jn(int  , double  ) ;
extern  __attribute__((__nothrow__)) double y0(double  ) ;
extern  __attribute__((__nothrow__)) double __y0(double  ) ;
extern  __attribute__((__nothrow__)) double y1(double  ) ;
extern  __attribute__((__nothrow__)) double __y1(double  ) ;
extern  __attribute__((__nothrow__)) double yn(int  , double  ) ;
extern  __attribute__((__nothrow__)) double __yn(int  , double  ) ;
extern  __attribute__((__nothrow__)) double erf(double  ) ;
extern  __attribute__((__nothrow__)) double __erf(double  ) ;
extern  __attribute__((__nothrow__)) double erfc(double  ) ;
extern  __attribute__((__nothrow__)) double __erfc(double  ) ;
extern  __attribute__((__nothrow__)) double lgamma(double  ) ;
extern  __attribute__((__nothrow__)) double __lgamma(double  ) ;
extern  __attribute__((__nothrow__)) double tgamma(double  ) ;
extern  __attribute__((__nothrow__)) double __tgamma(double  ) ;
extern  __attribute__((__nothrow__)) double gamma(double  ) ;
extern  __attribute__((__nothrow__)) double __gamma(double  ) ;
extern  __attribute__((__nothrow__)) double lgamma_r(double  , int *__signgamp ) ;
extern  __attribute__((__nothrow__)) double __lgamma_r(double  , int *__signgamp ) ;
extern  __attribute__((__nothrow__)) double rint(double __x ) ;
extern  __attribute__((__nothrow__)) double __rint(double __x ) ;
extern  __attribute__((__nothrow__)) double nextafter(double __x , double __y )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) double __nextafter(double __x , double __y )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) double nexttoward(double __x , long double __y )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) double __nexttoward(double __x , long double __y )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) double remainder(double __x , double __y ) ;
extern  __attribute__((__nothrow__)) double __remainder(double __x , double __y ) ;
extern  __attribute__((__nothrow__)) double scalbn(double __x , int __n ) ;
extern  __attribute__((__nothrow__)) double __scalbn(double __x , int __n ) ;
extern  __attribute__((__nothrow__)) int ilogb(double __x ) ;
extern  __attribute__((__nothrow__)) int __ilogb(double __x ) ;
extern  __attribute__((__nothrow__)) double scalbln(double __x , long __n ) ;
extern  __attribute__((__nothrow__)) double __scalbln(double __x , long __n ) ;
extern  __attribute__((__nothrow__)) double nearbyint(double __x ) ;
extern  __attribute__((__nothrow__)) double __nearbyint(double __x ) ;
extern  __attribute__((__nothrow__)) double round(double __x )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) double __round(double __x )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) double trunc(double __x )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) double __trunc(double __x )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) double remquo(double __x , double __y , int *__quo ) ;
extern  __attribute__((__nothrow__)) double __remquo(double __x , double __y , int *__quo ) ;
__inline extern  __attribute__((__nothrow__)) long lrint(double __x ) ;
extern  __attribute__((__nothrow__)) long __lrint(double __x ) ;
__inline extern  __attribute__((__nothrow__)) long long llrint(double __x ) ;
extern  __attribute__((__nothrow__)) long long __llrint(double __x ) ;
extern  __attribute__((__nothrow__)) long lround(double __x ) ;
extern  __attribute__((__nothrow__)) long __lround(double __x ) ;
extern  __attribute__((__nothrow__)) long long llround(double __x ) ;
extern  __attribute__((__nothrow__)) long long __llround(double __x ) ;
extern  __attribute__((__nothrow__)) double fdim(double __x , double __y ) ;
extern  __attribute__((__nothrow__)) double __fdim(double __x , double __y ) ;
extern  __attribute__((__nothrow__)) double fmax(double __x , double __y ) ;
extern  __attribute__((__nothrow__)) double __fmax(double __x , double __y ) ;
extern  __attribute__((__nothrow__)) double fmin(double __x , double __y ) ;
extern  __attribute__((__nothrow__)) double __fmin(double __x , double __y ) ;
extern  __attribute__((__nothrow__)) int __fpclassify(double __value )  __attribute__((__const__)) ;
__inline extern  __attribute__((__nothrow__)) int __signbit(double __x )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) double fma(double __x , double __y , double __z ) ;
extern  __attribute__((__nothrow__)) double __fma(double __x , double __y , double __z ) ;
extern  __attribute__((__nothrow__)) double scalb(double __x , double __n ) ;
extern  __attribute__((__nothrow__)) double __scalb(double __x , double __n ) ;
extern  __attribute__((__nothrow__)) float acosf(float __x ) ;
extern  __attribute__((__nothrow__)) float __acosf(float __x ) ;
extern  __attribute__((__nothrow__)) float asinf(float __x ) ;
extern  __attribute__((__nothrow__)) float __asinf(float __x ) ;
extern  __attribute__((__nothrow__)) float atanf(float __x ) ;
extern  __attribute__((__nothrow__)) float __atanf(float __x ) ;
extern  __attribute__((__nothrow__)) float atan2f(float __y , float __x ) ;
extern  __attribute__((__nothrow__)) float __atan2f(float __y , float __x ) ;
extern  __attribute__((__nothrow__)) float cosf(float __x ) ;
extern  __attribute__((__nothrow__)) float __cosf(float __x ) ;
extern  __attribute__((__nothrow__)) float sinf(float __x ) ;
extern  __attribute__((__nothrow__)) float __sinf(float __x ) ;
extern  __attribute__((__nothrow__)) float tanf(float __x ) ;
extern  __attribute__((__nothrow__)) float __tanf(float __x ) ;
extern  __attribute__((__nothrow__)) float coshf(float __x ) ;
extern  __attribute__((__nothrow__)) float __coshf(float __x ) ;
extern  __attribute__((__nothrow__)) float sinhf(float __x ) ;
extern  __attribute__((__nothrow__)) float __sinhf(float __x ) ;
extern  __attribute__((__nothrow__)) float tanhf(float __x ) ;
extern  __attribute__((__nothrow__)) float __tanhf(float __x ) ;
extern  __attribute__((__nothrow__)) float acoshf(float __x ) ;
extern  __attribute__((__nothrow__)) float __acoshf(float __x ) ;
extern  __attribute__((__nothrow__)) float asinhf(float __x ) ;
extern  __attribute__((__nothrow__)) float __asinhf(float __x ) ;
extern  __attribute__((__nothrow__)) float atanhf(float __x ) ;
extern  __attribute__((__nothrow__)) float __atanhf(float __x ) ;
extern  __attribute__((__nothrow__)) float expf(float __x ) ;
extern  __attribute__((__nothrow__)) float __expf(float __x ) ;
extern  __attribute__((__nothrow__)) float frexpf(float __x , int *__exponent ) ;
extern  __attribute__((__nothrow__)) float __frexpf(float __x , int *__exponent ) ;
extern  __attribute__((__nothrow__)) float ldexpf(float __x , int __exponent ) ;
extern  __attribute__((__nothrow__)) float __ldexpf(float __x , int __exponent ) ;
extern  __attribute__((__nothrow__)) float logf(float __x ) ;
extern  __attribute__((__nothrow__)) float __logf(float __x ) ;
extern  __attribute__((__nothrow__)) float log10f(float __x ) ;
extern  __attribute__((__nothrow__)) float __log10f(float __x ) ;
extern  __attribute__((__nothrow__)) float modff(float __x , float *__iptr ) ;
extern  __attribute__((__nothrow__)) float __modff(float __x , float *__iptr ) ;
extern  __attribute__((__nothrow__)) float expm1f(float __x ) ;
extern  __attribute__((__nothrow__)) float __expm1f(float __x ) ;
extern  __attribute__((__nothrow__)) float log1pf(float __x ) ;
extern  __attribute__((__nothrow__)) float __log1pf(float __x ) ;
extern  __attribute__((__nothrow__)) float logbf(float __x ) ;
extern  __attribute__((__nothrow__)) float __logbf(float __x ) ;
extern  __attribute__((__nothrow__)) float exp2f(float __x ) ;
extern  __attribute__((__nothrow__)) float __exp2f(float __x ) ;
extern  __attribute__((__nothrow__)) float log2f(float __x ) ;
extern  __attribute__((__nothrow__)) float __log2f(float __x ) ;
extern  __attribute__((__nothrow__)) float powf(float __x , float __y ) ;
extern  __attribute__((__nothrow__)) float __powf(float __x , float __y ) ;
extern  __attribute__((__nothrow__)) float sqrtf(float __x ) ;
extern  __attribute__((__nothrow__)) float __sqrtf(float __x ) ;
extern  __attribute__((__nothrow__)) float hypotf(float __x , float __y ) ;
extern  __attribute__((__nothrow__)) float __hypotf(float __x , float __y ) ;
extern  __attribute__((__nothrow__)) float cbrtf(float __x ) ;
extern  __attribute__((__nothrow__)) float __cbrtf(float __x ) ;
__inline extern  __attribute__((__nothrow__)) float ceilf(float __x )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) float __ceilf(float __x )  __attribute__((__const__)) ;
__inline extern  __attribute__((__nothrow__)) float fabsf(float __x )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) float __fabsf(float __x )  __attribute__((__const__)) ;
__inline extern  __attribute__((__nothrow__)) float floorf(float __x )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) float __floorf(float __x )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) float fmodf(float __x , float __y ) ;
extern  __attribute__((__nothrow__)) float __fmodf(float __x , float __y ) ;
extern  __attribute__((__nothrow__)) int __isinff(float __value )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) int __finitef(float __value )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) int isinff(float __value )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) int finitef(float __value )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) float dremf(float __x , float __y ) ;
extern  __attribute__((__nothrow__)) float __dremf(float __x , float __y ) ;
extern  __attribute__((__nothrow__)) float significandf(float __x ) ;
extern  __attribute__((__nothrow__)) float __significandf(float __x ) ;
extern  __attribute__((__nothrow__)) float copysignf(float __x , float __y )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) float __copysignf(float __x , float __y )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) float nanf(char const   *__tagb )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) float __nanf(char const   *__tagb )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) int __isnanf(float __value )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) int isnanf(float __value )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) float j0f(float  ) ;
extern  __attribute__((__nothrow__)) float __j0f(float  ) ;
extern  __attribute__((__nothrow__)) float j1f(float  ) ;
extern  __attribute__((__nothrow__)) float __j1f(float  ) ;
extern  __attribute__((__nothrow__)) float jnf(int  , float  ) ;
extern  __attribute__((__nothrow__)) float __jnf(int  , float  ) ;
extern  __attribute__((__nothrow__)) float y0f(float  ) ;
extern  __attribute__((__nothrow__)) float __y0f(float  ) ;
extern  __attribute__((__nothrow__)) float y1f(float  ) ;
extern  __attribute__((__nothrow__)) float __y1f(float  ) ;
extern  __attribute__((__nothrow__)) float ynf(int  , float  ) ;
extern  __attribute__((__nothrow__)) float __ynf(int  , float  ) ;
extern  __attribute__((__nothrow__)) float erff(float  ) ;
extern  __attribute__((__nothrow__)) float __erff(float  ) ;
extern  __attribute__((__nothrow__)) float erfcf(float  ) ;
extern  __attribute__((__nothrow__)) float __erfcf(float  ) ;
extern  __attribute__((__nothrow__)) float lgammaf(float  ) ;
extern  __attribute__((__nothrow__)) float __lgammaf(float  ) ;
extern  __attribute__((__nothrow__)) float tgammaf(float  ) ;
extern  __attribute__((__nothrow__)) float __tgammaf(float  ) ;
extern  __attribute__((__nothrow__)) float gammaf(float  ) ;
extern  __attribute__((__nothrow__)) float __gammaf(float  ) ;
extern  __attribute__((__nothrow__)) float lgammaf_r(float  , int *__signgamp ) ;
extern  __attribute__((__nothrow__)) float __lgammaf_r(float  , int *__signgamp ) ;
extern  __attribute__((__nothrow__)) float rintf(float __x ) ;
extern  __attribute__((__nothrow__)) float __rintf(float __x ) ;
extern  __attribute__((__nothrow__)) float nextafterf(float __x , float __y )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) float __nextafterf(float __x , float __y )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) float nexttowardf(float __x , long double __y )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) float __nexttowardf(float __x , long double __y )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) float remainderf(float __x , float __y ) ;
extern  __attribute__((__nothrow__)) float __remainderf(float __x , float __y ) ;
extern  __attribute__((__nothrow__)) float scalbnf(float __x , int __n ) ;
extern  __attribute__((__nothrow__)) float __scalbnf(float __x , int __n ) ;
extern  __attribute__((__nothrow__)) int ilogbf(float __x ) ;
extern  __attribute__((__nothrow__)) int __ilogbf(float __x ) ;
extern  __attribute__((__nothrow__)) float scalblnf(float __x , long __n ) ;
extern  __attribute__((__nothrow__)) float __scalblnf(float __x , long __n ) ;
extern  __attribute__((__nothrow__)) float nearbyintf(float __x ) ;
extern  __attribute__((__nothrow__)) float __nearbyintf(float __x ) ;
extern  __attribute__((__nothrow__)) float roundf(float __x )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) float __roundf(float __x )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) float truncf(float __x )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) float __truncf(float __x )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) float remquof(float __x , float __y , int *__quo ) ;
extern  __attribute__((__nothrow__)) float __remquof(float __x , float __y , int *__quo ) ;
__inline extern  __attribute__((__nothrow__)) long lrintf(float __x ) ;
extern  __attribute__((__nothrow__)) long __lrintf(float __x ) ;
__inline extern  __attribute__((__nothrow__)) long long llrintf(float __x ) ;
extern  __attribute__((__nothrow__)) long long __llrintf(float __x ) ;
extern  __attribute__((__nothrow__)) long lroundf(float __x ) ;
extern  __attribute__((__nothrow__)) long __lroundf(float __x ) ;
extern  __attribute__((__nothrow__)) long long llroundf(float __x ) ;
extern  __attribute__((__nothrow__)) long long __llroundf(float __x ) ;
extern  __attribute__((__nothrow__)) float fdimf(float __x , float __y ) ;
extern  __attribute__((__nothrow__)) float __fdimf(float __x , float __y ) ;
extern  __attribute__((__nothrow__)) float fmaxf(float __x , float __y ) ;
extern  __attribute__((__nothrow__)) float __fmaxf(float __x , float __y ) ;
extern  __attribute__((__nothrow__)) float fminf(float __x , float __y ) ;
extern  __attribute__((__nothrow__)) float __fminf(float __x , float __y ) ;
extern  __attribute__((__nothrow__)) int __fpclassifyf(float __value )  __attribute__((__const__)) ;
__inline extern  __attribute__((__nothrow__)) int __signbitf(float __x )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) float fmaf(float __x , float __y , float __z ) ;
extern  __attribute__((__nothrow__)) float __fmaf(float __x , float __y , float __z ) ;
extern  __attribute__((__nothrow__)) float scalbf(float __x , float __n ) ;
extern  __attribute__((__nothrow__)) float __scalbf(float __x , float __n ) ;
extern  __attribute__((__nothrow__)) long double acosl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double __acosl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double asinl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double __asinl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double atanl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double __atanl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double atan2l(long double __y , long double __x ) ;
__inline extern  __attribute__((__nothrow__)) long double __atan2l(long double __y , long double __x ) ;
extern  __attribute__((__nothrow__)) long double cosl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double __cosl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double sinl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double __sinl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double tanl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double __tanl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double coshl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double __coshl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double sinhl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double __sinhl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double tanhl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double __tanhl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double acoshl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double __acoshl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double asinhl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double __asinhl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double atanhl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double __atanhl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double expl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double __expl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double frexpl(long double __x , int *__exponent ) ;
extern  __attribute__((__nothrow__)) long double __frexpl(long double __x , int *__exponent ) ;
extern  __attribute__((__nothrow__)) long double ldexpl(long double __x , int __exponent ) ;
extern  __attribute__((__nothrow__)) long double __ldexpl(long double __x , int __exponent ) ;
extern  __attribute__((__nothrow__)) long double logl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double __logl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double log10l(long double __x ) ;
extern  __attribute__((__nothrow__)) long double __log10l(long double __x ) ;
extern  __attribute__((__nothrow__)) long double modfl(long double __x , long double *__iptr ) ;
extern  __attribute__((__nothrow__)) long double __modfl(long double __x , long double *__iptr ) ;
extern  __attribute__((__nothrow__)) long double expm1l(long double __x ) ;
extern  __attribute__((__nothrow__)) long double __expm1l(long double __x ) ;
extern  __attribute__((__nothrow__)) long double log1pl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double __log1pl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double logbl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double __logbl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double exp2l(long double __x ) ;
extern  __attribute__((__nothrow__)) long double __exp2l(long double __x ) ;
extern  __attribute__((__nothrow__)) long double log2l(long double __x ) ;
extern  __attribute__((__nothrow__)) long double __log2l(long double __x ) ;
extern  __attribute__((__nothrow__)) long double powl(long double __x , long double __y ) ;
extern  __attribute__((__nothrow__)) long double __powl(long double __x , long double __y ) ;
extern  __attribute__((__nothrow__)) long double sqrtl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double __sqrtl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double hypotl(long double __x , long double __y ) ;
extern  __attribute__((__nothrow__)) long double __hypotl(long double __x , long double __y ) ;
extern  __attribute__((__nothrow__)) long double cbrtl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double __cbrtl(long double __x ) ;
__inline extern  __attribute__((__nothrow__)) long double ceill(long double __x )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) long double __ceill(long double __x )  __attribute__((__const__)) ;
__inline extern  __attribute__((__nothrow__)) long double fabsl(long double __x )  __attribute__((__const__)) ;
__inline extern  __attribute__((__nothrow__)) long double __fabsl(long double __x )  __attribute__((__const__)) ;
__inline extern  __attribute__((__nothrow__)) long double floorl(long double __x )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) long double __floorl(long double __x )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) long double fmodl(long double __x , long double __y ) ;
extern  __attribute__((__nothrow__)) long double __fmodl(long double __x , long double __y ) ;
extern  __attribute__((__nothrow__)) int __isinfl(long double __value )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) int __finitel(long double __value )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) int isinfl(long double __value )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) int finitel(long double __value )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) long double dreml(long double __x , long double __y ) ;
extern  __attribute__((__nothrow__)) long double __dreml(long double __x , long double __y ) ;
extern  __attribute__((__nothrow__)) long double significandl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double __significandl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double copysignl(long double __x , long double __y )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) long double __copysignl(long double __x , long double __y )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) long double nanl(char const   *__tagb )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) long double __nanl(char const   *__tagb )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) int __isnanl(long double __value )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) int isnanl(long double __value )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) long double j0l(long double  ) ;
extern  __attribute__((__nothrow__)) long double __j0l(long double  ) ;
extern  __attribute__((__nothrow__)) long double j1l(long double  ) ;
extern  __attribute__((__nothrow__)) long double __j1l(long double  ) ;
extern  __attribute__((__nothrow__)) long double jnl(int  , long double  ) ;
extern  __attribute__((__nothrow__)) long double __jnl(int  , long double  ) ;
extern  __attribute__((__nothrow__)) long double y0l(long double  ) ;
extern  __attribute__((__nothrow__)) long double __y0l(long double  ) ;
extern  __attribute__((__nothrow__)) long double y1l(long double  ) ;
extern  __attribute__((__nothrow__)) long double __y1l(long double  ) ;
extern  __attribute__((__nothrow__)) long double ynl(int  , long double  ) ;
extern  __attribute__((__nothrow__)) long double __ynl(int  , long double  ) ;
extern  __attribute__((__nothrow__)) long double erfl(long double  ) ;
extern  __attribute__((__nothrow__)) long double __erfl(long double  ) ;
extern  __attribute__((__nothrow__)) long double erfcl(long double  ) ;
extern  __attribute__((__nothrow__)) long double __erfcl(long double  ) ;
extern  __attribute__((__nothrow__)) long double lgammal(long double  ) ;
extern  __attribute__((__nothrow__)) long double __lgammal(long double  ) ;
extern  __attribute__((__nothrow__)) long double tgammal(long double  ) ;
extern  __attribute__((__nothrow__)) long double __tgammal(long double  ) ;
extern  __attribute__((__nothrow__)) long double gammal(long double  ) ;
extern  __attribute__((__nothrow__)) long double __gammal(long double  ) ;
extern  __attribute__((__nothrow__)) long double lgammal_r(long double  , int *__signgamp ) ;
extern  __attribute__((__nothrow__)) long double __lgammal_r(long double  , int *__signgamp ) ;
extern  __attribute__((__nothrow__)) long double rintl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double __rintl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double nextafterl(long double __x , long double __y )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) long double __nextafterl(long double __x , long double __y )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) long double nexttowardl(long double __x , long double __y )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) long double __nexttowardl(long double __x , long double __y )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) long double remainderl(long double __x , long double __y ) ;
extern  __attribute__((__nothrow__)) long double __remainderl(long double __x , long double __y ) ;
extern  __attribute__((__nothrow__)) long double scalbnl(long double __x , int __n ) ;
extern  __attribute__((__nothrow__)) long double __scalbnl(long double __x , int __n ) ;
extern  __attribute__((__nothrow__)) int ilogbl(long double __x ) ;
extern  __attribute__((__nothrow__)) int __ilogbl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double scalblnl(long double __x , long __n ) ;
extern  __attribute__((__nothrow__)) long double __scalblnl(long double __x , long __n ) ;
extern  __attribute__((__nothrow__)) long double nearbyintl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double __nearbyintl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double roundl(long double __x )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) long double __roundl(long double __x )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) long double truncl(long double __x )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) long double __truncl(long double __x )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) long double remquol(long double __x , long double __y , int *__quo ) ;
extern  __attribute__((__nothrow__)) long double __remquol(long double __x , long double __y , int *__quo ) ;
__inline extern  __attribute__((__nothrow__)) long lrintl(long double __x ) ;
extern  __attribute__((__nothrow__)) long __lrintl(long double __x ) ;
__inline extern  __attribute__((__nothrow__)) long long llrintl(long double __x ) ;
extern  __attribute__((__nothrow__)) long long __llrintl(long double __x ) ;
extern  __attribute__((__nothrow__)) long lroundl(long double __x ) ;
extern  __attribute__((__nothrow__)) long __lroundl(long double __x ) ;
extern  __attribute__((__nothrow__)) long long llroundl(long double __x ) ;
extern  __attribute__((__nothrow__)) long long __llroundl(long double __x ) ;
extern  __attribute__((__nothrow__)) long double fdiml(long double __x , long double __y ) ;
extern  __attribute__((__nothrow__)) long double __fdiml(long double __x , long double __y ) ;
extern  __attribute__((__nothrow__)) long double fmaxl(long double __x , long double __y ) ;
extern  __attribute__((__nothrow__)) long double __fmaxl(long double __x , long double __y ) ;
extern  __attribute__((__nothrow__)) long double fminl(long double __x , long double __y ) ;
extern  __attribute__((__nothrow__)) long double __fminl(long double __x , long double __y ) ;
extern  __attribute__((__nothrow__)) int __fpclassifyl(long double __value )  __attribute__((__const__)) ;
__inline extern  __attribute__((__nothrow__)) int __signbitl(long double __x )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) long double fmal(long double __x , long double __y , long double __z ) ;
extern  __attribute__((__nothrow__)) long double __fmal(long double __x , long double __y , long double __z ) ;
extern  __attribute__((__nothrow__)) long double scalbl(long double __x , long double __n ) ;
extern  __attribute__((__nothrow__)) long double __scalbl(long double __x , long double __n ) ;
extern int signgam ;
extern _LIB_VERSION_TYPE _LIB_VERSION ;
extern int matherr(struct exception *__exc ) ;
__inline extern  __attribute__((__nothrow__)) int __signbitf(float __x )  __attribute__((__const__)) ;
__inline extern int __signbitf(float __x ) 
{ union __anonunion___u_28 __u ;

  {
  __u.__f = __x;
  return (__u.__i < 0);
}
}
__inline extern  __attribute__((__nothrow__)) int __signbit(double __x )  __attribute__((__const__)) ;
__inline extern int __signbit(double __x ) 
{ union __anonunion___u_29 __u ;

  {
  __u.__d = __x;
  return (__u.__i[1] < 0);
}
}
__inline extern  __attribute__((__nothrow__)) int __signbitl(long double __x )  __attribute__((__const__)) ;
__inline extern int __signbitl(long double __x ) 
{ union __anonunion___u_30 __u ;

  {
  __u.__l = __x;
  return ((__u.__i[2] & 0x8000) != 0);
}
}
__inline extern  __attribute__((__nothrow__)) double __sgn(double __x ) ;
__inline extern  __attribute__((__nothrow__)) double __sgn(double __x ) ;
__inline extern double __sgn(double __x ) 
{ double tmp ;
  double tmp___0 ;

  {
  if (__x == 0.0) {
    tmp___0 = 0.0;
  } else {
    if (__x > 0.0) {
      tmp = 1.0;
    } else {
      tmp = - 1.0;
    }
    tmp___0 = tmp;
  }
  return (tmp___0);
}
}
__inline extern  __attribute__((__nothrow__)) float __sgnf(float __x ) ;
__inline extern  __attribute__((__nothrow__)) float __sgnf(float __x ) ;
__inline extern float __sgnf(float __x ) 
{ double tmp ;
  double tmp___0 ;

  {
  if ((double )__x == 0.0) {
    tmp___0 = 0.0;
  } else {
    if ((double )__x > 0.0) {
      tmp = 1.0;
    } else {
      tmp = - 1.0;
    }
    tmp___0 = tmp;
  }
  return ((float )tmp___0);
}
}
__inline extern  __attribute__((__nothrow__)) long double __sgnl(long double __x ) ;
__inline extern  __attribute__((__nothrow__)) long double __sgnl(long double __x ) ;
__inline extern long double __sgnl(long double __x ) 
{ double tmp ;
  double tmp___0 ;

  {
  if (__x == (long double )0.0) {
    tmp___0 = 0.0;
  } else {
    if (__x > (long double )0.0) {
      tmp = 1.0;
    } else {
      tmp = - 1.0;
    }
    tmp___0 = tmp;
  }
  return ((long double )tmp___0);
}
}
__inline extern  __attribute__((__nothrow__)) long double __atan2l(long double __y , long double __x ) ;
__inline extern long double __atan2l(long double __y , long double __x ) 
{ long double tmp ;

  {
  tmp = __builtin_atan2l(__y, __x);
  return (tmp);
}
}
__inline extern  __attribute__((__nothrow__)) double fabs(double __x )  __attribute__((__const__)) ;
__inline extern double fabs(double __x ) 
{ double tmp ;

  {
  tmp = __builtin_fabs(__x);
  return (tmp);
}
}
__inline extern  __attribute__((__nothrow__)) float fabsf(float __x )  __attribute__((__const__)) ;
__inline extern float fabsf(float __x ) 
{ float tmp ;

  {
  tmp = __builtin_fabsf(__x);
  return (tmp);
}
}
__inline extern  __attribute__((__nothrow__)) long double fabsl(long double __x )  __attribute__((__const__)) ;
__inline extern long double fabsl(long double __x ) 
{ long double tmp ;

  {
  tmp = __builtin_fabsl(__x);
  return (tmp);
}
}
__inline extern  __attribute__((__nothrow__)) long double __fabsl(long double __x )  __attribute__((__const__)) ;
__inline extern long double __fabsl(long double __x ) 
{ long double tmp ;

  {
  tmp = __builtin_fabsl(__x);
  return (tmp);
}
}
__inline extern  __attribute__((__nothrow__)) long double __sgn1l(long double __x ) ;
__inline extern  __attribute__((__nothrow__)) long double __sgn1l(long double __x ) ;
__inline extern long double __sgn1l(long double __x ) 
{ union __anonunion___n_31 __n ;

  {
  __n.__xld = __x;
  __n.__xi[2] = (__n.__xi[2] & 32768U) | 16383U;
  __n.__xi[1] = 0x80000000;
  __n.__xi[0] = 0U;
  return (__n.__xld);
}
}
__inline extern  __attribute__((__nothrow__)) double floor(double __x )  __attribute__((__const__)) ;
__inline extern double floor(double __x ) 
{ register long double __value ;
  register int __ignore ;
  unsigned short __cw ;
  unsigned short __cwtmp ;

  {
  __asm__  volatile   ("fnstcw %3\n\t"
                       "movzwl %3, %1\n\t"
                       "andl $0xf3ff, %1\n\t"
                       "orl $0x0400, %1\n\t"
                       "movw %w1, %2\n\t"
                       "fldcw %2\n\t"
                       "frndint\n\t"
                       "fldcw %3": "=t" (__value), "=&q" (__ignore), "=m" (__cwtmp), "=m" (__cw): "0" (__x));
  return ((double )__value);
}
}
__inline extern  __attribute__((__nothrow__)) float floorf(float __x )  __attribute__((__const__)) ;
__inline extern float floorf(float __x ) 
{ register long double __value ;
  register int __ignore ;
  unsigned short __cw ;
  unsigned short __cwtmp ;

  {
  __asm__  volatile   ("fnstcw %3\n\t"
                       "movzwl %3, %1\n\t"
                       "andl $0xf3ff, %1\n\t"
                       "orl $0x0400, %1\n\t"
                       "movw %w1, %2\n\t"
                       "fldcw %2\n\t"
                       "frndint\n\t"
                       "fldcw %3": "=t" (__value), "=&q" (__ignore), "=m" (__cwtmp), "=m" (__cw): "0" (__x));
  return ((float )__value);
}
}
__inline extern  __attribute__((__nothrow__)) long double floorl(long double __x )  __attribute__((__const__)) ;
__inline extern long double floorl(long double __x ) 
{ register long double __value ;
  register int __ignore ;
  unsigned short __cw ;
  unsigned short __cwtmp ;

  {
  __asm__  volatile   ("fnstcw %3\n\t"
                       "movzwl %3, %1\n\t"
                       "andl $0xf3ff, %1\n\t"
                       "orl $0x0400, %1\n\t"
                       "movw %w1, %2\n\t"
                       "fldcw %2\n\t"
                       "frndint\n\t"
                       "fldcw %3": "=t" (__value), "=&q" (__ignore), "=m" (__cwtmp), "=m" (__cw): "0" (__x));
  return (__value);
}
}
__inline extern  __attribute__((__nothrow__)) double ceil(double __x )  __attribute__((__const__)) ;
__inline extern double ceil(double __x ) 
{ register long double __value ;
  register int __ignore ;
  unsigned short __cw ;
  unsigned short __cwtmp ;

  {
  __asm__  volatile   ("fnstcw %3\n\t"
                       "movzwl %3, %1\n\t"
                       "andl $0xf3ff, %1\n\t"
                       "orl $0x0800, %1\n\t"
                       "movw %w1, %2\n\t"
                       "fldcw %2\n\t"
                       "frndint\n\t"
                       "fldcw %3": "=t" (__value), "=&q" (__ignore), "=m" (__cwtmp), "=m" (__cw): "0" (__x));
  return ((double )__value);
}
}
__inline extern  __attribute__((__nothrow__)) float ceilf(float __x )  __attribute__((__const__)) ;
__inline extern float ceilf(float __x ) 
{ register long double __value ;
  register int __ignore ;
  unsigned short __cw ;
  unsigned short __cwtmp ;

  {
  __asm__  volatile   ("fnstcw %3\n\t"
                       "movzwl %3, %1\n\t"
                       "andl $0xf3ff, %1\n\t"
                       "orl $0x0800, %1\n\t"
                       "movw %w1, %2\n\t"
                       "fldcw %2\n\t"
                       "frndint\n\t"
                       "fldcw %3": "=t" (__value), "=&q" (__ignore), "=m" (__cwtmp), "=m" (__cw): "0" (__x));
  return ((float )__value);
}
}
__inline extern  __attribute__((__nothrow__)) long double ceill(long double __x )  __attribute__((__const__)) ;
__inline extern long double ceill(long double __x ) 
{ register long double __value ;
  register int __ignore ;
  unsigned short __cw ;
  unsigned short __cwtmp ;

  {
  __asm__  volatile   ("fnstcw %3\n\t"
                       "movzwl %3, %1\n\t"
                       "andl $0xf3ff, %1\n\t"
                       "orl $0x0800, %1\n\t"
                       "movw %w1, %2\n\t"
                       "fldcw %2\n\t"
                       "frndint\n\t"
                       "fldcw %3": "=t" (__value), "=&q" (__ignore), "=m" (__cwtmp), "=m" (__cw): "0" (__x));
  return (__value);
}
}
__inline extern  __attribute__((__nothrow__)) long lrintf(float __x ) ;
__inline extern long lrintf(float __x ) 
{ long __lrintres ;

  {
  __asm__  volatile   ("fistpl %0": "=m" (__lrintres): "t" (__x): "st");
  return (__lrintres);
}
}
__inline extern  __attribute__((__nothrow__)) long lrint(double __x ) ;
__inline extern long lrint(double __x ) 
{ long __lrintres ;

  {
  __asm__  volatile   ("fistpl %0": "=m" (__lrintres): "t" (__x): "st");
  return (__lrintres);
}
}
__inline extern  __attribute__((__nothrow__)) long lrintl(long double __x ) ;
__inline extern long lrintl(long double __x ) 
{ long __lrintres ;

  {
  __asm__  volatile   ("fistpl %0": "=m" (__lrintres): "t" (__x): "st");
  return (__lrintres);
}
}
__inline extern  __attribute__((__nothrow__)) long long llrintf(float __x ) ;
__inline extern long long llrintf(float __x ) 
{ long long __llrintres ;

  {
  __asm__  volatile   ("fistpll %0": "=m" (__llrintres): "t" (__x): "st");
  return (__llrintres);
}
}
__inline extern  __attribute__((__nothrow__)) long long llrint(double __x ) ;
__inline extern long long llrint(double __x ) 
{ long long __llrintres ;

  {
  __asm__  volatile   ("fistpll %0": "=m" (__llrintres): "t" (__x): "st");
  return (__llrintres);
}
}
__inline extern  __attribute__((__nothrow__)) long long llrintl(long double __x ) ;
__inline extern long long llrintl(long double __x ) 
{ long long __llrintres ;

  {
  __asm__  volatile   ("fistpll %0": "=m" (__llrintres): "t" (__x): "st");
  return (__llrintres);
}
}
__inline extern  __attribute__((__nothrow__)) int __finite(double __x )  __attribute__((__const__)) ;
__inline extern int __finite(double __x ) 
{ union __anonunion_32 __constr_expr_0 ;

  {
  __constr_expr_0.__d = __x;
  return ((int )((((unsigned int )__constr_expr_0.__i[1] | 0x800fffffu) + 1U) >> 31));
}
}
extern  __attribute__((__nothrow__)) void *dlopen(char const   *__file , int __mode ) ;
extern  __attribute__((__nothrow__)) int dlclose(void *__handle )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) void *dlsym(void * __restrict  __handle , char const   * __restrict  __name )  __attribute__((__nonnull__(2))) ;
extern  __attribute__((__nothrow__)) char *dlerror(void) ;
extern char __attribute__((__visibility__("default")))  *zend_strndup(char const   *s , unsigned int length )  __attribute__((__malloc__)) ;
extern void __attribute__((__visibility__("default")))  *_emalloc(size_t size )  __attribute__((__malloc__)) ;
extern void __attribute__((__visibility__("default")))  *_safe_emalloc(size_t nmemb , size_t size , size_t offset )  __attribute__((__malloc__)) ;
extern void __attribute__((__visibility__("default")))  *_safe_malloc(size_t nmemb , size_t size , size_t offset )  __attribute__((__malloc__)) ;
extern void __attribute__((__visibility__("default")))  _efree(void *ptr ) ;
extern void __attribute__((__visibility__("default")))  *_ecalloc(size_t nmemb , size_t size )  __attribute__((__malloc__)) ;
extern void __attribute__((__visibility__("default")))  *_erealloc(void *ptr , size_t size , int allow_failure ) ;
extern void __attribute__((__visibility__("default")))  *_safe_erealloc(void *ptr , size_t nmemb , size_t size , size_t offset ) ;
extern void __attribute__((__visibility__("default")))  *_safe_realloc(void *ptr , size_t nmemb , size_t size , size_t offset ) ;
extern char __attribute__((__visibility__("default")))  *_estrdup(char const   *s )  __attribute__((__malloc__)) ;
extern char __attribute__((__visibility__("default")))  *_estrndup(char const   *s , unsigned int length )  __attribute__((__malloc__)) ;
extern size_t __attribute__((__visibility__("default")))  _zend_mem_block_size(void *ptr ) ;
__inline static void *__zend_malloc(size_t len ) 
{ void *tmp ;
  void *tmp___0 ;

  {
  tmp___0 = malloc(len);
  tmp = tmp___0;
  if (tmp) {
    return (tmp);
  } else {

  }
  fprintf((FILE */* __restrict  */)stderr, (char const   */* __restrict  */)"Out of memory\n");
  exit(1);
}
}
__inline static void *__zend_calloc(size_t nmemb , size_t len ) 
{ void *tmp ;
  void __attribute__((__visibility__("default")))  *tmp___0 ;

  {
  tmp___0 = _safe_malloc(nmemb, len, 0U);
  tmp = (void *)tmp___0;
  memset(tmp, 0, nmemb * len);
  return (tmp);
}
}
__inline static void *__zend_realloc(void *p , size_t len ) 
{ 

  {
  p = realloc(p, len);
  if (p) {
    return (p);
  } else {

  }
  fprintf((FILE */* __restrict  */)stderr, (char const   */* __restrict  */)"Out of memory\n");
  exit(1);
}
}
extern int __attribute__((__visibility__("default")))  zend_set_memory_limit(size_t memory_limit ) ;
extern void __attribute__((__visibility__("default")))  start_memory_manager(void) ;
extern void __attribute__((__visibility__("default")))  shutdown_memory_manager(int silent , int full_shutdown ) ;
extern int __attribute__((__visibility__("default")))  is_zend_mm(void) ;
extern size_t __attribute__((__visibility__("default")))  zend_memory_usage(int real_usage ) ;
extern size_t __attribute__((__visibility__("default")))  zend_memory_peak_usage(int real_usage ) ;
extern zend_mm_heap __attribute__((__visibility__("default")))  *zend_mm_startup(void) ;
extern void __attribute__((__visibility__("default")))  zend_mm_shutdown(zend_mm_heap *heap , int full_shutdown , int silent ) ;
extern void __attribute__((__visibility__("default")))  *_zend_mm_alloc(zend_mm_heap *heap , size_t size )  __attribute__((__malloc__)) ;
extern void __attribute__((__visibility__("default")))  _zend_mm_free(zend_mm_heap *heap , void *p ) ;
extern void __attribute__((__visibility__("default")))  *_zend_mm_realloc(zend_mm_heap *heap , void *p , size_t size ) ;
extern size_t __attribute__((__visibility__("default")))  _zend_mm_block_size(zend_mm_heap *heap , void *p ) ;
extern zend_mm_heap __attribute__((__visibility__("default")))  *zend_mm_startup_ex(zend_mm_mem_handlers const   *handlers , size_t block_size , size_t reserve_size , int internal , void *params ) ;
extern zend_mm_heap __attribute__((__visibility__("default")))  *zend_mm_set_heap(zend_mm_heap *new_heap ) ;
extern zend_mm_storage __attribute__((__visibility__("default")))  *zend_mm_get_storage(zend_mm_heap *heap ) ;
extern void __attribute__((__visibility__("default")))  zend_mm_set_custom_handlers(zend_mm_heap *heap , void *(*_malloc)(size_t  ) , void (*_free)(void * ) , void *(*_realloc)(void * , size_t  ) ) ;
extern char const __attribute__((__visibility__("default")))  *(*zend_new_interned_string)(char const   *str , int len , int free_src ) ;
extern void __attribute__((__visibility__("default")))  (*zend_interned_strings_snapshot)(void) ;
extern void __attribute__((__visibility__("default")))  (*zend_interned_strings_restore)(void) ;
extern void zend_interned_strings_init(void) ;
extern void zend_interned_strings_dtor(void) ;
static char const   long_min_digits[11]  = 
  {      (char const   )'2',      (char const   )'1',      (char const   )'4',      (char const   )'7', 
        (char const   )'4',      (char const   )'8',      (char const   )'3',      (char const   )'6', 
        (char const   )'4',      (char const   )'8',      (char const   )'\000'};
extern int __attribute__((__visibility__("default")))  _zend_hash_init(HashTable *ht , uint nSize , ulong (*pHashFunction)(char const   *arKey , uint nKeyLength ) , void (*pDestructor)(void *pDest ) , zend_bool persistent ) ;
extern int __attribute__((__visibility__("default")))  _zend_hash_init_ex(HashTable *ht , uint nSize , ulong (*pHashFunction)(char const   *arKey , uint nKeyLength ) , void (*pDestructor)(void *pDest ) , zend_bool persistent , zend_bool bApplyProtection ) ;
extern void __attribute__((__visibility__("default")))  zend_hash_destroy(HashTable *ht ) ;
extern void __attribute__((__visibility__("default")))  zend_hash_clean(HashTable *ht ) ;
extern int __attribute__((__visibility__("default")))  _zend_hash_add_or_update(HashTable *ht , char const   *arKey , uint nKeyLength , void *pData , uint nDataSize , void **pDest , int flag ) ;
extern int __attribute__((__visibility__("default")))  _zend_hash_quick_add_or_update(HashTable *ht , char const   *arKey , uint nKeyLength , ulong h , void *pData , uint nDataSize , void **pDest , int flag ) ;
extern int __attribute__((__visibility__("default")))  _zend_hash_index_update_or_next_insert(HashTable *ht , ulong h , void *pData , uint nDataSize , void **pDest , int flag ) ;
extern int __attribute__((__visibility__("default")))  zend_hash_add_empty_element(HashTable *ht , char const   *arKey , uint nKeyLength ) ;
extern void __attribute__((__visibility__("default")))  zend_hash_graceful_destroy(HashTable *ht ) ;
extern void __attribute__((__visibility__("default")))  zend_hash_graceful_reverse_destroy(HashTable *ht ) ;
extern void __attribute__((__visibility__("default")))  zend_hash_apply(HashTable *ht , int (*apply_func)(void *pDest ) ) ;
extern void __attribute__((__visibility__("default")))  zend_hash_apply_with_argument(HashTable *ht , int (*apply_func)(void *pDest , void *argument ) , void * ) ;
extern void __attribute__((__visibility__("default")))  zend_hash_apply_with_arguments(HashTable *ht , int (*apply_func)(void *pDest , int num_args , va_list args , zend_hash_key *hash_key ) , int   , ...) ;
extern void __attribute__((__visibility__("default")))  zend_hash_reverse_apply(HashTable *ht , int (*apply_func)(void *pDest ) ) ;
extern int __attribute__((__visibility__("default")))  zend_hash_del_key_or_index(HashTable *ht , char const   *arKey , uint nKeyLength , ulong h , int flag ) ;
extern ulong __attribute__((__visibility__("default")))  zend_get_hash_value(char const   *arKey , uint nKeyLength ) ;
extern int __attribute__((__visibility__("default")))  zend_hash_find(HashTable const   *ht , char const   *arKey , uint nKeyLength , void **pData ) ;
extern int __attribute__((__visibility__("default")))  zend_hash_quick_find(HashTable const   *ht , char const   *arKey , uint nKeyLength , ulong h , void **pData ) ;
extern int __attribute__((__visibility__("default")))  zend_hash_index_find(HashTable const   *ht , ulong h , void **pData ) ;
extern int __attribute__((__visibility__("default")))  zend_hash_exists(HashTable const   *ht , char const   *arKey , uint nKeyLength ) ;
extern int __attribute__((__visibility__("default")))  zend_hash_quick_exists(HashTable const   *ht , char const   *arKey , uint nKeyLength , ulong h ) ;
extern int __attribute__((__visibility__("default")))  zend_hash_index_exists(HashTable const   *ht , ulong h ) ;
extern ulong __attribute__((__visibility__("default")))  zend_hash_next_free_element(HashTable const   *ht ) ;
extern int __attribute__((__visibility__("default")))  zend_hash_move_forward_ex(HashTable *ht , HashPosition *pos ) ;
extern int __attribute__((__visibility__("default")))  zend_hash_move_backwards_ex(HashTable *ht , HashPosition *pos ) ;
extern int __attribute__((__visibility__("default")))  zend_hash_get_current_key_ex(HashTable const   *ht , char **str_index , uint *str_length , ulong *num_index , zend_bool duplicate , HashPosition *pos ) ;
extern int __attribute__((__visibility__("default")))  zend_hash_get_current_key_type_ex(HashTable *ht , HashPosition *pos ) ;
extern int __attribute__((__visibility__("default")))  zend_hash_get_current_data_ex(HashTable *ht , void **pData , HashPosition *pos ) ;
extern void __attribute__((__visibility__("default")))  zend_hash_internal_pointer_reset_ex(HashTable *ht , HashPosition *pos ) ;
extern void __attribute__((__visibility__("default")))  zend_hash_internal_pointer_end_ex(HashTable *ht , HashPosition *pos ) ;
extern int __attribute__((__visibility__("default")))  zend_hash_update_current_key_ex(HashTable *ht , int key_type , char const   *str_index , uint str_length , ulong num_index , int mode , HashPosition *pos ) ;
extern int __attribute__((__visibility__("default")))  zend_hash_get_pointer(HashTable const   *ht , HashPointer *ptr ) ;
extern int __attribute__((__visibility__("default")))  zend_hash_set_pointer(HashTable *ht , HashPointer const   *ptr ) ;
extern void __attribute__((__visibility__("default")))  zend_hash_copy(HashTable *target , HashTable *source , void (*pCopyConstructor)(void *pElement ) , void *tmp , uint size ) ;
extern void __attribute__((__visibility__("default")))  _zend_hash_merge(HashTable *target , HashTable *source , void (*pCopyConstructor)(void *pElement ) , void *tmp , uint size , int overwrite ) ;
extern void __attribute__((__visibility__("default")))  zend_hash_merge_ex(HashTable *target , HashTable *source , void (*pCopyConstructor)(void *pElement ) , uint size , zend_bool (*pMergeSource)(HashTable *target_ht , void *source_data , zend_hash_key *hash_key , void *pParam ) , void *pParam ) ;
extern int __attribute__((__visibility__("default")))  zend_hash_sort(HashTable *ht , void (*sort_func)(void * , size_t  , size_t  , int (*)(void const   * , void const   * ) ) , int (*compare_func)(void const   * , void const   * ) , int renumber ) ;
extern int __attribute__((__visibility__("default")))  zend_hash_compare(HashTable *ht1 , HashTable *ht2 , int (*compar)(void const   * , void const   * ) , zend_bool ordered ) ;
extern int __attribute__((__visibility__("default")))  zend_hash_minmax(HashTable const   *ht , int (*compar)(void const   * , void const   * ) , int flag , void **pData ) ;
extern int __attribute__((__visibility__("default")))  zend_hash_num_elements(HashTable const   *ht ) ;
extern int __attribute__((__visibility__("default")))  zend_hash_rehash(HashTable *ht ) ;
__inline static ulong zend_inline_hash_func(char const   *arKey , uint nKeyLength ) 
{ register ulong hash ;
  char const   *tmp ;
  char const   *tmp___0 ;
  char const   *tmp___1 ;
  char const   *tmp___2 ;
  char const   *tmp___3 ;
  char const   *tmp___4 ;
  char const   *tmp___5 ;
  char const   *tmp___6 ;
  char const   *tmp___7 ;
  char const   *tmp___8 ;
  char const   *tmp___9 ;
  char const   *tmp___10 ;
  char const   *tmp___11 ;
  char const   *tmp___12 ;
  char const   *tmp___13 ;

  {
  hash = (ulong )5381;
  while (nKeyLength >= 8U) {
    tmp = arKey;
    arKey ++;
    hash = ((hash << 5) + hash) + (ulong )*tmp;
    tmp___0 = arKey;
    arKey ++;
    hash = ((hash << 5) + hash) + (ulong )*tmp___0;
    tmp___1 = arKey;
    arKey ++;
    hash = ((hash << 5) + hash) + (ulong )*tmp___1;
    tmp___2 = arKey;
    arKey ++;
    hash = ((hash << 5) + hash) + (ulong )*tmp___2;
    tmp___3 = arKey;
    arKey ++;
    hash = ((hash << 5) + hash) + (ulong )*tmp___3;
    tmp___4 = arKey;
    arKey ++;
    hash = ((hash << 5) + hash) + (ulong )*tmp___4;
    tmp___5 = arKey;
    arKey ++;
    hash = ((hash << 5) + hash) + (ulong )*tmp___5;
    tmp___6 = arKey;
    arKey ++;
    hash = ((hash << 5) + hash) + (ulong )*tmp___6;
    nKeyLength -= 8U;
  }
  switch ((int )nKeyLength) {
  case 7: 
  tmp___7 = arKey;
  arKey ++;
  hash = ((hash << 5) + hash) + (ulong )*tmp___7;
  case 6: 
  tmp___8 = arKey;
  arKey ++;
  hash = ((hash << 5) + hash) + (ulong )*tmp___8;
  case 5: 
  tmp___9 = arKey;
  arKey ++;
  hash = ((hash << 5) + hash) + (ulong )*tmp___9;
  case 4: 
  tmp___10 = arKey;
  arKey ++;
  hash = ((hash << 5) + hash) + (ulong )*tmp___10;
  case 3: 
  tmp___11 = arKey;
  arKey ++;
  hash = ((hash << 5) + hash) + (ulong )*tmp___11;
  case 2: 
  tmp___12 = arKey;
  arKey ++;
  hash = ((hash << 5) + hash) + (ulong )*tmp___12;
  case 1: 
  tmp___13 = arKey;
  arKey ++;
  hash = ((hash << 5) + hash) + (ulong )*tmp___13;
  break;
  case 0: 
  break;
  }
  return (hash);
}
}
extern ulong __attribute__((__visibility__("default")))  zend_hash_func(char const   *arKey , uint nKeyLength ) ;
__inline static int zend_symtable_update(HashTable *ht , char const   *arKey , uint nKeyLength , void *pData , uint nDataSize , void **pDest ) 
{ ulong idx ;
  register char const   *tmp ;
  char const   *end ;
  int __attribute__((__visibility__("default")))  tmp___0 ;
  int __attribute__((__visibility__("default")))  tmp___1 ;

  {
  while (1) {
    while (1) {
      tmp = arKey;
      if ((int const   )*tmp == 45) {
        tmp ++;
      } else {

      }
      if ((int const   )*tmp >= 48) {
        if ((int const   )*tmp <= 57) {
          end = (arKey + nKeyLength) - 1;
          if ((int const   )*end != 0) {
            break;
          } else {
            if ((int const   )*tmp == 48) {
              if (nKeyLength > 2U) {
                break;
              } else {
                goto _L;
              }
            } else {
              _L: /* CIL Label */ 
              if (end - tmp > 10) {
                break;
              } else {
                if (end - tmp == 10) {
                  if ((int const   )*tmp > 50) {
                    break;
                  } else {

                  }
                } else {

                }
              }
            }
          }
          idx = (unsigned long )((int const   )*tmp - 48);
          while (1) {
            tmp ++;
            if ((unsigned int )tmp != (unsigned int )end) {
              if ((int const   )*tmp >= 48) {
                if ((int const   )*tmp <= 57) {

                } else {
                  break;
                }
              } else {
                break;
              }
            } else {
              break;
            }
            idx = idx * 10UL + (ulong )((int const   )*tmp - 48);
          }
          if ((unsigned int )tmp == (unsigned int )end) {
            if ((int const   )*arKey == 45) {
              if (idx - 1UL > 2147483647UL) {
                break;
              } else {

              }
              idx = (unsigned long )(- ((long )idx));
            } else {
              if (idx > 2147483647UL) {
                break;
              } else {

              }
            }
            tmp___0 = _zend_hash_index_update_or_next_insert(ht, idx, pData, nDataSize, pDest, 1);
            return ((int )tmp___0);
          } else {

          }
        } else {

        }
      } else {

      }
      break;
    }
    break;
  }
  tmp___1 = _zend_hash_add_or_update(ht, arKey, nKeyLength, pData, nDataSize, pDest, 1);
  return ((int )tmp___1);
}
}
__inline static int zend_symtable_del(HashTable *ht , char const   *arKey , uint nKeyLength ) 
{ ulong idx ;
  register char const   *tmp ;
  char const   *end ;
  int __attribute__((__visibility__("default")))  tmp___0 ;
  int __attribute__((__visibility__("default")))  tmp___1 ;

  {
  while (1) {
    while (1) {
      tmp = arKey;
      if ((int const   )*tmp == 45) {
        tmp ++;
      } else {

      }
      if ((int const   )*tmp >= 48) {
        if ((int const   )*tmp <= 57) {
          end = (arKey + nKeyLength) - 1;
          if ((int const   )*end != 0) {
            break;
          } else {
            if ((int const   )*tmp == 48) {
              if (nKeyLength > 2U) {
                break;
              } else {
                goto _L;
              }
            } else {
              _L: /* CIL Label */ 
              if (end - tmp > 10) {
                break;
              } else {
                if (end - tmp == 10) {
                  if ((int const   )*tmp > 50) {
                    break;
                  } else {

                  }
                } else {

                }
              }
            }
          }
          idx = (unsigned long )((int const   )*tmp - 48);
          while (1) {
            tmp ++;
            if ((unsigned int )tmp != (unsigned int )end) {
              if ((int const   )*tmp >= 48) {
                if ((int const   )*tmp <= 57) {

                } else {
                  break;
                }
              } else {
                break;
              }
            } else {
              break;
            }
            idx = idx * 10UL + (ulong )((int const   )*tmp - 48);
          }
          if ((unsigned int )tmp == (unsigned int )end) {
            if ((int const   )*arKey == 45) {
              if (idx - 1UL > 2147483647UL) {
                break;
              } else {

              }
              idx = (unsigned long )(- ((long )idx));
            } else {
              if (idx > 2147483647UL) {
                break;
              } else {

              }
            }
            tmp___0 = zend_hash_del_key_or_index(ht, (char const   *)((void *)0), 0U, idx, 1);
            return ((int )tmp___0);
          } else {

          }
        } else {

        }
      } else {

      }
      break;
    }
    break;
  }
  tmp___1 = zend_hash_del_key_or_index(ht, arKey, nKeyLength, 0UL, 0);
  return ((int )tmp___1);
}
}
__inline static int zend_symtable_find(HashTable *ht , char const   *arKey , uint nKeyLength , void **pData ) 
{ ulong idx ;
  register char const   *tmp ;
  char const   *end ;
  int __attribute__((__visibility__("default")))  tmp___0 ;
  int __attribute__((__visibility__("default")))  tmp___1 ;

  {
  while (1) {
    while (1) {
      tmp = arKey;
      if ((int const   )*tmp == 45) {
        tmp ++;
      } else {

      }
      if ((int const   )*tmp >= 48) {
        if ((int const   )*tmp <= 57) {
          end = (arKey + nKeyLength) - 1;
          if ((int const   )*end != 0) {
            break;
          } else {
            if ((int const   )*tmp == 48) {
              if (nKeyLength > 2U) {
                break;
              } else {
                goto _L;
              }
            } else {
              _L: /* CIL Label */ 
              if (end - tmp > 10) {
                break;
              } else {
                if (end - tmp == 10) {
                  if ((int const   )*tmp > 50) {
                    break;
                  } else {

                  }
                } else {

                }
              }
            }
          }
          idx = (unsigned long )((int const   )*tmp - 48);
          while (1) {
            tmp ++;
            if ((unsigned int )tmp != (unsigned int )end) {
              if ((int const   )*tmp >= 48) {
                if ((int const   )*tmp <= 57) {

                } else {
                  break;
                }
              } else {
                break;
              }
            } else {
              break;
            }
            idx = idx * 10UL + (ulong )((int const   )*tmp - 48);
          }
          if ((unsigned int )tmp == (unsigned int )end) {
            if ((int const   )*arKey == 45) {
              if (idx - 1UL > 2147483647UL) {
                break;
              } else {

              }
              idx = (unsigned long )(- ((long )idx));
            } else {
              if (idx > 2147483647UL) {
                break;
              } else {

              }
            }
            tmp___0 = zend_hash_index_find((HashTable const   *)ht, idx, pData);
            return ((int )tmp___0);
          } else {

          }
        } else {

        }
      } else {

      }
      break;
    }
    break;
  }
  tmp___1 = zend_hash_find((HashTable const   *)ht, arKey, nKeyLength, pData);
  return ((int )tmp___1);
}
}
__inline static int zend_symtable_exists(HashTable *ht , char const   *arKey , uint nKeyLength ) 
{ ulong idx ;
  register char const   *tmp ;
  char const   *end ;
  int __attribute__((__visibility__("default")))  tmp___0 ;
  int __attribute__((__visibility__("default")))  tmp___1 ;

  {
  while (1) {
    while (1) {
      tmp = arKey;
      if ((int const   )*tmp == 45) {
        tmp ++;
      } else {

      }
      if ((int const   )*tmp >= 48) {
        if ((int const   )*tmp <= 57) {
          end = (arKey + nKeyLength) - 1;
          if ((int const   )*end != 0) {
            break;
          } else {
            if ((int const   )*tmp == 48) {
              if (nKeyLength > 2U) {
                break;
              } else {
                goto _L;
              }
            } else {
              _L: /* CIL Label */ 
              if (end - tmp > 10) {
                break;
              } else {
                if (end - tmp == 10) {
                  if ((int const   )*tmp > 50) {
                    break;
                  } else {

                  }
                } else {

                }
              }
            }
          }
          idx = (unsigned long )((int const   )*tmp - 48);
          while (1) {
            tmp ++;
            if ((unsigned int )tmp != (unsigned int )end) {
              if ((int const   )*tmp >= 48) {
                if ((int const   )*tmp <= 57) {

                } else {
                  break;
                }
              } else {
                break;
              }
            } else {
              break;
            }
            idx = idx * 10UL + (ulong )((int const   )*tmp - 48);
          }
          if ((unsigned int )tmp == (unsigned int )end) {
            if ((int const   )*arKey == 45) {
              if (idx - 1UL > 2147483647UL) {
                break;
              } else {

              }
              idx = (unsigned long )(- ((long )idx));
            } else {
              if (idx > 2147483647UL) {
                break;
              } else {

              }
            }
            tmp___0 = zend_hash_index_exists((HashTable const   *)ht, idx);
            return ((int )tmp___0);
          } else {

          }
        } else {

        }
      } else {

      }
      break;
    }
    break;
  }
  tmp___1 = zend_hash_exists((HashTable const   *)ht, arKey, nKeyLength);
  return ((int )tmp___1);
}
}
__inline static int zend_symtable_update_current_key_ex(HashTable *ht , char const   *arKey , uint nKeyLength , int mode , HashPosition *pos ) 
{ ulong idx ;
  register char const   *tmp ;
  char const   *end ;
  int __attribute__((__visibility__("default")))  tmp___0 ;
  int __attribute__((__visibility__("default")))  tmp___1 ;

  {
  while (1) {
    while (1) {
      tmp = arKey;
      if ((int const   )*tmp == 45) {
        tmp ++;
      } else {

      }
      if ((int const   )*tmp >= 48) {
        if ((int const   )*tmp <= 57) {
          end = (arKey + nKeyLength) - 1;
          if ((int const   )*end != 0) {
            break;
          } else {
            if ((int const   )*tmp == 48) {
              if (nKeyLength > 2U) {
                break;
              } else {
                goto _L;
              }
            } else {
              _L: /* CIL Label */ 
              if (end - tmp > 10) {
                break;
              } else {
                if (end - tmp == 10) {
                  if ((int const   )*tmp > 50) {
                    break;
                  } else {

                  }
                } else {

                }
              }
            }
          }
          idx = (unsigned long )((int const   )*tmp - 48);
          while (1) {
            tmp ++;
            if ((unsigned int )tmp != (unsigned int )end) {
              if ((int const   )*tmp >= 48) {
                if ((int const   )*tmp <= 57) {

                } else {
                  break;
                }
              } else {
                break;
              }
            } else {
              break;
            }
            idx = idx * 10UL + (ulong )((int const   )*tmp - 48);
          }
          if ((unsigned int )tmp == (unsigned int )end) {
            if ((int const   )*arKey == 45) {
              if (idx - 1UL > 2147483647UL) {
                break;
              } else {

              }
              idx = (unsigned long )(- ((long )idx));
            } else {
              if (idx > 2147483647UL) {
                break;
              } else {

              }
            }
            tmp___0 = zend_hash_update_current_key_ex(ht, 2, (char const   *)((void *)0), 0U, idx, mode, pos);
            return ((int )tmp___0);
          } else {

          }
        } else {

        }
      } else {

      }
      break;
    }
    break;
  }
  tmp___1 = zend_hash_update_current_key_ex(ht, 1, arKey, nKeyLength, 0UL, mode, pos);
  return ((int )tmp___1);
}
}
extern int __attribute__((__visibility__("default")))  _zend_ts_hash_init(TsHashTable *ht , uint nSize , ulong (*pHashFunction)(char const   *arKey , uint nKeyLength ) , void (*pDestructor)(void *pDest ) , zend_bool persistent ) ;
extern int __attribute__((__visibility__("default")))  _zend_ts_hash_init_ex(TsHashTable *ht , uint nSize , ulong (*pHashFunction)(char const   *arKey , uint nKeyLength ) , void (*pDestructor)(void *pDest ) , zend_bool persistent , zend_bool bApplyProtection ) ;
extern void __attribute__((__visibility__("default")))  zend_ts_hash_destroy(TsHashTable *ht ) ;
extern void __attribute__((__visibility__("default")))  zend_ts_hash_clean(TsHashTable *ht ) ;
extern int __attribute__((__visibility__("default")))  _zend_ts_hash_add_or_update(TsHashTable *ht , char *arKey , uint nKeyLength , void *pData , uint nDataSize , void **pDest , int flag ) ;
extern int __attribute__((__visibility__("default")))  _zend_ts_hash_quick_add_or_update(TsHashTable *ht , char *arKey , uint nKeyLength , ulong h , void *pData , uint nDataSize , void **pDest , int flag ) ;
extern int __attribute__((__visibility__("default")))  _zend_ts_hash_index_update_or_next_insert(TsHashTable *ht , ulong h , void *pData , uint nDataSize , void **pDest , int flag ) ;
extern int __attribute__((__visibility__("default")))  zend_ts_hash_add_empty_element(TsHashTable *ht , char *arKey , uint nKeyLength ) ;
extern void __attribute__((__visibility__("default")))  zend_ts_hash_graceful_destroy(TsHashTable *ht ) ;
extern void __attribute__((__visibility__("default")))  zend_ts_hash_apply(TsHashTable *ht , int (*apply_func)(void *pDest ) ) ;
extern void __attribute__((__visibility__("default")))  zend_ts_hash_apply_with_argument(TsHashTable *ht , int (*apply_func)(void *pDest , void *argument ) , void * ) ;
extern void __attribute__((__visibility__("default")))  zend_ts_hash_apply_with_arguments(TsHashTable *ht , int (*apply_func)(void *pDest , int num_args , va_list args , zend_hash_key *hash_key ) , int   , ...) ;
extern void __attribute__((__visibility__("default")))  zend_ts_hash_reverse_apply(TsHashTable *ht , int (*apply_func)(void *pDest ) ) ;
extern int __attribute__((__visibility__("default")))  zend_ts_hash_del_key_or_index(TsHashTable *ht , char *arKey , uint nKeyLength , ulong h , int flag ) ;
extern ulong __attribute__((__visibility__("default")))  zend_ts_get_hash_value(TsHashTable *ht , char *arKey , uint nKeyLength ) ;
extern int __attribute__((__visibility__("default")))  zend_ts_hash_find(TsHashTable *ht , char *arKey , uint nKeyLength , void **pData ) ;
extern int __attribute__((__visibility__("default")))  zend_ts_hash_quick_find(TsHashTable *ht , char *arKey , uint nKeyLength , ulong h , void **pData ) ;
extern int __attribute__((__visibility__("default")))  zend_ts_hash_index_find(TsHashTable *ht , ulong h , void **pData ) ;
extern int __attribute__((__visibility__("default")))  zend_ts_hash_exists(TsHashTable *ht , char *arKey , uint nKeyLength ) ;
extern int __attribute__((__visibility__("default")))  zend_ts_hash_index_exists(TsHashTable *ht , ulong h ) ;
extern void __attribute__((__visibility__("default")))  zend_ts_hash_copy(TsHashTable *target , TsHashTable *source , void (*pCopyConstructor)(void *pElement ) , void *tmp , uint size ) ;
extern void __attribute__((__visibility__("default")))  zend_ts_hash_copy_to_hash(HashTable *target , TsHashTable *source , void (*pCopyConstructor)(void *pElement ) , void *tmp , uint size ) ;
extern void __attribute__((__visibility__("default")))  zend_ts_hash_merge(TsHashTable *target , TsHashTable *source , void (*pCopyConstructor)(void *pElement ) , void *tmp , uint size , int overwrite ) ;
extern void __attribute__((__visibility__("default")))  zend_ts_hash_merge_ex(TsHashTable *target , TsHashTable *source , void (*pCopyConstructor)(void *pElement ) , uint size , zend_bool (*pMergeSource)(HashTable *target_ht , void *source_data , zend_hash_key *hash_key , void *pParam ) , void *pParam ) ;
extern int __attribute__((__visibility__("default")))  zend_ts_hash_sort(TsHashTable *ht , void (*sort_func)(void * , size_t  , size_t  , int (*)(void const   * , void const   * ) ) , int (*compare_func)(void const   * , void const   * ) , int renumber ) ;
extern int __attribute__((__visibility__("default")))  zend_ts_hash_compare(TsHashTable *ht1 , TsHashTable *ht2 , int (*compar)(void const   * , void const   * ) , zend_bool ordered ) ;
extern int __attribute__((__visibility__("default")))  zend_ts_hash_minmax(TsHashTable *ht , int (*compar)(void const   * , void const   * ) , int flag , void **pData ) ;
extern int __attribute__((__visibility__("default")))  zend_ts_hash_num_elements(TsHashTable *ht ) ;
extern int __attribute__((__visibility__("default")))  zend_ts_hash_rehash(TsHashTable *ht ) ;
extern ulong __attribute__((__visibility__("default")))  zend_ts_hash_func(char *arKey , uint nKeyLength ) ;
extern void __attribute__((__visibility__("default")))  zend_llist_init(zend_llist *l , size_t size , void (*dtor)(void * ) , unsigned char persistent ) ;
extern void __attribute__((__visibility__("default")))  zend_llist_add_element(zend_llist *l , void *element ) ;
extern void __attribute__((__visibility__("default")))  zend_llist_prepend_element(zend_llist *l , void *element ) ;
extern void __attribute__((__visibility__("default")))  zend_llist_del_element(zend_llist *l , void *element , int (*compare)(void *element1 , void *element2 ) ) ;
extern void __attribute__((__visibility__("default")))  zend_llist_destroy(zend_llist *l ) ;
extern void __attribute__((__visibility__("default")))  zend_llist_clean(zend_llist *l ) ;
extern void __attribute__((__visibility__("default")))  *zend_llist_remove_tail(zend_llist *l ) ;
extern void __attribute__((__visibility__("default")))  zend_llist_copy(zend_llist *dst , zend_llist *src ) ;
extern void __attribute__((__visibility__("default")))  zend_llist_apply(zend_llist *l , void (*func)(void * ) ) ;
extern void __attribute__((__visibility__("default")))  zend_llist_apply_with_del(zend_llist *l , int (*func)(void *data ) ) ;
extern void __attribute__((__visibility__("default")))  zend_llist_apply_with_argument(zend_llist *l , void (*func)(void *data , void *arg ) , void *arg ) ;
extern void __attribute__((__visibility__("default")))  zend_llist_apply_with_arguments(zend_llist *l , void (*func)(void *data , int num_args , va_list args ) , int num_args  , ...) ;
extern int __attribute__((__visibility__("default")))  zend_llist_count(zend_llist *l ) ;
extern void __attribute__((__visibility__("default")))  zend_llist_sort(zend_llist *l , int (*comp_func)(zend_llist_element const   ** , zend_llist_element const   ** ) ) ;
extern void __attribute__((__visibility__("default")))  *zend_llist_get_first_ex(zend_llist *l , zend_llist_position *pos ) ;
extern void __attribute__((__visibility__("default")))  *zend_llist_get_last_ex(zend_llist *l , zend_llist_position *pos ) ;
extern void __attribute__((__visibility__("default")))  *zend_llist_get_next_ex(zend_llist *l , zend_llist_position *pos ) ;
extern void __attribute__((__visibility__("default")))  *zend_llist_get_prev_ex(zend_llist *l , zend_llist_position *pos ) ;
extern  __attribute__((__noreturn__)) void zend_error_noreturn(int type , char const   *format  , ...) ;
extern zend_object_handlers __attribute__((__visibility__("default")))  std_object_handlers ;
extern union _zend_function  __attribute__((__visibility__("default"))) *zend_std_get_static_method(zend_class_entry *ce , char const   *function_name_strval , int function_name_strlen , struct _zend_literal  const  *key ) ;
extern zval __attribute__((__visibility__("default")))  **zend_std_get_static_property(zend_class_entry *ce , char const   *property_name , int property_name_len , zend_bool silent , struct _zend_literal  const  *key ) ;
extern zend_bool __attribute__((__visibility__("default")))  zend_std_unset_static_property(zend_class_entry *ce , char const   *property_name , int property_name_len , struct _zend_literal  const  *key ) ;
extern union _zend_function  __attribute__((__visibility__("default"))) *zend_std_get_constructor(zval *object ) ;
extern struct _zend_property_info  __attribute__((__visibility__("default"))) *zend_get_property_info(zend_class_entry *ce , zval *member , int silent ) ;
extern HashTable __attribute__((__visibility__("default")))  *zend_std_get_properties(zval *object ) ;
extern HashTable __attribute__((__visibility__("default")))  *zend_std_get_debug_info(zval *object , int *is_temp ) ;
extern int __attribute__((__visibility__("default")))  zend_std_cast_object_tostring(zval *readobj , zval *writeobj , int type ) ;
extern void __attribute__((__visibility__("default")))  zend_std_write_property(zval *object , zval *member , zval *value , struct _zend_literal  const  *key ) ;
extern void __attribute__((__visibility__("default")))  rebuild_object_properties(zend_object *zobj ) ;
extern int __attribute__((__visibility__("default")))  zend_check_private(union _zend_function *fbc , zend_class_entry *ce , char *function_name_strval , int function_name_strlen ) ;
extern int __attribute__((__visibility__("default")))  zend_check_protected(zend_class_entry *ce , zend_class_entry *scope ) ;
extern int __attribute__((__visibility__("default")))  zend_check_property_access(zend_object *zobj , char const   *prop_info_name , int prop_info_name_len ) ;
extern void __attribute__((__visibility__("default")))  zend_std_call_user_call(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
__inline static zend_uint ( __attribute__((__always_inline__)) zval_refcount_p)(zval *pz ) 
{ 

  {
  return (pz->refcount__gc);
}
}
__inline static zend_uint ( __attribute__((__always_inline__)) zval_set_refcount_p)(zval *pz , zend_uint rc ) 
{ zend_uint tmp ;

  {
  tmp = rc;
  pz->refcount__gc = tmp;
  return (tmp);
}
}
__inline static zend_uint ( __attribute__((__always_inline__)) zval_addref_p)(zval *pz ) 
{ 

  {
  (pz->refcount__gc) ++;
  return (pz->refcount__gc);
}
}
__inline static zend_uint ( __attribute__((__always_inline__)) zval_delref_p)(zval *pz ) 
{ 

  {
  (pz->refcount__gc) --;
  return (pz->refcount__gc);
}
}
__inline static zend_bool ( __attribute__((__always_inline__)) zval_isref_p)(zval *pz ) 
{ 

  {
  return (pz->is_ref__gc);
}
}
__inline static zend_bool ( __attribute__((__always_inline__)) zval_set_isref_p)(zval *pz ) 
{ zend_uchar tmp ;

  {
  tmp = (unsigned char)1;
  pz->is_ref__gc = tmp;
  return (tmp);
}
}
__inline static zend_bool ( __attribute__((__always_inline__)) zval_unset_isref_p)(zval *pz ) 
{ zend_uchar tmp ;

  {
  tmp = (unsigned char)0;
  pz->is_ref__gc = tmp;
  return (tmp);
}
}
__inline static zend_bool ( __attribute__((__always_inline__)) zval_set_isref_to_p)(zval *pz , zend_bool isref ) 
{ zend_uchar tmp ;

  {
  tmp = isref;
  pz->is_ref__gc = tmp;
  return (tmp);
}
}
extern enum zend_object_iterator_kind  __attribute__((__visibility__("default"))) zend_iterator_unwrap(zval *array_ptr , zend_object_iterator **iter ) ;
extern zval __attribute__((__visibility__("default")))  *zend_iterator_wrap(zend_object_iterator *iter ) ;
extern void __attribute__((__visibility__("default")))  zend_register_iterator_wrapper(void) ;
extern int __attribute__((__visibility__("default")))  zend_stream_open(char const   *filename , zend_file_handle *handle ) ;
extern int __attribute__((__visibility__("default")))  zend_stream_fixup(zend_file_handle *file_handle , char **buf , size_t *len ) ;
extern void __attribute__((__visibility__("default")))  zend_file_handle_dtor(zend_file_handle *fh ) ;
extern int __attribute__((__visibility__("default")))  zend_compare_file_handles(zend_file_handle *fh1 , zend_file_handle *fh2 ) ;
extern int zend_startup(zend_utility_functions *utility_functions , char **extensions ) ;
extern void zend_shutdown(void) ;
extern void zend_register_standard_ini_entries(void) ;
extern void zend_post_startup(void) ;
extern void zend_set_utility_values(zend_utility_values *utility_values ) ;
extern void __attribute__((__visibility__("default")))  _zend_bailout(char *filename , uint lineno ) ;
extern char __attribute__((__visibility__("default")))  *get_zend_version(void) ;
extern void __attribute__((__visibility__("default")))  zend_make_printable_zval(zval *expr , zval *expr_copy , int *use_copy ) ;
extern int __attribute__((__visibility__("default")))  zend_print_zval(zval *expr , int indent ) ;
extern int __attribute__((__visibility__("default")))  zend_print_zval_ex(int (*write_func)(char const   *str , uint str_length ) , zval *expr , int indent ) ;
extern void __attribute__((__visibility__("default")))  zend_print_zval_r(zval *expr , int indent ) ;
extern void __attribute__((__visibility__("default")))  zend_print_flat_zval_r(zval *expr ) ;
extern void __attribute__((__visibility__("default")))  zend_print_zval_r_ex(int (*write_func)(char const   *str , uint str_length ) , zval *expr , int indent ) ;
extern void __attribute__((__visibility__("default")))  ( /* format attribute */  zend_output_debug_string)(zend_bool trigger_break , char const   *format  , ...) ;
extern void zend_activate(void) ;
extern void zend_deactivate(void) ;
extern void zend_call_destructors(void) ;
extern void zend_activate_modules(void) ;
extern void zend_deactivate_modules(void) ;
extern void zend_post_deactivate_modules(void) ;
extern void __attribute__((__visibility__("default")))  free_estring(char **str_p ) ;
extern int __attribute__((__visibility__("default")))  ( /* format attribute */  (*zend_printf))(char const   *format  , ...) ;
extern int (* __attribute__((__visibility__("default"))) zend_write)(char const   *str , uint str_length ) ;
extern FILE __attribute__((__visibility__("default")))  *(*zend_fopen)(char const   *filename , char **opened_path ) ;
extern void __attribute__((__visibility__("default")))  (*zend_ticks_function)(int ticks ) ;
extern void __attribute__((__visibility__("default")))  ( /* format attribute */  (*zend_error_cb))(int type , char const   *error_filename , uint error_lineno , char const   *format , va_list args ) ;
extern void __attribute__((__visibility__("default")))  (*zend_on_timeout)(int seconds ) ;
extern int __attribute__((__visibility__("default")))  (*zend_stream_open_function)(char const   *filename , zend_file_handle *handle ) ;
extern int (*zend_vspprintf)(char **pbuf , size_t max_len , char const   *format , va_list ap ) ;
extern char __attribute__((__visibility__("default")))  *(*zend_getenv)(char *name , size_t name_len ) ;
extern char __attribute__((__visibility__("default")))  *(*zend_resolve_path)(char const   *filename , int filename_len ) ;
extern void __attribute__((__visibility__("default")))  ( /* format attribute */  zend_error)(int type , char const   *format  , ...) ;
extern void zenderror(char const   *error ) ;
extern zend_class_entry __attribute__((__visibility__("default")))  *zend_standard_class_def ;
extern zend_utility_values __attribute__((__visibility__("default")))  zend_uv ;
extern zval __attribute__((__visibility__("default")))  zval_used_for_init ;
__inline extern int __sigismember(__sigset_t const   *__set , int __sig ) ;
__inline extern int __sigaddset(__sigset_t *__set , int __sig ) ;
__inline extern int __sigdelset(__sigset_t *__set , int __sig ) ;
__inline extern int __sigismember(__sigset_t const   *__set , int __sig ) 
{ unsigned long __mask ;
  unsigned long __word ;
  int tmp ;

  {
  __mask = 1UL << (unsigned int )(__sig - 1) % (8U * sizeof(unsigned long ));
  __word = (unsigned long )((unsigned int )(__sig - 1) / (8U * sizeof(unsigned long )));
  if (__set->__val[__word] & __mask) {
    tmp = 1;
  } else {
    tmp = 0;
  }
  return (tmp);
}
}
__inline extern int __sigaddset(__sigset_t *__set , int __sig ) 
{ unsigned long __mask ;
  unsigned long __word ;

  {
  __mask = 1UL << (unsigned int )(__sig - 1) % (8U * sizeof(unsigned long ));
  __word = (unsigned long )((unsigned int )(__sig - 1) / (8U * sizeof(unsigned long )));
  __set->__val[__word] |= __mask;
  return (0);
}
}
__inline extern int __sigdelset(__sigset_t *__set , int __sig ) 
{ unsigned long __mask ;
  unsigned long __word ;

  {
  __mask = 1UL << (unsigned int )(__sig - 1) % (8U * sizeof(unsigned long ));
  __word = (unsigned long )((unsigned int )(__sig - 1) / (8U * sizeof(unsigned long )));
  __set->__val[__word] &= ~ __mask;
  return (0);
}
}
extern  __attribute__((__nothrow__)) __sighandler_t __sysv_signal(int __sig , void (*__handler)(int  ) ) ;
extern  __attribute__((__nothrow__)) __sighandler_t signal(int __sig , void (*__handler)(int  ) ) ;
extern  __attribute__((__nothrow__)) int kill(__pid_t __pid , int __sig ) ;
extern  __attribute__((__nothrow__)) int killpg(__pid_t __pgrp , int __sig ) ;
extern  __attribute__((__nothrow__)) int raise(int __sig ) ;
extern  __attribute__((__nothrow__)) __sighandler_t ssignal(int __sig , void (*__handler)(int  ) ) ;
extern  __attribute__((__nothrow__)) int gsignal(int __sig ) ;
extern void psignal(int __sig , char const   *__s ) ;
extern void psiginfo(siginfo_t const   *__pinfo , char const   *__s ) ;
extern int __sigpause(int __sig_or_mask , int __is_sig ) ;
extern  __attribute__((__nothrow__)) int sigblock(int __mask )  __attribute__((__deprecated__)) ;
extern  __attribute__((__nothrow__)) int sigsetmask(int __mask )  __attribute__((__deprecated__)) ;
extern  __attribute__((__nothrow__)) int siggetmask(void)  __attribute__((__deprecated__)) ;
extern  __attribute__((__nothrow__)) int sigemptyset(sigset_t *__set )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int sigfillset(sigset_t *__set )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int sigaddset(sigset_t *__set , int __signo )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int sigdelset(sigset_t *__set , int __signo )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int sigismember(sigset_t const   *__set , int __signo )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int sigprocmask(int __how , sigset_t const   * __restrict  __set , sigset_t * __restrict  __oset ) ;
extern int sigsuspend(sigset_t const   *__set )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int sigaction(int __sig , struct sigaction  const  * __restrict  __act , struct sigaction * __restrict  __oact ) ;
extern  __attribute__((__nothrow__)) int sigpending(sigset_t *__set )  __attribute__((__nonnull__(1))) ;
extern int sigwait(sigset_t const   * __restrict  __set , int * __restrict  __sig )  __attribute__((__nonnull__(1,2))) ;
extern int sigwaitinfo(sigset_t const   * __restrict  __set , siginfo_t * __restrict  __info )  __attribute__((__nonnull__(1))) ;
extern int sigtimedwait(sigset_t const   * __restrict  __set , siginfo_t * __restrict  __info , struct timespec  const  * __restrict  __timeout )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int sigqueue(__pid_t __pid , int __sig , union sigval __val ) ;
extern char const   * const  _sys_siglist[65] ;
extern char const   * const  sys_siglist[65] ;
extern  __attribute__((__nothrow__)) int sigvec(int __sig , struct sigvec  const  *__vec , struct sigvec *__ovec ) ;
extern  __attribute__((__nothrow__)) int sigreturn(struct sigcontext *__scp ) ;
extern  __attribute__((__nothrow__)) int siginterrupt(int __sig , int __interrupt ) ;
extern  __attribute__((__nothrow__)) int sigstack(struct sigstack *__ss , struct sigstack *__oss )  __attribute__((__deprecated__)) ;
extern  __attribute__((__nothrow__)) int sigaltstack(struct sigaltstack  const  * __restrict  __ss , struct sigaltstack * __restrict  __oss ) ;
extern  __attribute__((__nothrow__)) int pthread_sigmask(int __how , __sigset_t const   * __restrict  __newmask , __sigset_t * __restrict  __oldmask ) ;
extern  __attribute__((__nothrow__)) int pthread_kill(pthread_t __threadid , int __signo ) ;
extern  __attribute__((__nothrow__)) int __libc_current_sigrtmin(void) ;
extern  __attribute__((__nothrow__)) int __libc_current_sigrtmax(void) ;
extern zend_signal_globals_t __attribute__((__visibility__("default")))  zend_signal_globals ;
extern void zend_signal_handler_defer(int signo , siginfo_t *siginfo , void *context ) ;
extern void __attribute__((__visibility__("default")))  zend_signal_handler_unblock() ;
extern void zend_signal_activate(void) ;
extern void zend_signal_deactivate(void) ;
extern void zend_signal_startup() ;
extern void zend_signal_shutdown(void) ;
extern int __attribute__((__visibility__("default")))  zend_signal(int signo , void (*handler)(int  ) ) ;
extern int __attribute__((__visibility__("default")))  zend_sigaction(int signo , struct sigaction  const  *act , struct sigaction *oldact ) ;
extern void __attribute__((__visibility__("default")))  zend_message_dispatcher(long message , void const   *data ) ;
extern int __attribute__((__visibility__("default")))  zend_get_configuration_directive(char const   *name , uint name_length , zval *contents ) ;
extern zend_gc_globals __attribute__((__visibility__("default")))  gc_globals ;
extern int __attribute__((__visibility__("default")))  gc_collect_cycles(void) ;
extern void __attribute__((__visibility__("default")))  gc_zval_possible_root(zval *zv ) ;
extern void __attribute__((__visibility__("default")))  gc_zobj_possible_root(zval *zv ) ;
extern void __attribute__((__visibility__("default")))  gc_remove_zval_from_buffer(zval *zv ) ;
extern void __attribute__((__visibility__("default")))  gc_globals_ctor(void) ;
extern void __attribute__((__visibility__("default")))  gc_globals_dtor(void) ;
extern void __attribute__((__visibility__("default")))  gc_init(void) ;
extern void __attribute__((__visibility__("default")))  gc_reset(void) ;
__inline static void ( __attribute__((__always_inline__)) gc_zval_check_possible_root)(zval *z ) 
{ 

  {
  if ((int )z->type == 4) {
    gc_zval_possible_root(z);
  } else {
    if ((int )z->type == 5) {
      gc_zval_possible_root(z);
    } else {

    }
  }
  return;
}
}
__inline static void ( __attribute__((__always_inline__)) gc_remove_from_buffer)(gc_root_buffer *root ) 
{ 

  {
  (root->next)->prev = root->prev;
  (root->prev)->next = root->next;
  root->prev = gc_globals.unused;
  gc_globals.unused = root;
  return;
}
}
extern  __attribute__((__nothrow__)) int *__errno_location(void)  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__, __noreturn__)) void __assert_fail(char const   *__assertion , char const   *__file , unsigned int __line , char const   *__function ) ;
extern  __attribute__((__nothrow__, __noreturn__)) void __assert_perror_fail(int __errnum , char const   *__file , unsigned int __line , char const   *__function ) ;
extern  __attribute__((__nothrow__, __noreturn__)) void __assert(char const   *__assertion , char const   *__file , int __line ) ;
extern void __attribute__((__visibility__("default")))  zend_freedtoa(char *s ) ;
extern char __attribute__((__visibility__("default")))  *zend_dtoa(double _d , int mode , int ndigits , int *decpt , int *sign , char **rve ) ;
extern double __attribute__((__visibility__("default")))  zend_strtod(char const   *s00 , char const   **se ) ;
extern double __attribute__((__visibility__("default")))  zend_hex_strtod(char const   *str , char const   **endptr ) ;
extern double __attribute__((__visibility__("default")))  zend_oct_strtod(char const   *str , char const   **endptr ) ;
extern double __attribute__((__visibility__("default")))  zend_bin_strtod(char const   *str , char const   **endptr ) ;
extern int __attribute__((__visibility__("default")))  zend_startup_strtod(void) ;
extern int __attribute__((__visibility__("default")))  zend_shutdown_strtod(void) ;
extern int __attribute__((__visibility__("default")))  add_function(zval *result , zval *op1 , zval *op2 ) ;
extern int __attribute__((__visibility__("default")))  sub_function(zval *result , zval *op1 , zval *op2 ) ;
extern int __attribute__((__visibility__("default")))  mul_function(zval *result , zval *op1 , zval *op2 ) ;
extern int __attribute__((__visibility__("default")))  div_function(zval *result , zval *op1 , zval *op2 ) ;
extern int __attribute__((__visibility__("default")))  mod_function(zval *result , zval *op1 , zval *op2 ) ;
extern int __attribute__((__visibility__("default")))  boolean_xor_function(zval *result , zval *op1 , zval *op2 ) ;
extern int __attribute__((__visibility__("default")))  boolean_not_function(zval *result , zval *op1 ) ;
extern int __attribute__((__visibility__("default")))  bitwise_not_function(zval *result , zval *op1 ) ;
extern int __attribute__((__visibility__("default")))  bitwise_or_function(zval *result , zval *op1 , zval *op2 ) ;
extern int __attribute__((__visibility__("default")))  bitwise_and_function(zval *result , zval *op1 , zval *op2 ) ;
extern int __attribute__((__visibility__("default")))  bitwise_xor_function(zval *result , zval *op1 , zval *op2 ) ;
extern int __attribute__((__visibility__("default")))  shift_left_function(zval *result , zval *op1 , zval *op2 ) ;
extern int __attribute__((__visibility__("default")))  shift_right_function(zval *result , zval *op1 , zval *op2 ) ;
extern int __attribute__((__visibility__("default")))  concat_function(zval *result , zval *op1 , zval *op2 ) ;
extern int __attribute__((__visibility__("default")))  is_equal_function(zval *result , zval *op1 , zval *op2 ) ;
extern int __attribute__((__visibility__("default")))  is_identical_function(zval *result , zval *op1 , zval *op2 ) ;
extern int __attribute__((__visibility__("default")))  is_not_identical_function(zval *result , zval *op1 , zval *op2 ) ;
extern int __attribute__((__visibility__("default")))  is_not_equal_function(zval *result , zval *op1 , zval *op2 ) ;
extern int __attribute__((__visibility__("default")))  is_smaller_function(zval *result , zval *op1 , zval *op2 ) ;
extern int __attribute__((__visibility__("default")))  is_smaller_or_equal_function(zval *result , zval *op1 , zval *op2 ) ;
extern zend_bool __attribute__((__visibility__("default")))  instanceof_function_ex(zend_class_entry const   *instance_ce , zend_class_entry const   *ce , zend_bool interfaces_only ) ;
extern zend_bool __attribute__((__visibility__("default")))  instanceof_function(zend_class_entry const   *instance_ce , zend_class_entry const   *ce ) ;
__inline static long ( __attribute__((__always_inline__)) zend_dval_to_lval)(double d ) 
{ 

  {
  if (d > (double )2147483647L) {
    return ((long )((unsigned long )((long long )d)));
  } else {
    if (d < (double )(-0x7FFFFFFF-1)) {
      return ((long )((unsigned long )((long long )d)));
    } else {

    }
  }
  return ((long )d);
}
}
__inline static zend_uchar is_numeric_string(char const   *str , int length , long *lval , double *dval , int allow_errors ) 
{ char const   *ptr ;
  int base ;
  int digits ;
  int dp_or_e ;
  double local_dval ;
  zend_uchar type ;
  char const   *e ;
  char const   *tmp ;
  double __attribute__((__visibility__("default")))  tmp___0 ;
  double __attribute__((__visibility__("default")))  tmp___1 ;
  char const   *tmp___2 ;
  char const   *tmp___3 ;
  int cmp ;
  size_t __s1_len ;
  size_t __s2_len ;
  int tmp___4 ;
  int tmp___5 ;
  int tmp___6 ;
  unsigned char const   *__s2 ;
  register int __result ;
  int tmp___7 ;
  unsigned char const   *__s1 ;
  register int __result___0 ;
  int tmp___8 ;
  int tmp___9 ;
  int tmp___10 ;
  double __attribute__((__visibility__("default")))  tmp___11 ;

  {
  base = 10;
  digits = 0;
  dp_or_e = 0;
  if (! length) {
    return ((unsigned char)0);
  } else {

  }
  while (1) {
    if ((int const   )*str == 32) {

    } else {
      if ((int const   )*str == 9) {

      } else {
        if ((int const   )*str == 10) {

        } else {
          if ((int const   )*str == 13) {

          } else {
            if ((int const   )*str == 11) {

            } else {
              if ((int const   )*str == 12) {

              } else {
                break;
              }
            }
          }
        }
      }
    }
    str ++;
    length --;
  }
  ptr = str;
  if ((int const   )*ptr == 45) {
    ptr ++;
  } else {
    if ((int const   )*ptr == 43) {
      ptr ++;
    } else {

    }
  }
  if ((int const   )*ptr >= 48) {
    if ((int const   )*ptr <= 57) {
      if (length > 2) {
        if ((int const   )*str == 48) {
          if ((int const   )*(str + 1) == 120) {
            base = 16;
            ptr += 2;
          } else {
            if ((int const   )*(str + 1) == 88) {
              base = 16;
              ptr += 2;
            } else {

            }
          }
        } else {

        }
      } else {

      }
      while ((int const   )*ptr == 48) {
        ptr ++;
      }
      type = (unsigned char)1;
      while (1) {
        if (digits >= 11) {
          if (dval) {
            break;
          } else {
            if (allow_errors == 1) {
              break;
            } else {

            }
          }
        } else {

        }
        check_digits: 
        if ((int const   )*ptr >= 48) {
          if ((int const   )*ptr <= 57) {
            goto __Cont;
          } else {
            goto _L___3;
          }
        } else {
          _L___3: /* CIL Label */ 
          if (base == 16) {
            if ((int const   )*ptr >= 65) {
              if ((int const   )*ptr <= 70) {
                goto __Cont;
              } else {
                goto _L___2;
              }
            } else {
              _L___2: /* CIL Label */ 
              if ((int const   )*ptr >= 97) {
                if ((int const   )*ptr <= 102) {
                  goto __Cont;
                } else {
                  goto _L___1;
                }
              } else {
                goto _L___1;
              }
            }
          } else {
            _L___1: /* CIL Label */ 
            if (base == 10) {
              if ((int const   )*ptr == 46) {
                if (dp_or_e < 1) {
                  goto process_double;
                } else {
                  goto _L___0;
                }
              } else {
                _L___0: /* CIL Label */ 
                if ((int const   )*ptr == 101) {
                  goto _L;
                } else {
                  if ((int const   )*ptr == 69) {
                    _L: /* CIL Label */ 
                    if (dp_or_e < 2) {
                      e = ptr + 1;
                      if ((int const   )*e == 45) {
                        tmp = e;
                        e ++;
                        ptr = tmp;
                      } else {
                        if ((int const   )*e == 43) {
                          tmp = e;
                          e ++;
                          ptr = tmp;
                        } else {

                        }
                      }
                      if ((int const   )*e >= 48) {
                        if ((int const   )*e <= 57) {
                          goto process_double;
                        } else {

                        }
                      } else {

                      }
                    } else {

                    }
                  } else {

                  }
                }
              }
            } else {

            }
          }
        }
        break;
        __Cont: /* CIL Label */ 
        digits ++;
        ptr ++;
      }
      if (base == 10) {
        if (digits >= 11) {
          dp_or_e = -1;
          goto process_double;
        } else {

        }
      } else {
        if (digits < 8) {

        } else {
          if (digits == 8) {
            if ((int const   )*(ptr + - digits) <= 55) {

            } else {
              goto _L___4;
            }
          } else {
            _L___4: /* CIL Label */ 
            if (dval) {
              tmp___0 = zend_hex_strtod(str, & ptr);
              local_dval = (double )tmp___0;
            } else {

            }
            type = (unsigned char)2;
          }
        }
      }
    } else {
      goto _L___5;
    }
  } else {
    _L___5: /* CIL Label */ 
    if ((int const   )*ptr == 46) {
      if ((int const   )*(ptr + 1) >= 48) {
        if ((int const   )*(ptr + 1) <= 57) {
          process_double: 
          type = (unsigned char)2;
          if (dval) {
            tmp___1 = zend_strtod(str, & ptr);
            local_dval = (double )tmp___1;
          } else {
            if (allow_errors != 1) {
              if (dp_or_e != -1) {
                tmp___3 = ptr;
                ptr ++;
                if ((int const   )*tmp___3 == 46) {
                  dp_or_e = 1;
                } else {
                  dp_or_e = 2;
                }
                goto check_digits;
              } else {

              }
            } else {

            }
          }
        } else {
          return ((unsigned char)0);
        }
      } else {
        return ((unsigned char)0);
      }
    } else {
      return ((unsigned char)0);
    }
  }
  if ((unsigned int )ptr != (unsigned int )(str + length)) {
    if (! allow_errors) {
      return ((unsigned char)0);
    } else {

    }
    if (allow_errors == -1) {
      zend_error(1 << 3L, "A non well formed numeric value encountered");
    } else {

    }
  } else {

  }
  if ((int )type == 1) {
    if (digits == 10) {
      if (0) {
        __s1_len = strlen(ptr + - digits);
        __s2_len = strlen(long_min_digits);
        if (! ((unsigned int )((void const   *)((ptr + - digits) + 1)) - (unsigned int )((void const   *)(ptr + - digits)) == 1U)) {
          goto _L___7;
        } else {
          if (__s1_len >= 4U) {
            _L___7: /* CIL Label */ 
            if (! ((unsigned int )((void const   *)(long_min_digits + 1)) - (unsigned int )((void const   *)(long_min_digits)) == 1U)) {
              tmp___10 = 1;
            } else {
              if (__s2_len >= 4U) {
                tmp___10 = 1;
              } else {
                tmp___10 = 0;
              }
            }
          } else {
            tmp___10 = 0;
          }
        }
        if (tmp___10) {
          tmp___5 = __builtin_strcmp(ptr + - digits, long_min_digits);
          tmp___9 = tmp___5;
        } else {
          tmp___8 = __builtin_strcmp(ptr + - digits, long_min_digits);
          tmp___9 = tmp___8;
        }
      } else {
        tmp___8 = __builtin_strcmp(ptr + - digits, long_min_digits);
        tmp___9 = tmp___8;
      }
      cmp = tmp___9;
      if (cmp < 0) {

      } else {
        if (cmp == 0) {
          if ((int const   )*str == 45) {

          } else {
            goto _L___8;
          }
        } else {
          _L___8: /* CIL Label */ 
          if (dval) {
            tmp___11 = zend_strtod(str, (char const   **)((void *)0));
            *dval = (double )tmp___11;
          } else {

          }
          return ((unsigned char)2);
        }
      }
    } else {

    }
    if (lval) {
      *lval = strtol((char const   */* __restrict  */)str, (char **/* __restrict  */)((void *)0), base);
    } else {

    }
    return ((unsigned char)1);
  } else {
    if (dval) {
      *dval = local_dval;
    } else {

    }
    return ((unsigned char)2);
  }
}
}
__inline static char *zend_memnstr(char *haystack , char *needle , int needle_len , char *end ) 
{ char *p ;
  char ne ;
  void *tmp ;
  int tmp___0 ;
  void *tmp___1 ;

  {
  p = haystack;
  ne = *(needle + (needle_len - 1));
  if (needle_len == 1) {
    tmp = memchr((void const   *)p, (int )*needle, (unsigned int )(end - p));
    return ((char *)tmp);
  } else {

  }
  if (needle_len > end - haystack) {
    return ((char *)((void *)0));
  } else {

  }
  end -= needle_len;
  while ((unsigned int )p <= (unsigned int )end) {
    tmp___1 = memchr((void const   *)p, (int )*needle, (unsigned int )((end - p) + 1));
    p = (char *)tmp___1;
    if (p) {
      if ((int )ne == (int )*(p + (needle_len - 1))) {
        tmp___0 = memcmp((void const   *)needle, (void const   *)p, (unsigned int )(needle_len - 1));
        if (tmp___0) {

        } else {
          return (p);
        }
      } else {

      }
    } else {

    }
    if ((unsigned int )p == (unsigned int )((void *)0)) {
      return ((char *)((void *)0));
    } else {

    }
    p ++;
  }
  return ((char *)((void *)0));
}
}
__inline static void const   *zend_memrchr(void const   *s , int c , size_t n ) 
{ register unsigned char const   *e ;

  {
  if (n <= 0U) {
    return ((void const   *)((void *)0));
  } else {

  }
  e = ((unsigned char const   *)s + n) - 1;
  while ((unsigned int )e >= (unsigned int )((unsigned char const   *)s)) {
    if ((int const   )*e == (int const   )((unsigned char const   )c)) {
      return ((void const   *)e);
    } else {

    }
    e --;
  }
  return ((void const   *)((void *)0));
}
}
extern int __attribute__((__visibility__("default")))  increment_function(zval *op1 ) ;
extern int __attribute__((__visibility__("default")))  decrement_function(zval *op2 ) ;
extern void __attribute__((__visibility__("default")))  convert_scalar_to_number(zval *op ) ;
extern void __attribute__((__visibility__("default")))  _convert_to_string(zval *op ) ;
extern void __attribute__((__visibility__("default")))  convert_to_long(zval *op ) ;
extern void __attribute__((__visibility__("default")))  convert_to_double(zval *op ) ;
extern void __attribute__((__visibility__("default")))  convert_to_long_base(zval *op , int base ) ;
extern void __attribute__((__visibility__("default")))  convert_to_null(zval *op ) ;
extern void __attribute__((__visibility__("default")))  convert_to_boolean(zval *op ) ;
extern void __attribute__((__visibility__("default")))  convert_to_array(zval *op ) ;
extern void __attribute__((__visibility__("default")))  convert_to_object(zval *op ) ;
extern void __attribute__((__visibility__("default")))  multi_convert_to_long_ex(int argc  , ...) ;
extern void __attribute__((__visibility__("default")))  multi_convert_to_double_ex(int argc  , ...) ;
extern void __attribute__((__visibility__("default")))  multi_convert_to_string_ex(int argc  , ...) ;
extern int __attribute__((__visibility__("default")))  add_char_to_string(zval *result , zval const   *op1 , zval const   *op2 ) ;
extern int __attribute__((__visibility__("default")))  add_string_to_string(zval *result , zval const   *op1 , zval const   *op2 ) ;
extern double __attribute__((__visibility__("default")))  zend_string_to_double(char const   *number , zend_uint length ) ;
extern int __attribute__((__visibility__("default")))  zval_is_true(zval *op ) ;
extern int __attribute__((__visibility__("default")))  compare_function(zval *result , zval *op1 , zval *op2 ) ;
extern int __attribute__((__visibility__("default")))  numeric_compare_function(zval *result , zval *op1 , zval *op2 ) ;
extern int __attribute__((__visibility__("default")))  string_compare_function_ex(zval *result , zval *op1 , zval *op2 , zend_bool case_insensitive ) ;
extern int __attribute__((__visibility__("default")))  string_compare_function(zval *result , zval *op1 , zval *op2 ) ;
extern int __attribute__((__visibility__("default")))  string_case_compare_function(zval *result , zval *op1 , zval *op2 ) ;
extern int __attribute__((__visibility__("default")))  string_locale_compare_function(zval *result , zval *op1 , zval *op2 ) ;
extern void __attribute__((__visibility__("default")))  zend_str_tolower(char *str , unsigned int length ) ;
extern char __attribute__((__visibility__("default")))  *zend_str_tolower_copy(char *dest , char const   *source , unsigned int length ) ;
extern char __attribute__((__visibility__("default")))  *zend_str_tolower_dup(char const   *source , unsigned int length ) ;
extern int __attribute__((__visibility__("default")))  zend_binary_zval_strcmp(zval *s1 , zval *s2 ) ;
extern int __attribute__((__visibility__("default")))  zend_binary_zval_strncmp(zval *s1 , zval *s2 , zval *s3 ) ;
extern int __attribute__((__visibility__("default")))  zend_binary_zval_strcasecmp(zval *s1 , zval *s2 ) ;
extern int __attribute__((__visibility__("default")))  zend_binary_zval_strncasecmp(zval *s1 , zval *s2 , zval *s3 ) ;
extern int __attribute__((__visibility__("default")))  zend_binary_strcmp(char const   *s1 , uint len1 , char const   *s2 , uint len2 ) ;
extern int __attribute__((__visibility__("default")))  zend_binary_strncmp(char const   *s1 , uint len1 , char const   *s2 , uint len2 , uint length ) ;
extern int __attribute__((__visibility__("default")))  zend_binary_strcasecmp(char const   *s1 , uint len1 , char const   *s2 , uint len2 ) ;
extern int __attribute__((__visibility__("default")))  zend_binary_strncasecmp(char const   *s1 , uint len1 , char const   *s2 , uint len2 , uint length ) ;
extern void __attribute__((__visibility__("default")))  zendi_smart_strcmp(zval *result , zval *s1 , zval *s2 ) ;
extern void __attribute__((__visibility__("default")))  zend_compare_symbol_tables(zval *result , HashTable *ht1 , HashTable *ht2 ) ;
extern void __attribute__((__visibility__("default")))  zend_compare_arrays(zval *result , zval *a1 , zval *a2 ) ;
extern void __attribute__((__visibility__("default")))  zend_compare_objects(zval *result , zval *o1 , zval *o2 ) ;
extern int __attribute__((__visibility__("default")))  zend_atoi(char const   *str , int str_len ) ;
extern long __attribute__((__visibility__("default")))  zend_atol(char const   *str , int str_len ) ;
extern void __attribute__((__visibility__("default")))  zend_locale_sprintf_double(zval *op ) ;
__inline static int ( __attribute__((__always_inline__)) fast_increment_function)(zval *op1 ) 
{ long tmp ;
  int __attribute__((__visibility__("default")))  tmp___0 ;

  {
  tmp = __builtin_expect((long )((int )op1->type == 1), 1L);
  if (tmp) {
    __asm__  ("incl (%0)\n\t"
              "jno  0f\n\t"
              "movl $0x0, (%0)\n\t"
              "movl $0x41e00000, 0x4(%0)\n\t"
              "movb $0x2,0xc(%0)\n"
              "0:": : "r" (op1));
    return (0);
  } else {

  }
  tmp___0 = increment_function(op1);
  return ((int )tmp___0);
}
}
__inline static int ( __attribute__((__always_inline__)) fast_decrement_function)(zval *op1 ) 
{ long tmp ;
  int __attribute__((__visibility__("default")))  tmp___0 ;

  {
  tmp = __builtin_expect((long )((int )op1->type == 1), 1L);
  if (tmp) {
    __asm__  ("decl (%0)\n\t"
              "jno  0f\n\t"
              "movl $0x00200000, (%0)\n\t"
              "movl $0xc1e00000, 0x4(%0)\n\t"
              "movb $0x2,0xc(%0)\n"
              "0:": : "r" (op1));
    return (0);
  } else {

  }
  tmp___0 = decrement_function(op1);
  return ((int )tmp___0);
}
}
__inline static int ( __attribute__((__always_inline__)) fast_add_function)(zval *result , zval *op1 , zval *op2 ) 
{ long tmp ;
  long tmp___0 ;
  long tmp___1 ;
  long tmp___2 ;
  long tmp___3 ;
  long tmp___4 ;
  int __attribute__((__visibility__("default")))  tmp___5 ;

  {
  tmp___4 = __builtin_expect((long )((int )op1->type == 1), 1L);
  if (tmp___4) {
    tmp___0 = __builtin_expect((long )((int )op2->type == 1), 1L);
    if (tmp___0) {
      __asm__  ("movl\t(%1), %%eax\n\t"
                "addl   (%2), %%eax\n\t"
                "jo     0f\n\t"
                "movl   %%eax, (%0)\n\t"
                "movb   $0x1,0xc(%0)\n\t"
                "jmp    1f\n"
                "0:\n\t"
                "fildl\t(%1)\n\t"
                "fildl\t(%2)\n\t"
                "faddp\t%%st, %%st(1)\n\t"
                "movb   $0x2,0xc(%0)\n\t"
                "fstpl\t(%0)\n"
                "1:": : "r" (result), "r" (op1), "r" (op2): "eax");
      return (0);
    } else {
      tmp = __builtin_expect((long )((int )op2->type == 2), 1L);
      if (tmp) {
        result->value.dval = (double )op1->value.lval + op2->value.dval;
        result->type = (unsigned char)2;
        return (0);
      } else {

      }
    }
  } else {
    tmp___3 = __builtin_expect((long )((int )op1->type == 2), 1L);
    if (tmp___3) {
      tmp___2 = __builtin_expect((long )((int )op2->type == 2), 1L);
      if (tmp___2) {
        result->value.dval = op1->value.dval + op2->value.dval;
        result->type = (unsigned char)2;
        return (0);
      } else {
        tmp___1 = __builtin_expect((long )((int )op2->type == 1), 1L);
        if (tmp___1) {
          result->value.dval = op1->value.dval + (double )op2->value.lval;
          result->type = (unsigned char)2;
          return (0);
        } else {

        }
      }
    } else {

    }
  }
  tmp___5 = add_function(result, op1, op2);
  return ((int )tmp___5);
}
}
__inline static int ( __attribute__((__always_inline__)) fast_sub_function)(zval *result , zval *op1 , zval *op2 ) 
{ long tmp ;
  long tmp___0 ;
  long tmp___1 ;
  long tmp___2 ;
  long tmp___3 ;
  long tmp___4 ;
  int __attribute__((__visibility__("default")))  tmp___5 ;

  {
  tmp___4 = __builtin_expect((long )((int )op1->type == 1), 1L);
  if (tmp___4) {
    tmp___0 = __builtin_expect((long )((int )op2->type == 1), 1L);
    if (tmp___0) {
      __asm__  ("movl\t(%1), %%eax\n\t"
                "subl   (%2), %%eax\n\t"
                "jo     0f\n\t"
                "movl   %%eax, (%0)\n\t"
                "movb   $0x1,0xc(%0)\n\t"
                "jmp    1f\n"
                "0:\n\t"
                "fildl\t(%2)\n\t"
                "fildl\t(%1)\n\t"
                "fsubp\t%%st, %%st(1)\n\t"
                "movb   $0x2,0xc(%0)\n\t"
                "fstpl\t(%0)\n"
                "1:": : "r" (result), "r" (op1), "r" (op2): "eax");
      return (0);
    } else {
      tmp = __builtin_expect((long )((int )op2->type == 2), 1L);
      if (tmp) {
        result->value.dval = (double )op1->value.lval - op2->value.dval;
        result->type = (unsigned char)2;
        return (0);
      } else {

      }
    }
  } else {
    tmp___3 = __builtin_expect((long )((int )op1->type == 2), 1L);
    if (tmp___3) {
      tmp___2 = __builtin_expect((long )((int )op2->type == 2), 1L);
      if (tmp___2) {
        result->value.dval = op1->value.dval - op2->value.dval;
        result->type = (unsigned char)2;
        return (0);
      } else {
        tmp___1 = __builtin_expect((long )((int )op2->type == 1), 1L);
        if (tmp___1) {
          result->value.dval = op1->value.dval - (double )op2->value.lval;
          result->type = (unsigned char)2;
          return (0);
        } else {

        }
      }
    } else {

    }
  }
  tmp___5 = sub_function(result, op1, op2);
  return ((int )tmp___5);
}
}
__inline static int ( __attribute__((__always_inline__)) fast_mul_function)(zval *result , zval *op1 , zval *op2 ) 
{ long overflow ;
  long __tmpvar ;
  long tmp ;
  long tmp___0 ;
  long tmp___1 ;
  long tmp___2 ;
  long tmp___3 ;
  long tmp___4 ;
  int __attribute__((__visibility__("default")))  tmp___5 ;

  {
  tmp___4 = __builtin_expect((long )((int )op1->type == 1), 1L);
  if (tmp___4) {
    tmp___0 = __builtin_expect((long )((int )op2->type == 1), 1L);
    if (tmp___0) {
      while (1) {
        __asm__  ("imul %3,%0\n"
                  "adc $0,%1": "=r" (__tmpvar), "=r" (overflow): "0" (op1->value.lval), "r" (op2->value.lval), "1" (0));
        if (overflow) {
          result->value.dval = (double )op1->value.lval * (double )op2->value.lval;
        } else {
          result->value.lval = __tmpvar;
        }
        break;
      }
      if (overflow) {
        result->type = (unsigned char)2;
      } else {
        result->type = (unsigned char)1;
      }
      return (0);
    } else {
      tmp = __builtin_expect((long )((int )op2->type == 2), 1L);
      if (tmp) {
        result->value.dval = (double )op1->value.lval * op2->value.dval;
        result->type = (unsigned char)2;
        return (0);
      } else {

      }
    }
  } else {
    tmp___3 = __builtin_expect((long )((int )op1->type == 2), 1L);
    if (tmp___3) {
      tmp___2 = __builtin_expect((long )((int )op2->type == 2), 1L);
      if (tmp___2) {
        result->value.dval = op1->value.dval * op2->value.dval;
        result->type = (unsigned char)2;
        return (0);
      } else {
        tmp___1 = __builtin_expect((long )((int )op2->type == 1), 1L);
        if (tmp___1) {
          result->value.dval = op1->value.dval * (double )op2->value.lval;
          result->type = (unsigned char)2;
          return (0);
        } else {

        }
      }
    } else {

    }
  }
  tmp___5 = mul_function(result, op1, op2);
  return ((int )tmp___5);
}
}
__inline static int ( __attribute__((__always_inline__)) fast_div_function)(zval *result , zval *op1 , zval *op2 ) 
{ long tmp ;
  int tmp___0 ;
  long tmp___1 ;
  long tmp___2 ;
  long tmp___3 ;
  long tmp___4 ;
  long tmp___5 ;
  long tmp___6 ;
  long tmp___7 ;
  long tmp___8 ;
  long tmp___9 ;
  long tmp___10 ;
  long tmp___11 ;
  int __attribute__((__visibility__("default")))  tmp___12 ;

  {
  tmp___11 = __builtin_expect((long )((int )op1->type == 1), 1L);
  if (tmp___11) {
    goto _L;
  } else {
    _L: /* CIL Label */ 
    tmp___10 = __builtin_expect((long )((int )op1->type == 2), 1L);
    if (tmp___10) {

    } else {

    }
  }
  tmp___12 = div_function(result, op1, op2);
  return ((int )tmp___12);
}
}
__inline static int ( __attribute__((__always_inline__)) fast_mod_function)(zval *result , zval *op1 , zval *op2 ) 
{ long tmp ;
  long tmp___0 ;
  long tmp___1 ;
  long tmp___2 ;
  int __attribute__((__visibility__("default")))  tmp___3 ;

  {
  tmp___2 = __builtin_expect((long )((int )op1->type == 1), 1L);
  if (tmp___2) {
    tmp___1 = __builtin_expect((long )((int )op2->type == 1), 1L);
    if (tmp___1) {
      tmp___0 = __builtin_expect((long )(op2->value.lval == 0L), 0L);
      if (tmp___0) {
        zend_error(1 << 1L, "Division by zero");
        result->value.lval = 0L;
        result->type = (unsigned char)3;
        return (-1);
      } else {
        tmp = __builtin_expect((long )(op2->value.lval == -1L), 0L);
        if (tmp) {
          result->value.lval = 0L;
          result->type = (unsigned char)1;
          return (0);
        } else {

        }
      }
      result->value.lval = op1->value.lval % op2->value.lval;
      result->type = (unsigned char)1;
      return (0);
    } else {

    }
  } else {

  }
  tmp___3 = mod_function(result, op1, op2);
  return ((int )tmp___3);
}
}
__inline static int ( __attribute__((__always_inline__)) fast_equal_function)(zval *result , zval *op1 , zval *op2 ) 
{ long tmp ;
  long tmp___0 ;
  long tmp___1 ;
  long tmp___2 ;
  long tmp___3 ;
  long tmp___4 ;

  {
  tmp___4 = __builtin_expect((long )((int )op1->type == 1), 1L);
  if (tmp___4) {
    tmp___0 = __builtin_expect((long )((int )op2->type == 1), 1L);
    if (tmp___0) {
      return (op1->value.lval == op2->value.lval);
    } else {
      tmp = __builtin_expect((long )((int )op2->type == 2), 1L);
      if (tmp) {
        return ((double )op1->value.lval == op2->value.dval);
      } else {

      }
    }
  } else {
    tmp___3 = __builtin_expect((long )((int )op1->type == 2), 1L);
    if (tmp___3) {
      tmp___2 = __builtin_expect((long )((int )op2->type == 2), 1L);
      if (tmp___2) {
        return (op1->value.dval == op2->value.dval);
      } else {
        tmp___1 = __builtin_expect((long )((int )op2->type == 1), 1L);
        if (tmp___1) {
          return (op1->value.dval == (double )op2->value.lval);
        } else {

        }
      }
    } else {

    }
  }
  compare_function(result, op1, op2);
  return (result->value.lval == 0L);
}
}
__inline static int ( __attribute__((__always_inline__)) fast_not_equal_function)(zval *result , zval *op1 , zval *op2 ) 
{ long tmp ;
  long tmp___0 ;
  long tmp___1 ;
  long tmp___2 ;
  long tmp___3 ;
  long tmp___4 ;

  {
  tmp___4 = __builtin_expect((long )((int )op1->type == 1), 1L);
  if (tmp___4) {
    tmp___0 = __builtin_expect((long )((int )op2->type == 1), 1L);
    if (tmp___0) {
      return (op1->value.lval != op2->value.lval);
    } else {
      tmp = __builtin_expect((long )((int )op2->type == 2), 1L);
      if (tmp) {
        return ((double )op1->value.lval != op2->value.dval);
      } else {

      }
    }
  } else {
    tmp___3 = __builtin_expect((long )((int )op1->type == 2), 1L);
    if (tmp___3) {
      tmp___2 = __builtin_expect((long )((int )op2->type == 2), 1L);
      if (tmp___2) {
        return (op1->value.dval != op2->value.dval);
      } else {
        tmp___1 = __builtin_expect((long )((int )op2->type == 1), 1L);
        if (tmp___1) {
          return (op1->value.dval != (double )op2->value.lval);
        } else {

        }
      }
    } else {

    }
  }
  compare_function(result, op1, op2);
  return (result->value.lval != 0L);
}
}
__inline static int ( __attribute__((__always_inline__)) fast_is_smaller_function)(zval *result , zval *op1 , zval *op2 ) 
{ long tmp ;
  long tmp___0 ;
  long tmp___1 ;
  long tmp___2 ;
  long tmp___3 ;
  long tmp___4 ;

  {
  tmp___4 = __builtin_expect((long )((int )op1->type == 1), 1L);
  if (tmp___4) {
    tmp___0 = __builtin_expect((long )((int )op2->type == 1), 1L);
    if (tmp___0) {
      return (op1->value.lval < op2->value.lval);
    } else {
      tmp = __builtin_expect((long )((int )op2->type == 2), 1L);
      if (tmp) {
        return ((double )op1->value.lval < op2->value.dval);
      } else {

      }
    }
  } else {
    tmp___3 = __builtin_expect((long )((int )op1->type == 2), 1L);
    if (tmp___3) {
      tmp___2 = __builtin_expect((long )((int )op2->type == 2), 1L);
      if (tmp___2) {
        return (op1->value.dval < op2->value.dval);
      } else {
        tmp___1 = __builtin_expect((long )((int )op2->type == 1), 1L);
        if (tmp___1) {
          return (op1->value.dval < (double )op2->value.lval);
        } else {

        }
      }
    } else {

    }
  }
  compare_function(result, op1, op2);
  return (result->value.lval < 0L);
}
}
__inline static int ( __attribute__((__always_inline__)) fast_is_smaller_or_equal_function)(zval *result , zval *op1 , zval *op2 ) 
{ long tmp ;
  long tmp___0 ;
  long tmp___1 ;
  long tmp___2 ;
  long tmp___3 ;
  long tmp___4 ;

  {
  tmp___4 = __builtin_expect((long )((int )op1->type == 1), 1L);
  if (tmp___4) {
    tmp___0 = __builtin_expect((long )((int )op2->type == 1), 1L);
    if (tmp___0) {
      return (op1->value.lval <= op2->value.lval);
    } else {
      tmp = __builtin_expect((long )((int )op2->type == 2), 1L);
      if (tmp) {
        return ((double )op1->value.lval <= op2->value.dval);
      } else {

      }
    }
  } else {
    tmp___3 = __builtin_expect((long )((int )op1->type == 2), 1L);
    if (tmp___3) {
      tmp___2 = __builtin_expect((long )((int )op2->type == 2), 1L);
      if (tmp___2) {
        return (op1->value.dval <= op2->value.dval);
      } else {
        tmp___1 = __builtin_expect((long )((int )op2->type == 1), 1L);
        if (tmp___1) {
          return (op1->value.dval <= (double )op2->value.lval);
        } else {

        }
      }
    } else {

    }
  }
  compare_function(result, op1, op2);
  return (result->value.lval <= 0L);
}
}
extern void __attribute__((__visibility__("default")))  _zval_dtor_func(zval *zvalue ) ;
__inline static void ( __attribute__((__always_inline__)) _zval_dtor)(zval *zvalue ) 
{ 

  {
  if ((int )zvalue->type <= 3) {
    return;
  } else {

  }
  _zval_dtor_func(zvalue);
  return;
}
}
extern void __attribute__((__visibility__("default")))  _zval_copy_ctor_func(zval *zvalue ) ;
__inline static void ( __attribute__((__always_inline__)) _zval_copy_ctor)(zval *zvalue ) 
{ 

  {
  if ((int )zvalue->type <= 3) {
    return;
  } else {

  }
  _zval_copy_ctor_func(zvalue);
  return;
}
}
extern int __attribute__((__visibility__("default")))  zval_copy_static_var(zval **p , int num_args , va_list args , zend_hash_key *key ) ;
extern int __attribute__((__visibility__("default")))  zend_print_variable(zval *var ) ;
extern void __attribute__((__visibility__("default")))  _zval_ptr_dtor(zval **zval_ptr ) ;
extern void __attribute__((__visibility__("default")))  _zval_internal_dtor(zval *zvalue ) ;
extern void __attribute__((__visibility__("default")))  _zval_internal_ptr_dtor(zval **zvalue ) ;
extern void __attribute__((__visibility__("default")))  _zval_dtor_wrapper(zval *zvalue ) ;
extern void __attribute__((__visibility__("default")))  zval_add_ref(zval **p ) ;
extern void __attribute__((__visibility__("default")))  zend_save_error_handling(zend_error_handling *current ) ;
extern void __attribute__((__visibility__("default")))  zend_replace_error_handling(zend_error_handling_t error_handling , zend_class_entry *exception_class , zend_error_handling *current ) ;
extern void __attribute__((__visibility__("default")))  zend_restore_error_handling(zend_error_handling *saved ) ;
extern void __attribute__((__visibility__("default")))  zend_qsort(void *base , size_t nmemb , size_t siz , int (*compare)(void const   * , void const   * ) ) ;
extern opcode_handler_t __attribute__((__visibility__("default")))  *zend_opcode_handlers ;
extern char *zend_visibility_string(zend_uint fn_flags ) ;
extern  __attribute__((__nothrow__)) int setjmp(struct __jmp_buf_tag *__env ) ;
extern  __attribute__((__nothrow__)) int __sigsetjmp(struct __jmp_buf_tag *__env , int __savemask ) ;
extern  __attribute__((__nothrow__)) int _setjmp(struct __jmp_buf_tag *__env ) ;
extern  __attribute__((__nothrow__, __noreturn__)) void longjmp(struct __jmp_buf_tag *__env , int __val ) ;
extern  __attribute__((__nothrow__, __noreturn__)) void _longjmp(struct __jmp_buf_tag *__env , int __val ) ;
extern  __attribute__((__nothrow__, __noreturn__)) void siglongjmp(struct __jmp_buf_tag *__env , int __val ) ;
extern struct _zend_compiler_globals  __attribute__((__visibility__("default"))) compiler_globals ;
extern int zendparse(void) ;
extern zend_executor_globals __attribute__((__visibility__("default")))  executor_globals ;
extern zend_php_scanner_globals __attribute__((__visibility__("default")))  language_scanner_globals ;
extern zend_ini_scanner_globals __attribute__((__visibility__("default")))  ini_scanner_globals ;
extern int __attribute__((__visibility__("default")))  zend_stack_init(zend_stack *stack ) ;
extern int __attribute__((__visibility__("default")))  zend_stack_push(zend_stack *stack , void const   *element , int size ) ;
extern int __attribute__((__visibility__("default")))  zend_stack_top(zend_stack const   *stack , void **element ) ;
extern int __attribute__((__visibility__("default")))  zend_stack_del_top(zend_stack *stack ) ;
extern int __attribute__((__visibility__("default")))  zend_stack_int_top(zend_stack const   *stack ) ;
extern int __attribute__((__visibility__("default")))  zend_stack_is_empty(zend_stack const   *stack ) ;
extern int __attribute__((__visibility__("default")))  zend_stack_destroy(zend_stack *stack ) ;
extern void __attribute__((__visibility__("default")))  **zend_stack_base(zend_stack const   *stack ) ;
extern int __attribute__((__visibility__("default")))  zend_stack_count(zend_stack const   *stack ) ;
extern void __attribute__((__visibility__("default")))  zend_stack_apply(zend_stack *stack , int type , int (*apply_function)(void *element ) ) ;
extern void __attribute__((__visibility__("default")))  zend_stack_apply_with_argument(zend_stack *stack , int type , int (*apply_function)(void *element , void *arg ) , void *arg ) ;
extern void __attribute__((__visibility__("default")))  zend_ptr_stack_init(zend_ptr_stack *stack ) ;
extern void __attribute__((__visibility__("default")))  zend_ptr_stack_init_ex(zend_ptr_stack *stack , zend_bool persistent ) ;
extern void __attribute__((__visibility__("default")))  zend_ptr_stack_n_push(zend_ptr_stack *stack , int count  , ...) ;
extern void __attribute__((__visibility__("default")))  zend_ptr_stack_n_pop(zend_ptr_stack *stack , int count  , ...) ;
extern void __attribute__((__visibility__("default")))  zend_ptr_stack_destroy(zend_ptr_stack *stack ) ;
extern void __attribute__((__visibility__("default")))  zend_ptr_stack_apply(zend_ptr_stack *stack , void (*func)(void * ) ) ;
extern void __attribute__((__visibility__("default")))  zend_ptr_stack_clean(zend_ptr_stack *stack , void (*func)(void * ) , zend_bool free_elements ) ;
extern int __attribute__((__visibility__("default")))  zend_ptr_stack_num_elements(zend_ptr_stack *stack ) ;
__inline static void ( __attribute__((__always_inline__)) zend_ptr_stack_3_push)(zend_ptr_stack *stack , void *a , void *b , void *c ) 
{ void *tmp ;
  void __attribute__((__visibility__("default")))  *tmp___0 ;
  void *tmp___1 ;
  void **tmp___2 ;
  void **tmp___3 ;
  void **tmp___4 ;

  {
  if (stack->top + 3 > stack->max) {
    while (1) {
      stack->max += 64;
      if (stack->top + 3 > stack->max) {

      } else {
        break;
      }
    }
    if (stack->persistent) {
      tmp = __zend_realloc((void *)stack->elements, sizeof(void *) * (unsigned int )stack->max);
      tmp___1 = tmp;
    } else {
      tmp___0 = _erealloc((void *)stack->elements, sizeof(void *) * (unsigned int )stack->max, 0);
      tmp___1 = (void *)tmp___0;
    }
    stack->elements = (void **)tmp___1;
    stack->top_element = stack->elements + stack->top;
  } else {

  }
  stack->top += 3;
  tmp___2 = stack->top_element;
  (stack->top_element) ++;
  *tmp___2 = a;
  tmp___3 = stack->top_element;
  (stack->top_element) ++;
  *tmp___3 = b;
  tmp___4 = stack->top_element;
  (stack->top_element) ++;
  *tmp___4 = c;
  return;
}
}
__inline static void ( __attribute__((__always_inline__)) zend_ptr_stack_2_push)(zend_ptr_stack *stack , void *a , void *b ) 
{ void *tmp ;
  void __attribute__((__visibility__("default")))  *tmp___0 ;
  void *tmp___1 ;
  void **tmp___2 ;
  void **tmp___3 ;

  {
  if (stack->top + 2 > stack->max) {
    while (1) {
      stack->max += 64;
      if (stack->top + 2 > stack->max) {

      } else {
        break;
      }
    }
    if (stack->persistent) {
      tmp = __zend_realloc((void *)stack->elements, sizeof(void *) * (unsigned int )stack->max);
      tmp___1 = tmp;
    } else {
      tmp___0 = _erealloc((void *)stack->elements, sizeof(void *) * (unsigned int )stack->max, 0);
      tmp___1 = (void *)tmp___0;
    }
    stack->elements = (void **)tmp___1;
    stack->top_element = stack->elements + stack->top;
  } else {

  }
  stack->top += 2;
  tmp___2 = stack->top_element;
  (stack->top_element) ++;
  *tmp___2 = a;
  tmp___3 = stack->top_element;
  (stack->top_element) ++;
  *tmp___3 = b;
  return;
}
}
__inline static void ( __attribute__((__always_inline__)) zend_ptr_stack_3_pop)(zend_ptr_stack *stack , void **a , void **b , void **c ) 
{ 

  {
  (stack->top_element) --;
  *a = *(stack->top_element);
  (stack->top_element) --;
  *b = *(stack->top_element);
  (stack->top_element) --;
  *c = *(stack->top_element);
  stack->top -= 3;
  return;
}
}
__inline static void ( __attribute__((__always_inline__)) zend_ptr_stack_2_pop)(zend_ptr_stack *stack , void **a , void **b ) 
{ 

  {
  (stack->top_element) --;
  *a = *(stack->top_element);
  (stack->top_element) --;
  *b = *(stack->top_element);
  stack->top -= 2;
  return;
}
}
__inline static void ( __attribute__((__always_inline__)) zend_ptr_stack_push)(zend_ptr_stack *stack , void *ptr ) 
{ void *tmp ;
  void __attribute__((__visibility__("default")))  *tmp___0 ;
  void *tmp___1 ;
  void **tmp___2 ;

  {
  if (stack->top + 1 > stack->max) {
    while (1) {
      stack->max += 64;
      if (stack->top + 1 > stack->max) {

      } else {
        break;
      }
    }
    if (stack->persistent) {
      tmp = __zend_realloc((void *)stack->elements, sizeof(void *) * (unsigned int )stack->max);
      tmp___1 = tmp;
    } else {
      tmp___0 = _erealloc((void *)stack->elements, sizeof(void *) * (unsigned int )stack->max, 0);
      tmp___1 = (void *)tmp___0;
    }
    stack->elements = (void **)tmp___1;
    stack->top_element = stack->elements + stack->top;
  } else {

  }
  (stack->top) ++;
  tmp___2 = stack->top_element;
  (stack->top_element) ++;
  *tmp___2 = ptr;
  return;
}
}
__inline static void *( __attribute__((__always_inline__)) zend_ptr_stack_pop)(zend_ptr_stack *stack ) 
{ 

  {
  (stack->top) --;
  (stack->top_element) --;
  return (*(stack->top_element));
}
}
extern void __attribute__((__visibility__("default")))  zend_object_std_init(zend_object *object , zend_class_entry *ce ) ;
extern void __attribute__((__visibility__("default")))  zend_object_std_dtor(zend_object *object ) ;
extern zend_object_value __attribute__((__visibility__("default")))  zend_objects_new(zend_object **object , zend_class_entry *class_type ) ;
extern void __attribute__((__visibility__("default")))  zend_objects_destroy_object(zend_object *object , zend_object_handle handle ) ;
extern zend_object __attribute__((__visibility__("default")))  *zend_objects_get_address(zval const   *object ) ;
extern void __attribute__((__visibility__("default")))  zend_objects_clone_members(zend_object *new_object , zend_object_value new_obj_val , zend_object *old_object , zend_object_handle handle ) ;
extern zend_object_value __attribute__((__visibility__("default")))  zend_objects_clone_obj(zval *object ) ;
extern void __attribute__((__visibility__("default")))  zend_objects_free_object_storage(zend_object *object ) ;
extern void __attribute__((__visibility__("default")))  zend_objects_store_init(zend_objects_store *objects , zend_uint init_size ) ;
extern void __attribute__((__visibility__("default")))  zend_objects_store_call_destructors(zend_objects_store *objects ) ;
extern void __attribute__((__visibility__("default")))  zend_objects_store_mark_destructed(zend_objects_store *objects ) ;
extern void __attribute__((__visibility__("default")))  zend_objects_store_destroy(zend_objects_store *objects ) ;
extern zend_object_handle __attribute__((__visibility__("default")))  zend_objects_store_put(void *object , void (*dtor)(void *object , zend_object_handle handle ) , void (*storage)(void *object ) , void (*clone)(void *object , void **object_clone ) ) ;
extern void __attribute__((__visibility__("default")))  zend_objects_store_add_ref(zval *object ) ;
extern void __attribute__((__visibility__("default")))  zend_objects_store_del_ref(zval *object ) ;
extern void __attribute__((__visibility__("default")))  zend_objects_store_add_ref_by_handle(zend_object_handle handle ) ;
extern void __attribute__((__visibility__("default")))  zend_objects_store_del_ref_by_handle_ex(zend_object_handle handle , zend_object_handlers const   *handlers ) ;
__inline static void ( __attribute__((__always_inline__)) zend_objects_store_del_ref_by_handle)(zend_object_handle handle ) 
{ 

  {
  zend_objects_store_del_ref_by_handle_ex(handle, (zend_object_handlers const   *)((void *)0));
  return;
}
}
extern zend_uint __attribute__((__visibility__("default")))  zend_objects_store_get_refcount(zval *object ) ;
extern zend_object_value __attribute__((__visibility__("default")))  zend_objects_store_clone_obj(zval *object ) ;
extern void __attribute__((__visibility__("default")))  *zend_object_store_get_object(zval const   *object ) ;
extern void __attribute__((__visibility__("default")))  *zend_object_store_get_object_by_handle(zend_object_handle handle ) ;
extern void __attribute__((__visibility__("default")))  zend_object_store_set_object(zval *zobject , void *object ) ;
extern void __attribute__((__visibility__("default")))  zend_object_store_ctor_failed(zval *zobject ) ;
extern void __attribute__((__visibility__("default")))  zend_objects_store_free_object_storage(zend_objects_store *objects ) ;
extern zval __attribute__((__visibility__("default")))  *zend_object_create_proxy(zval *object , zval *member ) ;
extern zend_object_handlers __attribute__((__visibility__("default")))  *zend_get_std_object_handlers(void) ;
extern void __attribute__((__visibility__("default")))  zend_init_fpu(void) ;
extern void __attribute__((__visibility__("default")))  zend_shutdown_fpu(void) ;
extern void __attribute__((__visibility__("default")))  zend_ensure_fpu_mode(void) ;
extern fpu_control_t __fpu_control ;
extern zend_encoding const __attribute__((__visibility__("default")))  *zend_multibyte_encoding_utf32be ;
extern zend_encoding const __attribute__((__visibility__("default")))  *zend_multibyte_encoding_utf32le ;
extern zend_encoding const __attribute__((__visibility__("default")))  *zend_multibyte_encoding_utf16be ;
extern zend_encoding const __attribute__((__visibility__("default")))  *zend_multibyte_encoding_utf16le ;
extern zend_encoding const __attribute__((__visibility__("default")))  *zend_multibyte_encoding_utf8 ;
extern int __attribute__((__visibility__("default")))  zend_multibyte_set_functions(zend_multibyte_functions const   *functions ) ;
extern zend_multibyte_functions const __attribute__((__visibility__("default")))  *zend_multibyte_get_functions(void) ;
extern zend_encoding const __attribute__((__visibility__("default")))  *zend_multibyte_fetch_encoding(char const   *name ) ;
extern char const __attribute__((__visibility__("default")))  *zend_multibyte_get_encoding_name(zend_encoding const   *encoding ) ;
extern int __attribute__((__visibility__("default")))  zend_multibyte_check_lexer_compatibility(zend_encoding const   *encoding ) ;
extern zend_encoding const __attribute__((__visibility__("default")))  *zend_multibyte_encoding_detector(unsigned char const   *string , size_t length , zend_encoding const   **list , size_t list_size ) ;
extern size_t __attribute__((__visibility__("default")))  zend_multibyte_encoding_converter(unsigned char **to , size_t *to_length , unsigned char const   *from , size_t from_length , zend_encoding const   *encoding_to , zend_encoding const   *encoding_from ) ;
extern int __attribute__((__visibility__("default")))  zend_multibyte_parse_encoding_list(char const   *encoding_list , size_t encoding_list_len , zend_encoding const   ***return_list , size_t *return_size , int persistent ) ;
extern zend_encoding const __attribute__((__visibility__("default")))  *zend_multibyte_get_internal_encoding(void) ;
extern zend_encoding const __attribute__((__visibility__("default")))  *zend_multibyte_get_script_encoding(void) ;
extern int __attribute__((__visibility__("default")))  zend_multibyte_set_script_encoding(zend_encoding const   **encoding_list , size_t encoding_list_size ) ;
extern int __attribute__((__visibility__("default")))  zend_multibyte_set_internal_encoding(zend_encoding const   *encoding ) ;
extern int __attribute__((__visibility__("default")))  zend_multibyte_set_script_encoding_by_string(char const   *new_value , size_t new_value_length ) ;
extern void init_compiler(void) ;
extern void shutdown_compiler(void) ;
extern void zend_init_compiler_data_structures(void) ;
extern void zend_init_compiler_context(void) ;
extern zend_op_array __attribute__((__visibility__("default")))  *(*zend_compile_file)(zend_file_handle *file_handle , int type ) ;
extern zend_op_array __attribute__((__visibility__("default")))  *(*zend_compile_string)(zval *source_string , char *filename ) ;
extern int __attribute__((__visibility__("default")))  lex_scan(zval *zendlval ) ;
extern void startup_scanner(void) ;
extern void shutdown_scanner(void) ;
extern char __attribute__((__visibility__("default")))  *zend_set_compiled_filename(char const   *new_compiled_filename ) ;
extern void __attribute__((__visibility__("default")))  zend_restore_compiled_filename(char *original_compiled_filename ) ;
extern char __attribute__((__visibility__("default")))  *zend_get_compiled_filename(void) ;
extern int __attribute__((__visibility__("default")))  zend_get_compiled_lineno(void) ;
extern size_t __attribute__((__visibility__("default")))  zend_get_scanned_file_offset(void) ;
extern void zend_resolve_non_class_name(znode *element_name , zend_bool check_namespace ) ;
extern void zend_resolve_class_name(znode *class_name , ulong fetch_type , int check_ns_name ) ;
extern char const __attribute__((__visibility__("default")))  *zend_get_compiled_variable_name(zend_op_array const   *op_array , zend_uint var , int *name_len ) ;
extern void zend_do_binary_op(zend_uchar op , znode *result , znode const   *op1 , znode const   *op2 ) ;
extern void zend_do_unary_op(zend_uchar op , znode *result , znode const   *op1 ) ;
extern void zend_do_binary_assign_op(zend_uchar op , znode *result , znode const   *op1 , znode const   *op2 ) ;
extern void zend_do_assign(znode *result , znode *variable , znode *value ) ;
extern void zend_do_assign_ref(znode *result , znode const   *lvar , znode const   *rvar ) ;
extern void fetch_simple_variable(znode *result , znode *varname , int bp ) ;
extern void fetch_simple_variable_ex(znode *result , znode *varname , int bp , zend_uchar op ) ;
extern void zend_do_indirect_references(znode *result , znode const   *num_references , znode *variable ) ;
extern void zend_do_fetch_static_variable(znode *varname , znode const   *static_assignment , int fetch_type ) ;
extern void zend_do_fetch_global_variable(znode *varname , znode const   *static_assignment , int fetch_type ) ;
extern void fetch_array_begin(znode *result , znode *varname , znode *first_dim ) ;
extern void fetch_array_dim(znode *result , znode const   *parent , znode const   *dim ) ;
extern void fetch_string_offset(znode *result , znode const   *parent , znode const   *offset ) ;
extern void zend_do_fetch_static_member(znode *result , znode *class_znode ) ;
extern void zend_do_print(znode *result , znode const   *arg ) ;
extern void zend_do_echo(znode const   *arg ) ;
extern unary_op_type __attribute__((__visibility__("default")))  get_unary_op(int opcode ) ;
extern binary_op_type __attribute__((__visibility__("default")))  get_binary_op(int opcode ) ;
extern void zend_do_while_cond(znode const   *expr , znode *close_bracket_token ) ;
extern void zend_do_while_end(znode const   *while_token , znode const   *close_bracket_token ) ;
extern void zend_do_do_while_begin(void) ;
extern void zend_do_do_while_end(znode const   *do_token , znode const   *expr_open_bracket , znode const   *expr ) ;
extern void zend_do_if_cond(znode const   *cond , znode *closing_bracket_token ) ;
extern void zend_do_if_after_statement(znode const   *closing_bracket_token , unsigned char initialize ) ;
extern void zend_do_if_end(void) ;
extern void zend_do_for_cond(znode const   *expr , znode *second_semicolon_token ) ;
extern void zend_do_for_before_statement(znode const   *cond_start , znode const   *second_semicolon_token ) ;
extern void zend_do_for_end(znode const   *second_semicolon_token ) ;
extern void zend_do_pre_incdec(znode *result , znode const   *op1 , zend_uchar op ) ;
extern void zend_do_post_incdec(znode *result , znode const   *op1 , zend_uchar op ) ;
extern void zend_do_begin_variable_parse(void) ;
extern void zend_do_end_variable_parse(znode *variable , int type , int arg_offset ) ;
extern void zend_check_writable_variable(znode const   *variable ) ;
extern void zend_do_free(znode *op1 ) ;
extern void zend_do_add_string(znode *result , znode const   *op1 , znode *op2 ) ;
extern void zend_do_add_variable(znode *result , znode const   *op1 , znode const   *op2 ) ;
extern int zend_do_verify_access_types(znode const   *current_access_type , znode const   *new_modifier ) ;
extern void zend_do_begin_function_declaration(znode *function_token , znode *function_name , int is_method , int return_reference , znode *fn_flags_znode ) ;
extern void zend_do_end_function_declaration(znode const   *function_token ) ;
extern void zend_do_receive_arg(zend_uchar op , znode *varname , znode const   *offset , znode const   *initialization , znode *class_type , zend_bool pass_by_reference ) ;
extern int zend_do_begin_function_call(znode *function_name , zend_bool check_namespace ) ;
extern void zend_do_begin_method_call(znode *left_bracket ) ;
extern void zend_do_clone(znode *result , znode const   *expr ) ;
extern void zend_do_begin_dynamic_function_call(znode *function_name , int prefix_len ) ;
extern void zend_do_fetch_class(znode *result , znode *class_name ) ;
extern void zend_do_build_full_name(znode *result , znode *prefix , znode *name , int is_class_member ) ;
extern int zend_do_begin_class_member_function_call(znode *class_name , znode *method_name ) ;
extern void zend_do_end_function_call(znode *function_name , znode *result , znode const   *argument_list , int is_method , int is_dynamic_fcall ) ;
extern void zend_do_return(znode *expr , int do_end_vparse ) ;
extern void zend_do_handle_exception(void) ;
extern void zend_do_begin_lambda_function_declaration(znode *result , znode *function_token , int return_reference , int is_static ) ;
extern void zend_do_fetch_lexical_variable(znode *varname , zend_bool is_ref ) ;
extern void zend_do_try(znode *try_token ) ;
extern void zend_do_begin_catch(znode *try_token , znode *catch_class , znode *catch_var , znode *first_catch ) ;
extern void zend_do_end_catch(znode const   *try_token ) ;
extern void zend_do_throw(znode const   *expr ) ;
extern int __attribute__((__visibility__("default")))  do_bind_function(zend_op_array const   *op_array , zend_op *opline , HashTable *function_table , zend_bool compile_time ) ;
extern zend_class_entry __attribute__((__visibility__("default")))  *do_bind_class(zend_op_array const   *op_array , zend_op const   *opline , HashTable *class_table , zend_bool compile_time ) ;
extern zend_class_entry __attribute__((__visibility__("default")))  *do_bind_inherited_class(zend_op_array const   *op_array , zend_op const   *opline , HashTable *class_table , zend_class_entry *parent_ce , zend_bool compile_time ) ;
extern void __attribute__((__visibility__("default")))  zend_do_inherit_interfaces(zend_class_entry *ce , zend_class_entry const   *iface ) ;
extern void __attribute__((__visibility__("default")))  zend_do_implement_interface(zend_class_entry *ce , zend_class_entry *iface ) ;
extern void zend_do_implements_interface(znode *interface_znode ) ;
extern void zend_add_trait_precedence(znode *precedence_znode ) ;
extern void zend_add_trait_alias(znode *alias_znode ) ;
extern void zend_do_implements_trait(znode *interface_znode ) ;
extern void __attribute__((__visibility__("default")))  zend_do_implement_trait(zend_class_entry *ce , zend_class_entry *trait ) ;
extern void __attribute__((__visibility__("default")))  zend_do_bind_traits(zend_class_entry *ce ) ;
extern void zend_prepare_trait_precedence(znode *result , znode *method_reference , znode *trait_list ) ;
extern void zend_prepare_reference(znode *result , znode *class_name , znode *method_name ) ;
extern void zend_prepare_trait_alias(znode *result , znode *method_reference , znode *modifiers , znode *alias ) ;
extern void init_trait_alias_list(znode *result , znode const   *trait_alias ) ;
extern void add_trait_alias(znode *result , znode const   *trait_alias ) ;
extern void init_trait_alias(znode *result , znode const   *method_name , znode const   *alias , znode const   *modifiers ) ;
extern void __attribute__((__visibility__("default")))  zend_do_inheritance(zend_class_entry *ce , zend_class_entry *parent_ce ) ;
extern void zend_do_early_binding(void) ;
extern void __attribute__((__visibility__("default")))  zend_do_delayed_early_binding(zend_op_array const   *op_array ) ;
extern void zend_do_pass_param(znode *param , zend_uchar op , int offset ) ;
extern void zend_do_boolean_or_begin(znode *expr1 , znode *op_token ) ;
extern void zend_do_boolean_or_end(znode *result , znode const   *expr1 , znode const   *expr2 , znode *op_token ) ;
extern void zend_do_boolean_and_begin(znode *expr1 , znode *op_token ) ;
extern void zend_do_boolean_and_end(znode *result , znode const   *expr1 , znode const   *expr2 , znode const   *op_token ) ;
extern void zend_do_brk_cont(zend_uchar op , znode const   *expr ) ;
extern void zend_do_switch_cond(znode const   *cond ) ;
extern void zend_do_switch_end(znode const   *case_list ) ;
extern void zend_do_case_before_statement(znode const   *case_list , znode *case_token , znode const   *case_expr ) ;
extern void zend_do_case_after_statement(znode *result , znode const   *case_token ) ;
extern void zend_do_default_before_statement(znode const   *case_list , znode *default_token ) ;
extern void zend_do_begin_class_declaration(znode const   *class_token , znode *class_name , znode const   *parent_class_name ) ;
extern void zend_do_end_class_declaration(znode const   *class_token , znode const   *parent_token ) ;
extern void zend_do_declare_property(znode const   *var_name , znode const   *value , zend_uint access_type ) ;
extern void zend_do_declare_class_constant(znode *var_name , znode const   *value ) ;
extern void zend_do_fetch_property(znode *result , znode *object , znode const   *property ) ;
extern void zend_do_halt_compiler_register(void) ;
extern void zend_do_push_object(znode const   *object ) ;
extern void zend_do_pop_object(znode *object ) ;
extern void zend_do_begin_new_object(znode *new_token , znode *class_type ) ;
extern void zend_do_end_new_object(znode *result , znode const   *new_token , znode const   *argument_list ) ;
extern void zend_do_fetch_constant(znode *result , znode *constant_container , znode *constant_name , int mode , zend_bool check_namespace ) ;
extern void zend_do_shell_exec(znode *result , znode const   *cmd ) ;
extern void zend_do_init_array(znode *result , znode const   *expr , znode const   *offset , zend_bool is_ref ) ;
extern void zend_do_add_array_element(znode *result , znode const   *expr , znode const   *offset , zend_bool is_ref ) ;
extern void zend_do_add_static_array_element(znode *result , znode *offset , znode const   *expr ) ;
extern void zend_do_list_init(void) ;
extern void zend_do_list_end(znode *result , znode *expr ) ;
extern void zend_do_add_list_element(znode const   *element ) ;
extern void zend_do_new_list_begin(void) ;
extern void zend_do_new_list_end(void) ;
extern void zend_init_list(void *result , void *item ) ;
extern void zend_add_to_list(void *result , void *item ) ;
extern void zend_do_cast(znode *result , znode const   *expr , int type ) ;
extern void zend_do_include_or_eval(int type , znode *result , znode const   *op1 ) ;
extern void zend_do_unset(znode const   *variable ) ;
extern void zend_do_isset_or_isempty(int type , znode *result , znode *variable ) ;
extern void zend_do_instanceof(znode *result , znode const   *expr , znode const   *class_znode , int type ) ;
extern void zend_do_foreach_begin(znode *foreach_token , znode *open_brackets_token , znode *array , znode *as_token , int variable ) ;
extern void zend_do_foreach_cont(znode *foreach_token , znode const   *open_brackets_token , znode const   *as_token , znode *value , znode *key ) ;
extern void zend_do_foreach_end(znode const   *foreach_token , znode const   *as_token ) ;
extern void zend_do_declare_begin(void) ;
extern void zend_do_declare_stmt(znode *var , znode *val ) ;
extern void zend_do_declare_end(znode const   *declare_token ) ;
extern void zend_do_exit(znode *result , znode const   *message ) ;
extern void zend_do_begin_silence(znode *strudel_token ) ;
extern void zend_do_end_silence(znode const   *strudel_token ) ;
extern void zend_do_jmp_set(znode const   *value , znode *jmp_token , znode *colon_token ) ;
extern void zend_do_jmp_set_else(znode *result , znode const   *false_value , znode const   *jmp_token , znode const   *colon_token ) ;
extern void zend_do_begin_qm_op(znode const   *cond , znode *qm_token ) ;
extern void zend_do_qm_true(znode const   *true_value , znode *qm_token , znode *colon_token ) ;
extern void zend_do_qm_false(znode *result , znode const   *false_value , znode const   *qm_token , znode const   *colon_token ) ;
extern void zend_do_extended_info(void) ;
extern void zend_do_extended_fcall_begin(void) ;
extern void zend_do_extended_fcall_end(void) ;
extern void zend_do_ticks(void) ;
extern void zend_do_abstract_method(znode const   *function_name , znode *modifiers , znode const   *body ) ;
extern void zend_do_declare_constant(znode *name , znode *value ) ;
extern void zend_do_build_namespace_name(znode *result , znode *prefix , znode *name ) ;
extern void zend_do_begin_namespace(znode const   *name , zend_bool with_brackets ) ;
extern void zend_do_end_namespace(void) ;
extern void zend_verify_namespace(void) ;
extern void zend_do_use(znode *name , znode *new_name , int is_global ) ;
extern void zend_do_end_compilation(void) ;
extern void zend_do_label(znode *label ) ;
extern void zend_do_goto(znode const   *label ) ;
extern void zend_resolve_goto_label(zend_op_array *op_array , zend_op *opline , int pass2 ) ;
extern void zend_release_labels(void) ;
extern void __attribute__((__visibility__("default")))  function_add_ref(zend_function *function ) ;
extern zend_op_array __attribute__((__visibility__("default")))  *compile_file(zend_file_handle *file_handle , int type ) ;
extern zend_op_array __attribute__((__visibility__("default")))  *compile_string(zval *source_string , char *filename ) ;
extern zend_op_array __attribute__((__visibility__("default")))  *compile_filename(int type , zval *filename ) ;
extern int __attribute__((__visibility__("default")))  zend_execute_scripts(int type , zval **retval , int file_count  , ...) ;
extern int __attribute__((__visibility__("default")))  open_file_for_scanning(zend_file_handle *file_handle ) ;
extern void __attribute__((__visibility__("default")))  init_op_array(zend_op_array *op_array , zend_uchar type , int initial_ops_size ) ;
extern void __attribute__((__visibility__("default")))  destroy_op_array(zend_op_array *op_array ) ;
extern void __attribute__((__visibility__("default")))  zend_destroy_file_handle(zend_file_handle *file_handle ) ;
extern int __attribute__((__visibility__("default")))  zend_cleanup_class_data(zend_class_entry **pce ) ;
extern int __attribute__((__visibility__("default")))  zend_cleanup_user_class_data(zend_class_entry **pce ) ;
extern void __attribute__((__visibility__("default")))  zend_cleanup_internal_class_data(zend_class_entry *ce ) ;
extern void __attribute__((__visibility__("default")))  zend_cleanup_internal_classes(void) ;
extern int __attribute__((__visibility__("default")))  zend_cleanup_function_data(zend_function *function ) ;
extern int __attribute__((__visibility__("default")))  zend_cleanup_function_data_full(zend_function *function ) ;
extern void __attribute__((__visibility__("default")))  destroy_zend_function(zend_function *function ) ;
extern void __attribute__((__visibility__("default")))  zend_function_dtor(zend_function *function ) ;
extern void __attribute__((__visibility__("default")))  destroy_zend_class(zend_class_entry **pce ) ;
extern void zend_class_add_ref(zend_class_entry **ce ) ;
extern void __attribute__((__visibility__("default")))  zend_mangle_property_name(char **dest , int *dest_length , char const   *src1 , int src1_length , char const   *src2 , int src2_length , int internal ) ;
extern int __attribute__((__visibility__("default")))  zend_unmangle_property_name(char const   *mangled_property , int mangled_property_len , char const   **class_name , char const   **prop_name ) ;
extern zend_op *get_next_op(zend_op_array *op_array ) ;
extern void init_op(zend_op *op ) ;
extern int get_next_op_number(zend_op_array *op_array ) ;
extern int print_class(zend_class_entry *class_entry ) ;
extern void print_op_array(zend_op_array *op_array , int optimizations ) ;
extern int __attribute__((__visibility__("default")))  pass_two(zend_op_array *op_array ) ;
extern zend_brk_cont_element *get_next_brk_cont_element(zend_op_array *op_array ) ;
extern void zend_do_first_catch(znode *open_parentheses ) ;
extern void zend_initialize_try_catch_element(znode const   *try_token ) ;
extern void zend_do_mark_last_catch(znode const   *first_catch , znode const   *last_additional_catch ) ;
extern zend_bool __attribute__((__visibility__("default")))  zend_is_compiling(void) ;
extern char __attribute__((__visibility__("default")))  *zend_make_compiled_string_description(char const   *name ) ;
extern void __attribute__((__visibility__("default")))  zend_initialize_class_data(zend_class_entry *ce , zend_bool nullify_handlers ) ;
extern int zend_get_class_fetch_type(char const   *class_name , uint class_name_len ) ;
extern int __attribute__((__visibility__("default")))  zend_register_auto_global(char const   *name , uint name_len , zend_bool jit , zend_bool (*auto_global_callback)(char const   *name , uint name_len ) ) ;
extern void __attribute__((__visibility__("default")))  zend_activate_auto_globals(void) ;
extern zend_bool __attribute__((__visibility__("default")))  zend_is_auto_global(char const   *name , uint name_len ) ;
extern zend_bool __attribute__((__visibility__("default")))  zend_is_auto_global_quick(char const   *name , uint name_len , ulong hashval ) ;
extern size_t __attribute__((__visibility__("default")))  zend_dirname(char *path , size_t len ) ;
extern int zendlex(znode *zendlval ) ;
extern int zend_add_literal(zend_op_array *op_array , zval const   *zv ) ;
extern HashTable __attribute__((__visibility__("default")))  module_registry ;
extern void module_destructor(zend_module_entry *module ) ;
extern int module_registry_cleanup(zend_module_entry *module ) ;
extern int module_registry_request_startup(zend_module_entry *module ) ;
extern int module_registry_unload_temp(zend_module_entry const   *module ) ;
extern int __attribute__((__visibility__("default")))  zend_register_list_destructors(void (*ld)(void * ) , void (*pld)(void * ) , int module_number ) ;
extern int __attribute__((__visibility__("default")))  zend_register_list_destructors_ex(void (*ld)(zend_rsrc_list_entry *rsrc ) , void (*pld)(zend_rsrc_list_entry *rsrc ) , char const   *type_name , int module_number ) ;
extern void list_entry_destructor(void *ptr ) ;
extern void plist_entry_destructor(void *ptr ) ;
extern void zend_clean_module_rsrc_dtors(int module_number ) ;
extern int zend_init_rsrc_list(void) ;
extern int zend_init_rsrc_plist(void) ;
extern void zend_destroy_rsrc_list(HashTable *ht ) ;
extern int zend_init_rsrc_list_dtors(void) ;
extern void zend_destroy_rsrc_list_dtors(void) ;
extern int __attribute__((__visibility__("default")))  zend_list_insert(void *ptr , int type ) ;
extern int __attribute__((__visibility__("default")))  _zend_list_addref(int id ) ;
extern int __attribute__((__visibility__("default")))  _zend_list_delete(int id ) ;
extern void __attribute__((__visibility__("default")))  *_zend_list_find(int id , int *type ) ;
extern int __attribute__((__visibility__("default")))  zend_register_resource(zval *rsrc_result , void *rsrc_pointer , int rsrc_type ) ;
extern void __attribute__((__visibility__("default")))  *zend_fetch_resource(zval **passed_id , int default_id , char const   *resource_type_name , int *found_resource_type , int num_resource_types  , ...) ;
extern char const __attribute__((__visibility__("default")))  *zend_rsrc_list_get_rsrc_type(int resource ) ;
extern int __attribute__((__visibility__("default")))  zend_fetch_list_dtor_id(char *type_name ) ;
extern int __attribute__((__visibility__("default")))  le_index_ptr ;
extern void __attribute__((__visibility__("default")))  (*zend_execute)(zend_op_array *op_array ) ;
extern void __attribute__((__visibility__("default")))  (*zend_execute_internal)(zend_execute_data *execute_data_ptr , int return_value_used ) ;
extern void init_executor(void) ;
extern void shutdown_executor(void) ;
extern void shutdown_destructors(void) ;
extern void __attribute__((__visibility__("default")))  execute(zend_op_array *op_array ) ;
extern void __attribute__((__visibility__("default")))  execute_internal(zend_execute_data *execute_data_ptr , int return_value_used ) ;
extern int __attribute__((__visibility__("default")))  zend_is_true(zval *op ) ;
__inline static void ( __attribute__((__always_inline__)) safe_free_zval_ptr_rel)(zval *p ) 
{ 

  {
  if ((unsigned int )p != (unsigned int )executor_globals.uninitialized_zval_ptr) {
    while (1) {
      if ((gc_root_buffer *)((unsigned long )((zval_gc_info *)p)->u.buffered & 4294967292UL)) {
        gc_remove_zval_from_buffer(p);
      } else {

      }
      _efree((void *)p);
      break;
    }
  } else {

  }
  return;
}
}
extern int __attribute__((__visibility__("default")))  zend_lookup_class(char const   *name , int name_length , zend_class_entry ***ce ) ;
extern int __attribute__((__visibility__("default")))  zend_lookup_class_ex(char const   *name , int name_length , zend_literal const   *key , int use_autoload , zend_class_entry ***ce ) ;
extern int __attribute__((__visibility__("default")))  zend_eval_string(char *str , zval *retval_ptr , char *string_name ) ;
extern int __attribute__((__visibility__("default")))  zend_eval_stringl(char *str , int str_len , zval *retval_ptr , char *string_name ) ;
extern int __attribute__((__visibility__("default")))  zend_eval_string_ex(char *str , zval *retval_ptr , char *string_name , int handle_exceptions ) ;
extern int __attribute__((__visibility__("default")))  zend_eval_stringl_ex(char *str , int str_len , zval *retval_ptr , char *string_name , int handle_exceptions ) ;
extern char __attribute__((__visibility__("default")))  *zend_verify_arg_class_kind(zend_arg_info const   *cur_arg_info , ulong fetch_type , char const   **class_name , zend_class_entry **pce ) ;
extern int __attribute__((__visibility__("default")))  zend_verify_arg_error(int error_type , zend_function const   *zf , zend_uint arg_num , char const   *need_msg , char const   *need_kind , char const   *given_msg , char const   *given_kind ) ;
__inline static void ( __attribute__((__always_inline__)) i_zval_ptr_dtor)(zval *zval_ptr ) 
{ zend_uint tmp ;
  zend_uint tmp___0 ;

  {
  tmp___0 = zval_delref_p(zval_ptr);
  if (tmp___0) {
    tmp = zval_refcount_p(zval_ptr);
    if (tmp == 1U) {
      zval_unset_isref_p(zval_ptr);
    } else {

    }
    gc_zval_check_possible_root(zval_ptr);
  } else {
    if ((unsigned int )zval_ptr != (unsigned int )(& executor_globals.uninitialized_zval)) {
      if ((gc_root_buffer *)((unsigned long )((zval_gc_info *)zval_ptr)->u.buffered & 4294967292UL)) {
        gc_remove_zval_from_buffer(zval_ptr);
      } else {

      }
      _zval_dtor(zval_ptr);
      _efree((void *)zval_ptr);
    } else {

    }
  }
  return;
}
}
__inline static int ( __attribute__((__always_inline__)) i_zend_is_true)(zval *op ) 
{ int result ;
  int __attribute__((__visibility__("default")))  tmp ;
  int __attribute__((__visibility__("default")))  tmp___0 ;
  zval tmp___1 ;
  int tmp___2 ;
  zval *tmp___3 ;
  zval *tmp___4 ;

  {
  switch ((int )op->type) {
  case 0: 
  result = 0;
  break;
  case 1: 
  case 3: 
  case 7: 
  if (op->value.lval) {
    result = 1;
  } else {
    result = 0;
  }
  break;
  case 2: 
  if (op->value.dval) {
    result = 1;
  } else {
    result = 0;
  }
  break;
  case 6: 
  if (op->value.str.len == 0) {
    result = 0;
  } else {
    if (op->value.str.len == 1) {
      if ((int )*(op->value.str.val + 0) == 48) {
        result = 0;
      } else {
        result = 1;
      }
    } else {
      result = 1;
    }
  }
  break;
  case 4: 
  tmp___0 = zend_hash_num_elements((HashTable const   *)op->value.ht);
  if (tmp___0) {
    result = 1;
  } else {
    result = 0;
  }
  break;
  case 5: 
  if ((int )op->type == 5) {
    if ((unsigned int )(op->value.obj.handlers)->get_class_entry != (unsigned int )((void *)0)) {
      if ((op->value.obj.handlers)->cast_object) {
        tmp___2 = (*((op->value.obj.handlers)->cast_object))(op, & tmp___1, 3);
        if (tmp___2 == 0) {
          result = (int )tmp___1.value.lval;
          break;
        } else {

        }
      } else {
        if ((op->value.obj.handlers)->get) {
          tmp___4 = (*((op->value.obj.handlers)->get))(op);
          tmp___3 = tmp___4;
          if ((int )tmp___3->type != 5) {
            convert_to_boolean(tmp___3);
            result = (int )tmp___3->value.lval;
            _zval_ptr_dtor(& tmp___3);
            break;
          } else {

          }
        } else {

        }
      }
    } else {

    }
  } else {

  }
  result = 1;
  break;
  default: 
  result = 0;
  break;
  }
  return (result);
}
}
extern int __attribute__((__visibility__("default")))  zval_update_constant(zval **pp , void *arg ) ;
extern int __attribute__((__visibility__("default")))  zval_update_constant_inline_change(zval **pp , void *arg ) ;
extern int __attribute__((__visibility__("default")))  zval_update_constant_no_inline_change(zval **pp , void *arg ) ;
extern int __attribute__((__visibility__("default")))  zval_update_constant_ex(zval **pp , void *arg , zend_class_entry *scope ) ;
__inline static zend_vm_stack ( __attribute__((__always_inline__)) zend_vm_stack_new_page)(int count ) 
{ zend_vm_stack page ;
  void __attribute__((__visibility__("default")))  *tmp ;

  {
  tmp = _emalloc((((sizeof(*page) + 4U) - 1U) & 4294967292U) + sizeof(void *) * (unsigned int )count);
  page = (struct _zend_vm_stack *)tmp;
  page->top = (void **)((char *)page + (((sizeof(struct _zend_vm_stack ) + 4U) - 1U) & 4294967292U));
  page->end = page->top + count;
  page->prev = (struct _zend_vm_stack *)((void *)0);
  return (page);
}
}
__inline static void ( __attribute__((__always_inline__)) zend_vm_stack_init)(void) 
{ 

  {
  executor_globals.argument_stack = zend_vm_stack_new_page(16368);
  return;
}
}
__inline static void ( __attribute__((__always_inline__)) zend_vm_stack_destroy)(void) 
{ zend_vm_stack stack ;
  zend_vm_stack p ;

  {
  stack = executor_globals.argument_stack;
  while ((unsigned int )stack != (unsigned int )((void *)0)) {
    p = stack->prev;
    _efree((void *)stack);
    stack = p;
  }
  return;
}
}
__inline static void ( __attribute__((__always_inline__)) zend_vm_stack_extend)(int count ) 
{ zend_vm_stack p ;
  int tmp ;
  zend_vm_stack tmp___0 ;

  {
  if (count >= 16368) {
    tmp = count;
  } else {
    tmp = 16368;
  }
  tmp___0 = zend_vm_stack_new_page(tmp);
  p = tmp___0;
  p->prev = executor_globals.argument_stack;
  executor_globals.argument_stack = p;
  return;
}
}
__inline static void **( __attribute__((__always_inline__)) zend_vm_stack_top)(void) 
{ 

  {
  return ((executor_globals.argument_stack)->top);
}
}
__inline static void ( __attribute__((__always_inline__)) zend_vm_stack_push)(void *ptr ) 
{ long tmp ;
  void **tmp___0 ;

  {
  while (1) {
    tmp = __builtin_expect((long )(1 > (executor_globals.argument_stack)->end - (executor_globals.argument_stack)->top), 0L);
    if (tmp) {
      zend_vm_stack_extend(1);
    } else {

    }
    break;
  }
  tmp___0 = (executor_globals.argument_stack)->top;
  ((executor_globals.argument_stack)->top) ++;
  *tmp___0 = ptr;
  return;
}
}
__inline static void ( __attribute__((__always_inline__)) zend_vm_stack_push_nocheck)(void *ptr ) 
{ void **tmp ;

  {
  tmp = (executor_globals.argument_stack)->top;
  ((executor_globals.argument_stack)->top) ++;
  *tmp = ptr;
  return;
}
}
__inline static void *( __attribute__((__always_inline__)) zend_vm_stack_pop)(void) 
{ void *el ;
  zend_vm_stack p ;
  long tmp ;

  {
  ((executor_globals.argument_stack)->top) --;
  el = *((executor_globals.argument_stack)->top);
  tmp = __builtin_expect((long )((unsigned int )(executor_globals.argument_stack)->top == (unsigned int )((void **)((char *)executor_globals.argument_stack + (((sizeof(struct _zend_vm_stack ) + 4U) - 1U) & 4294967292U)))), 0L);
  if (tmp) {
    p = executor_globals.argument_stack;
    executor_globals.argument_stack = p->prev;
    _efree((void *)p);
  } else {

  }
  return (el);
}
}
__inline static void *( __attribute__((__always_inline__)) zend_vm_stack_alloc)(size_t size ) 
{ void *ret ;
  int extra ;
  void **old_top ;
  long tmp ;
  long tmp___0 ;

  {
  size = (size + (sizeof(void *) - 1U)) / sizeof(void *);
  if (4U > sizeof(void *)) {
    extra = (int )((4UL - ((unsigned long )(executor_globals.argument_stack)->top & 3UL)) / (unsigned long )sizeof(void *));
    tmp = __builtin_expect((long )((unsigned long )((size + (size_t )extra) + (((sizeof(void *) + 4U) - 1U) & 4294967292U) / sizeof(void *)) > (unsigned long )((executor_globals.argument_stack)->end - (executor_globals.argument_stack)->top)), 0L);
    if (tmp) {
      zend_vm_stack_extend((int )size);
    } else {
      old_top = (executor_globals.argument_stack)->top;
      (executor_globals.argument_stack)->top += extra;
      *((executor_globals.argument_stack)->top) = (void *)old_top;
      (executor_globals.argument_stack)->top += (((sizeof(void *) + 4U) - 1U) & 4294967292U) / sizeof(void *);
    }
  } else {
    while (1) {
      tmp___0 = __builtin_expect((long )((int )size > (executor_globals.argument_stack)->end - (executor_globals.argument_stack)->top), 0L);
      if (tmp___0) {
        zend_vm_stack_extend((int )size);
      } else {

      }
      break;
    }
  }
  ret = (void *)(executor_globals.argument_stack)->top;
  (executor_globals.argument_stack)->top += size;
  return (ret);
}
}
__inline static void ( __attribute__((__always_inline__)) zend_vm_stack_free_int)(void *ptr ) 
{ zend_vm_stack p ;
  long tmp ;

  {
  tmp = __builtin_expect((long )((unsigned int )((void **)((char *)executor_globals.argument_stack + (((sizeof(struct _zend_vm_stack ) + 4U) - 1U) & 4294967292U))) == (unsigned int )((void **)ptr)), 0L);
  if (tmp) {
    p = executor_globals.argument_stack;
    executor_globals.argument_stack = p->prev;
    _efree((void *)p);
  } else {
    (executor_globals.argument_stack)->top = (void **)ptr;
  }
  return;
}
}
__inline static void ( __attribute__((__always_inline__)) zend_vm_stack_free)(void *ptr ) 
{ zend_vm_stack p ;
  long tmp ;

  {
  tmp = __builtin_expect((long )((unsigned int )((void **)((char *)executor_globals.argument_stack + (((sizeof(struct _zend_vm_stack ) + 4U) - 1U) & 4294967292U))) == (unsigned int )((void **)ptr)), 0L);
  if (tmp) {
    p = executor_globals.argument_stack;
    executor_globals.argument_stack = p->prev;
    _efree((void *)p);
  } else {
    if (4U > sizeof(void *)) {
      ptr = (void *)((char *)ptr - (((sizeof(void *) + 4U) - 1U) & 4294967292U));
      (executor_globals.argument_stack)->top = *((void ***)ptr);
    } else {
      (executor_globals.argument_stack)->top = (void **)ptr;
    }
  }
  return;
}
}
__inline static void **( __attribute__((__always_inline__)) zend_vm_stack_push_args)(int count ) 
{ zend_vm_stack p ;
  void *data ;
  zend_vm_stack r ;
  long tmp ;
  int tmp___0 ;
  void **tmp___1 ;
  long tmp___2 ;
  long tmp___3 ;
  void **tmp___4 ;

  {
  tmp___2 = __builtin_expect((long )((executor_globals.argument_stack)->top - (void **)((char *)executor_globals.argument_stack + (((sizeof(struct _zend_vm_stack ) + 4U) - 1U) & 4294967292U)) < count), 0L);
  if (tmp___2) {
    goto _L;
  } else {
    tmp___3 = __builtin_expect((long )((unsigned int )(executor_globals.argument_stack)->top == (unsigned int )(executor_globals.argument_stack)->end), 0L);
    if (tmp___3) {
      _L: /* CIL Label */ 
      p = executor_globals.argument_stack;
      zend_vm_stack_extend(count + 1);
      (executor_globals.argument_stack)->top += count;
      *((executor_globals.argument_stack)->top) = (void *)((unsigned long )count);
      while (1) {
        tmp___0 = count;
        count --;
        if (tmp___0 > 0) {

        } else {
          break;
        }
        (p->top) --;
        data = *(p->top);
        tmp = __builtin_expect((long )((unsigned int )p->top == (unsigned int )((void **)((char *)p + (((sizeof(struct _zend_vm_stack ) + 4U) - 1U) & 4294967292U)))), 0L);
        if (tmp) {
          r = p;
          (executor_globals.argument_stack)->prev = p->prev;
          p = p->prev;
          _efree((void *)r);
        } else {

        }
        *((void **)((char *)executor_globals.argument_stack + (((sizeof(struct _zend_vm_stack ) + 4U) - 1U) & 4294967292U)) + count) = data;
      }
      tmp___1 = (executor_globals.argument_stack)->top;
      ((executor_globals.argument_stack)->top) ++;
      return (tmp___1);
    } else {

    }
  }
  *((executor_globals.argument_stack)->top) = (void *)((unsigned long )count);
  tmp___4 = (executor_globals.argument_stack)->top;
  ((executor_globals.argument_stack)->top) ++;
  return (tmp___4);
}
}
__inline static void ( __attribute__((__always_inline__)) zend_vm_stack_clear_multiple)(void) 
{ void **p ;
  int delete_count ;
  zval *q ;

  {
  p = (executor_globals.argument_stack)->top - 1;
  delete_count = (int )((unsigned long )*p);
  while (1) {
    delete_count --;
    if (delete_count >= 0) {

    } else {
      break;
    }
    p --;
    q = *((zval **)p);
    *p = (void *)0;
    i_zval_ptr_dtor(q);
  }
  zend_vm_stack_free_int((void *)p);
  return;
}
}
__inline static zval **( __attribute__((__always_inline__)) zend_vm_stack_get_arg)(int requested_arg ) 
{ void **p ;
  int arg_count ;
  long tmp ;

  {
  p = ((executor_globals.current_execute_data)->prev_execute_data)->function_state.arguments;
  arg_count = (int )((unsigned long )*p);
  tmp = __builtin_expect((long )(requested_arg > arg_count), 0L);
  if (tmp) {
    return ((zval **)((void *)0));
  } else {

  }
  return ((((zval **)p - arg_count) + requested_arg) - 1);
}
}
__inline static void ( __attribute__((__always_inline__)) zend_arg_types_stack_2_pop)(zend_ptr_stack *stack , zval **object , zend_function **fbc ) 
{ void *a ;
  void *b ;

  {
  zend_ptr_stack_2_pop(stack, & a, & b);
  *object = (zval *)a;
  *fbc = (zend_function *)b;
  return;
}
}
__inline static void ( __attribute__((__always_inline__)) zend_arg_types_stack_3_pop)(zend_ptr_stack *stack , zend_class_entry **called_scope , zval **object , zend_function **fbc ) 
{ void *a ;
  void *b ;
  void *c ;

  {
  zend_ptr_stack_3_pop(stack, & a, & b, & c);
  *called_scope = (zend_class_entry *)a;
  *object = (zval *)b;
  *fbc = (zend_function *)c;
  return;
}
}
extern void execute_new_code(void) ;
extern char const __attribute__((__visibility__("default")))  *get_active_class_name(char const   **space ) ;
extern char const __attribute__((__visibility__("default")))  *get_active_function_name(void) ;
extern char const __attribute__((__visibility__("default")))  *zend_get_executed_filename(void) ;
extern uint __attribute__((__visibility__("default")))  zend_get_executed_lineno(void) ;
extern zend_bool __attribute__((__visibility__("default")))  zend_is_executing(void) ;
extern void __attribute__((__visibility__("default")))  zend_set_timeout(long seconds , int reset_signals ) ;
extern void __attribute__((__visibility__("default")))  zend_unset_timeout(void) ;
extern void __attribute__((__visibility__("default")))  zend_timeout(int dummy ) ;
extern zend_class_entry __attribute__((__visibility__("default")))  *zend_fetch_class(char const   *class_name , uint class_name_len , int fetch_type ) ;
extern zend_class_entry __attribute__((__visibility__("default")))  *zend_fetch_class_by_name(char const   *class_name , uint class_name_len , zend_literal const   *key , int fetch_type ) ;
extern void zend_verify_abstract_class(zend_class_entry *ce ) ;
extern zval __attribute__((__visibility__("default")))  **zend_get_compiled_variable_value(zend_execute_data const   *execute_data_ptr , zend_uint var ) ;
extern int __attribute__((__visibility__("default")))  zend_set_user_opcode_handler(zend_uchar opcode , int (*handler)(zend_execute_data *execute_data ) ) ;
extern user_opcode_handler_t __attribute__((__visibility__("default")))  zend_get_user_opcode_handler(zend_uchar opcode ) ;
extern zval __attribute__((__visibility__("default")))  *zend_get_zval_ptr(int op_type , znode_op const   *node , temp_variable const   *Ts , zend_free_op *should_free , int type ) ;
extern zval __attribute__((__visibility__("default")))  **zend_get_zval_ptr_ptr(int op_type , znode_op const   *node , temp_variable const   *Ts , zend_free_op *should_free , int type ) ;
extern int __attribute__((__visibility__("default")))  zend_do_fcall(zend_execute_data *execute_data ) ;
extern int zend_next_free_module(void) ;
extern int __attribute__((__visibility__("default")))  zend_get_parameters(int ht , int param_count  , ...) ;
extern int __attribute__((__visibility__("default")))  _zend_get_parameters_array(int ht , int param_count , zval **argument_array ) ;
extern int __attribute__((__visibility__("default"), __deprecated__))  zend_get_parameters_ex(int param_count  , ...) ;
extern int __attribute__((__visibility__("default")))  _zend_get_parameters_array_ex(int param_count , zval ***argument_array ) ;
extern int __attribute__((__visibility__("default")))  zend_copy_parameters_array(int param_count , zval *argument_array ) ;
extern int __attribute__((__visibility__("default")))  zend_parse_parameters(int num_args , char const   *type_spec  , ...) ;
extern int __attribute__((__visibility__("default")))  zend_parse_parameters_ex(int flags , int num_args , char const   *type_spec  , ...) ;
extern char __attribute__((__visibility__("default")))  *zend_zval_type_name(zval const   *arg ) ;
extern int __attribute__((__visibility__("default")))  zend_parse_method_parameters(int num_args , zval *this_ptr , char const   *type_spec  , ...) ;
extern int __attribute__((__visibility__("default")))  zend_parse_method_parameters_ex(int flags , int num_args , zval *this_ptr , char const   *type_spec  , ...) ;
extern int __attribute__((__visibility__("default")))  zend_register_functions(zend_class_entry *scope , zend_function_entry const   *functions , HashTable *function_table , int type ) ;
extern void __attribute__((__visibility__("default")))  zend_unregister_functions(zend_function_entry const   *functions , int count , HashTable *function_table ) ;
extern int __attribute__((__visibility__("default")))  zend_startup_module(zend_module_entry *module_entry ) ;
extern zend_module_entry __attribute__((__visibility__("default")))  *zend_register_internal_module(zend_module_entry *module_entry ) ;
extern zend_module_entry __attribute__((__visibility__("default")))  *zend_register_module_ex(zend_module_entry *module ) ;
extern int __attribute__((__visibility__("default")))  zend_startup_module_ex(zend_module_entry *module ) ;
extern int __attribute__((__visibility__("default")))  zend_startup_modules(void) ;
extern void __attribute__((__visibility__("default")))  zend_collect_module_handlers(void) ;
extern void __attribute__((__visibility__("default")))  zend_destroy_modules(void) ;
extern void __attribute__((__visibility__("default")))  zend_check_magic_method_implementation(zend_class_entry const   *ce , zend_function const   *fptr , int error_type ) ;
extern zend_class_entry __attribute__((__visibility__("default")))  *zend_register_internal_class(zend_class_entry *class_entry ) ;
extern zend_class_entry __attribute__((__visibility__("default")))  *zend_register_internal_class_ex(zend_class_entry *class_entry , zend_class_entry *parent_ce , char *parent_name ) ;
extern zend_class_entry __attribute__((__visibility__("default")))  *zend_register_internal_interface(zend_class_entry *orig_class_entry ) ;
extern void __attribute__((__visibility__("default")))  zend_class_implements(zend_class_entry *class_entry , int num_interfaces  , ...) ;
extern int __attribute__((__visibility__("default")))  zend_register_class_alias_ex(char const   *name , int name_len , zend_class_entry *ce ) ;
extern int __attribute__((__visibility__("default")))  zend_disable_function(char *function_name , uint function_name_length ) ;
extern int __attribute__((__visibility__("default")))  zend_disable_class(char *class_name , uint class_name_length ) ;
extern void __attribute__((__visibility__("default")))  zend_wrong_param_count(void) ;
extern zend_bool __attribute__((__visibility__("default")))  zend_is_callable_ex(zval *callable , zval *object_ptr , uint check_flags , char **callable_name , int *callable_name_len , zend_fcall_info_cache *fcc , char **error ) ;
extern zend_bool __attribute__((__visibility__("default")))  zend_is_callable(zval *callable , uint check_flags , char **callable_name ) ;
extern zend_bool __attribute__((__visibility__("default")))  zend_make_callable(zval *callable , char **callable_name ) ;
extern char const __attribute__((__visibility__("default")))  *zend_get_module_version(char const   *module_name ) ;
extern int __attribute__((__visibility__("default")))  zend_get_module_started(char const   *module_name ) ;
extern int __attribute__((__visibility__("default")))  zend_declare_property(zend_class_entry *ce , char const   *name , int name_length , zval *property , int access_type ) ;
extern int __attribute__((__visibility__("default")))  zend_declare_property_ex(zend_class_entry *ce , char const   *name , int name_length , zval *property , int access_type , char const   *doc_comment , int doc_comment_len ) ;
extern int __attribute__((__visibility__("default")))  zend_declare_property_null(zend_class_entry *ce , char const   *name , int name_length , int access_type ) ;
extern int __attribute__((__visibility__("default")))  zend_declare_property_bool(zend_class_entry *ce , char const   *name , int name_length , long value , int access_type ) ;
extern int __attribute__((__visibility__("default")))  zend_declare_property_long(zend_class_entry *ce , char const   *name , int name_length , long value , int access_type ) ;
extern int __attribute__((__visibility__("default")))  zend_declare_property_double(zend_class_entry *ce , char const   *name , int name_length , double value , int access_type ) ;
extern int __attribute__((__visibility__("default")))  zend_declare_property_string(zend_class_entry *ce , char const   *name , int name_length , char const   *value , int access_type ) ;
extern int __attribute__((__visibility__("default")))  zend_declare_property_stringl(zend_class_entry *ce , char const   *name , int name_length , char const   *value , int value_len , int access_type ) ;
extern int __attribute__((__visibility__("default")))  zend_declare_class_constant(zend_class_entry *ce , char const   *name , size_t name_length , zval *value ) ;
extern int __attribute__((__visibility__("default")))  zend_declare_class_constant_null(zend_class_entry *ce , char const   *name , size_t name_length ) ;
extern int __attribute__((__visibility__("default")))  zend_declare_class_constant_long(zend_class_entry *ce , char const   *name , size_t name_length , long value ) ;
extern int __attribute__((__visibility__("default")))  zend_declare_class_constant_bool(zend_class_entry *ce , char const   *name , size_t name_length , zend_bool value ) ;
extern int __attribute__((__visibility__("default")))  zend_declare_class_constant_double(zend_class_entry *ce , char const   *name , size_t name_length , double value ) ;
extern int __attribute__((__visibility__("default")))  zend_declare_class_constant_stringl(zend_class_entry *ce , char const   *name , size_t name_length , char const   *value , size_t value_length ) ;
extern int __attribute__((__visibility__("default")))  zend_declare_class_constant_string(zend_class_entry *ce , char const   *name , size_t name_length , char const   *value ) ;
extern void __attribute__((__visibility__("default")))  zend_update_class_constants(zend_class_entry *class_type ) ;
extern void __attribute__((__visibility__("default")))  zend_update_property(zend_class_entry *scope , zval *object , char const   *name , int name_length , zval *value ) ;
extern void __attribute__((__visibility__("default")))  zend_update_property_null(zend_class_entry *scope , zval *object , char const   *name , int name_length ) ;
extern void __attribute__((__visibility__("default")))  zend_update_property_bool(zend_class_entry *scope , zval *object , char const   *name , int name_length , long value ) ;
extern void __attribute__((__visibility__("default")))  zend_update_property_long(zend_class_entry *scope , zval *object , char const   *name , int name_length , long value ) ;
extern void __attribute__((__visibility__("default")))  zend_update_property_double(zend_class_entry *scope , zval *object , char const   *name , int name_length , double value ) ;
extern void __attribute__((__visibility__("default")))  zend_update_property_string(zend_class_entry *scope , zval *object , char const   *name , int name_length , char const   *value ) ;
extern void __attribute__((__visibility__("default")))  zend_update_property_stringl(zend_class_entry *scope , zval *object , char const   *name , int name_length , char const   *value , int value_length ) ;
extern int __attribute__((__visibility__("default")))  zend_update_static_property(zend_class_entry *scope , char const   *name , int name_length , zval *value ) ;
extern int __attribute__((__visibility__("default")))  zend_update_static_property_null(zend_class_entry *scope , char const   *name , int name_length ) ;
extern int __attribute__((__visibility__("default")))  zend_update_static_property_bool(zend_class_entry *scope , char const   *name , int name_length , long value ) ;
extern int __attribute__((__visibility__("default")))  zend_update_static_property_long(zend_class_entry *scope , char const   *name , int name_length , long value ) ;
extern int __attribute__((__visibility__("default")))  zend_update_static_property_double(zend_class_entry *scope , char const   *name , int name_length , double value ) ;
extern int __attribute__((__visibility__("default")))  zend_update_static_property_string(zend_class_entry *scope , char const   *name , int name_length , char const   *value ) ;
extern int __attribute__((__visibility__("default")))  zend_update_static_property_stringl(zend_class_entry *scope , char const   *name , int name_length , char const   *value , int value_length ) ;
extern zval __attribute__((__visibility__("default")))  *zend_read_property(zend_class_entry *scope , zval *object , char const   *name , int name_length , zend_bool silent ) ;
extern zval __attribute__((__visibility__("default")))  *zend_read_static_property(zend_class_entry *scope , char const   *name , int name_length , zend_bool silent ) ;
extern zend_class_entry __attribute__((__visibility__("default")))  *zend_get_class_entry(zval const   *zobject ) ;
extern int __attribute__((__visibility__("default")))  zend_get_object_classname(zval const   *object , char const   **class_name , zend_uint *class_name_len ) ;
extern char __attribute__((__visibility__("default")))  *zend_get_type_by_const(int type ) ;
extern int __attribute__((__visibility__("default")))  _array_init(zval *arg , uint size ) ;
extern int __attribute__((__visibility__("default")))  _object_init(zval *arg ) ;
extern int __attribute__((__visibility__("default")))  _object_init_ex(zval *arg , zend_class_entry *ce ) ;
extern int __attribute__((__visibility__("default")))  _object_and_properties_init(zval *arg , zend_class_entry *ce , HashTable *properties ) ;
extern void __attribute__((__visibility__("default")))  object_properties_init(zend_object *object , zend_class_entry *class_type ) ;
extern void __attribute__((__visibility__("default")))  zend_merge_properties(zval *obj , HashTable *properties , int destroy_ht ) ;
extern int __attribute__((__visibility__("default")))  add_assoc_function(zval *arg , char const   *key , void (*function_ptr)(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ) ;
extern int __attribute__((__visibility__("default")))  add_assoc_long_ex(zval *arg , char const   *key , uint key_len , long n ) ;
extern int __attribute__((__visibility__("default")))  add_assoc_null_ex(zval *arg , char const   *key , uint key_len ) ;
extern int __attribute__((__visibility__("default")))  add_assoc_bool_ex(zval *arg , char const   *key , uint key_len , int b ) ;
extern int __attribute__((__visibility__("default")))  add_assoc_resource_ex(zval *arg , char const   *key , uint key_len , int r ) ;
extern int __attribute__((__visibility__("default")))  add_assoc_double_ex(zval *arg , char const   *key , uint key_len , double d ) ;
extern int __attribute__((__visibility__("default")))  add_assoc_string_ex(zval *arg , char const   *key , uint key_len , char *str , int duplicate ) ;
extern int __attribute__((__visibility__("default")))  add_assoc_stringl_ex(zval *arg , char const   *key , uint key_len , char *str , uint length , int duplicate ) ;
extern int __attribute__((__visibility__("default")))  add_assoc_zval_ex(zval *arg , char const   *key , uint key_len , zval *value ) ;
extern int __attribute__((__visibility__("default")))  add_index_long(zval *arg , ulong idx , long n ) ;
extern int __attribute__((__visibility__("default")))  add_index_null(zval *arg , ulong idx ) ;
extern int __attribute__((__visibility__("default")))  add_index_bool(zval *arg , ulong idx , int b ) ;
extern int __attribute__((__visibility__("default")))  add_index_resource(zval *arg , ulong idx , int r ) ;
extern int __attribute__((__visibility__("default")))  add_index_double(zval *arg , ulong idx , double d ) ;
extern int __attribute__((__visibility__("default")))  add_index_string(zval *arg , ulong idx , char const   *str , int duplicate ) ;
extern int __attribute__((__visibility__("default")))  add_index_stringl(zval *arg , ulong idx , char const   *str , uint length , int duplicate ) ;
extern int __attribute__((__visibility__("default")))  add_index_zval(zval *arg , ulong index , zval *value ) ;
extern int __attribute__((__visibility__("default")))  add_next_index_long(zval *arg , long n ) ;
extern int __attribute__((__visibility__("default")))  add_next_index_null(zval *arg ) ;
extern int __attribute__((__visibility__("default")))  add_next_index_bool(zval *arg , int b ) ;
extern int __attribute__((__visibility__("default")))  add_next_index_resource(zval *arg , int r ) ;
extern int __attribute__((__visibility__("default")))  add_next_index_double(zval *arg , double d ) ;
extern int __attribute__((__visibility__("default")))  add_next_index_string(zval *arg , char const   *str , int duplicate ) ;
extern int __attribute__((__visibility__("default")))  add_next_index_stringl(zval *arg , char const   *str , uint length , int duplicate ) ;
extern int __attribute__((__visibility__("default")))  add_next_index_zval(zval *arg , zval *value ) ;
extern int __attribute__((__visibility__("default")))  add_get_assoc_string_ex(zval *arg , char const   *key , uint key_len , char const   *str , void **dest , int duplicate ) ;
extern int __attribute__((__visibility__("default")))  add_get_assoc_stringl_ex(zval *arg , char const   *key , uint key_len , char const   *str , uint length , void **dest , int duplicate ) ;
extern int __attribute__((__visibility__("default")))  add_get_index_long(zval *arg , ulong idx , long l , void **dest ) ;
extern int __attribute__((__visibility__("default")))  add_get_index_double(zval *arg , ulong idx , double d , void **dest ) ;
extern int __attribute__((__visibility__("default")))  add_get_index_string(zval *arg , ulong idx , char const   *str , void **dest , int duplicate ) ;
extern int __attribute__((__visibility__("default")))  add_get_index_stringl(zval *arg , ulong idx , char const   *str , uint length , void **dest , int duplicate ) ;
extern int __attribute__((__visibility__("default")))  add_property_long_ex(zval *arg , char const   *key , uint key_len , long l ) ;
extern int __attribute__((__visibility__("default")))  add_property_null_ex(zval *arg , char const   *key , uint key_len ) ;
extern int __attribute__((__visibility__("default")))  add_property_bool_ex(zval *arg , char const   *key , uint key_len , int b ) ;
extern int __attribute__((__visibility__("default")))  add_property_resource_ex(zval *arg , char const   *key , uint key_len , long r ) ;
extern int __attribute__((__visibility__("default")))  add_property_double_ex(zval *arg , char const   *key , uint key_len , double d ) ;
extern int __attribute__((__visibility__("default")))  add_property_string_ex(zval *arg , char const   *key , uint key_len , char const   *str , int duplicate ) ;
extern int __attribute__((__visibility__("default")))  add_property_stringl_ex(zval *arg , char const   *key , uint key_len , char const   *str , uint length , int duplicate ) ;
extern int __attribute__((__visibility__("default")))  add_property_zval_ex(zval *arg , char const   *key , uint key_len , zval *value ) ;
extern int __attribute__((__visibility__("default")))  call_user_function(HashTable *function_table , zval **object_pp , zval *function_name , zval *retval_ptr , zend_uint param_count , zval **params ) ;
extern int __attribute__((__visibility__("default")))  call_user_function_ex(HashTable *function_table , zval **object_pp , zval *function_name , zval **retval_ptr_ptr , zend_uint param_count , zval ***params , int no_separation , HashTable *symbol_table ) ;
extern zend_fcall_info const __attribute__((__visibility__("default")))  empty_fcall_info ;
extern zend_fcall_info_cache const __attribute__((__visibility__("default")))  empty_fcall_info_cache ;
extern int __attribute__((__visibility__("default")))  zend_fcall_info_init(zval *callable , uint check_flags , zend_fcall_info *fci , zend_fcall_info_cache *fcc , char **callable_name , char **error ) ;
extern void __attribute__((__visibility__("default")))  zend_fcall_info_args_clear(zend_fcall_info *fci , int free_mem ) ;
extern void __attribute__((__visibility__("default")))  zend_fcall_info_args_save(zend_fcall_info *fci , int *param_count , zval ****params ) ;
extern void __attribute__((__visibility__("default")))  zend_fcall_info_args_restore(zend_fcall_info *fci , int param_count , zval ***params ) ;
extern int __attribute__((__visibility__("default")))  zend_fcall_info_args(zend_fcall_info *fci , zval *args ) ;
extern int __attribute__((__visibility__("default")))  zend_fcall_info_argp(zend_fcall_info *fci , int argc , zval ***argv ) ;
extern int __attribute__((__visibility__("default")))  zend_fcall_info_argv(zend_fcall_info *fci , int argc , va_list *argv ) ;
extern int __attribute__((__visibility__("default")))  zend_fcall_info_argn(zend_fcall_info *fci , int argc  , ...) ;
extern int __attribute__((__visibility__("default")))  zend_fcall_info_call(zend_fcall_info *fci , zend_fcall_info_cache *fcc , zval **retval , zval *args ) ;
extern int __attribute__((__visibility__("default")))  zend_call_function(zend_fcall_info *fci , zend_fcall_info_cache *fci_cache ) ;
extern int __attribute__((__visibility__("default")))  zend_set_hash_symbol(zval *symbol , char const   *name , int name_length , zend_bool is_ref , int num_symbol_tables  , ...) ;
extern void __attribute__((__visibility__("default")))  zend_delete_variable(zend_execute_data *ex , HashTable *ht , char const   *name , int name_len , ulong hash_value ) ;
extern int __attribute__((__visibility__("default")))  zend_delete_global_variable(char const   *name , int name_len ) ;
extern int __attribute__((__visibility__("default")))  zend_delete_global_variable_ex(char const   *name , int name_len , ulong hash_value ) ;
extern void __attribute__((__visibility__("default")))  zend_reset_all_cv(HashTable *symbol_table ) ;
extern void __attribute__((__visibility__("default")))  zend_rebuild_symbol_table(void) ;
extern void __attribute__((__visibility__("default")))  zif_display_disabled_function(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void __attribute__((__visibility__("default")))  zif_display_disabled_class(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern size_t __attribute__((__visibility__("default")))  php_strlcpy(char *dst , char const   *src , size_t siz ) ;
extern size_t __attribute__((__visibility__("default")))  php_strlcat(char *dst , char const   *src , size_t siz ) ;
extern  __attribute__((__nothrow__)) unsigned short const   **__ctype_b_loc(void)  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) __int32_t const   **__ctype_tolower_loc(void)  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) __int32_t const   **__ctype_toupper_loc(void)  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) int isalnum(int  ) ;
extern  __attribute__((__nothrow__)) int isalpha(int  ) ;
extern  __attribute__((__nothrow__)) int iscntrl(int  ) ;
extern  __attribute__((__nothrow__)) int isdigit(int  ) ;
extern  __attribute__((__nothrow__)) int islower(int  ) ;
extern  __attribute__((__nothrow__)) int isgraph(int  ) ;
extern  __attribute__((__nothrow__)) int isprint(int  ) ;
extern  __attribute__((__nothrow__)) int ispunct(int  ) ;
extern  __attribute__((__nothrow__)) int isspace(int  ) ;
extern  __attribute__((__nothrow__)) int isupper(int  ) ;
extern  __attribute__((__nothrow__)) int isxdigit(int  ) ;
__inline extern  __attribute__((__nothrow__)) int tolower(int __c ) ;
__inline extern  __attribute__((__nothrow__)) int toupper(int __c ) ;
extern  __attribute__((__nothrow__)) int isblank(int  ) ;
extern  __attribute__((__nothrow__)) int isascii(int __c ) ;
extern  __attribute__((__nothrow__)) int toascii(int __c ) ;
extern  __attribute__((__nothrow__)) int _toupper(int  ) ;
extern  __attribute__((__nothrow__)) int _tolower(int  ) ;
__inline extern  __attribute__((__nothrow__)) int tolower(int __c ) ;
__inline extern int tolower(int __c ) 
{ __int32_t const   **tmp ;
  __int32_t tmp___0 ;

  {
  if (__c >= -128) {
    if (__c < 256) {
      tmp = __ctype_tolower_loc();
      tmp___0 = *(*tmp + __c);
    } else {
      tmp___0 = (int const   )__c;
    }
  } else {
    tmp___0 = (int const   )__c;
  }
  return ((int )tmp___0);
}
}
__inline extern  __attribute__((__nothrow__)) int toupper(int __c ) ;
__inline extern int toupper(int __c ) 
{ __int32_t const   **tmp ;
  __int32_t tmp___0 ;

  {
  if (__c >= -128) {
    if (__c < 256) {
      tmp = __ctype_toupper_loc();
      tmp___0 = *(*tmp + __c);
    } else {
      tmp___0 = (int const   )__c;
    }
  } else {
    tmp___0 = (int const   )__c;
  }
  return ((int )tmp___0);
}
}
extern  __attribute__((__nothrow__)) int isalnum_l(int  , __locale_t  ) ;
extern  __attribute__((__nothrow__)) int isalpha_l(int  , __locale_t  ) ;
extern  __attribute__((__nothrow__)) int iscntrl_l(int  , __locale_t  ) ;
extern  __attribute__((__nothrow__)) int isdigit_l(int  , __locale_t  ) ;
extern  __attribute__((__nothrow__)) int islower_l(int  , __locale_t  ) ;
extern  __attribute__((__nothrow__)) int isgraph_l(int  , __locale_t  ) ;
extern  __attribute__((__nothrow__)) int isprint_l(int  , __locale_t  ) ;
extern  __attribute__((__nothrow__)) int ispunct_l(int  , __locale_t  ) ;
extern  __attribute__((__nothrow__)) int isspace_l(int  , __locale_t  ) ;
extern  __attribute__((__nothrow__)) int isupper_l(int  , __locale_t  ) ;
extern  __attribute__((__nothrow__)) int isxdigit_l(int  , __locale_t  ) ;
extern  __attribute__((__nothrow__)) int isblank_l(int  , __locale_t  ) ;
extern  __attribute__((__nothrow__)) int __tolower_l(int __c , __locale_t __l ) ;
extern  __attribute__((__nothrow__)) int tolower_l(int __c , __locale_t __l ) ;
extern  __attribute__((__nothrow__)) int __toupper_l(int __c , __locale_t __l ) ;
extern  __attribute__((__nothrow__)) int toupper_l(int __c , __locale_t __l ) ;
extern  __attribute__((__nothrow__)) int access(char const   *__name , int __type )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int faccessat(int __fd , char const   *__file , int __type , int __flag )  __attribute__((__nonnull__(2))) ;
extern  __attribute__((__nothrow__)) __off_t lseek(int __fd , __off_t __offset , int __whence ) ;
extern int close(int __fd ) ;
extern ssize_t read(int __fd , void *__buf , size_t __nbytes ) ;
extern ssize_t write(int __fd , void const   *__buf , size_t __n ) ;
extern ssize_t pread(int __fd , void *__buf , size_t __nbytes , __off_t __offset ) ;
extern ssize_t pwrite(int __fd , void const   *__buf , size_t __n , __off_t __offset ) ;
extern  __attribute__((__nothrow__)) int pipe(int *__pipedes ) ;
extern  __attribute__((__nothrow__)) unsigned int alarm(unsigned int __seconds ) ;
extern unsigned int sleep(unsigned int __seconds ) ;
extern  __attribute__((__nothrow__)) __useconds_t ualarm(__useconds_t __value , __useconds_t __interval ) ;
extern int usleep(__useconds_t __useconds ) ;
extern int pause(void) ;
extern  __attribute__((__nothrow__)) int chown(char const   *__file , __uid_t __owner , __gid_t __group )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int fchown(int __fd , __uid_t __owner , __gid_t __group ) ;
extern  __attribute__((__nothrow__)) int lchown(char const   *__file , __uid_t __owner , __gid_t __group )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int fchownat(int __fd , char const   *__file , __uid_t __owner , __gid_t __group , int __flag )  __attribute__((__nonnull__(2))) ;
extern  __attribute__((__nothrow__)) int chdir(char const   *__path )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int fchdir(int __fd ) ;
extern  __attribute__((__nothrow__)) char *getcwd(char *__buf , size_t __size ) ;
extern  __attribute__((__nothrow__)) char *getwd(char *__buf )  __attribute__((__nonnull__(1), __deprecated__)) ;
extern  __attribute__((__nothrow__)) int dup(int __fd ) ;
extern  __attribute__((__nothrow__)) int dup2(int __fd , int __fd2 ) ;
extern char **__environ ;
extern  __attribute__((__nothrow__)) int execve(char const   *__path , char * const  *__argv , char * const  *__envp )  __attribute__((__nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) int fexecve(int __fd , char * const  *__argv , char * const  *__envp )  __attribute__((__nonnull__(2))) ;
extern  __attribute__((__nothrow__)) int execv(char const   *__path , char * const  *__argv )  __attribute__((__nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) int execle(char const   *__path , char const   *__arg  , ...)  __attribute__((__nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) int execl(char const   *__path , char const   *__arg  , ...)  __attribute__((__nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) int execvp(char const   *__file , char * const  *__argv )  __attribute__((__nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) int execlp(char const   *__file , char const   *__arg  , ...)  __attribute__((__nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) int nice(int __inc ) ;
extern  __attribute__((__noreturn__)) void _exit(int __status ) ;
extern  __attribute__((__nothrow__)) long pathconf(char const   *__path , int __name )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) long fpathconf(int __fd , int __name ) ;
extern  __attribute__((__nothrow__)) long sysconf(int __name ) ;
extern  __attribute__((__nothrow__)) size_t confstr(int __name , char *__buf , size_t __len ) ;
extern  __attribute__((__nothrow__)) __pid_t getpid(void) ;
extern  __attribute__((__nothrow__)) __pid_t getppid(void) ;
extern  __attribute__((__nothrow__)) __pid_t getpgrp(void) ;
extern  __attribute__((__nothrow__)) __pid_t __getpgid(__pid_t __pid ) ;
extern  __attribute__((__nothrow__)) __pid_t getpgid(__pid_t __pid ) ;
extern  __attribute__((__nothrow__)) int setpgid(__pid_t __pid , __pid_t __pgid ) ;
extern  __attribute__((__nothrow__)) int setpgrp(void) ;
extern  __attribute__((__nothrow__)) __pid_t setsid(void) ;
extern  __attribute__((__nothrow__)) __pid_t getsid(__pid_t __pid ) ;
extern  __attribute__((__nothrow__)) __uid_t getuid(void) ;
extern  __attribute__((__nothrow__)) __uid_t geteuid(void) ;
extern  __attribute__((__nothrow__)) __gid_t getgid(void) ;
extern  __attribute__((__nothrow__)) __gid_t getegid(void) ;
extern  __attribute__((__nothrow__)) int getgroups(int __size , __gid_t *__list ) ;
extern  __attribute__((__nothrow__)) int setuid(__uid_t __uid ) ;
extern  __attribute__((__nothrow__)) int setreuid(__uid_t __ruid , __uid_t __euid ) ;
extern  __attribute__((__nothrow__)) int seteuid(__uid_t __uid ) ;
extern  __attribute__((__nothrow__)) int setgid(__gid_t __gid ) ;
extern  __attribute__((__nothrow__)) int setregid(__gid_t __rgid , __gid_t __egid ) ;
extern  __attribute__((__nothrow__)) int setegid(__gid_t __gid ) ;
extern  __attribute__((__nothrow__)) __pid_t fork(void) ;
extern  __attribute__((__nothrow__)) __pid_t vfork(void) ;
extern  __attribute__((__nothrow__)) char *ttyname(int __fd ) ;
extern  __attribute__((__nothrow__)) int ttyname_r(int __fd , char *__buf , size_t __buflen )  __attribute__((__nonnull__(2))) ;
extern  __attribute__((__nothrow__)) int isatty(int __fd ) ;
extern  __attribute__((__nothrow__)) int ttyslot(void) ;
extern  __attribute__((__nothrow__)) int link(char const   *__from , char const   *__to )  __attribute__((__nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) int linkat(int __fromfd , char const   *__from , int __tofd , char const   *__to , int __flags )  __attribute__((__nonnull__(2,4))) ;
extern  __attribute__((__nothrow__)) int symlink(char const   *__from , char const   *__to )  __attribute__((__nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) ssize_t readlink(char const   * __restrict  __path , char * __restrict  __buf , size_t __len )  __attribute__((__nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) int symlinkat(char const   *__from , int __tofd , char const   *__to )  __attribute__((__nonnull__(1,3))) ;
extern  __attribute__((__nothrow__)) ssize_t readlinkat(int __fd , char const   * __restrict  __path , char * __restrict  __buf , size_t __len )  __attribute__((__nonnull__(2,3))) ;
extern  __attribute__((__nothrow__)) int unlink(char const   *__name )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int unlinkat(int __fd , char const   *__name , int __flag )  __attribute__((__nonnull__(2))) ;
extern  __attribute__((__nothrow__)) int rmdir(char const   *__path )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) __pid_t tcgetpgrp(int __fd ) ;
extern  __attribute__((__nothrow__)) int tcsetpgrp(int __fd , __pid_t __pgrp_id ) ;
extern char *getlogin(void) ;
extern int getlogin_r(char *__name , size_t __name_len )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int setlogin(char const   *__name )  __attribute__((__nonnull__(1))) ;
extern char *optarg ;
extern int optind ;
extern int opterr ;
extern int optopt ;
extern  __attribute__((__nothrow__)) int getopt(int ___argc , char * const  *___argv , char const   *__shortopts ) ;
extern  __attribute__((__nothrow__)) int gethostname(char *__name , size_t __len )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int sethostname(char const   *__name , size_t __len )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int sethostid(long __id ) ;
extern  __attribute__((__nothrow__)) int getdomainname(char *__name , size_t __len )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int setdomainname(char const   *__name , size_t __len )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int vhangup(void) ;
extern  __attribute__((__nothrow__)) int revoke(char const   *__file )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int profil(unsigned short *__sample_buffer , size_t __size , size_t __offset , unsigned int __scale )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int acct(char const   *__name ) ;
extern  __attribute__((__nothrow__)) char *getusershell(void) ;
extern  __attribute__((__nothrow__)) void endusershell(void) ;
extern  __attribute__((__nothrow__)) void setusershell(void) ;
extern  __attribute__((__nothrow__)) int daemon(int __nochdir , int __noclose ) ;
extern  __attribute__((__nothrow__)) int chroot(char const   *__path )  __attribute__((__nonnull__(1))) ;
extern char *getpass(char const   *__prompt )  __attribute__((__nonnull__(1))) ;
extern int fsync(int __fd ) ;
extern long gethostid(void) ;
extern  __attribute__((__nothrow__)) void sync(void) ;
extern  __attribute__((__nothrow__)) int getpagesize(void)  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) int getdtablesize(void) ;
extern  __attribute__((__nothrow__)) int truncate(char const   *__file , __off_t __length )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int ftruncate(int __fd , __off_t __length ) ;
extern  __attribute__((__nothrow__)) int brk(void *__addr ) ;
extern  __attribute__((__nothrow__)) void *sbrk(intptr_t __delta ) ;
extern  __attribute__((__nothrow__)) long syscall(long __sysno  , ...) ;
extern int lockf(int __fd , int __cmd , __off_t __len ) ;
extern int fdatasync(int __fildes ) ;
extern void setpwent(void) ;
extern void endpwent(void) ;
extern struct passwd *getpwent(void) ;
extern struct passwd *fgetpwent(FILE *__stream ) ;
extern int putpwent(struct passwd  const  * __restrict  __p , FILE * __restrict  __f ) ;
extern struct passwd *getpwuid(__uid_t __uid ) ;
extern struct passwd *getpwnam(char const   *__name ) ;
extern int getpwent_r(struct passwd * __restrict  __resultbuf , char * __restrict  __buffer , size_t __buflen , struct passwd ** __restrict  __result ) ;
extern int getpwuid_r(__uid_t __uid , struct passwd * __restrict  __resultbuf , char * __restrict  __buffer , size_t __buflen , struct passwd ** __restrict  __result ) ;
extern int getpwnam_r(char const   * __restrict  __name , struct passwd * __restrict  __resultbuf , char * __restrict  __buffer , size_t __buflen , struct passwd ** __restrict  __result ) ;
extern int fgetpwent_r(FILE * __restrict  __stream , struct passwd * __restrict  __resultbuf , char * __restrict  __buffer , size_t __buflen , struct passwd ** __restrict  __result ) ;
extern int __attribute__((__visibility__("default")))  ap_php_slprintf(char *buf , size_t len , char const   *format  , ...) ;
extern int __attribute__((__visibility__("default")))  ap_php_vslprintf(char *buf , size_t len , char const   *format , va_list ap ) ;
extern int __attribute__((__visibility__("default")))  ap_php_snprintf(char * , size_t  , char const   *  , ...) ;
extern int __attribute__((__visibility__("default")))  ap_php_vsnprintf(char * , size_t  , char const   * , va_list ap ) ;
extern int __attribute__((__visibility__("default")))  ap_php_vasprintf(char **buf , char const   *format , va_list ap ) ;
extern int __attribute__((__visibility__("default")))  ap_php_asprintf(char **buf , char const   *format  , ...) ;
extern int __attribute__((__visibility__("default")))  ( /* format attribute */  php_sprintf)(char *s , char const   *format  , ...) ;
extern char __attribute__((__visibility__("default")))  *php_gcvt(double value , int ndigit , char dec_point , char exponent , char *buf ) ;
extern char __attribute__((__visibility__("default")))  *php_conv_fp(char format , double num , boolean_e add_dp , int precision , char dec_point , bool_int *is_negative , char *buf , int *len ) ;
extern char *ap_php_conv_10(wide_int num , bool_int is_unsigned , bool_int *is_negative , char *buf_end , int *len ) ;
extern char *ap_php_conv_p2(u_wide_int num , int nbits , char format , char *buf_end , int *len ) ;
extern int __attribute__((__visibility__("default")))  ( /* format attribute */  spprintf)(char **pbuf , size_t max_len , char const   *format  , ...) ;
extern int __attribute__((__visibility__("default")))  ( /* format attribute */  vspprintf)(char **pbuf , size_t max_len , char const   *format , va_list ap ) ;
extern char **environ ;
extern void phperror(char *error ) ;
extern int __attribute__((__visibility__("default")))  php_write(void *buf , uint size ) ;
extern int __attribute__((__visibility__("default")))  ( /* format attribute */  php_printf)(char const   *format  , ...) ;
extern int __attribute__((__visibility__("default")))  php_get_module_initialized(void) ;
extern void __attribute__((__visibility__("default")))  php_log_err(char *log_message ) ;
extern int ( /* format attribute */  Debug)(char *format  , ...) ;
extern int cfgparse(void) ;
__inline static void __attribute__((__deprecated__))  php_set_error_handling(zend_error_handling_t error_handling , zend_class_entry *exception_class ) 
{ 

  {
  zend_replace_error_handling(error_handling, exception_class, (zend_error_handling *)((void *)0));
  return;
}
}
__inline static void __attribute__((__deprecated__))  php_std_error_handling(void) 
{ 

  {
  return;
}
}
extern void __attribute__((__visibility__("default")))  ( /* format attribute */  php_verror)(char const   *docref , char const   *params , int type , char const   *format , va_list args ) ;
extern void __attribute__((__visibility__("default")))  ( /* format attribute */  php_error_docref0)(char const   *docref , int type , char const   *format  , ...) ;
extern void __attribute__((__visibility__("default")))  ( /* format attribute */  php_error_docref1)(char const   *docref , char const   *param1 , int type , char const   *format  , ...) ;
extern void __attribute__((__visibility__("default")))  ( /* format attribute */  php_error_docref2)(char const   *docref , char const   *param1 , char const   *param2 , int type , char const   *format  , ...) ;
extern int __attribute__((__visibility__("default")))  (*php_register_internal_extensions_func)(void) ;
extern int __attribute__((__visibility__("default")))  php_register_internal_extensions(void) ;
extern int __attribute__((__visibility__("default")))  php_mergesort(void *base , size_t nmemb , size_t size , int (*cmp)(void const   * , void const   * ) ) ;
extern void __attribute__((__visibility__("default")))  php_register_pre_request_shutdown(void (*func)(void * ) , void *userdata ) ;
extern void __attribute__((__visibility__("default")))  php_com_initialize(void) ;
extern char __attribute__((__visibility__("default")))  *php_get_current_user(void) ;
extern char const   php_output_default_handler_name[sizeof("default output handler")] ;
extern char const   php_output_devnull_handler_name[sizeof("null output handler")] ;
extern void __attribute__((__visibility__("default")))  php_output_startup(void) ;
extern void __attribute__((__visibility__("default")))  php_output_shutdown(void) ;
extern void __attribute__((__visibility__("default")))  php_output_register_constants(void) ;
extern int __attribute__((__visibility__("default")))  php_output_activate(void) ;
extern void __attribute__((__visibility__("default")))  php_output_deactivate(void) ;
extern void __attribute__((__visibility__("default")))  php_output_set_status(int status ) ;
extern int __attribute__((__visibility__("default")))  php_output_get_status(void) ;
extern void __attribute__((__visibility__("default")))  php_output_set_implicit_flush(int flush ) ;
extern char const __attribute__((__visibility__("default")))  *php_output_get_start_filename(void) ;
extern int __attribute__((__visibility__("default")))  php_output_get_start_lineno(void) ;
extern int __attribute__((__visibility__("default")))  php_output_write_unbuffered(char const   *str , size_t len ) ;
extern int __attribute__((__visibility__("default")))  php_output_write(char const   *str , size_t len ) ;
extern int __attribute__((__visibility__("default")))  php_output_flush(void) ;
extern void __attribute__((__visibility__("default")))  php_output_flush_all(void) ;
extern int __attribute__((__visibility__("default")))  php_output_clean(void) ;
extern void __attribute__((__visibility__("default")))  php_output_clean_all(void) ;
extern int __attribute__((__visibility__("default")))  php_output_end(void) ;
extern void __attribute__((__visibility__("default")))  php_output_end_all(void) ;
extern int __attribute__((__visibility__("default")))  php_output_discard(void) ;
extern void __attribute__((__visibility__("default")))  php_output_discard_all(void) ;
extern int __attribute__((__visibility__("default")))  php_output_get_contents(zval *p ) ;
extern int __attribute__((__visibility__("default")))  php_output_get_length(zval *p ) ;
extern int __attribute__((__visibility__("default")))  php_output_get_level(void) ;
extern php_output_handler __attribute__((__visibility__("default")))  *php_output_get_active_handler(void) ;
extern int __attribute__((__visibility__("default")))  php_output_start_default(void) ;
extern int __attribute__((__visibility__("default")))  php_output_start_devnull(void) ;
extern int __attribute__((__visibility__("default")))  php_output_start_user(zval *output_handler , size_t chunk_size , int flags ) ;
extern int __attribute__((__visibility__("default")))  php_output_start_internal(char const   *name , size_t name_len , void (*output_handler)(char *output , uint output_len , char **handled_output , uint *handled_output_len , int mode ) , size_t chunk_size , int flags ) ;
extern php_output_handler __attribute__((__visibility__("default")))  *php_output_handler_create_user(zval *handler , size_t chunk_size , int flags ) ;
extern php_output_handler __attribute__((__visibility__("default")))  *php_output_handler_create_internal(char const   *name , size_t name_len , int (*handler)(void **handler_context , php_output_context *output_context ) , size_t chunk_size , int flags ) ;
extern void __attribute__((__visibility__("default")))  php_output_handler_set_context(php_output_handler *handler , void *opaq , void (*dtor)(void * ) ) ;
extern int __attribute__((__visibility__("default")))  php_output_handler_start(php_output_handler *handler ) ;
extern int __attribute__((__visibility__("default")))  php_output_handler_started(char const   *name , size_t name_len ) ;
extern int __attribute__((__visibility__("default")))  php_output_handler_hook(php_output_handler_hook_t type , void *arg ) ;
extern void __attribute__((__visibility__("default")))  php_output_handler_dtor(php_output_handler *handler ) ;
extern void __attribute__((__visibility__("default")))  php_output_handler_free(php_output_handler **handler ) ;
extern int __attribute__((__visibility__("default")))  php_output_handler_conflict(char const   *handler_new , size_t handler_new_len , char const   *handler_set , size_t handler_set_len ) ;
extern int __attribute__((__visibility__("default")))  php_output_handler_conflict_register(char const   *handler_name , size_t handler_name_len , int (*check_func)(char const   *handler_name , size_t handler_name_len ) ) ;
extern int __attribute__((__visibility__("default")))  php_output_handler_reverse_conflict_register(char const   *handler_name , size_t handler_name_len , int (*check_func)(char const   *handler_name , size_t handler_name_len ) ) ;
extern php_output_handler_alias_ctor_t __attribute__((__visibility__("default")))  *php_output_handler_alias(char const   *handler_name , size_t handler_name_len ) ;
extern int __attribute__((__visibility__("default")))  php_output_handler_alias_register(char const   *handler_name , size_t handler_name_len , struct _php_output_handler *(*func)(char const   *handler_name , size_t handler_name_len , size_t chunk_size , int flags ) ) ;
extern void zif_ob_start(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_ob_flush(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_ob_clean(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_ob_end_flush(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_ob_end_clean(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_ob_get_flush(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_ob_get_clean(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_ob_get_contents(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_ob_get_length(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_ob_get_level(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_ob_get_status(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_ob_implicit_flush(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_ob_list_handlers(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_output_add_rewrite_var(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_output_reset_rewrite_vars(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern  __attribute__((__nothrow__)) int gettimeofday(struct timeval * __restrict  __tv , __timezone_ptr_t __tz )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int settimeofday(struct timeval  const  *__tv , struct timezone  const  *__tz )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int adjtime(struct timeval  const  *__delta , struct timeval *__olddelta ) ;
extern  __attribute__((__nothrow__)) int getitimer(__itimer_which_t __which , struct itimerval *__value ) ;
extern  __attribute__((__nothrow__)) int setitimer(__itimer_which_t __which , struct itimerval  const  * __restrict  __new , struct itimerval * __restrict  __old ) ;
extern  __attribute__((__nothrow__)) int utimes(char const   *__file , struct timeval  const  *__tvp )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int lutimes(char const   *__file , struct timeval  const  *__tvp )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int futimes(int __fd , struct timeval  const  *__tvp ) ;
__inline extern  __attribute__((__nothrow__)) int stat(char const   * __restrict  __path , struct stat * __restrict  __statbuf )  __attribute__((__nonnull__(1,2))) ;
__inline extern  __attribute__((__nothrow__)) int fstat(int __fd , struct stat *__statbuf )  __attribute__((__nonnull__(2))) ;
__inline extern  __attribute__((__nothrow__)) int fstatat(int __fd , char const   * __restrict  __filename , struct stat * __restrict  __statbuf , int __flag )  __attribute__((__nonnull__(2,3))) ;
__inline extern  __attribute__((__nothrow__)) int lstat(char const   * __restrict  __path , struct stat * __restrict  __statbuf )  __attribute__((__nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) int chmod(char const   *__file , __mode_t __mode )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int lchmod(char const   *__file , __mode_t __mode )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int fchmod(int __fd , __mode_t __mode ) ;
extern  __attribute__((__nothrow__)) int fchmodat(int __fd , char const   *__file , __mode_t __mode , int __flag )  __attribute__((__nonnull__(2))) ;
extern  __attribute__((__nothrow__)) __mode_t umask(__mode_t __mask ) ;
extern  __attribute__((__nothrow__)) int mkdir(char const   *__path , __mode_t __mode )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int mkdirat(int __fd , char const   *__path , __mode_t __mode )  __attribute__((__nonnull__(2))) ;
__inline extern  __attribute__((__nothrow__)) int mknod(char const   *__path , __mode_t __mode , __dev_t __dev )  __attribute__((__nonnull__(1))) ;
__inline extern  __attribute__((__nothrow__)) int mknodat(int __fd , char const   *__path , __mode_t __mode , __dev_t __dev )  __attribute__((__nonnull__(2))) ;
extern  __attribute__((__nothrow__)) int mkfifo(char const   *__path , __mode_t __mode )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int mkfifoat(int __fd , char const   *__path , __mode_t __mode )  __attribute__((__nonnull__(2))) ;
extern  __attribute__((__nothrow__)) int utimensat(int __fd , char const   *__path , struct timespec  const  *__times , int __flags )  __attribute__((__nonnull__(2))) ;
extern  __attribute__((__nothrow__)) int futimens(int __fd , struct timespec  const  *__times ) ;
extern  __attribute__((__nothrow__)) int __fxstat(int __ver , int __fildes , struct stat *__stat_buf )  __attribute__((__nonnull__(3))) ;
extern  __attribute__((__nothrow__)) int __xstat(int __ver , char const   *__filename , struct stat *__stat_buf )  __attribute__((__nonnull__(2,3))) ;
extern  __attribute__((__nothrow__)) int __lxstat(int __ver , char const   *__filename , struct stat *__stat_buf )  __attribute__((__nonnull__(2,3))) ;
extern  __attribute__((__nothrow__)) int __fxstatat(int __ver , int __fildes , char const   *__filename , struct stat *__stat_buf , int __flag )  __attribute__((__nonnull__(3,4))) ;
extern  __attribute__((__nothrow__)) int __xmknod(int __ver , char const   *__path , __mode_t __mode , __dev_t *__dev )  __attribute__((__nonnull__(2,4))) ;
extern  __attribute__((__nothrow__)) int __xmknodat(int __ver , int __fd , char const   *__path , __mode_t __mode , __dev_t *__dev )  __attribute__((__nonnull__(3,5))) ;
__inline extern  __attribute__((__nothrow__)) int stat(char const   * __restrict  __path , struct stat * __restrict  __statbuf )  __attribute__((__nonnull__(1,2))) ;
__inline extern int stat(char const   * __restrict  __path , struct stat * __restrict  __statbuf ) 
{ int tmp ;

  {
  tmp = __xstat(3, (char const   *)__path, (struct stat *)__statbuf);
  return (tmp);
}
}
__inline extern  __attribute__((__nothrow__)) int lstat(char const   * __restrict  __path , struct stat * __restrict  __statbuf )  __attribute__((__nonnull__(1,2))) ;
__inline extern int lstat(char const   * __restrict  __path , struct stat * __restrict  __statbuf ) 
{ int tmp ;

  {
  tmp = __lxstat(3, (char const   *)__path, (struct stat *)__statbuf);
  return (tmp);
}
}
__inline extern  __attribute__((__nothrow__)) int fstat(int __fd , struct stat *__statbuf )  __attribute__((__nonnull__(2))) ;
__inline extern int fstat(int __fd , struct stat *__statbuf ) 
{ int tmp ;

  {
  tmp = __fxstat(3, __fd, __statbuf);
  return (tmp);
}
}
__inline extern  __attribute__((__nothrow__)) int fstatat(int __fd , char const   * __restrict  __filename , struct stat * __restrict  __statbuf , int __flag )  __attribute__((__nonnull__(2,3))) ;
__inline extern int fstatat(int __fd , char const   * __restrict  __filename , struct stat * __restrict  __statbuf , int __flag ) 
{ int tmp ;

  {
  tmp = __fxstatat(3, __fd, (char const   *)__filename, (struct stat *)__statbuf, __flag);
  return (tmp);
}
}
__inline extern  __attribute__((__nothrow__)) int mknod(char const   *__path , __mode_t __mode , __dev_t __dev )  __attribute__((__nonnull__(1))) ;
__inline extern int mknod(char const   *__path , __mode_t __mode , __dev_t __dev ) 
{ int tmp ;

  {
  tmp = __xmknod(1, __path, __mode, & __dev);
  return (tmp);
}
}
__inline extern  __attribute__((__nothrow__)) int mknodat(int __fd , char const   *__path , __mode_t __mode , __dev_t __dev )  __attribute__((__nonnull__(2))) ;
__inline extern int mknodat(int __fd , char const   *__path , __mode_t __mode , __dev_t __dev ) 
{ int tmp ;

  {
  tmp = __xmknodat(1, __fd, __path, __mode, & __dev);
  return (tmp);
}
}
extern int __attribute__((__visibility__("default")))  php_file_le_stream(void) ;
extern int __attribute__((__visibility__("default")))  php_file_le_pstream(void) ;
extern int __attribute__((__visibility__("default")))  php_file_le_stream_filter(void) ;
extern void __attribute__((__visibility__("default")))  php_stream_context_free(php_stream_context *context ) ;
extern php_stream_context __attribute__((__visibility__("default")))  *php_stream_context_alloc(void) ;
extern int __attribute__((__visibility__("default")))  php_stream_context_get_option(php_stream_context *context , char const   *wrappername , char const   *optionname , zval ***optionvalue ) ;
extern int __attribute__((__visibility__("default")))  php_stream_context_set_option(php_stream_context *context , char const   *wrappername , char const   *optionname , zval *optionvalue ) ;
extern int __attribute__((__visibility__("default")))  php_stream_context_get_link(php_stream_context *context , char const   *hostent , php_stream **stream ) ;
extern int __attribute__((__visibility__("default")))  php_stream_context_set_link(php_stream_context *context , char const   *hostent , php_stream *stream ) ;
extern int __attribute__((__visibility__("default")))  php_stream_context_del_link(php_stream_context *context , php_stream *stream ) ;
extern php_stream_notifier __attribute__((__visibility__("default")))  *php_stream_notification_alloc(void) ;
extern void __attribute__((__visibility__("default")))  php_stream_notification_free(php_stream_notifier *notifier ) ;
extern void __attribute__((__visibility__("default")))  php_stream_notification_notify(php_stream_context *context , int notifycode , int severity , char *xmsg , int xcode , size_t bytes_sofar , size_t bytes_max , void *ptr ) ;
extern php_stream_context __attribute__((__visibility__("default")))  *php_stream_context_set(php_stream *stream , php_stream_context *context ) ;
extern php_stream_bucket __attribute__((__visibility__("default")))  *php_stream_bucket_new(php_stream *stream , char *buf , size_t buflen , int own_buf , int buf_persistent ) ;
extern int __attribute__((__visibility__("default")))  php_stream_bucket_split(php_stream_bucket *in , php_stream_bucket **left , php_stream_bucket **right , size_t length ) ;
extern void __attribute__((__visibility__("default")))  php_stream_bucket_delref(php_stream_bucket *bucket ) ;
extern void __attribute__((__visibility__("default")))  php_stream_bucket_prepend(php_stream_bucket_brigade *brigade , php_stream_bucket *bucket ) ;
extern void __attribute__((__visibility__("default")))  php_stream_bucket_append(php_stream_bucket_brigade *brigade , php_stream_bucket *bucket ) ;
extern void __attribute__((__visibility__("default")))  php_stream_bucket_unlink(php_stream_bucket *bucket ) ;
extern php_stream_bucket __attribute__((__visibility__("default")))  *php_stream_bucket_make_writeable(php_stream_bucket *bucket ) ;
extern void __attribute__((__visibility__("default")))  _php_stream_filter_prepend(php_stream_filter_chain *chain , php_stream_filter *filter ) ;
extern int __attribute__((__visibility__("default")))  php_stream_filter_prepend_ex(php_stream_filter_chain *chain , php_stream_filter *filter ) ;
extern void __attribute__((__visibility__("default")))  _php_stream_filter_append(php_stream_filter_chain *chain , php_stream_filter *filter ) ;
extern int __attribute__((__visibility__("default")))  php_stream_filter_append_ex(php_stream_filter_chain *chain , php_stream_filter *filter ) ;
extern int __attribute__((__visibility__("default")))  _php_stream_filter_flush(php_stream_filter *filter , int finish ) ;
extern php_stream_filter __attribute__((__visibility__("default")))  *php_stream_filter_remove(php_stream_filter *filter , int call_dtor ) ;
extern void __attribute__((__visibility__("default")))  php_stream_filter_free(php_stream_filter *filter ) ;
extern php_stream_filter __attribute__((__visibility__("default")))  *_php_stream_filter_alloc(php_stream_filter_ops *fops , void *abstract , int persistent ) ;
extern int __attribute__((__visibility__("default")))  php_stream_filter_register_factory(char const   *filterpattern , php_stream_filter_factory *factory ) ;
extern int __attribute__((__visibility__("default")))  php_stream_filter_unregister_factory(char const   *filterpattern ) ;
extern int __attribute__((__visibility__("default")))  php_stream_filter_register_factory_volatile(char const   *filterpattern , php_stream_filter_factory *factory ) ;
extern php_stream_filter __attribute__((__visibility__("default")))  *php_stream_filter_create(char const   *filtername , zval *filterparams , int persistent ) ;
extern php_stream __attribute__((__visibility__("default")))  *_php_stream_alloc(php_stream_ops *ops , void *abstract , char const   *persistent_id , char const   *mode ) ;
extern php_stream __attribute__((__visibility__("default")))  *php_stream_encloses(php_stream *enclosing , php_stream *enclosed ) ;
extern int __attribute__((__visibility__("default")))  _php_stream_free_enclosed(php_stream *stream_enclosed , int close_options ) ;
extern int __attribute__((__visibility__("default")))  php_stream_from_persistent_id(char const   *persistent_id , php_stream **stream ) ;
extern int __attribute__((__visibility__("default")))  _php_stream_free(php_stream *stream , int close_options ) ;
extern int __attribute__((__visibility__("default")))  _php_stream_seek(php_stream *stream , off_t offset , int whence ) ;
extern off_t __attribute__((__visibility__("default")))  _php_stream_tell(php_stream *stream ) ;
extern size_t __attribute__((__visibility__("default")))  _php_stream_read(php_stream *stream , char *buf , size_t count ) ;
extern size_t __attribute__((__visibility__("default")))  _php_stream_write(php_stream *stream , char const   *buf , size_t count ) ;
extern size_t __attribute__((__visibility__("default")))  ( /* format attribute */  _php_stream_printf)(php_stream *stream , char const   *fmt  , ...) ;
extern int __attribute__((__visibility__("default")))  _php_stream_eof(php_stream *stream ) ;
extern int __attribute__((__visibility__("default")))  _php_stream_getc(php_stream *stream ) ;
extern int __attribute__((__visibility__("default")))  _php_stream_putc(php_stream *stream , int c ) ;
extern int __attribute__((__visibility__("default")))  _php_stream_flush(php_stream *stream , int closing ) ;
extern char __attribute__((__visibility__("default")))  *_php_stream_get_line(php_stream *stream , char *buf , size_t maxlen , size_t *returned_len ) ;
extern char __attribute__((__visibility__("default")))  *php_stream_get_record(php_stream *stream , size_t maxlen , size_t *returned_len , char *delim , size_t delim_len ) ;
extern int __attribute__((__visibility__("default")))  _php_stream_puts(php_stream *stream , char *buf ) ;
extern int __attribute__((__visibility__("default")))  _php_stream_stat(php_stream *stream , php_stream_statbuf *ssb ) ;
extern int __attribute__((__visibility__("default")))  _php_stream_stat_path(char *path , int flags , php_stream_statbuf *ssb , php_stream_context *context ) ;
extern int __attribute__((__visibility__("default")))  _php_stream_mkdir(char *path , int mode , int options , php_stream_context *context ) ;
extern int __attribute__((__visibility__("default")))  _php_stream_rmdir(char *path , int options , php_stream_context *context ) ;
extern php_stream __attribute__((__visibility__("default")))  *_php_stream_opendir(char *path , int options , php_stream_context *context ) ;
extern php_stream_dirent __attribute__((__visibility__("default")))  *_php_stream_readdir(php_stream *dirstream , php_stream_dirent *ent ) ;
extern int __attribute__((__visibility__("default")))  php_stream_dirent_alphasort(char const   **a , char const   **b ) ;
extern int __attribute__((__visibility__("default")))  php_stream_dirent_alphasortr(char const   **a , char const   **b ) ;
extern int __attribute__((__visibility__("default")))  _php_stream_scandir(char *dirname , char ***namelist , int flags , php_stream_context *context , int (*compare)(char const   **a , char const   **b ) ) ;
extern int __attribute__((__visibility__("default")))  _php_stream_set_option(php_stream *stream , int option , int value , void *ptrparam ) ;
extern int __attribute__((__visibility__("default")))  _php_stream_truncate_set_size(php_stream *stream , size_t newsize ) ;
extern size_t __attribute__((__visibility__("default"), __deprecated__))  _php_stream_copy_to_stream(php_stream *src , php_stream *dest , size_t maxlen ) ;
extern int __attribute__((__visibility__("default")))  _php_stream_copy_to_stream_ex(php_stream *src , php_stream *dest , size_t maxlen , size_t *len ) ;
extern size_t __attribute__((__visibility__("default")))  _php_stream_copy_to_mem(php_stream *src , char **buf , size_t maxlen , int persistent ) ;
extern size_t __attribute__((__visibility__("default")))  _php_stream_passthru(php_stream *src ) ;
extern ssize_t readv(int __fd , struct iovec  const  *__iovec , int __count ) ;
extern ssize_t writev(int __fd , struct iovec  const  *__iovec , int __count ) ;
extern ssize_t preadv(int __fd , struct iovec  const  *__iovec , int __count , __off_t __offset ) ;
extern ssize_t pwritev(int __fd , struct iovec  const  *__iovec , int __count , __off_t __offset ) ;
__inline extern  __attribute__((__nothrow__)) struct cmsghdr *__cmsg_nxthdr(struct msghdr *__mhdr , struct cmsghdr *__cmsg ) ;
__inline extern  __attribute__((__nothrow__)) struct cmsghdr *__cmsg_nxthdr(struct msghdr *__mhdr , struct cmsghdr *__cmsg ) ;
__inline extern struct cmsghdr *__cmsg_nxthdr(struct msghdr *__mhdr , struct cmsghdr *__cmsg ) 
{ 

  {
  if (__cmsg->cmsg_len < sizeof(struct cmsghdr )) {
    return ((struct cmsghdr *)0);
  } else {

  }
  __cmsg = (struct cmsghdr *)((unsigned char *)__cmsg + (((__cmsg->cmsg_len + sizeof(size_t )) - 1U) & ~ (sizeof(size_t ) - 1U)));
  if ((unsigned int )((unsigned char *)(__cmsg + 1)) > (unsigned int )((unsigned char *)__mhdr->msg_control + __mhdr->msg_controllen)) {
    return ((struct cmsghdr *)0);
  } else {
    if ((unsigned int )((unsigned char *)__cmsg + (((__cmsg->cmsg_len + sizeof(size_t )) - 1U) & ~ (sizeof(size_t ) - 1U))) > (unsigned int )((unsigned char *)__mhdr->msg_control + __mhdr->msg_controllen)) {
      return ((struct cmsghdr *)0);
    } else {

    }
  }
  return (__cmsg);
}
}
extern int recvmmsg(int __fd , struct mmsghdr *__vmessages , unsigned int __vlen , int __flags , struct timespec  const  *__tmo ) ;
extern  __attribute__((__nothrow__)) int socket(int __domain , int __type , int __protocol ) ;
extern  __attribute__((__nothrow__)) int socketpair(int __domain , int __type , int __protocol , int *__fds ) ;
extern  __attribute__((__nothrow__)) int bind(int __fd , struct sockaddr  const  *__addr , socklen_t __len ) ;
extern  __attribute__((__nothrow__)) int getsockname(int __fd , struct sockaddr * __restrict  __addr , socklen_t * __restrict  __len ) ;
extern int connect(int __fd , struct sockaddr  const  *__addr , socklen_t __len ) ;
extern  __attribute__((__nothrow__)) int getpeername(int __fd , struct sockaddr * __restrict  __addr , socklen_t * __restrict  __len ) ;
extern ssize_t send(int __fd , void const   *__buf , size_t __n , int __flags ) ;
extern ssize_t recv(int __fd , void *__buf , size_t __n , int __flags ) ;
extern ssize_t sendto(int __fd , void const   *__buf , size_t __n , int __flags , struct sockaddr  const  *__addr , socklen_t __addr_len ) ;
extern ssize_t recvfrom(int __fd , void * __restrict  __buf , size_t __n , int __flags , struct sockaddr * __restrict  __addr , socklen_t * __restrict  __addr_len ) ;
extern ssize_t sendmsg(int __fd , struct msghdr  const  *__message , int __flags ) ;
extern ssize_t recvmsg(int __fd , struct msghdr *__message , int __flags ) ;
extern  __attribute__((__nothrow__)) int getsockopt(int __fd , int __level , int __optname , void * __restrict  __optval , socklen_t * __restrict  __optlen ) ;
extern  __attribute__((__nothrow__)) int setsockopt(int __fd , int __level , int __optname , void const   *__optval , socklen_t __optlen ) ;
extern  __attribute__((__nothrow__)) int listen(int __fd , int __n ) ;
extern int accept(int __fd , struct sockaddr * __restrict  __addr , socklen_t * __restrict  __addr_len ) ;
extern  __attribute__((__nothrow__)) int shutdown(int __fd , int __how ) ;
extern  __attribute__((__nothrow__)) int sockatmark(int __fd ) ;
extern  __attribute__((__nothrow__)) int isfdtype(int __fd , int __fdtype ) ;
extern int __attribute__((__visibility__("default")))  php_stream_xport_register(char *protocol , php_stream_transport_factory factory ) ;
extern int __attribute__((__visibility__("default")))  php_stream_xport_unregister(char *protocol ) ;
extern php_stream __attribute__((__visibility__("default")))  *_php_stream_xport_create(char const   *name , long namelen , int options , int flags , char const   *persistent_id , struct timeval *timeout , php_stream_context *context , char **error_string , int *error_code ) ;
extern int __attribute__((__visibility__("default")))  php_stream_xport_bind(php_stream *stream , char const   *name , long namelen , char **error_text ) ;
extern int __attribute__((__visibility__("default")))  php_stream_xport_connect(php_stream *stream , char const   *name , long namelen , int asynchronous , struct timeval *timeout , char **error_text , int *error_code ) ;
extern int __attribute__((__visibility__("default")))  php_stream_xport_listen(php_stream *stream , int backlog , char **error_text ) ;
extern int __attribute__((__visibility__("default")))  php_stream_xport_accept(php_stream *stream , php_stream **client , char **textaddr , int *textaddrlen , void **addr , socklen_t *addrlen , struct timeval *timeout , char **error_text ) ;
extern int __attribute__((__visibility__("default")))  php_stream_xport_get_name(php_stream *stream , int want_peer , char **textaddr , int *textaddrlen , void **addr , socklen_t *addrlen ) ;
extern int __attribute__((__visibility__("default")))  php_stream_xport_recvfrom(php_stream *stream , char *buf , size_t buflen , long flags , void **addr , socklen_t *addrlen , char **textaddr , int *textaddrlen ) ;
extern int __attribute__((__visibility__("default")))  php_stream_xport_sendto(php_stream *stream , char const   *buf , size_t buflen , long flags , void *addr , socklen_t addrlen ) ;
extern int __attribute__((__visibility__("default")))  php_stream_xport_shutdown(php_stream *stream , stream_shutdown_t how ) ;
extern int __attribute__((__visibility__("default")))  php_stream_xport_crypto_setup(php_stream *stream , php_stream_xport_crypt_method_t crypto_method , php_stream *session_stream ) ;
extern int __attribute__((__visibility__("default")))  php_stream_xport_crypto_enable(php_stream *stream , int activate ) ;
extern HashTable __attribute__((__visibility__("default")))  *php_stream_xport_get_hash(void) ;
extern php_stream_transport_factory_func __attribute__((__visibility__("default")))  php_stream_generic_socket_factory ;
extern php_stream_ops __attribute__((__visibility__("default")))  php_stream_stdio_ops ;
extern php_stream_wrapper __attribute__((__visibility__("default")))  php_plain_files_wrapper ;
extern php_stream __attribute__((__visibility__("default")))  *_php_stream_fopen(char const   *filename , char const   *mode , char **opened_path , int options ) ;
extern php_stream __attribute__((__visibility__("default")))  *_php_stream_fopen_with_path(char *filename , char *mode , char *path , char **opened_path , int options ) ;
extern php_stream __attribute__((__visibility__("default")))  *_php_stream_fopen_from_file(FILE *file , char const   *mode ) ;
extern php_stream __attribute__((__visibility__("default")))  *_php_stream_fopen_from_fd(int fd , char const   *mode , char const   *persistent_id ) ;
extern php_stream __attribute__((__visibility__("default")))  *_php_stream_fopen_from_pipe(FILE *file , char const   *mode ) ;
extern php_stream __attribute__((__visibility__("default")))  *_php_stream_fopen_tmpfile(int dummy ) ;
extern php_stream __attribute__((__visibility__("default")))  *_php_stream_fopen_temporary_file(char const   *dir , char const   *pfx , char **opened_path ) ;
extern FILE __attribute__((__visibility__("default")))  *_php_stream_open_wrapper_as_file(char *path , char *mode , int options , char **opened_path ) ;
extern php_stream_wrapper __attribute__((__visibility__("default")))  php_glob_stream_wrapper ;
extern php_stream_ops __attribute__((__visibility__("default")))  php_glob_stream_ops ;
extern char __attribute__((__visibility__("default")))  *_php_glob_stream_get_path(php_stream *stream , int copy , int *plen ) ;
extern char __attribute__((__visibility__("default")))  *_php_glob_stream_get_pattern(php_stream *stream , int copy , int *plen ) ;
extern int __attribute__((__visibility__("default")))  _php_glob_stream_get_count(php_stream *stream , int *pflags ) ;
extern php_stream_ops __attribute__((__visibility__("default")))  php_stream_userspace_ops ;
extern php_stream_ops __attribute__((__visibility__("default")))  php_stream_userspace_dir_ops ;
extern char __attribute__((__visibility__("default")))  *_php_stream_mmap_range(php_stream *stream , size_t offset , size_t length , php_stream_mmap_operation_t mode , size_t *mapped_len ) ;
extern int __attribute__((__visibility__("default")))  _php_stream_mmap_unmap(php_stream *stream ) ;
extern int __attribute__((__visibility__("default")))  _php_stream_mmap_unmap_ex(php_stream *stream , off_t readden ) ;
extern int __attribute__((__visibility__("default")))  _php_stream_cast(php_stream *stream , int castas , void **ret , int show_err ) ;
extern int php_init_stream_wrappers(int module_number ) ;
extern int php_shutdown_stream_wrappers(int module_number ) ;
extern void php_shutdown_stream_hashes(void) ;
extern int zm_deactivate_streams(int type , int module_number ) ;
extern int __attribute__((__visibility__("default")))  php_register_url_stream_wrapper(char *protocol , php_stream_wrapper *wrapper ) ;
extern int __attribute__((__visibility__("default")))  php_unregister_url_stream_wrapper(char *protocol ) ;
extern int __attribute__((__visibility__("default")))  php_register_url_stream_wrapper_volatile(char *protocol , php_stream_wrapper *wrapper ) ;
extern int __attribute__((__visibility__("default")))  php_unregister_url_stream_wrapper_volatile(char *protocol ) ;
extern php_stream __attribute__((__visibility__("default")))  *_php_stream_open_wrapper_ex(char *path , char *mode , int options , char **opened_path , php_stream_context *context ) ;
extern php_stream_wrapper __attribute__((__visibility__("default")))  *php_stream_locate_url_wrapper(char const   *path , char **path_for_open , int options ) ;
extern char __attribute__((__visibility__("default")))  *php_stream_locate_eol(php_stream *stream , char *buf , size_t buf_len ) ;
extern void __attribute__((__visibility__("default")))  ( /* format attribute */  php_stream_wrapper_log_error)(php_stream_wrapper *wrapper , int options , char const   *fmt  , ...) ;
extern int __attribute__((__visibility__("default")))  _php_stream_make_seekable(php_stream *origstream , php_stream **newstream , int flags ) ;
extern HashTable __attribute__((__visibility__("default")))  *_php_stream_get_url_stream_wrappers_hash(void) ;
extern HashTable __attribute__((__visibility__("default")))  *php_stream_get_url_stream_wrappers_hash_global(void) ;
extern HashTable __attribute__((__visibility__("default")))  *_php_get_stream_filters_hash(void) ;
extern HashTable __attribute__((__visibility__("default")))  *php_get_stream_filters_hash_global(void) ;
extern php_stream_wrapper_ops *php_stream_user_wrapper_ops ;
extern php_stream __attribute__((__visibility__("default")))  *_php_stream_memory_create(int mode ) ;
extern php_stream __attribute__((__visibility__("default")))  *_php_stream_memory_open(int mode , char *buf , size_t length ) ;
extern char __attribute__((__visibility__("default")))  *_php_stream_memory_get_buffer(php_stream *stream , size_t *length ) ;
extern php_stream __attribute__((__visibility__("default")))  *_php_stream_temp_create(int mode , size_t max_memory_usage ) ;
extern php_stream __attribute__((__visibility__("default")))  *_php_stream_temp_open(int mode , size_t max_memory_usage , char *buf , size_t length ) ;
extern php_stream_ops __attribute__((__visibility__("default")))  php_stream_memory_ops ;
extern php_stream_ops __attribute__((__visibility__("default")))  php_stream_temp_ops ;
extern php_stream_ops __attribute__((__visibility__("default")))  php_stream_rfc2397_ops ;
extern php_stream_wrapper __attribute__((__visibility__("default")))  php_stream_rfc2397_wrapper ;
extern struct _php_core_globals  __attribute__((__visibility__("default"))) core_globals ;
extern int __attribute__((__visibility__("default")))  zend_ini_startup(void) ;
extern int __attribute__((__visibility__("default")))  zend_ini_shutdown(void) ;
extern int __attribute__((__visibility__("default")))  zend_ini_global_shutdown(void) ;
extern int __attribute__((__visibility__("default")))  zend_ini_deactivate(void) ;
extern int __attribute__((__visibility__("default")))  zend_copy_ini_directives(void) ;
extern void __attribute__((__visibility__("default")))  zend_ini_sort_entries(void) ;
extern int __attribute__((__visibility__("default")))  zend_register_ini_entries(zend_ini_entry const   *ini_entry , int module_number ) ;
extern void __attribute__((__visibility__("default")))  zend_unregister_ini_entries(int module_number ) ;
extern void __attribute__((__visibility__("default")))  zend_ini_refresh_caches(int stage ) ;
extern int __attribute__((__visibility__("default")))  zend_alter_ini_entry(char *name , uint name_length , char *new_value , uint new_value_length , int modify_type , int stage ) ;
extern int __attribute__((__visibility__("default")))  zend_alter_ini_entry_ex(char *name , uint name_length , char *new_value , uint new_value_length , int modify_type , int stage , int force_change ) ;
extern int __attribute__((__visibility__("default")))  zend_restore_ini_entry(char *name , uint name_length , int stage ) ;
extern void __attribute__((__visibility__("default")))  display_ini_entries(zend_module_entry *module ) ;
extern long __attribute__((__visibility__("default")))  zend_ini_long(char *name , uint name_length , int orig ) ;
extern double __attribute__((__visibility__("default")))  zend_ini_double(char *name , uint name_length , int orig ) ;
extern char __attribute__((__visibility__("default")))  *zend_ini_string(char *name , uint name_length , int orig ) ;
extern char __attribute__((__visibility__("default")))  *zend_ini_string_ex(char *name , uint name_length , int orig , zend_bool *exists ) ;
extern int __attribute__((__visibility__("default")))  zend_ini_register_displayer(char *name , uint name_length , void (*displayer)(zend_ini_entry *ini_entry , int type ) ) ;
extern void __attribute__((__visibility__("default")))  zend_ini_boolean_displayer_cb(zend_ini_entry *ini_entry , int type ) ;
extern void __attribute__((__visibility__("default")))  zend_ini_color_displayer_cb(zend_ini_entry *ini_entry , int type ) ;
extern void __attribute__((__visibility__("default")))  display_link_numbers(zend_ini_entry *ini_entry , int type ) ;
extern int __attribute__((__visibility__("default")))  OnUpdateBool(zend_ini_entry *entry , char *new_value , uint new_value_length , void *mh_arg1 , void *mh_arg2 , void *mh_arg3 , int stage ) ;
extern int __attribute__((__visibility__("default")))  OnUpdateLong(zend_ini_entry *entry , char *new_value , uint new_value_length , void *mh_arg1 , void *mh_arg2 , void *mh_arg3 , int stage ) ;
extern int __attribute__((__visibility__("default")))  OnUpdateLongGEZero(zend_ini_entry *entry , char *new_value , uint new_value_length , void *mh_arg1 , void *mh_arg2 , void *mh_arg3 , int stage ) ;
extern int __attribute__((__visibility__("default")))  OnUpdateReal(zend_ini_entry *entry , char *new_value , uint new_value_length , void *mh_arg1 , void *mh_arg2 , void *mh_arg3 , int stage ) ;
extern int __attribute__((__visibility__("default")))  OnUpdateString(zend_ini_entry *entry , char *new_value , uint new_value_length , void *mh_arg1 , void *mh_arg2 , void *mh_arg3 , int stage ) ;
extern int __attribute__((__visibility__("default")))  OnUpdateStringUnempty(zend_ini_entry *entry , char *new_value , uint new_value_length , void *mh_arg1 , void *mh_arg2 , void *mh_arg3 , int stage ) ;
extern int __attribute__((__visibility__("default")))  zend_parse_ini_file(zend_file_handle *fh , zend_bool unbuffered_errors , int scanner_mode , void (*ini_parser_cb)(zval *arg1 , zval *arg2 , zval *arg3 , int callback_type , void *arg ) , void *arg ) ;
extern int __attribute__((__visibility__("default")))  zend_parse_ini_string(char *str , zend_bool unbuffered_errors , int scanner_mode , void (*ini_parser_cb)(zval *arg1 , zval *arg2 , zval *arg3 , int callback_type , void *arg ) , void *arg ) ;
extern void __attribute__((__visibility__("default")))  config_zval_dtor(zval *zvalue ) ;
extern int php_init_config(void) ;
extern int php_shutdown_config(void) ;
extern void php_ini_register_extensions(void) ;
extern zval __attribute__((__visibility__("default")))  *cfg_get_entry(char const   *name , uint name_length ) ;
extern int __attribute__((__visibility__("default")))  cfg_get_long(char const   *varname , long *result ) ;
extern int __attribute__((__visibility__("default")))  cfg_get_double(char const   *varname , double *result ) ;
extern int __attribute__((__visibility__("default")))  cfg_get_string(char const   *varname , char **result ) ;
extern int __attribute__((__visibility__("default")))  php_parse_user_ini_file(char const   *dirname , char *ini_filename , HashTable *target_hash ) ;
extern void __attribute__((__visibility__("default")))  php_ini_activate_config(HashTable *source_hash , int modify_type , int stage ) ;
extern int __attribute__((__visibility__("default")))  php_ini_has_per_dir_config(void) ;
extern int __attribute__((__visibility__("default")))  php_ini_has_per_host_config(void) ;
extern void __attribute__((__visibility__("default")))  php_ini_activate_per_dir_config(char *path , uint path_len ) ;
extern void __attribute__((__visibility__("default")))  php_ini_activate_per_host_config(char const   *host , uint host_len ) ;
extern HashTable __attribute__((__visibility__("default")))  *php_ini_get_configuration_hash(void) ;
extern int __attribute__((__visibility__("default")))  php_fopen_primary_script(zend_file_handle *file_handle ) ;
extern char __attribute__((__visibility__("default")))  *expand_filepath(char const   *filepath , char *real_path ) ;
extern char __attribute__((__visibility__("default")))  *expand_filepath_ex(char const   *filepath , char *real_path , char const   *relative_to , size_t relative_to_len ) ;
extern char __attribute__((__visibility__("default")))  *expand_filepath_with_mode(char const   *filepath , char *real_path , char const   *relative_to , size_t relative_to_len , int use_realpath ) ;
extern int __attribute__((__visibility__("default")))  php_check_open_basedir(char const   *path ) ;
extern int __attribute__((__visibility__("default")))  php_check_open_basedir_ex(char const   *path , int warn ) ;
extern int __attribute__((__visibility__("default")))  php_check_specific_open_basedir(char const   *basedir , char const   *path ) ;
extern int __attribute__((__visibility__("default")))  php_check_safe_mode_include_dir(char const   *path ) ;
extern char __attribute__((__visibility__("default")))  *php_resolve_path(char const   *filename , int filename_len , char const   *path ) ;
extern FILE __attribute__((__visibility__("default")))  *php_fopen_with_path(char const   *filename , char const   *mode , char const   *path , char **opened_path ) ;
extern char __attribute__((__visibility__("default")))  *php_strip_url_passwd(char *path ) ;
extern int __attribute__((__visibility__("default")))  OnUpdateBaseDir(zend_ini_entry *entry , char *new_value , uint new_value_length , void *mh_arg1 , void *mh_arg2 , void *mh_arg3 , int stage ) ;
extern  __attribute__((__nothrow__)) int utime(char const   *__file , struct utimbuf  const  *__file_times )  __attribute__((__nonnull__(1))) ;
extern DIR *opendir(char const   *__name )  __attribute__((__nonnull__(1))) ;
extern DIR *fdopendir(int __fd ) ;
extern int closedir(DIR *__dirp )  __attribute__((__nonnull__(1))) ;
extern struct dirent *readdir(DIR *__dirp )  __attribute__((__nonnull__(1))) ;
extern int readdir_r(DIR * __restrict  __dirp , struct dirent * __restrict  __entry , struct dirent ** __restrict  __result )  __attribute__((__nonnull__(1,2,3))) ;
extern  __attribute__((__nothrow__)) void rewinddir(DIR *__dirp )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) void seekdir(DIR *__dirp , long __pos )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) long telldir(DIR *__dirp )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int dirfd(DIR *__dirp )  __attribute__((__nonnull__(1))) ;
extern int scandir(char const   * __restrict  __dir , struct dirent *** __restrict  __namelist , int (*__selector)(struct dirent  const  * ) , int (*__cmp)(struct dirent  const  ** , struct dirent  const  ** ) )  __attribute__((__nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) int alphasort(struct dirent  const  **__e1 , struct dirent  const  **__e2 )  __attribute__((__pure__, __nonnull__(1,2))) ;
extern  __attribute__((__nothrow__)) __ssize_t getdirentries(int __fd , char * __restrict  __buf , size_t __nbytes , __off_t * __restrict  __basep )  __attribute__((__nonnull__(2,4))) ;
extern void __attribute__((__visibility__("default")))  virtual_cwd_startup(void) ;
extern void __attribute__((__visibility__("default")))  virtual_cwd_shutdown(void) ;
extern char __attribute__((__visibility__("default")))  *virtual_getcwd_ex(size_t *length ) ;
extern char __attribute__((__visibility__("default")))  *virtual_getcwd(char *buf , size_t size ) ;
extern int __attribute__((__visibility__("default")))  virtual_chdir(char const   *path ) ;
extern int __attribute__((__visibility__("default")))  virtual_chdir_file(char const   *path , int (*p_chdir)(char const   *path ) ) ;
extern int __attribute__((__visibility__("default")))  virtual_filepath(char const   *path , char **filepath ) ;
extern int __attribute__((__visibility__("default")))  virtual_filepath_ex(char const   *path , char **filepath , int (*verify_path)(cwd_state const   * ) ) ;
extern char __attribute__((__visibility__("default")))  *virtual_realpath(char const   *path , char *real_path ) ;
extern FILE __attribute__((__visibility__("default")))  *virtual_fopen(char const   *path , char const   *mode ) ;
extern int __attribute__((__visibility__("default")))  virtual_open(char const   *path , int flags  , ...) ;
extern int __attribute__((__visibility__("default")))  virtual_creat(char const   *path , mode_t mode ) ;
extern int __attribute__((__visibility__("default")))  virtual_rename(char *oldname , char *newname ) ;
extern int __attribute__((__visibility__("default")))  virtual_stat(char const   *path , struct stat *buf ) ;
extern int __attribute__((__visibility__("default")))  virtual_lstat(char const   *path , struct stat *buf ) ;
extern int __attribute__((__visibility__("default")))  virtual_unlink(char const   *path ) ;
extern int __attribute__((__visibility__("default")))  virtual_mkdir(char const   *pathname , mode_t mode ) ;
extern int __attribute__((__visibility__("default")))  virtual_rmdir(char const   *pathname ) ;
extern DIR __attribute__((__visibility__("default")))  *virtual_opendir(char const   *pathname ) ;
extern FILE __attribute__((__visibility__("default")))  *virtual_popen(char const   *command , char const   *type ) ;
extern int __attribute__((__visibility__("default")))  virtual_access(char const   *pathname , int mode ) ;
extern int __attribute__((__visibility__("default")))  virtual_utime(char const   *filename , struct utimbuf *buf ) ;
extern int __attribute__((__visibility__("default")))  virtual_chmod(char const   *filename , mode_t mode ) ;
extern int __attribute__((__visibility__("default")))  virtual_chown(char const   *filename , uid_t owner , gid_t group , int link ) ;
extern int __attribute__((__visibility__("default")))  virtual_file_ex(cwd_state *state , char const   *path , int (*verify_path)(cwd_state const   * ) , int use_realpath ) ;
extern char __attribute__((__visibility__("default")))  *tsrm_realpath(char const   *path , char *real_path ) ;
extern virtual_cwd_globals cwd_globals ;
extern void __attribute__((__visibility__("default")))  realpath_cache_clean(void) ;
extern void __attribute__((__visibility__("default")))  realpath_cache_del(char const   *path , int path_len ) ;
extern realpath_cache_bucket __attribute__((__visibility__("default")))  *realpath_cache_lookup(char const   *path , int path_len , time_t t ) ;
extern int __attribute__((__visibility__("default")))  realpath_cache_size(void) ;
extern int __attribute__((__visibility__("default")))  realpath_cache_max_buckets(void) ;
extern realpath_cache_bucket __attribute__((__visibility__("default")))  **realpath_cache_get_buckets(void) ;
extern void clean_module_constants(int module_number ) ;
extern void free_zend_constant(zend_constant *c ) ;
extern int zend_startup_constants(void) ;
extern int zend_shutdown_constants(void) ;
extern void zend_register_standard_constants(void) ;
extern void clean_non_persistent_constants(void) ;
extern int __attribute__((__visibility__("default")))  zend_get_constant(char const   *name , uint name_len , zval *result ) ;
extern int __attribute__((__visibility__("default")))  zend_get_constant_ex(char const   *name , uint name_len , zval *result , zend_class_entry *scope , ulong flags ) ;
extern void __attribute__((__visibility__("default")))  zend_register_long_constant(char const   *name , uint name_len , long lval , int flags , int module_number ) ;
extern void __attribute__((__visibility__("default")))  zend_register_double_constant(char const   *name , uint name_len , double dval , int flags , int module_number ) ;
extern void __attribute__((__visibility__("default")))  zend_register_string_constant(char const   *name , uint name_len , char *strval , int flags , int module_number ) ;
extern void __attribute__((__visibility__("default")))  zend_register_stringl_constant(char const   *name , uint name_len , char *strval , uint strlen , int flags , int module_number ) ;
extern int __attribute__((__visibility__("default")))  zend_register_constant(zend_constant *c ) ;
extern void zend_copy_constants(HashTable *target , HashTable *sourc ) ;
extern void copy_zend_constant(zend_constant *c ) ;
extern zend_constant *zend_quick_get_constant(zend_literal const   *key , ulong flags ) ;
extern  __attribute__((__nothrow__)) clock_t clock(void) ;
extern  __attribute__((__nothrow__)) time_t time(time_t *__timer ) ;
extern  __attribute__((__nothrow__)) double difftime(time_t __time1 , time_t __time0 )  __attribute__((__const__)) ;
extern  __attribute__((__nothrow__)) time_t mktime(struct tm *__tp ) ;
extern  __attribute__((__nothrow__)) size_t strftime(char * __restrict  __s , size_t __maxsize , char const   * __restrict  __format , struct tm  const  * __restrict  __tp ) ;
extern  __attribute__((__nothrow__)) size_t strftime_l(char * __restrict  __s , size_t __maxsize , char const   * __restrict  __format , struct tm  const  * __restrict  __tp , __locale_t __loc ) ;
extern  __attribute__((__nothrow__)) struct tm *gmtime(time_t const   *__timer ) ;
extern  __attribute__((__nothrow__)) struct tm *localtime(time_t const   *__timer ) ;
extern  __attribute__((__nothrow__)) struct tm *gmtime_r(time_t const   * __restrict  __timer , struct tm * __restrict  __tp ) ;
extern  __attribute__((__nothrow__)) struct tm *localtime_r(time_t const   * __restrict  __timer , struct tm * __restrict  __tp ) ;
extern  __attribute__((__nothrow__)) char *asctime(struct tm  const  *__tp ) ;
extern  __attribute__((__nothrow__)) char *ctime(time_t const   *__timer ) ;
extern  __attribute__((__nothrow__)) char *asctime_r(struct tm  const  * __restrict  __tp , char * __restrict  __buf ) ;
extern  __attribute__((__nothrow__)) char *ctime_r(time_t const   * __restrict  __timer , char * __restrict  __buf ) ;
extern char *__tzname[2] ;
extern int __daylight ;
extern long __timezone ;
extern char *tzname[2] ;
extern  __attribute__((__nothrow__)) void tzset(void) ;
extern int daylight ;
extern long timezone ;
extern  __attribute__((__nothrow__)) int stime(time_t const   *__when ) ;
extern  __attribute__((__nothrow__)) time_t timegm(struct tm *__tp ) ;
extern  __attribute__((__nothrow__)) time_t timelocal(struct tm *__tp ) ;
extern  __attribute__((__nothrow__)) int dysize(int __year )  __attribute__((__const__)) ;
extern int nanosleep(struct timespec  const  *__requested_time , struct timespec *__remaining ) ;
extern  __attribute__((__nothrow__)) int clock_getres(clockid_t __clock_id , struct timespec *__res ) ;
extern  __attribute__((__nothrow__)) int clock_gettime(clockid_t __clock_id , struct timespec *__tp ) ;
extern  __attribute__((__nothrow__)) int clock_settime(clockid_t __clock_id , struct timespec  const  *__tp ) ;
extern int clock_nanosleep(clockid_t __clock_id , int __flags , struct timespec  const  *__req , struct timespec *__rem ) ;
extern  __attribute__((__nothrow__)) int clock_getcpuclockid(pid_t __pid , clockid_t *__clock_id ) ;
extern  __attribute__((__nothrow__)) int timer_create(clockid_t __clock_id , struct sigevent * __restrict  __evp , timer_t * __restrict  __timerid ) ;
extern  __attribute__((__nothrow__)) int timer_delete(timer_t __timerid ) ;
extern  __attribute__((__nothrow__)) int timer_settime(timer_t __timerid , int __flags , struct itimerspec  const  * __restrict  __value , struct itimerspec * __restrict  __ovalue ) ;
extern  __attribute__((__nothrow__)) int timer_gettime(timer_t __timerid , struct itimerspec *__value ) ;
extern  __attribute__((__nothrow__)) int timer_getoverrun(timer_t __timerid ) ;
extern  __attribute__((__nothrow__)) wchar_t *wcscpy(wchar_t * __restrict  __dest , wchar_t const   * __restrict  __src ) ;
extern  __attribute__((__nothrow__)) wchar_t *wcsncpy(wchar_t * __restrict  __dest , wchar_t const   * __restrict  __src , size_t __n ) ;
extern  __attribute__((__nothrow__)) wchar_t *wcscat(wchar_t * __restrict  __dest , wchar_t const   * __restrict  __src ) ;
extern  __attribute__((__nothrow__)) wchar_t *wcsncat(wchar_t * __restrict  __dest , wchar_t const   * __restrict  __src , size_t __n ) ;
extern  __attribute__((__nothrow__)) int wcscmp(wchar_t const   *__s1 , wchar_t const   *__s2 )  __attribute__((__pure__)) ;
extern  __attribute__((__nothrow__)) int wcsncmp(wchar_t const   *__s1 , wchar_t const   *__s2 , size_t __n )  __attribute__((__pure__)) ;
extern  __attribute__((__nothrow__)) int wcscasecmp(wchar_t const   *__s1 , wchar_t const   *__s2 ) ;
extern  __attribute__((__nothrow__)) int wcsncasecmp(wchar_t const   *__s1 , wchar_t const   *__s2 , size_t __n ) ;
extern  __attribute__((__nothrow__)) int wcscasecmp_l(wchar_t const   *__s1 , wchar_t const   *__s2 , __locale_t __loc ) ;
extern  __attribute__((__nothrow__)) int wcsncasecmp_l(wchar_t const   *__s1 , wchar_t const   *__s2 , size_t __n , __locale_t __loc ) ;
extern  __attribute__((__nothrow__)) int wcscoll(wchar_t const   *__s1 , wchar_t const   *__s2 ) ;
extern  __attribute__((__nothrow__)) size_t wcsxfrm(wchar_t * __restrict  __s1 , wchar_t const   * __restrict  __s2 , size_t __n ) ;
extern  __attribute__((__nothrow__)) int wcscoll_l(wchar_t const   *__s1 , wchar_t const   *__s2 , __locale_t __loc ) ;
extern  __attribute__((__nothrow__)) size_t wcsxfrm_l(wchar_t *__s1 , wchar_t const   *__s2 , size_t __n , __locale_t __loc ) ;
extern  __attribute__((__nothrow__)) wchar_t *wcsdup(wchar_t const   *__s )  __attribute__((__malloc__)) ;
extern  __attribute__((__nothrow__)) wchar_t *wcschr(wchar_t const   *__wcs , wchar_t __wc )  __attribute__((__pure__)) ;
extern  __attribute__((__nothrow__)) wchar_t *wcsrchr(wchar_t const   *__wcs , wchar_t __wc )  __attribute__((__pure__)) ;
extern  __attribute__((__nothrow__)) size_t wcscspn(wchar_t const   *__wcs , wchar_t const   *__reject )  __attribute__((__pure__)) ;
extern  __attribute__((__nothrow__)) size_t wcsspn(wchar_t const   *__wcs , wchar_t const   *__accept )  __attribute__((__pure__)) ;
extern  __attribute__((__nothrow__)) wchar_t *wcspbrk(wchar_t const   *__wcs , wchar_t const   *__accept )  __attribute__((__pure__)) ;
extern  __attribute__((__nothrow__)) wchar_t *wcsstr(wchar_t const   *__haystack , wchar_t const   *__needle )  __attribute__((__pure__)) ;
extern  __attribute__((__nothrow__)) wchar_t *wcstok(wchar_t * __restrict  __s , wchar_t const   * __restrict  __delim , wchar_t ** __restrict  __ptr ) ;
extern  __attribute__((__nothrow__)) size_t wcslen(wchar_t const   *__s )  __attribute__((__pure__)) ;
extern  __attribute__((__nothrow__)) size_t wcsnlen(wchar_t const   *__s , size_t __maxlen )  __attribute__((__pure__)) ;
extern  __attribute__((__nothrow__)) wchar_t *wmemchr(wchar_t const   *__s , wchar_t __c , size_t __n )  __attribute__((__pure__)) ;
extern  __attribute__((__nothrow__)) int wmemcmp(wchar_t const   * __restrict  __s1 , wchar_t const   * __restrict  __s2 , size_t __n )  __attribute__((__pure__)) ;
extern  __attribute__((__nothrow__)) wchar_t *wmemcpy(wchar_t * __restrict  __s1 , wchar_t const   * __restrict  __s2 , size_t __n ) ;
extern  __attribute__((__nothrow__)) wchar_t *wmemmove(wchar_t *__s1 , wchar_t const   *__s2 , size_t __n ) ;
extern  __attribute__((__nothrow__)) wchar_t *wmemset(wchar_t *__s , wchar_t __c , size_t __n ) ;
__inline extern  __attribute__((__nothrow__)) wint_t btowc(int __c ) ;
__inline extern  __attribute__((__nothrow__)) int wctob(wint_t __wc ) ;
extern  __attribute__((__nothrow__)) int mbsinit(mbstate_t const   *__ps )  __attribute__((__pure__)) ;
extern  __attribute__((__nothrow__)) size_t mbrtowc(wchar_t * __restrict  __pwc , char const   * __restrict  __s , size_t __n , mbstate_t *__p ) ;
extern  __attribute__((__nothrow__)) size_t wcrtomb(char * __restrict  __s , wchar_t __wc , mbstate_t * __restrict  __ps ) ;
extern  __attribute__((__nothrow__)) size_t __mbrlen(char const   * __restrict  __s , size_t __n , mbstate_t * __restrict  __ps ) ;
__inline extern  __attribute__((__nothrow__)) size_t mbrlen(char const   * __restrict  __s , size_t __n , mbstate_t * __restrict  __ps ) ;
extern wint_t __btowc_alias(int __c )  __asm__("btowc")  ;
__inline extern  __attribute__((__nothrow__)) wint_t btowc(int __c ) ;
__inline extern wint_t btowc(int __c ) 
{ wint_t tmp ;

  {
  tmp = __btowc_alias(__c);
  return (tmp);
}
}
extern int __wctob_alias(wint_t __c )  __asm__("wctob")  ;
__inline extern  __attribute__((__nothrow__)) int wctob(wint_t __wc ) ;
__inline extern int wctob(wint_t __wc ) 
{ int tmp ;

  {
  tmp = __wctob_alias(__wc);
  return (tmp);
}
}
__inline extern  __attribute__((__nothrow__)) size_t mbrlen(char const   * __restrict  __s , size_t __n , mbstate_t * __restrict  __ps ) ;
__inline extern size_t mbrlen(char const   * __restrict  __s , size_t __n , mbstate_t * __restrict  __ps ) 
{ size_t tmp ;
  size_t tmp___0 ;
  size_t tmp___1 ;

  {
  if ((unsigned int )__ps != (unsigned int )((void *)0)) {
    tmp = mbrtowc((wchar_t */* __restrict  */)((void *)0), __s, __n, (mbstate_t *)__ps);
    tmp___1 = tmp;
  } else {
    tmp___0 = __mbrlen(__s, __n, (mbstate_t */* __restrict  */)((void *)0));
    tmp___1 = tmp___0;
  }
  return (tmp___1);
}
}
extern  __attribute__((__nothrow__)) size_t mbsrtowcs(wchar_t * __restrict  __dst , char const   ** __restrict  __src , size_t __len , mbstate_t * __restrict  __ps ) ;
extern  __attribute__((__nothrow__)) size_t wcsrtombs(char * __restrict  __dst , wchar_t const   ** __restrict  __src , size_t __len , mbstate_t * __restrict  __ps ) ;
extern  __attribute__((__nothrow__)) size_t mbsnrtowcs(wchar_t * __restrict  __dst , char const   ** __restrict  __src , size_t __nmc , size_t __len , mbstate_t * __restrict  __ps ) ;
extern  __attribute__((__nothrow__)) size_t wcsnrtombs(char * __restrict  __dst , wchar_t const   ** __restrict  __src , size_t __nwc , size_t __len , mbstate_t * __restrict  __ps ) ;
extern  __attribute__((__nothrow__)) double wcstod(wchar_t const   * __restrict  __nptr , wchar_t ** __restrict  __endptr ) ;
extern  __attribute__((__nothrow__)) float wcstof(wchar_t const   * __restrict  __nptr , wchar_t ** __restrict  __endptr ) ;
extern  __attribute__((__nothrow__)) long double wcstold(wchar_t const   * __restrict  __nptr , wchar_t ** __restrict  __endptr ) ;
extern  __attribute__((__nothrow__)) long wcstol(wchar_t const   * __restrict  __nptr , wchar_t ** __restrict  __endptr , int __base ) ;
extern  __attribute__((__nothrow__)) unsigned long wcstoul(wchar_t const   * __restrict  __nptr , wchar_t ** __restrict  __endptr , int __base ) ;
extern  __attribute__((__nothrow__)) long long wcstoll(wchar_t const   * __restrict  __nptr , wchar_t ** __restrict  __endptr , int __base ) ;
extern  __attribute__((__nothrow__)) unsigned long long wcstoull(wchar_t const   * __restrict  __nptr , wchar_t ** __restrict  __endptr , int __base ) ;
extern  __attribute__((__nothrow__)) __FILE *open_wmemstream(wchar_t **__bufloc , size_t *__sizeloc ) ;
extern  __attribute__((__nothrow__)) int fwide(__FILE *__fp , int __mode ) ;
extern int fwprintf(__FILE * __restrict  __stream , wchar_t const   * __restrict  __format  , ...) ;
extern int wprintf(wchar_t const   * __restrict  __format  , ...) ;
extern  __attribute__((__nothrow__)) int swprintf(wchar_t * __restrict  __s , size_t __n , wchar_t const   * __restrict  __format  , ...) ;
extern int vfwprintf(__FILE * __restrict  __s , wchar_t const   * __restrict  __format , __gnuc_va_list __arg ) ;
extern int vwprintf(wchar_t const   * __restrict  __format , __gnuc_va_list __arg ) ;
extern  __attribute__((__nothrow__)) int vswprintf(wchar_t * __restrict  __s , size_t __n , wchar_t const   * __restrict  __format , __gnuc_va_list __arg ) ;
extern int fwscanf(__FILE * __restrict  __stream , wchar_t const   * __restrict  __format  , ...)  __asm__("__isoc99_fwscanf")  ;
extern int wscanf(wchar_t const   * __restrict  __format  , ...)  __asm__("__isoc99_wscanf")  ;
extern  __attribute__((__nothrow__)) int swscanf(wchar_t const   * __restrict  __s , wchar_t const   * __restrict  __format  , ...)  __asm__("__isoc99_swscanf")  ;
extern int vfwscanf(__FILE * __restrict  __s , wchar_t const   * __restrict  __format , __gnuc_va_list __arg )  __asm__("__isoc99_vfwscanf")  ;
extern int vwscanf(wchar_t const   * __restrict  __format , __gnuc_va_list __arg )  __asm__("__isoc99_vwscanf")  ;
extern  __attribute__((__nothrow__)) int vswscanf(wchar_t const   * __restrict  __s , wchar_t const   * __restrict  __format , __gnuc_va_list __arg )  __asm__("__isoc99_vswscanf")  ;
extern wint_t fgetwc(__FILE *__stream ) ;
extern wint_t getwc(__FILE *__stream ) ;
extern wint_t getwchar(void) ;
extern wint_t fputwc(wchar_t __wc , __FILE *__stream ) ;
extern wint_t putwc(wchar_t __wc , __FILE *__stream ) ;
extern wint_t putwchar(wchar_t __wc ) ;
extern wchar_t *fgetws(wchar_t * __restrict  __ws , int __n , __FILE * __restrict  __stream ) ;
extern int fputws(wchar_t const   * __restrict  __ws , __FILE * __restrict  __stream ) ;
extern wint_t ungetwc(wint_t __wc , __FILE *__stream ) ;
extern  __attribute__((__nothrow__)) size_t wcsftime(wchar_t * __restrict  __s , size_t __maxsize , wchar_t const   * __restrict  __format , struct tm  const  * __restrict  __tp ) ;
extern int zm_activate_filestat(int type , int module_number ) ;
extern int zm_deactivate_filestat(int type , int module_number ) ;
extern void zif_realpath_cache_size(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_realpath_cache_get(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_clearstatcache(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_fileatime(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_filectime(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_filegroup(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_fileinode(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_filemtime(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_fileowner(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_fileperms(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_filesize(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_filetype(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_is_writable(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_is_readable(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_is_executable(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_is_file(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_is_dir(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_is_link(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_file_exists(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void php_if_stat(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void php_if_lstat(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_disk_total_space(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_disk_free_space(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_chown(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_chgrp(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_lchown(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_lchgrp(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_chmod(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_touch(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void __attribute__((__visibility__("default")))  php_clear_stat_cache(zend_bool clear_realpath_cache , char const   *filename , int filename_len ) ;
extern void __attribute__((__visibility__("default")))  php_stat(char const   *filename , php_stat_len filename_length , int type , zval *return_value ) ;
extern void __attribute__((__visibility__("default")))  zend_highlight(zend_syntax_highlighter_ini *syntax_highlighter_ini ) ;
extern void __attribute__((__visibility__("default")))  zend_strip(void) ;
extern int __attribute__((__visibility__("default")))  highlight_file(char *filename , zend_syntax_highlighter_ini *syntax_highlighter_ini ) ;
extern int __attribute__((__visibility__("default")))  highlight_string(zval *str , zend_syntax_highlighter_ini *syntax_highlighter_ini , char *str_name ) ;
extern void __attribute__((__visibility__("default")))  zend_html_putc(char c ) ;
extern void __attribute__((__visibility__("default")))  zend_html_puts(char const   *s , uint len ) ;
extern zend_syntax_highlighter_ini syntax_highlighter_ini ;
extern int zm_startup_url_scanner_ex(int type , int module_number ) ;
extern int zm_shutdown_url_scanner_ex(int type , int module_number ) ;
extern int zm_activate_url_scanner_ex(int type , int module_number ) ;
extern int zm_deactivate_url_scanner_ex(int type , int module_number ) ;
extern char __attribute__((__visibility__("default")))  *php_url_scanner_adapt_single_url(char const   *url , size_t urllen , char const   *name , char const   *value , size_t *newlen ) ;
extern int __attribute__((__visibility__("default")))  php_url_scanner_add_var(char *name , int name_len , char *value , int value_len , int urlencode ) ;
extern int __attribute__((__visibility__("default")))  php_url_scanner_reset_vars(void) ;
extern zend_module_entry basic_functions_module ;
extern int zm_startup_basic(int type , int module_number ) ;
extern int zm_shutdown_basic(int type , int module_number ) ;
extern int zm_activate_basic(int type , int module_number ) ;
extern int zm_deactivate_basic(int type , int module_number ) ;
extern void zm_info_basic(zend_module_entry *zend_module ) ;
extern void zif_constant(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_sleep(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_usleep(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_time_nanosleep(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_time_sleep_until(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_flush(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void php_inet_ntop(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void php_inet_pton(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_ip2long(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_long2ip(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_getenv(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_putenv(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_getopt(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_get_current_user(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_set_time_limit(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_header_register_callback(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_get_cfg_var(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_set_magic_quotes_runtime(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_get_magic_quotes_runtime(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_get_magic_quotes_gpc(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_error_log(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_error_get_last(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_call_user_func(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_call_user_func_array(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_call_user_method(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_call_user_method_array(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_forward_static_call(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_forward_static_call_array(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_register_shutdown_function(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_highlight_file(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_highlight_string(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_php_strip_whitespace(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void __attribute__((__visibility__("default")))  php_get_highlight_struct(zend_syntax_highlighter_ini *syntax_highlighter_ini ) ;
extern void zif_ini_get(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_ini_get_all(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_ini_set(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_ini_restore(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_get_include_path(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_set_include_path(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_restore_include_path(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_print_r(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_fprintf(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_vfprintf(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_connection_aborted(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_connection_status(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_ignore_user_abort(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_getservbyname(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_getservbyport(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_getprotobyname(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_getprotobynumber(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void php_if_crc32(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_register_tick_function(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_unregister_tick_function(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_sys_getloadavg(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_is_uploaded_file(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_move_uploaded_file(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_parse_ini_file(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_parse_ini_string(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_str_rot13(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_stream_get_filters(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_stream_filter_register(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_stream_bucket_make_writeable(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_stream_bucket_prepend(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_stream_bucket_append(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_stream_bucket_new(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern int zm_startup_user_filters(int type , int module_number ) ;
extern int zm_deactivate_user_filters(int type , int module_number ) ;
extern int zm_deactivate_browscap(int type , int module_number ) ;
extern int __attribute__((__visibility__("default")))  _php_error_log(int opt_err , char *message , char *opt , char *headers ) ;
extern int __attribute__((__visibility__("default")))  _php_error_log_ex(int opt_err , char *message , int message_len , char *opt , char *headers ) ;
extern int __attribute__((__visibility__("default")))  php_prefix_varname(zval *result , zval *prefix , char *var_name , int var_name_len , zend_bool add_underscore ) ;
extern php_basic_globals __attribute__((__visibility__("default")))  basic_globals ;
extern double __attribute__((__visibility__("default")))  php_get_nan(void) ;
extern double __attribute__((__visibility__("default")))  php_get_inf(void) ;
extern zend_bool __attribute__((__visibility__("default")))  register_user_shutdown_function(char *function_name , size_t function_len , php_shutdown_function_entry *shutdown_function_entry ) ;
extern zend_bool __attribute__((__visibility__("default")))  remove_user_shutdown_function(char *function_name , size_t function_len ) ;
extern zend_bool __attribute__((__visibility__("default")))  append_user_shutdown_function(php_shutdown_function_entry shutdown_function_entry ) ;
extern void __attribute__((__visibility__("default")))  php_srand(long seed ) ;
extern long __attribute__((__visibility__("default")))  php_rand(void) ;
extern void __attribute__((__visibility__("default")))  php_mt_srand(php_uint32 seed ) ;
extern php_uint32 __attribute__((__visibility__("default")))  php_mt_rand(void) ;
void zif_strspn(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_strcspn(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_str_replace(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_str_ireplace(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_rtrim(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_trim(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_ltrim(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_soundex(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_levenshtein(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_count_chars(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_wordwrap(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_explode(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_implode(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_strtok(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_strtoupper(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_strtolower(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_basename(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_dirname(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_pathinfo(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_strstr(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_strpos(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_stripos(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_strrpos(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_strripos(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_strrchr(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_substr(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_quotemeta(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_ucfirst(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_lcfirst(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_ucwords(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_strtr(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_strrev(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_hebrev(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_hebrevc(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_user_sprintf(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_user_printf(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_vprintf(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_vsprintf(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_addcslashes(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_addslashes(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_stripcslashes(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_stripslashes(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_chr(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_ord(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_nl2br(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_setlocale(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_localeconv(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_nl_langinfo(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_stristr(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_chunk_split(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_parse_str(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_str_getcsv(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_bin2hex(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_hex2bin(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_similar_text(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_strip_tags(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_str_repeat(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_substr_replace(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_strnatcmp(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_strnatcasecmp(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_substr_count(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_str_pad(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_sscanf(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_str_shuffle(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_str_word_count(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_str_split(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_strpbrk(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_substr_compare(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_strcoll(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
void zif_money_format(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
int zm_startup_nl_langinfo(int type , int module_number ) ;
extern int __attribute__((__visibility__("default")))  strnatcmp_ex(char const   *a , size_t a_len , char const   *b , size_t b_len , int fold_case ) ;
struct lconv  __attribute__((__visibility__("default"))) *localeconv_r(struct lconv *out ) ;
char __attribute__((__visibility__("default")))  *php_strtoupper(char *s , size_t len ) ;
char __attribute__((__visibility__("default")))  *php_strtolower(char *s , size_t len ) ;
char __attribute__((__visibility__("default")))  *php_strtr(char *str , int len , char *str_from , char *str_to , int trlen ) ;
char __attribute__((__visibility__("default")))  *php_addslashes(char *str , int length , int *new_length , int should_free ) ;
char __attribute__((__visibility__("default")))  *php_addcslashes(char const   *str , int length , int *new_length , int should_free , char *what , int wlength ) ;
void __attribute__((__visibility__("default")))  php_stripslashes(char *str , int *len ) ;
void __attribute__((__visibility__("default")))  php_stripcslashes(char *str , int *len ) ;
void __attribute__((__visibility__("default")))  php_basename(char const   *s , size_t len , char *suffix , size_t sufflen , char **p_ret , size_t *p_len ) ;
size_t __attribute__((__visibility__("default")))  php_dirname(char *path , size_t len ) ;
char __attribute__((__visibility__("default")))  *php_stristr(char *s , char *t , size_t s_len , size_t t_len ) ;
char __attribute__((__visibility__("default")))  *php_str_to_str_ex(char *haystack , int length , char *needle , int needle_len , char *str , int str_len , int *_new_length , int case_sensitivity , int *replace_count ) ;
char __attribute__((__visibility__("default")))  *php_str_to_str(char *haystack , int length , char *needle , int needle_len , char *str , int str_len , int *_new_length ) ;
char __attribute__((__visibility__("default")))  *php_trim(char *c , int len , char *what , int what_len , zval *return_value , int mode ) ;
size_t __attribute__((__visibility__("default")))  php_strip_tags(char *rbuf , int len , int *stateptr , char *allow , int allow_len ) ;
size_t __attribute__((__visibility__("default")))  php_strip_tags_ex(char *rbuf , int len , int *stateptr , char *allow , int allow_len , zend_bool allow_tag_spaces ) ;
int __attribute__((__visibility__("default")))  php_char_to_str_ex(char *str , uint len , char from , char *to , int to_len , zval *result , int case_sensitivity , int *replace_count ) ;
int __attribute__((__visibility__("default")))  php_char_to_str(char *str , uint len , char from , char *to , int to_len , zval *result ) ;
void __attribute__((__visibility__("default")))  php_implode(zval *delim , zval *arr , zval *return_value ) ;
void __attribute__((__visibility__("default")))  php_explode(zval *delim , zval *str , zval *return_value , long limit ) ;
size_t __attribute__((__visibility__("default")))  php_strspn(char *s1 , char *s2 , char *s1_end , char *s2_end ) ;
size_t __attribute__((__visibility__("default")))  php_strcspn(char *s1 , char *s2 , char *s1_end , char *s2_end ) ;
int __attribute__((__visibility__("default")))  string_natural_compare_function_ex(zval *result , zval *op1 , zval *op2 , zend_bool case_insensitive ) ;
int __attribute__((__visibility__("default")))  string_natural_compare_function(zval *result , zval *op1 , zval *op2 ) ;
int __attribute__((__visibility__("default")))  string_natural_case_compare_function(zval *result , zval *op1 , zval *op2 ) ;
void register_string_constants(int type , int module_number ) ;
extern sapi_module_struct __attribute__((__visibility__("default")))  sapi_module ;
extern sapi_globals_struct __attribute__((__visibility__("default")))  sapi_globals ;
extern void __attribute__((__visibility__("default")))  sapi_startup(sapi_module_struct *sf ) ;
extern void __attribute__((__visibility__("default")))  sapi_shutdown(void) ;
extern void __attribute__((__visibility__("default")))  sapi_activate(void) ;
extern void __attribute__((__visibility__("default")))  sapi_deactivate(void) ;
extern void __attribute__((__visibility__("default")))  sapi_initialize_empty_request(void) ;
extern int __attribute__((__visibility__("default")))  sapi_header_op(sapi_header_op_enum op , void *arg ) ;
extern int __attribute__((__visibility__("default")))  sapi_add_header_ex(char *header_line , uint header_line_len , zend_bool duplicate , zend_bool replace ) ;
extern int __attribute__((__visibility__("default")))  sapi_send_headers(void) ;
extern void __attribute__((__visibility__("default")))  sapi_free_header(sapi_header_struct *sapi_header ) ;
extern void __attribute__((__visibility__("default")))  sapi_handle_post(void *arg ) ;
extern int __attribute__((__visibility__("default")))  sapi_register_post_entries(sapi_post_entry *post_entry ) ;
extern int __attribute__((__visibility__("default")))  sapi_register_post_entry(sapi_post_entry *post_entry ) ;
extern void __attribute__((__visibility__("default")))  sapi_unregister_post_entry(sapi_post_entry *post_entry ) ;
extern int __attribute__((__visibility__("default")))  sapi_register_default_post_reader(void (*default_post_reader)(void) ) ;
extern int __attribute__((__visibility__("default")))  sapi_register_treat_data(void (*treat_data)(int arg , char *str , zval *destArray ) ) ;
extern int __attribute__((__visibility__("default")))  sapi_register_input_filter(unsigned int (*input_filter)(int arg , char *var , char **val , unsigned int val_len , unsigned int *new_val_len ) , unsigned int (*input_filter_init)(void) ) ;
extern int __attribute__((__visibility__("default")))  sapi_flush(void) ;
extern struct stat  __attribute__((__visibility__("default"))) *sapi_get_stat(void) ;
extern char __attribute__((__visibility__("default")))  *sapi_getenv(char *name , size_t name_len ) ;
extern char __attribute__((__visibility__("default")))  *sapi_get_default_content_type(void) ;
extern void __attribute__((__visibility__("default")))  sapi_get_default_content_type_header(sapi_header_struct *default_header ) ;
extern size_t __attribute__((__visibility__("default")))  sapi_apply_default_charset(char **mimetype , size_t len ) ;
extern void __attribute__((__visibility__("default")))  sapi_activate_headers_only(void) ;
extern int __attribute__((__visibility__("default")))  sapi_get_fd(int *fd ) ;
extern int __attribute__((__visibility__("default")))  sapi_force_http_10(void) ;
extern int __attribute__((__visibility__("default")))  sapi_get_target_uid(uid_t * ) ;
extern int __attribute__((__visibility__("default")))  sapi_get_target_gid(gid_t * ) ;
extern double __attribute__((__visibility__("default")))  sapi_get_request_time(void) ;
extern void __attribute__((__visibility__("default")))  sapi_terminate_process(void) ;
extern void __attribute__((__visibility__("default")))  sapi_read_standard_form_data(void) ;
extern void __attribute__((__visibility__("default")))  php_default_post_reader(void) ;
extern void __attribute__((__visibility__("default")))  php_default_treat_data(int arg , char *str , zval *destArray ) ;
extern unsigned int __attribute__((__visibility__("default")))  php_default_input_filter(int arg , char *var , char **val , unsigned int val_len , unsigned int *new_val_len ) ;
extern void php_startup_auto_globals(void) ;
extern void __attribute__((__visibility__("default")))  (*php_import_environment_variables)(zval *array_ptr ) ;
extern void __attribute__((__visibility__("default")))  php_register_variable(char *var , char *val , zval *track_vars_array ) ;
extern void __attribute__((__visibility__("default")))  php_register_variable_safe(char *var , char *val , int val_len , zval *track_vars_array ) ;
extern void __attribute__((__visibility__("default")))  php_register_variable_ex(char *var , zval *val , zval *track_vars_array ) ;
extern int php_hash_environment(void) ;
extern  __attribute__((__nothrow__)) char *setlocale(int __category , char const   *__locale ) ;
extern  __attribute__((__nothrow__)) struct lconv *localeconv(void) ;
extern  __attribute__((__nothrow__)) __locale_t newlocale(int __category_mask , char const   *__locale , __locale_t __base ) ;
extern  __attribute__((__nothrow__)) __locale_t duplocale(__locale_t __dataset ) ;
extern  __attribute__((__nothrow__)) void freelocale(__locale_t __dataset ) ;
extern  __attribute__((__nothrow__)) __locale_t uselocale(__locale_t __dataset ) ;
extern nl_catd catopen(char const   *__cat_name , int __flag )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) char *catgets(nl_catd __catalog , int __set , int __number , char const   *__string )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) int catclose(nl_catd __catalog )  __attribute__((__nonnull__(1))) ;
extern  __attribute__((__nothrow__)) char *nl_langinfo(nl_item __item ) ;
extern char *nl_langinfo_l(nl_item __item , __locale_t __l ) ;
extern  __attribute__((__nothrow__)) ssize_t ( /* format attribute */  strfmon)(char * __restrict  __s , size_t __maxsize , char const   * __restrict  __format  , ...) ;
extern  __attribute__((__nothrow__)) ssize_t ( /* format attribute */  strfmon_l)(char * __restrict  __s , size_t __maxsize , __locale_t __loc , char const   * __restrict  __format  , ...) ;
extern int __attribute__((__visibility__("default")))  ValidateFormat(char *format , int numVars , int *totalVars ) ;
extern int __attribute__((__visibility__("default")))  php_sscanf_internal(char *string , char *format , int argCount , zval ***args , int varStart , zval **return_value ) ;
__inline static char *smart_str_print_long(char *buf , long num ) 
{ char *r ;
  char *__p ;
  unsigned long __num ;
  char *__p___0 ;
  unsigned long __num___0 ;

  {
  while (1) {
    if (num < 0L) {
      while (1) {
        __p = buf;
        __num = (unsigned long )(- num);
        *__p = (char )'\000';
        while (1) {
          __p --;
          *__p = (char )((int )((char )(__num % 10UL)) + 48);
          __num /= 10UL;
          if (__num > 0UL) {

          } else {
            break;
          }
        }
        r = __p;
        break;
      }
      r --;
      *r = (char )'-';
    } else {
      while (1) {
        __p___0 = buf;
        __num___0 = (unsigned long )num;
        *__p___0 = (char )'\000';
        while (1) {
          __p___0 --;
          *__p___0 = (char )((int )((char )(__num___0 % 10UL)) + 48);
          __num___0 /= 10UL;
          if (__num___0 > 0UL) {

          } else {
            break;
          }
        }
        r = __p___0;
        break;
      }
    }
    break;
  }
  return (r);
}
}
__inline static char *smart_str_print_unsigned(char *buf , long num ) 
{ char *r ;
  char *__p ;
  unsigned long __num ;

  {
  while (1) {
    __p = buf;
    __num = (unsigned long )num;
    *__p = (char )'\000';
    while (1) {
      __p --;
      *__p = (char )((int )((char )(__num % 10UL)) + 48);
      __num /= 10UL;
      if (__num > 0UL) {

      } else {
        break;
      }
    }
    r = __p;
    break;
  }
  return (r);
}
}
extern int zm_startup_file(int type , int module_number ) ;
extern int zm_shutdown_file(int type , int module_number ) ;
extern void zif_tempnam(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void php_if_tmpfile(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void php_if_fopen(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void __attribute__((__visibility__("default")))  zif_fclose(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_popen(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_pclose(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void __attribute__((__visibility__("default")))  zif_feof(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void __attribute__((__visibility__("default")))  zif_fread(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void __attribute__((__visibility__("default")))  zif_fgetc(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void __attribute__((__visibility__("default")))  zif_fgets(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_fscanf(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void __attribute__((__visibility__("default")))  zif_fgetss(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_fgetcsv(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_fputcsv(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void __attribute__((__visibility__("default")))  zif_fwrite(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void __attribute__((__visibility__("default")))  zif_fflush(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void __attribute__((__visibility__("default")))  zif_rewind(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void __attribute__((__visibility__("default")))  zif_ftell(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void __attribute__((__visibility__("default")))  zif_fseek(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_mkdir(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_rmdir(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void __attribute__((__visibility__("default")))  zif_fpassthru(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_readfile(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_umask(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_rename(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_unlink(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_copy(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_file(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_file_get_contents(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_file_put_contents(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_get_meta_tags(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_flock(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_fd_set(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_fd_isset(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_realpath(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_fnmatch(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void php_if_ftruncate(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void php_if_fstat(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern void zif_sys_get_temp_dir(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) ;
extern int zm_startup_user_streams(int type , int module_number ) ;
extern int __attribute__((__visibility__("default")))  php_le_stream_context(void) ;
extern int __attribute__((__visibility__("default")))  php_set_sock_blocking(int socketd , int block ) ;
extern int __attribute__((__visibility__("default")))  php_copy_file(char *src , char *dest ) ;
extern int __attribute__((__visibility__("default")))  php_copy_file_ex(char *src , char *dest , int src_chk ) ;
extern int __attribute__((__visibility__("default")))  php_copy_file_ctx(char *src , char *dest , int src_chk , php_stream_context *ctx ) ;
extern int __attribute__((__visibility__("default")))  php_mkdir_ex(char *dir , long mode , int options ) ;
extern int __attribute__((__visibility__("default")))  php_mkdir(char *dir , long mode ) ;
extern void __attribute__((__visibility__("default")))  php_fgetcsv(php_stream *stream , char delimiter , char enclosure , char escape_char , size_t buf_len , char *buf , zval *return_value ) ;
extern int __attribute__((__visibility__("default")))  php_fputcsv(php_stream *stream , zval *fields , char delimiter , char enclosure , char escape_char ) ;
extern php_meta_tags_token php_next_meta_token(php_meta_tags_data * ) ;
extern php_file_globals __attribute__((__visibility__("default")))  file_globals ;
void register_string_constants(int type , int module_number ) 
{ 

  {
  zend_register_long_constant("STR_PAD_LEFT", sizeof("STR_PAD_LEFT"), 0L, 1 | (1 << 1), module_number);
  zend_register_long_constant("STR_PAD_RIGHT", sizeof("STR_PAD_RIGHT"), 1L, 1 | (1 << 1), module_number);
  zend_register_long_constant("STR_PAD_BOTH", sizeof("STR_PAD_BOTH"), 2L, 1 | (1 << 1), module_number);
  zend_register_long_constant("PATHINFO_DIRNAME", sizeof("PATHINFO_DIRNAME"), 1L, 1 | (1 << 1), module_number);
  zend_register_long_constant("PATHINFO_BASENAME", sizeof("PATHINFO_BASENAME"), 2L, 1 | (1 << 1), module_number);
  zend_register_long_constant("PATHINFO_EXTENSION", sizeof("PATHINFO_EXTENSION"), 4L, 1 | (1 << 1), module_number);
  zend_register_long_constant("PATHINFO_FILENAME", sizeof("PATHINFO_FILENAME"), 8L, 1 | (1 << 1), module_number);
  zend_register_long_constant("CHAR_MAX", sizeof("CHAR_MAX"), 127L, 1 | (1 << 1), module_number);
  zend_register_long_constant("LC_CTYPE", sizeof("LC_CTYPE"), 0L, 1 | (1 << 1), module_number);
  zend_register_long_constant("LC_NUMERIC", sizeof("LC_NUMERIC"), 1L, 1 | (1 << 1), module_number);
  zend_register_long_constant("LC_TIME", sizeof("LC_TIME"), 2L, 1 | (1 << 1), module_number);
  zend_register_long_constant("LC_COLLATE", sizeof("LC_COLLATE"), 3L, 1 | (1 << 1), module_number);
  zend_register_long_constant("LC_MONETARY", sizeof("LC_MONETARY"), 4L, 1 | (1 << 1), module_number);
  zend_register_long_constant("LC_ALL", sizeof("LC_ALL"), 6L, 1 | (1 << 1), module_number);
  zend_register_long_constant("LC_MESSAGES", sizeof("LC_MESSAGES"), 5L, 1 | (1 << 1), module_number);
  return;
}
}
int php_tag_find(char *tag , int len , char *set ) ;
static char hexconvtab[17]  = 
  {      (char )'0',      (char )'1',      (char )'2',      (char )'3', 
        (char )'4',      (char )'5',      (char )'6',      (char )'7', 
        (char )'8',      (char )'9',      (char )'a',      (char )'b', 
        (char )'c',      (char )'d',      (char )'e',      (char )'f', 
        (char )'\000'};
static char *php_bin2hex(unsigned char const   *old , size_t oldlen , size_t *newlen ) 
{ register unsigned char *result ;
  size_t i ;
  size_t j ;
  void __attribute__((__visibility__("default")))  *tmp ;
  size_t tmp___0 ;
  size_t tmp___1 ;

  {
  result = (unsigned char *)((void *)0);
  tmp = _safe_emalloc(oldlen * 2U, sizeof(char ), 1U);
  result = (unsigned char *)tmp;
  j = 0U;
  i = j;
  while (i < oldlen) {
    tmp___0 = j;
    j ++;
    *(result + tmp___0) = (unsigned char )hexconvtab[(int const   )*(old + i) >> 4];
    tmp___1 = j;
    j ++;
    *(result + tmp___1) = (unsigned char )hexconvtab[(int const   )*(old + i) & 15];
    i ++;
  }
  *(result + j) = (unsigned char )'\000';
  if (newlen) {
    *newlen = (oldlen * 2U) * sizeof(char );
  } else {

  }
  return ((char *)result);
}
}
static char *php_hex2bin(unsigned char const   *old , size_t oldlen , size_t *newlen ) 
{ size_t target_length ;
  register unsigned char *str ;
  void __attribute__((__visibility__("default")))  *tmp ;
  size_t i ;
  size_t j ;
  char c ;
  size_t tmp___0 ;
  size_t tmp___1 ;

  {
  target_length = oldlen >> 1;
  tmp = _safe_emalloc(target_length, sizeof(char ), 1U);
  str = (unsigned char *)tmp;
  j = 0U;
  i = j;
  while (i < target_length) {
    tmp___0 = j;
    j ++;
    c = (char )*(old + tmp___0);
    if ((int )c >= 48) {
      if ((int )c <= 57) {
        *(str + i) = (unsigned char )(((int )c - 48) << 4);
      } else {
        goto _L___0;
      }
    } else {
      _L___0: /* CIL Label */ 
      if ((int )c >= 97) {
        if ((int )c <= 102) {
          *(str + i) = (unsigned char )((((int )c - 97) + 10) << 4);
        } else {
          goto _L;
        }
      } else {
        _L: /* CIL Label */ 
        if ((int )c >= 65) {
          if ((int )c <= 70) {
            *(str + i) = (unsigned char )((((int )c - 65) + 10) << 4);
          } else {
            _efree((void *)str);
            return ((char *)((void *)0));
          }
        } else {
          _efree((void *)str);
          return ((char *)((void *)0));
        }
      }
    }
    tmp___1 = j;
    j ++;
    c = (char )*(old + tmp___1);
    if ((int )c >= 48) {
      if ((int )c <= 57) {
        *(str + i) = (unsigned char )((int )*(str + i) | ((int )c - 48));
      } else {
        goto _L___2;
      }
    } else {
      _L___2: /* CIL Label */ 
      if ((int )c >= 97) {
        if ((int )c <= 102) {
          *(str + i) = (unsigned char )((int )*(str + i) | (((int )c - 97) + 10));
        } else {
          goto _L___1;
        }
      } else {
        _L___1: /* CIL Label */ 
        if ((int )c >= 65) {
          if ((int )c <= 70) {
            *(str + i) = (unsigned char )((int )*(str + i) | (((int )c - 65) + 10));
          } else {
            _efree((void *)str);
            return ((char *)((void *)0));
          }
        } else {
          _efree((void *)str);
          return ((char *)((void *)0));
        }
      }
    }
    i ++;
  }
  *(str + target_length) = (unsigned char )'\000';
  if (newlen) {
    *newlen = target_length;
  } else {

  }
  return ((char *)str);
}
}
struct lconv  __attribute__((__visibility__("default"))) *localeconv_r(struct lconv *out ) 
{ struct lconv *res ;

  {
  res = localeconv();
  *out = *res;
  return ((struct lconv  __attribute__((__visibility__("default"))) *)out);
}
}
void zif_bin2hex(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *result ;
  char *data ;
  size_t newlen ;
  int datalen ;
  int __attribute__((__visibility__("default")))  tmp ;
  zval *__z ;
  char const   *__s ;
  int __l ;
  zval *__z___0 ;
  char __attribute__((__visibility__("default")))  *tmp___0 ;

  {
  tmp = zend_parse_parameters(ht, "s", & data, & datalen);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  result = php_bin2hex((unsigned char const   *)((unsigned char *)data), (unsigned int )datalen, & newlen);
  if (! result) {
    while (1) {
      __z = return_value;
      __z->value.lval = 0L;
      __z->type = (unsigned char)3;
      break;
    }
    return;
  } else {

  }
  while (1) {
    __s = (char const   *)result;
    __l = (int )newlen;
    __z___0 = return_value;
    __z___0->value.str.len = __l;
    __z___0->value.str.val = (char *)((char __attribute__((__visibility__("default")))  *)((char *)__s));
    __z___0->type = (unsigned char)6;
    break;
  }
  return;
}
}
void zif_hex2bin(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *result ;
  char *data ;
  size_t newlen ;
  int datalen ;
  int __attribute__((__visibility__("default")))  tmp ;
  zval *__z ;
  char const   *__s ;
  int __l ;
  zval *__z___0 ;
  char __attribute__((__visibility__("default")))  *tmp___0 ;

  {
  tmp = zend_parse_parameters(ht, "s", & data, & datalen);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  result = php_hex2bin((unsigned char const   *)((unsigned char *)data), (unsigned int )datalen, & newlen);
  if (! result) {
    while (1) {
      __z = return_value;
      __z->value.lval = 0L;
      __z->type = (unsigned char)3;
      break;
    }
    return;
  } else {

  }
  while (1) {
    __s = (char const   *)result;
    __l = (int )newlen;
    __z___0 = return_value;
    __z___0->value.str.len = __l;
    __z___0->value.str.val = (char *)((char __attribute__((__visibility__("default")))  *)((char *)__s));
    __z___0->type = (unsigned char)6;
    break;
  }
  return;
}
}
static void php_spn_common_handler(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used , int behavior ) 
{ char *s11 ;
  char *s22 ;
  int len1 ;
  int len2 ;
  long start ;
  long len ;
  int __attribute__((__visibility__("default")))  tmp ;
  zval *__z ;
  zval *__z___0 ;
  zval *__z___1 ;
  size_t __attribute__((__visibility__("default")))  tmp___0 ;
  zval *__z___2 ;
  size_t __attribute__((__visibility__("default")))  tmp___1 ;

  {
  start = 0L;
  len = 0L;
  tmp = zend_parse_parameters(ht, "ss|ll", & s11, & len1, & s22, & len2, & start, & len);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  if (ht < 4) {
    len = (long )len1;
  } else {

  }
  if (start < 0L) {
    start += (long )len1;
    if (start < 0L) {
      start = 0L;
    } else {

    }
  } else {
    if (start > (long )len1) {
      while (1) {
        __z = return_value;
        __z->value.lval = 0L;
        __z->type = (unsigned char)3;
        break;
      }
      return;
    } else {

    }
  }
  if (len < 0L) {
    len += (long )len1 - start;
    if (len < 0L) {
      len = 0L;
    } else {

    }
  } else {

  }
  if (len > (long )len1 - start) {
    len = (long )len1 - start;
  } else {

  }
  if (len == 0L) {
    __z___0 = return_value;
    __z___0->value.lval = 0L;
    __z___0->type = (unsigned char)1;
    return;
  } else {

  }
  if (behavior == 0) {
    __z___1 = return_value;
    tmp___0 = php_strspn(s11 + start, s22, (s11 + start) + len, s22 + len2);
    __z___1->value.lval = (long )tmp___0;
    __z___1->type = (unsigned char)1;
    return;
  } else {
    if (behavior == 1) {
      __z___2 = return_value;
      tmp___1 = php_strcspn(s11 + start, s22, (s11 + start) + len, s22 + len2);
      __z___2->value.lval = (long )tmp___1;
      __z___2->type = (unsigned char)1;
      return;
    } else {

    }
  }
  return;
}
}
void zif_strspn(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ 

  {
  php_spn_common_handler(ht, return_value, return_value_ptr, this_ptr, return_value_used, 0);
  return;
}
}
void zif_strcspn(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ 

  {
  php_spn_common_handler(ht, return_value, return_value_ptr, this_ptr, return_value_used, 1);
  return;
}
}
int zm_startup_nl_langinfo(int type , int module_number ) 
{ 

  {
  zend_register_long_constant("ABDAY_1", sizeof("ABDAY_1"), 131072L, 1 | (1 << 1), module_number);
  zend_register_long_constant("ABDAY_2", sizeof("ABDAY_2"), 131073L, 1 | (1 << 1), module_number);
  zend_register_long_constant("ABDAY_3", sizeof("ABDAY_3"), 131074L, 1 | (1 << 1), module_number);
  zend_register_long_constant("ABDAY_4", sizeof("ABDAY_4"), 131075L, 1 | (1 << 1), module_number);
  zend_register_long_constant("ABDAY_5", sizeof("ABDAY_5"), 131076L, 1 | (1 << 1), module_number);
  zend_register_long_constant("ABDAY_6", sizeof("ABDAY_6"), 131077L, 1 | (1 << 1), module_number);
  zend_register_long_constant("ABDAY_7", sizeof("ABDAY_7"), 131078L, 1 | (1 << 1), module_number);
  zend_register_long_constant("DAY_1", sizeof("DAY_1"), 131079L, 1 | (1 << 1), module_number);
  zend_register_long_constant("DAY_2", sizeof("DAY_2"), 131080L, 1 | (1 << 1), module_number);
  zend_register_long_constant("DAY_3", sizeof("DAY_3"), 131081L, 1 | (1 << 1), module_number);
  zend_register_long_constant("DAY_4", sizeof("DAY_4"), 131082L, 1 | (1 << 1), module_number);
  zend_register_long_constant("DAY_5", sizeof("DAY_5"), 131083L, 1 | (1 << 1), module_number);
  zend_register_long_constant("DAY_6", sizeof("DAY_6"), 131084L, 1 | (1 << 1), module_number);
  zend_register_long_constant("DAY_7", sizeof("DAY_7"), 131085L, 1 | (1 << 1), module_number);
  zend_register_long_constant("ABMON_1", sizeof("ABMON_1"), 131086L, 1 | (1 << 1), module_number);
  zend_register_long_constant("ABMON_2", sizeof("ABMON_2"), 131087L, 1 | (1 << 1), module_number);
  zend_register_long_constant("ABMON_3", sizeof("ABMON_3"), 131088L, 1 | (1 << 1), module_number);
  zend_register_long_constant("ABMON_4", sizeof("ABMON_4"), 131089L, 1 | (1 << 1), module_number);
  zend_register_long_constant("ABMON_5", sizeof("ABMON_5"), 131090L, 1 | (1 << 1), module_number);
  zend_register_long_constant("ABMON_6", sizeof("ABMON_6"), 131091L, 1 | (1 << 1), module_number);
  zend_register_long_constant("ABMON_7", sizeof("ABMON_7"), 131092L, 1 | (1 << 1), module_number);
  zend_register_long_constant("ABMON_8", sizeof("ABMON_8"), 131093L, 1 | (1 << 1), module_number);
  zend_register_long_constant("ABMON_9", sizeof("ABMON_9"), 131094L, 1 | (1 << 1), module_number);
  zend_register_long_constant("ABMON_10", sizeof("ABMON_10"), 131095L, 1 | (1 << 1), module_number);
  zend_register_long_constant("ABMON_11", sizeof("ABMON_11"), 131096L, 1 | (1 << 1), module_number);
  zend_register_long_constant("ABMON_12", sizeof("ABMON_12"), 131097L, 1 | (1 << 1), module_number);
  zend_register_long_constant("MON_1", sizeof("MON_1"), 131098L, 1 | (1 << 1), module_number);
  zend_register_long_constant("MON_2", sizeof("MON_2"), 131099L, 1 | (1 << 1), module_number);
  zend_register_long_constant("MON_3", sizeof("MON_3"), 131100L, 1 | (1 << 1), module_number);
  zend_register_long_constant("MON_4", sizeof("MON_4"), 131101L, 1 | (1 << 1), module_number);
  zend_register_long_constant("MON_5", sizeof("MON_5"), 131102L, 1 | (1 << 1), module_number);
  zend_register_long_constant("MON_6", sizeof("MON_6"), 131103L, 1 | (1 << 1), module_number);
  zend_register_long_constant("MON_7", sizeof("MON_7"), 131104L, 1 | (1 << 1), module_number);
  zend_register_long_constant("MON_8", sizeof("MON_8"), 131105L, 1 | (1 << 1), module_number);
  zend_register_long_constant("MON_9", sizeof("MON_9"), 131106L, 1 | (1 << 1), module_number);
  zend_register_long_constant("MON_10", sizeof("MON_10"), 131107L, 1 | (1 << 1), module_number);
  zend_register_long_constant("MON_11", sizeof("MON_11"), 131108L, 1 | (1 << 1), module_number);
  zend_register_long_constant("MON_12", sizeof("MON_12"), 131109L, 1 | (1 << 1), module_number);
  zend_register_long_constant("AM_STR", sizeof("AM_STR"), 131110L, 1 | (1 << 1), module_number);
  zend_register_long_constant("PM_STR", sizeof("PM_STR"), 131111L, 1 | (1 << 1), module_number);
  zend_register_long_constant("D_T_FMT", sizeof("D_T_FMT"), 131112L, 1 | (1 << 1), module_number);
  zend_register_long_constant("D_FMT", sizeof("D_FMT"), 131113L, 1 | (1 << 1), module_number);
  zend_register_long_constant("T_FMT", sizeof("T_FMT"), 131114L, 1 | (1 << 1), module_number);
  zend_register_long_constant("T_FMT_AMPM", sizeof("T_FMT_AMPM"), 131115L, 1 | (1 << 1), module_number);
  zend_register_long_constant("ERA", sizeof("ERA"), 131116L, 1 | (1 << 1), module_number);
  zend_register_long_constant("ERA_D_T_FMT", sizeof("ERA_D_T_FMT"), 131120L, 1 | (1 << 1), module_number);
  zend_register_long_constant("ERA_D_FMT", sizeof("ERA_D_FMT"), 131118L, 1 | (1 << 1), module_number);
  zend_register_long_constant("ERA_T_FMT", sizeof("ERA_T_FMT"), 131121L, 1 | (1 << 1), module_number);
  zend_register_long_constant("ALT_DIGITS", sizeof("ALT_DIGITS"), 131119L, 1 | (1 << 1), module_number);
  zend_register_long_constant("CRNCYSTR", sizeof("CRNCYSTR"), 262159L, 1 | (1 << 1), module_number);
  zend_register_long_constant("RADIXCHAR", sizeof("RADIXCHAR"), 65536L, 1 | (1 << 1), module_number);
  zend_register_long_constant("THOUSEP", sizeof("THOUSEP"), 65537L, 1 | (1 << 1), module_number);
  zend_register_long_constant("YESEXPR", sizeof("YESEXPR"), 327680L, 1 | (1 << 1), module_number);
  zend_register_long_constant("NOEXPR", sizeof("NOEXPR"), 327681L, 1 | (1 << 1), module_number);
  zend_register_long_constant("CODESET", sizeof("CODESET"), 14L, 1 | (1 << 1), module_number);
  return (0);
}
}
void zif_nl_langinfo(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ long item ;
  char *value ;
  int __attribute__((__visibility__("default")))  tmp ;
  zval *__z ;
  zval *__z___0 ;
  char const   *__s ;
  zval *__z___1 ;
  size_t tmp___0 ;
  char __attribute__((__visibility__("default")))  *tmp___1 ;

  {
  tmp = zend_parse_parameters(ht, "l", & item);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  switch ((int )item) {
  case 131072: 
  case 131073: 
  case 131074: 
  case 131075: 
  case 131076: 
  case 131077: 
  case 131078: 
  case 131079: 
  case 131080: 
  case 131081: 
  case 131082: 
  case 131083: 
  case 131084: 
  case 131085: 
  case 131086: 
  case 131087: 
  case 131088: 
  case 131089: 
  case 131090: 
  case 131091: 
  case 131092: 
  case 131093: 
  case 131094: 
  case 131095: 
  case 131096: 
  case 131097: 
  case 131098: 
  case 131099: 
  case 131100: 
  case 131101: 
  case 131102: 
  case 131103: 
  case 131104: 
  case 131105: 
  case 131106: 
  case 131107: 
  case 131108: 
  case 131109: 
  case 131110: 
  case 131111: 
  case 131112: 
  case 131113: 
  case 131114: 
  case 131115: 
  case 131116: 
  case 131120: 
  case 131118: 
  case 131121: 
  case 131119: 
  case 262159: 
  case 65536: 
  case 65537: 
  case 327680: 
  case 327681: 
  case 14: 
  break;
  default: 
  php_error_docref0((char const   *)((void *)0), 1 << 1L, "Item \'%ld\' is not valid", item);
  while (1) {
    __z = return_value;
    __z->value.lval = 0L;
    __z->type = (unsigned char)3;
    break;
  }
  return;
  }
  value = nl_langinfo((int )item);
  if ((unsigned int )value == (unsigned int )((void *)0)) {
    while (1) {
      __z___0 = return_value;
      __z___0->value.lval = 0L;
      __z___0->type = (unsigned char)3;
      break;
    }
    return;
  } else {
    while (1) {
      __s = (char const   *)value;
      __z___1 = return_value;
      tmp___0 = strlen(__s);
      __z___1->value.str.len = (int )tmp___0;
      tmp___1 = _estrndup(__s, (unsigned int )__z___1->value.str.len);
      __z___1->value.str.val = (char *)tmp___1;
      __z___1->type = (unsigned char)6;
      break;
    }
    return;
  }
}
}
void zif_strcoll(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *s1 ;
  char *s2 ;
  int s1len ;
  int s2len ;
  int __attribute__((__visibility__("default")))  tmp ;
  zval *__z ;
  int tmp___0 ;

  {
  tmp = zend_parse_parameters(ht, "ss", & s1, & s1len, & s2, & s2len);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  __z = return_value;
  tmp___0 = strcoll((char const   *)s1, (char const   *)s2);
  __z->value.lval = (long )tmp___0;
  __z->type = (unsigned char)1;
  return;
}
}
__inline static int php_charmask(unsigned char *input , int len , char *mask ) 
{ unsigned char *end ;
  unsigned char c ;
  int result ;

  {
  result = 0;
  memset((void *)mask, 0, 256U);
  end = input + len;
  while ((unsigned int )input < (unsigned int )end) {
    c = *input;
    if ((unsigned int )(input + 3) < (unsigned int )end) {
      if ((int )*(input + 1) == 46) {
        if ((int )*(input + 2) == 46) {
          if ((int )*(input + 3) >= (int )c) {
            memset((void *)(mask + (int )c), 1, (unsigned int )(((int )*(input + 3) - (int )c) + 1));
            input += 3;
          } else {
            goto _L___1;
          }
        } else {
          goto _L___1;
        }
      } else {
        goto _L___1;
      }
    } else {
      _L___1: /* CIL Label */ 
      _L___0: /* CIL Label */ 
      _L: /* CIL Label */ 
      if ((unsigned int )(input + 1) < (unsigned int )end) {
        if ((int )*(input + 0) == 46) {
          if ((int )*(input + 1) == 46) {
            if ((unsigned int )(end - len) >= (unsigned int )input) {
              php_error_docref0((char const   *)((void *)0), 1 << 1L, "Invalid \'..\'-range, no character to the left of \'..\'");
              result = -1;
              goto __Cont;
            } else {

            }
            if ((unsigned int )(input + 2) >= (unsigned int )end) {
              php_error_docref0((char const   *)((void *)0), 1 << 1L, "Invalid \'..\'-range, no character to the right of \'..\'");
              result = -1;
              goto __Cont;
            } else {

            }
            if ((int )*(input + -1) > (int )*(input + 2)) {
              php_error_docref0((char const   *)((void *)0), 1 << 1L, "Invalid \'..\'-range, \'..\'-range needs to be incrementing");
              result = -1;
              goto __Cont;
            } else {

            }
            php_error_docref0((char const   *)((void *)0), 1 << 1L, "Invalid \'..\'-range");
            result = -1;
            goto __Cont;
          } else {
            *(mask + c) = (char)1;
          }
        } else {
          *(mask + c) = (char)1;
        }
      } else {
        *(mask + c) = (char)1;
      }
    }
    __Cont: /* CIL Label */ 
    input ++;
  }
  return (result);
}
}
char __attribute__((__visibility__("default")))  *php_trim(char *c , int len , char *what , int what_len , zval *return_value , int mode ) 
{ register int i ;
  int trimmed ;
  char mask[256] ;
  char const   *__s ;
  int __l ;
  zval *__z ;
  char __attribute__((__visibility__("default")))  *tmp ;
  char __attribute__((__visibility__("default")))  *tmp___0 ;

  {
  trimmed = 0;
  if (what) {
    php_charmask((unsigned char *)what, what_len, mask);
  } else {
    php_charmask((unsigned char *)" \n\r\t\v\000", 6, mask);
  }
  if (mode & 1) {
    i = 0;
    while (i < len) {
      if (mask[(unsigned char )*(c + i)]) {
        trimmed ++;
      } else {
        break;
      }
      i ++;
    }
    len -= trimmed;
    c += trimmed;
  } else {

  }
  if (mode & 2) {
    i = len - 1;
    while (i >= 0) {
      if (mask[(unsigned char )*(c + i)]) {
        len --;
      } else {
        break;
      }
      i --;
    }
  } else {

  }
  if (return_value) {
    while (1) {
      __s = (char const   *)c;
      __l = len;
      __z = return_value;
      __z->value.str.len = __l;
      tmp = _estrndup(__s, (unsigned int )__l);
      __z->value.str.val = (char *)tmp;
      __z->type = (unsigned char)6;
      break;
    }
  } else {
    tmp___0 = _estrndup((char const   *)c, (unsigned int )len);
    return (tmp___0);
  }
  return ((char __attribute__((__visibility__("default")))  *)"");
}
}
static void php_do_trim(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used , int mode ) 
{ char *str ;
  char *what ;
  int str_len ;
  int what_len ;
  int __attribute__((__visibility__("default")))  tmp ;

  {
  what = (char *)((void *)0);
  what_len = 0;
  tmp = zend_parse_parameters(ht, "s|s", & str, & str_len, & what, & what_len);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  php_trim(str, str_len, what, what_len, return_value, mode);
  return;
}
}
void zif_trim(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ 

  {
  php_do_trim(ht, return_value, return_value_ptr, this_ptr, return_value_used, 3);
  return;
}
}
void zif_rtrim(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ 

  {
  php_do_trim(ht, return_value, return_value_ptr, this_ptr, return_value_used, 2);
  return;
}
}
void zif_ltrim(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ 

  {
  php_do_trim(ht, return_value, return_value_ptr, this_ptr, return_value_used, 1);
  return;
}
}
void zif_wordwrap(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char const   *text ;
  char const   *breakchar ;
  char *newtext ;
  int textlen ;
  int breakcharlen ;
  int newtextlen ;
  int chk ;
  size_t alloced ;
  long current ;
  long laststart ;
  long lastspace ;
  long linelength ;
  zend_bool docut ;
  int __attribute__((__visibility__("default")))  tmp ;
  zval *__z ;
  char __attribute__((__visibility__("default")))  *tmp___0 ;
  zval *__z___0 ;
  zval *__z___1 ;
  char __attribute__((__visibility__("default")))  *tmp___1 ;
  char const   *__s ;
  int __l ;
  zval *__z___2 ;
  char __attribute__((__visibility__("default")))  *tmp___2 ;
  void __attribute__((__visibility__("default")))  *tmp___3 ;
  void __attribute__((__visibility__("default")))  *tmp___4 ;
  void __attribute__((__visibility__("default")))  *tmp___5 ;
  size_t tmp___6 ;
  size_t tmp___7 ;
  size_t __s1_len ;
  size_t __s2_len ;
  int tmp___8 ;
  int tmp___9 ;
  int tmp___10 ;
  unsigned char const   *__s2 ;
  register int __result ;
  int tmp___11 ;
  unsigned char const   *__s1 ;
  register int __result___0 ;
  int tmp___12 ;
  int tmp___13 ;
  int tmp___14 ;
  int tmp___15 ;
  int tmp___16 ;
  size_t tmp___17 ;
  size_t tmp___18 ;
  void __attribute__((__visibility__("default")))  *tmp___19 ;
  char const   *__s___0 ;
  int __l___0 ;
  zval *__z___3 ;
  char __attribute__((__visibility__("default")))  *tmp___20 ;

  {
  breakchar = "\n";
  breakcharlen = 1;
  current = 0L;
  laststart = 0L;
  lastspace = 0L;
  linelength = 75L;
  docut = (zend_bool )0;
  tmp = zend_parse_parameters(ht, "s|lsb", & text, & textlen, & linelength, & breakchar, & breakcharlen, & docut);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  if (textlen == 0) {
    while (1) {
      __z = return_value;
      __z->value.str.len = 0;
      tmp___0 = _estrndup("", sizeof("") - 1U);
      __z->value.str.val = (char *)tmp___0;
      __z->type = (unsigned char)6;
      break;
    }
    return;
  } else {

  }
  if (breakcharlen == 0) {
    php_error_docref0((char const   *)((void *)0), 1 << 1L, "Break string cannot be empty");
    while (1) {
      __z___0 = return_value;
      __z___0->value.lval = 0L;
      __z___0->type = (unsigned char)3;
      break;
    }
    return;
  } else {

  }
  if (linelength == 0L) {
    if (docut) {
      php_error_docref0((char const   *)((void *)0), 1 << 1L, "Can\'t force cut when width is zero");
      while (1) {
        __z___1 = return_value;
        __z___1->value.lval = 0L;
        __z___1->type = (unsigned char)3;
        break;
      }
      return;
    } else {

    }
  } else {

  }
  if (breakcharlen == 1) {
    if (! docut) {
      tmp___1 = _estrndup(text, (unsigned int )textlen);
      newtext = (char *)tmp___1;
      lastspace = 0L;
      laststart = lastspace;
      current = 0L;
      while (current < (long )textlen) {
        if ((int const   )*(text + current) == (int const   )*(breakchar + 0)) {
          lastspace = current + 1L;
          laststart = lastspace;
        } else {
          if ((int const   )*(text + current) == 32) {
            if (current - laststart >= linelength) {
              *(newtext + current) = (char )*(breakchar + 0);
              laststart = current + 1L;
            } else {

            }
            lastspace = current;
          } else {
            if (current - laststart >= linelength) {
              if (laststart != lastspace) {
                *(newtext + lastspace) = (char )*(breakchar + 0);
                laststart = lastspace + 1L;
              } else {

              }
            } else {

            }
          }
        }
        current ++;
      }
      while (1) {
        __s = (char const   *)newtext;
        __l = textlen;
        __z___2 = return_value;
        __z___2->value.str.len = __l;
        __z___2->value.str.val = (char *)((char __attribute__((__visibility__("default")))  *)((char *)__s));
        __z___2->type = (unsigned char)6;
        break;
      }
      return;
    } else {
      goto _L___5;
    }
  } else {
    _L___5: /* CIL Label */ 
    if (linelength > 0L) {
      chk = (int )((long )textlen / linelength + 1L);
      tmp___3 = _safe_emalloc((unsigned int )chk, (unsigned int )breakcharlen, (unsigned int )(textlen + 1));
      newtext = (char *)tmp___3;
      alloced = (unsigned int )((textlen + chk * breakcharlen) + 1);
    } else {
      chk = textlen;
      alloced = (unsigned int )(textlen * (breakcharlen + 1) + 1);
      tmp___4 = _safe_emalloc((unsigned int )textlen, (unsigned int )(breakcharlen + 1), 1U);
      newtext = (char *)tmp___4;
    }
    newtextlen = 0;
    lastspace = 0L;
    laststart = lastspace;
    current = 0L;
    while (current < (long )textlen) {
      if (chk <= 0) {
        alloced += (size_t )((int )(((((long )textlen - current) + 1L) / linelength + 1L) * (long )breakcharlen) + 1);
        tmp___5 = _erealloc((void *)newtext, alloced, 0);
        newtext = (char *)tmp___5;
        chk = (int )(((long )textlen - current) / linelength) + 1;
      } else {

      }
      if ((int const   )*(text + current) == (int const   )*(breakchar + 0)) {
        if (current + (long )breakcharlen < (long )textlen) {
          if (0) {
            if (0) {
              __s1_len = strlen(text + current);
              __s2_len = strlen(breakchar);
              if (! ((unsigned int )((void const   *)((text + current) + 1)) - (unsigned int )((void const   *)(text + current)) == 1U)) {
                goto _L___2;
              } else {
                if (__s1_len >= 4U) {
                  _L___2: /* CIL Label */ 
                  if (! ((unsigned int )((void const   *)(breakchar + 1)) - (unsigned int )((void const   *)breakchar) == 1U)) {
                    tmp___14 = 1;
                  } else {
                    if (__s2_len >= 4U) {
                      tmp___14 = 1;
                    } else {
                      tmp___14 = 0;
                    }
                  }
                } else {
                  tmp___14 = 0;
                }
              }
              if (tmp___14) {
                tmp___9 = __builtin_strcmp(text + current, breakchar);
                tmp___13 = tmp___9;
              } else {
                tmp___12 = __builtin_strcmp(text + current, breakchar);
                tmp___13 = tmp___12;
              }
            } else {
              tmp___12 = __builtin_strcmp(text + current, breakchar);
              tmp___13 = tmp___12;
            }
            tmp___16 = tmp___13;
          } else {
            tmp___15 = strncmp(text + current, breakchar, (unsigned int )breakcharlen);
            tmp___16 = tmp___15;
          }
          if (tmp___16) {
            goto _L___4;
          } else {
            memcpy((void */* __restrict  */)(newtext + newtextlen), (void const   */* __restrict  */)(text + laststart), (unsigned int )((current - laststart) + (long )breakcharlen));
            newtextlen = (int )((long )newtextlen + ((current - laststart) + (long )breakcharlen));
            current += (long )(breakcharlen - 1);
            lastspace = current + 1L;
            laststart = lastspace;
            chk --;
          }
        } else {
          goto _L___4;
        }
      } else {
        _L___4: /* CIL Label */ 
        _L___3: /* CIL Label */ 
        if ((int const   )*(text + current) == 32) {
          if (current - laststart >= linelength) {
            memcpy((void */* __restrict  */)(newtext + newtextlen), (void const   */* __restrict  */)(text + laststart), (unsigned int )(current - laststart));
            newtextlen = (int )((long )newtextlen + (current - laststart));
            memcpy((void */* __restrict  */)(newtext + newtextlen), (void const   */* __restrict  */)breakchar, (unsigned int )breakcharlen);
            newtextlen += breakcharlen;
            laststart = current + 1L;
            chk --;
          } else {

          }
          lastspace = current;
        } else {
          if (current - laststart >= linelength) {
            if (docut) {
              if (laststart >= lastspace) {
                memcpy((void */* __restrict  */)(newtext + newtextlen), (void const   */* __restrict  */)(text + laststart), (unsigned int )(current - laststart));
                newtextlen = (int )((long )newtextlen + (current - laststart));
                memcpy((void */* __restrict  */)(newtext + newtextlen), (void const   */* __restrict  */)breakchar, (unsigned int )breakcharlen);
                newtextlen += breakcharlen;
                lastspace = current;
                laststart = lastspace;
                chk --;
              } else {
                goto _L___0;
              }
            } else {
              goto _L___0;
            }
          } else {
            _L___0: /* CIL Label */ 
            _L: /* CIL Label */ 
            if (current - laststart >= linelength) {
              if (laststart < lastspace) {
                memcpy((void */* __restrict  */)(newtext + newtextlen), (void const   */* __restrict  */)(text + laststart), (unsigned int )(lastspace - laststart));
                newtextlen = (int )((long )newtextlen + (lastspace - laststart));
                memcpy((void */* __restrict  */)(newtext + newtextlen), (void const   */* __restrict  */)breakchar, (unsigned int )breakcharlen);
                newtextlen += breakcharlen;
                lastspace ++;
                laststart = lastspace;
                chk --;
              } else {

              }
            } else {

            }
          }
        }
      }
      current ++;
    }
    if (laststart != current) {
      memcpy((void */* __restrict  */)(newtext + newtextlen), (void const   */* __restrict  */)(text + laststart), (unsigned int )(current - laststart));
      newtextlen = (int )((long )newtextlen + (current - laststart));
    } else {

    }
    *(newtext + newtextlen) = (char )'\000';
    tmp___19 = _erealloc((void *)newtext, (unsigned int )(newtextlen + 1), 0);
    newtext = (char *)tmp___19;
    while (1) {
      __s___0 = (char const   *)newtext;
      __l___0 = newtextlen;
      __z___3 = return_value;
      __z___3->value.str.len = __l___0;
      __z___3->value.str.val = (char *)((char __attribute__((__visibility__("default")))  *)((char *)__s___0));
      __z___3->type = (unsigned char)6;
      break;
    }
    return;
  }
}
}
void __attribute__((__visibility__("default")))  php_explode(zval *delim , zval *str , zval *return_value , long limit ) 
{ char *p1 ;
  char *p2 ;
  char *endp ;

  {
  endp = str->value.str.val + str->value.str.len;
  p1 = str->value.str.val;
  p2 = zend_memnstr(str->value.str.val, delim->value.str.val, delim->value.str.len, endp);
  if ((unsigned int )p2 == (unsigned int )((void *)0)) {
    add_next_index_stringl(return_value, (char const   *)p1, (unsigned int )str->value.str.len, 1);
  } else {
    while (1) {
      add_next_index_stringl(return_value, (char const   *)p1, (unsigned int )(p2 - p1), 1);
      p1 = p2 + delim->value.str.len;
      p2 = zend_memnstr(p1, delim->value.str.val, delim->value.str.len, endp);
      if ((unsigned int )p2 != (unsigned int )((void *)0)) {
        limit --;
        if (limit > 1L) {

        } else {
          break;
        }
      } else {
        break;
      }
    }
    if ((unsigned int )p1 <= (unsigned int )endp) {
      add_next_index_stringl(return_value, (char const   *)p1, (unsigned int )(endp - p1), 1);
    } else {

    }
  }
  return;
}
}
void __attribute__((__visibility__("default")))  php_explode_negative_limit(zval *delim , zval *str , zval *return_value , long limit ) 
{ char *p1 ;
  char *p2 ;
  char *endp ;
  int allocated ;
  int found ;
  long i ;
  long to_return ;
  char **positions ;
  void __attribute__((__visibility__("default")))  *tmp ;
  int tmp___0 ;
  void __attribute__((__visibility__("default")))  *tmp___1 ;
  int tmp___2 ;

  {
  endp = str->value.str.val + str->value.str.len;
  p1 = str->value.str.val;
  p2 = zend_memnstr(str->value.str.val, delim->value.str.val, delim->value.str.len, endp);
  if ((unsigned int )p2 == (unsigned int )((void *)0)) {

  } else {
    allocated = 64;
    found = 0;
    tmp = _emalloc((unsigned int )allocated * sizeof(char *));
    positions = (char **)tmp;
    tmp___0 = found;
    found ++;
    *(positions + tmp___0) = p1;
    while (1) {
      if (found >= allocated) {
        allocated = found + 64;
        tmp___1 = _erealloc((void *)positions, (unsigned int )allocated * sizeof(char *), 0);
        positions = (char **)tmp___1;
      } else {

      }
      tmp___2 = found;
      found ++;
      p1 = p2 + delim->value.str.len;
      *(positions + tmp___2) = p1;
      p2 = zend_memnstr(p1, delim->value.str.val, delim->value.str.len, endp);
      if ((unsigned int )p2 != (unsigned int )((void *)0)) {

      } else {
        break;
      }
    }
    to_return = limit + (long )found;
    i = 0L;
    while (i < to_return) {
      add_next_index_stringl(return_value, (char const   *)*(positions + i), (unsigned int )((*(positions + (i + 1L)) - delim->value.str.len) - *(positions + i)), 1);
      i ++;
    }
    _efree((void *)positions);
  }
  return;
}
}
void zif_explode(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *str ;
  char *delim ;
  int str_len ;
  int delim_len ;
  long limit ;
  zval zdelim ;
  zval zstr ;
  int __attribute__((__visibility__("default")))  tmp ;
  zval *__z ;
  char const   *__s ;
  int __l ;
  zval *__z___0 ;
  char __attribute__((__visibility__("default")))  *tmp___0 ;
  char const   *__s___0 ;
  int __l___0 ;
  zval *__z___1 ;
  char __attribute__((__visibility__("default")))  *tmp___1 ;

  {
  str_len = 0;
  delim_len = 0;
  limit = 2147483647L;
  tmp = zend_parse_parameters(ht, "ss|l", & delim, & delim_len, & str, & str_len, & limit);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  if (delim_len == 0) {
    php_error_docref0((char const   *)((void *)0), 1 << 1L, "Empty delimiter");
    while (1) {
      __z = return_value;
      __z->value.lval = 0L;
      __z->type = (unsigned char)3;
      break;
    }
    return;
  } else {

  }
  _array_init(return_value, 0U);
  if (str_len == 0) {
    if (limit >= 0L) {
      add_next_index_stringl(return_value, "", sizeof("") - 1U, 1);
    } else {

    }
    return;
  } else {

  }
  while (1) {
    __s = (char const   *)str;
    __l = str_len;
    __z___0 = & zstr;
    __z___0->value.str.len = __l;
    __z___0->value.str.val = (char *)((char __attribute__((__visibility__("default")))  *)((char *)__s));
    __z___0->type = (unsigned char)6;
    break;
  }
  while (1) {
    __s___0 = (char const   *)delim;
    __l___0 = delim_len;
    __z___1 = & zdelim;
    __z___1->value.str.len = __l___0;
    __z___1->value.str.val = (char *)((char __attribute__((__visibility__("default")))  *)((char *)__s___0));
    __z___1->type = (unsigned char)6;
    break;
  }
  if (limit > 1L) {
    php_explode(& zdelim, & zstr, return_value, limit);
  } else {
    if (limit < 0L) {
      php_explode_negative_limit(& zdelim, & zstr, return_value, limit);
    } else {
      add_index_stringl(return_value, 0UL, (char const   *)str, (unsigned int )str_len, 1);
    }
  }
  return;
}
}
void __attribute__((__visibility__("default")))  php_implode(zval *delim , zval *arr , zval *return_value ) 
{ zval **tmp ;
  HashPosition pos ;
  smart_str implstr ;
  int numelems ;
  int i ;
  zval tmp_val ;
  int str_len ;
  int __attribute__((__visibility__("default")))  tmp___0 ;
  zval *__z ;
  char __attribute__((__visibility__("default")))  *tmp___1 ;
  register size_t __nl ;
  smart_str *__dest ;
  void *tmp___2 ;
  void __attribute__((__visibility__("default")))  *tmp___3 ;
  void *tmp___4 ;
  void __attribute__((__visibility__("default")))  *tmp___5 ;
  char stmp[12] ;
  int __attribute__((__visibility__("default")))  tmp___6 ;
  register size_t __nl___0 ;
  smart_str *__dest___0 ;
  void *tmp___7 ;
  void __attribute__((__visibility__("default")))  *tmp___8 ;
  void *tmp___9 ;
  void __attribute__((__visibility__("default")))  *tmp___10 ;
  register size_t __nl___1 ;
  smart_str *__dest___1 ;
  void *tmp___11 ;
  void __attribute__((__visibility__("default")))  *tmp___12 ;
  void *tmp___13 ;
  void __attribute__((__visibility__("default")))  *tmp___14 ;
  char *stmp___0 ;
  int __attribute__((__visibility__("default")))  tmp___15 ;
  register size_t __nl___2 ;
  smart_str *__dest___2 ;
  void *tmp___16 ;
  void __attribute__((__visibility__("default")))  *tmp___17 ;
  void *tmp___18 ;
  void __attribute__((__visibility__("default")))  *tmp___19 ;
  int copy ;
  zval expr ;
  register size_t __nl___3 ;
  smart_str *__dest___3 ;
  void *tmp___20 ;
  void __attribute__((__visibility__("default")))  *tmp___21 ;
  void *tmp___22 ;
  void __attribute__((__visibility__("default")))  *tmp___23 ;
  register size_t __nl___4 ;
  smart_str *__dest___4 ;
  void *tmp___24 ;
  void __attribute__((__visibility__("default")))  *tmp___25 ;
  void *tmp___26 ;
  void __attribute__((__visibility__("default")))  *tmp___27 ;
  register size_t __nl___5 ;
  smart_str *__dest___5 ;
  void *tmp___28 ;
  void __attribute__((__visibility__("default")))  *tmp___29 ;
  void *tmp___30 ;
  void __attribute__((__visibility__("default")))  *tmp___31 ;
  int __attribute__((__visibility__("default")))  tmp___32 ;
  char const   *__s ;
  int __l ;
  zval *__z___0 ;
  char __attribute__((__visibility__("default")))  *tmp___33 ;
  smart_str *__s___0 ;
  size_t tmp___34 ;
  zval *__z___1 ;
  char __attribute__((__visibility__("default")))  *tmp___35 ;

  {
  implstr.c = (char *)0;
  implstr.len = 0U;
  implstr.a = 0U;
  i = 0;
  tmp___0 = zend_hash_num_elements((HashTable const   *)arr->value.ht);
  numelems = (int )tmp___0;
  if (numelems == 0) {
    while (1) {
      __z = return_value;
      __z->value.str.len = 0;
      tmp___1 = _estrndup("", sizeof("") - 1U);
      __z->value.str.val = (char *)tmp___1;
      __z->type = (unsigned char)6;
      break;
    }
    return;
  } else {

  }
  zend_hash_internal_pointer_reset_ex(arr->value.ht, & pos);
  while (1) {
    tmp___32 = zend_hash_get_current_data_ex(arr->value.ht, (void **)(& tmp), & pos);
    if (tmp___32 == (int __attribute__((__visibility__("default")))  )0) {

    } else {
      break;
    }
    switch ((int )(*tmp)->type) {
    case 6: 
    while (1) {
      __dest = & implstr;
      while (1) {
        if (! __dest->c) {
          __dest->len = 0U;
          __nl = (unsigned int )(*tmp)->value.str.len;
          if (__nl < 78U) {
            __dest->a = 78U;
          } else {
            __dest->a = __nl + 128U;
          }
          tmp___3 = _erealloc((void *)__dest->c, __dest->a + 1U, 0);
          __dest->c = (char *)((void *)tmp___3);
        } else {
          __nl = __dest->len + (size_t )(*tmp)->value.str.len;
          if (__nl >= __dest->a) {
            __dest->a = __nl + 128U;
            tmp___5 = _erealloc((void *)__dest->c, __dest->a + 1U, 0);
            __dest->c = (char *)((void *)tmp___5);
          } else {

          }
        }
        break;
      }
      memcpy((void */* __restrict  */)(__dest->c + __dest->len), (void const   */* __restrict  */)(*tmp)->value.str.val, (unsigned int )(*tmp)->value.str.len);
      __dest->len = __nl;
      break;
    }
    break;
    case 1: 
    tmp___6 = ap_php_slprintf(stmp, sizeof(stmp), "%ld", (*tmp)->value.lval);
    str_len = (int )tmp___6;
    while (1) {
      __dest___0 = & implstr;
      while (1) {
        if (! __dest___0->c) {
          __dest___0->len = 0U;
          __nl___0 = (unsigned int )str_len;
          if (__nl___0 < 78U) {
            __dest___0->a = 78U;
          } else {
            __dest___0->a = __nl___0 + 128U;
          }
          tmp___8 = _erealloc((void *)__dest___0->c, __dest___0->a + 1U, 0);
          __dest___0->c = (char *)((void *)tmp___8);
        } else {
          __nl___0 = __dest___0->len + (size_t )str_len;
          if (__nl___0 >= __dest___0->a) {
            __dest___0->a = __nl___0 + 128U;
            tmp___10 = _erealloc((void *)__dest___0->c, __dest___0->a + 1U, 0);
            __dest___0->c = (char *)((void *)tmp___10);
          } else {

          }
        }
        break;
      }
      memcpy((void */* __restrict  */)(__dest___0->c + __dest___0->len), (void const   */* __restrict  */)(stmp), (unsigned int )str_len);
      __dest___0->len = __nl___0;
      break;
    }
    break;
    case 3: 
    if ((*tmp)->value.lval == 1L) {
      while (1) {
        __dest___1 = & implstr;
        while (1) {
          if (! __dest___1->c) {
            __dest___1->len = 0U;
            __nl___1 = sizeof("1") - 1U;
            if (__nl___1 < 78U) {
              __dest___1->a = 78U;
            } else {
              __dest___1->a = __nl___1 + 128U;
            }
            tmp___12 = _erealloc((void *)__dest___1->c, __dest___1->a + 1U, 0);
            __dest___1->c = (char *)((void *)tmp___12);
          } else {
            __nl___1 = __dest___1->len + (sizeof("1") - 1U);
            if (__nl___1 >= __dest___1->a) {
              __dest___1->a = __nl___1 + 128U;
              tmp___14 = _erealloc((void *)__dest___1->c, __dest___1->a + 1U, 0);
              __dest___1->c = (char *)((void *)tmp___14);
            } else {

            }
          }
          break;
        }
        memcpy((void */* __restrict  */)(__dest___1->c + __dest___1->len), (void const   */* __restrict  */)"1", sizeof("1") - 1U);
        __dest___1->len = __nl___1;
        break;
      }
    } else {

    }
    break;
    case 0: 
    break;
    case 2: 
    tmp___15 = spprintf(& stmp___0, 0U, "%.*G", (int )executor_globals.precision, (*tmp)->value.dval);
    str_len = (int )tmp___15;
    while (1) {
      __dest___2 = & implstr;
      while (1) {
        if (! __dest___2->c) {
          __dest___2->len = 0U;
          __nl___2 = (unsigned int )str_len;
          if (__nl___2 < 78U) {
            __dest___2->a = 78U;
          } else {
            __dest___2->a = __nl___2 + 128U;
          }
          tmp___17 = _erealloc((void *)__dest___2->c, __dest___2->a + 1U, 0);
          __dest___2->c = (char *)((void *)tmp___17);
        } else {
          __nl___2 = __dest___2->len + (size_t )str_len;
          if (__nl___2 >= __dest___2->a) {
            __dest___2->a = __nl___2 + 128U;
            tmp___19 = _erealloc((void *)__dest___2->c, __dest___2->a + 1U, 0);
            __dest___2->c = (char *)((void *)tmp___19);
          } else {

          }
        }
        break;
      }
      memcpy((void */* __restrict  */)(__dest___2->c + __dest___2->len), (void const   */* __restrict  */)stmp___0, (unsigned int )str_len);
      __dest___2->len = __nl___2;
      break;
    }
    _efree((void *)stmp___0);
    break;
    case 5: 
    zend_make_printable_zval(*tmp, & expr, & copy);
    while (1) {
      __dest___3 = & implstr;
      while (1) {
        if (! __dest___3->c) {
          __dest___3->len = 0U;
          __nl___3 = (unsigned int )expr.value.str.len;
          if (__nl___3 < 78U) {
            __dest___3->a = 78U;
          } else {
            __dest___3->a = __nl___3 + 128U;
          }
          tmp___21 = _erealloc((void *)__dest___3->c, __dest___3->a + 1U, 0);
          __dest___3->c = (char *)((void *)tmp___21);
        } else {
          __nl___3 = __dest___3->len + (size_t )expr.value.str.len;
          if (__nl___3 >= __dest___3->a) {
            __dest___3->a = __nl___3 + 128U;
            tmp___23 = _erealloc((void *)__dest___3->c, __dest___3->a + 1U, 0);
            __dest___3->c = (char *)((void *)tmp___23);
          } else {

          }
        }
        break;
      }
      memcpy((void */* __restrict  */)(__dest___3->c + __dest___3->len), (void const   */* __restrict  */)expr.value.str.val, (unsigned int )expr.value.str.len);
      __dest___3->len = __nl___3;
      break;
    }
    if (copy) {
      _zval_dtor(& expr);
    } else {

    }
    break;
    default: 
    tmp_val = *(*tmp);
    _zval_copy_ctor(& tmp_val);
    if ((int )tmp_val.type != 6) {
      _convert_to_string(& tmp_val);
    } else {

    }
    while (1) {
      __dest___4 = & implstr;
      while (1) {
        if (! __dest___4->c) {
          __dest___4->len = 0U;
          __nl___4 = (unsigned int )tmp_val.value.str.len;
          if (__nl___4 < 78U) {
            __dest___4->a = 78U;
          } else {
            __dest___4->a = __nl___4 + 128U;
          }
          tmp___25 = _erealloc((void *)__dest___4->c, __dest___4->a + 1U, 0);
          __dest___4->c = (char *)((void *)tmp___25);
        } else {
          __nl___4 = __dest___4->len + (size_t )tmp_val.value.str.len;
          if (__nl___4 >= __dest___4->a) {
            __dest___4->a = __nl___4 + 128U;
            tmp___27 = _erealloc((void *)__dest___4->c, __dest___4->a + 1U, 0);
            __dest___4->c = (char *)((void *)tmp___27);
          } else {

          }
        }
        break;
      }
      memcpy((void */* __restrict  */)(__dest___4->c + __dest___4->len), (void const   */* __restrict  */)tmp_val.value.str.val, (unsigned int )tmp_val.value.str.len);
      __dest___4->len = __nl___4;
      break;
    }
    _zval_dtor(& tmp_val);
    break;
    }
    i ++;
    if (i != numelems) {
      while (1) {
        __dest___5 = & implstr;
        while (1) {
          if (! __dest___5->c) {
            __dest___5->len = 0U;
            __nl___5 = (unsigned int )delim->value.str.len;
            if (__nl___5 < 78U) {
              __dest___5->a = 78U;
            } else {
              __dest___5->a = __nl___5 + 128U;
            }
            tmp___29 = _erealloc((void *)__dest___5->c, __dest___5->a + 1U, 0);
            __dest___5->c = (char *)((void *)tmp___29);
          } else {
            __nl___5 = __dest___5->len + (size_t )delim->value.str.len;
            if (__nl___5 >= __dest___5->a) {
              __dest___5->a = __nl___5 + 128U;
              tmp___31 = _erealloc((void *)__dest___5->c, __dest___5->a + 1U, 0);
              __dest___5->c = (char *)((void *)tmp___31);
            } else {

            }
          }
          break;
        }
        memcpy((void */* __restrict  */)(__dest___5->c + __dest___5->len), (void const   */* __restrict  */)delim->value.str.val, (unsigned int )delim->value.str.len);
        __dest___5->len = __nl___5;
        break;
      }
    } else {

    }
    zend_hash_move_forward_ex(arr->value.ht, & pos);
  }
  while (1) {
    if (implstr.c) {
      *(implstr.c + implstr.len) = (char )'\000';
    } else {

    }
    break;
  }
  if (implstr.len) {
    while (1) {
      __s = (char const   *)implstr.c;
      __l = (int )implstr.len;
      __z___0 = return_value;
      __z___0->value.str.len = __l;
      __z___0->value.str.val = (char *)((char __attribute__((__visibility__("default")))  *)((char *)__s));
      __z___0->type = (unsigned char)6;
      break;
    }
    return;
  } else {
    while (1) {
      __s___0 = & implstr;
      if (__s___0->c) {
        _efree((void *)__s___0->c);
        __s___0->c = (char *)((void *)0);
      } else {

      }
      tmp___34 = 0U;
      __s___0->len = tmp___34;
      __s___0->a = tmp___34;
      break;
    }
    while (1) {
      __z___1 = return_value;
      __z___1->value.str.len = 0;
      tmp___35 = _estrndup("", sizeof("") - 1U);
      __z___1->value.str.val = (char *)tmp___35;
      __z___1->type = (unsigned char)6;
      break;
    }
    return;
  }
}
}
void zif_implode(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ zval **arg1 ;
  zval **arg2 ;
  zval *delim ;
  zval *arr ;
  int __attribute__((__visibility__("default")))  tmp ;
  void __attribute__((__visibility__("default")))  *tmp___0 ;
  char const   *__s ;
  int __l ;
  zval *__z ;
  char __attribute__((__visibility__("default")))  *tmp___1 ;
  zval *new_zv ;
  void __attribute__((__visibility__("default")))  *tmp___2 ;
  zend_uint tmp___3 ;
  zval *new_zv___0 ;
  void __attribute__((__visibility__("default")))  *tmp___4 ;
  zend_uint tmp___5 ;
  zend_bool tmp___6 ;
  zval *new_zv___1 ;
  void __attribute__((__visibility__("default")))  *tmp___7 ;
  zend_uint tmp___8 ;
  zend_bool tmp___9 ;

  {
  arg1 = (zval **)((void *)0);
  arg2 = (zval **)((void *)0);
  tmp = zend_parse_parameters(ht, "Z|Z", & arg1, & arg2);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  if ((unsigned int )arg2 == (unsigned int )((void *)0)) {
    if ((int )(*arg1)->type != 4) {
      php_error_docref0((char const   *)((void *)0), 1 << 1L, "Argument must be an array");
      return;
    } else {

    }
    while (1) {
      tmp___0 = _emalloc(sizeof(zval_gc_info ));
      delim = (zval *)tmp___0;
      ((zval_gc_info *)delim)->u.buffered = (gc_root_buffer *)((void *)0);
      break;
    }
    delim->refcount__gc = 1U;
    delim->is_ref__gc = (unsigned char)0;
    while (1) {
      __s = "";
      __l = (int )(sizeof("") - 1U);
      __z = delim;
      __z->value.str.len = __l;
      __z->value.str.val = (char *)((char __attribute__((__visibility__("default")))  *)((char *)__s));
      __z->type = (unsigned char)6;
      break;
    }
    while (1) {
      tmp___3 = zval_refcount_p(*arg1);
      if (tmp___3 > 1U) {
        zval_delref_p(*arg1);
        while (1) {
          tmp___2 = _emalloc(sizeof(zval_gc_info ));
          new_zv = (zval *)tmp___2;
          ((zval_gc_info *)new_zv)->u.buffered = (gc_root_buffer *)((void *)0);
          break;
        }
        while (1) {
          while (1) {
            new_zv->value = (*arg1)->value;
            new_zv->type = (*arg1)->type;
            break;
          }
          zval_set_refcount_p(new_zv, 1U);
          zval_unset_isref_p(new_zv);
          break;
        }
        *arg1 = new_zv;
        _zval_copy_ctor(new_zv);
      } else {

      }
      break;
    }
    arr = *arg1;
  } else {
    if ((int )(*arg1)->type == 4) {
      arr = *arg1;
      if ((int )(*arg2)->type != 6) {
        tmp___6 = zval_isref_p(*arg2);
        if (tmp___6) {

        } else {
          while (1) {
            tmp___5 = zval_refcount_p(*arg2);
            if (tmp___5 > 1U) {
              zval_delref_p(*arg2);
              while (1) {
                tmp___4 = _emalloc(sizeof(zval_gc_info ));
                new_zv___0 = (zval *)tmp___4;
                ((zval_gc_info *)new_zv___0)->u.buffered = (gc_root_buffer *)((void *)0);
                break;
              }
              while (1) {
                while (1) {
                  new_zv___0->value = (*arg2)->value;
                  new_zv___0->type = (*arg2)->type;
                  break;
                }
                zval_set_refcount_p(new_zv___0, 1U);
                zval_unset_isref_p(new_zv___0);
                break;
              }
              *arg2 = new_zv___0;
              _zval_copy_ctor(new_zv___0);
            } else {

            }
            break;
          }
        }
        if ((int )(*arg2)->type != 6) {
          _convert_to_string(*arg2);
        } else {

        }
      } else {

      }
      delim = *arg2;
    } else {
      if ((int )(*arg2)->type == 4) {
        arr = *arg2;
        if ((int )(*arg1)->type != 6) {
          tmp___9 = zval_isref_p(*arg1);
          if (tmp___9) {

          } else {
            while (1) {
              tmp___8 = zval_refcount_p(*arg1);
              if (tmp___8 > 1U) {
                zval_delref_p(*arg1);
                while (1) {
                  tmp___7 = _emalloc(sizeof(zval_gc_info ));
                  new_zv___1 = (zval *)tmp___7;
                  ((zval_gc_info *)new_zv___1)->u.buffered = (gc_root_buffer *)((void *)0);
                  break;
                }
                while (1) {
                  while (1) {
                    new_zv___1->value = (*arg1)->value;
                    new_zv___1->type = (*arg1)->type;
                    break;
                  }
                  zval_set_refcount_p(new_zv___1, 1U);
                  zval_unset_isref_p(new_zv___1);
                  break;
                }
                *arg1 = new_zv___1;
                _zval_copy_ctor(new_zv___1);
              } else {

              }
              break;
            }
          }
          if ((int )(*arg1)->type != 6) {
            _convert_to_string(*arg1);
          } else {

          }
        } else {

        }
        delim = *arg1;
      } else {
        php_error_docref0((char const   *)((void *)0), 1 << 1L, "Invalid arguments passed");
        return;
      }
    }
  }
  php_implode(delim, arr, return_value);
  if ((unsigned int )arg2 == (unsigned int )((void *)0)) {
    while (1) {
      if ((gc_root_buffer *)((unsigned long )((zval_gc_info *)delim)->u.buffered & 4294967292UL)) {
        gc_remove_zval_from_buffer(delim);
      } else {

      }
      _efree((void *)delim);
      break;
    }
  } else {

  }
  return;
}
}
void zif_strtok(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *str ;
  char *tok ;
  int str_len ;
  int tok_len ;
  zval *zv ;
  char *token ;
  char *token_end ;
  char *p ;
  char *pe ;
  int skipped ;
  int __attribute__((__visibility__("default")))  tmp ;
  void __attribute__((__visibility__("default")))  *tmp___0 ;
  char const   *__s ;
  int __l ;
  zval *__z ;
  char __attribute__((__visibility__("default")))  *tmp___1 ;
  zval *__z___0 ;
  char *tmp___2 ;
  zval *__z___1 ;
  char const   *__s___0 ;
  int __l___0 ;
  zval *__z___2 ;
  char __attribute__((__visibility__("default")))  *tmp___3 ;
  zval *__z___3 ;
  char *tmp___4 ;

  {
  tok = (char *)((void *)0);
  tok_len = 0;
  skipped = 0;
  tmp = zend_parse_parameters(ht, "s|s", & str, & str_len, & tok, & tok_len);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  if (ht == 1) {
    tok = str;
    tok_len = str_len;
  } else {
    if (basic_globals.strtok_zval) {
      _zval_ptr_dtor(& basic_globals.strtok_zval);
    } else {

    }
    while (1) {
      tmp___0 = _emalloc(sizeof(zval_gc_info ));
      zv = (zval *)tmp___0;
      ((zval_gc_info *)zv)->u.buffered = (gc_root_buffer *)((void *)0);
      break;
    }
    zv->refcount__gc = 1U;
    zv->is_ref__gc = (unsigned char)0;
    while (1) {
      __s = (char const   *)str;
      __l = str_len;
      __z = zv;
      __z->value.str.len = __l;
      tmp___1 = _estrndup(__s, (unsigned int )__l);
      __z->value.str.val = (char *)tmp___1;
      __z->type = (unsigned char)6;
      break;
    }
    basic_globals.strtok_zval = zv;
    basic_globals.strtok_string = zv->value.str.val;
    basic_globals.strtok_last = basic_globals.strtok_string;
    basic_globals.strtok_len = (unsigned long )str_len;
  }
  p = basic_globals.strtok_last;
  pe = basic_globals.strtok_string + basic_globals.strtok_len;
  if (! p) {
    goto _L;
  } else {
    if ((unsigned int )p >= (unsigned int )pe) {
      _L: /* CIL Label */ 
      while (1) {
        __z___0 = return_value;
        __z___0->value.lval = 0L;
        __z___0->type = (unsigned char)3;
        break;
      }
      return;
    } else {

    }
  }
  token = tok;
  token_end = token + tok_len;
  while ((unsigned int )token < (unsigned int )token_end) {
    tmp___2 = token;
    token ++;
    basic_globals.strtok_table[(unsigned char )*tmp___2] = (char)1;
  }
  while (basic_globals.strtok_table[(unsigned char )*p]) {
    p ++;
    if ((unsigned int )p >= (unsigned int )pe) {
      basic_globals.strtok_last = (char *)((void *)0);
      while (1) {
        __z___1 = return_value;
        __z___1->value.lval = 0L;
        __z___1->type = (unsigned char)3;
        break;
      }
      goto restore;
    } else {

    }
    skipped ++;
  }
  while (1) {
    p ++;
    if ((unsigned int )p < (unsigned int )pe) {

    } else {
      break;
    }
    if (basic_globals.strtok_table[(unsigned char )*p]) {
      goto return_token;
    } else {

    }
  }
  if (p - basic_globals.strtok_last) {
    return_token: 
    while (1) {
      __s___0 = (char const   *)(basic_globals.strtok_last + skipped);
      __l___0 = (p - basic_globals.strtok_last) - skipped;
      __z___2 = return_value;
      __z___2->value.str.len = __l___0;
      tmp___3 = _estrndup(__s___0, (unsigned int )__l___0);
      __z___2->value.str.val = (char *)tmp___3;
      __z___2->type = (unsigned char)6;
      break;
    }
    basic_globals.strtok_last = p + 1;
  } else {
    while (1) {
      __z___3 = return_value;
      __z___3->value.lval = 0L;
      __z___3->type = (unsigned char)3;
      break;
    }
    basic_globals.strtok_last = (char *)((void *)0);
  }
  restore: 
  token = tok;
  while ((unsigned int )token < (unsigned int )token_end) {
    tmp___4 = token;
    token ++;
    basic_globals.strtok_table[(unsigned char )*tmp___4] = (char)0;
  }
  return;
}
}
char __attribute__((__visibility__("default")))  *php_strtoupper(char *s , size_t len ) 
{ unsigned char *c ;
  unsigned char *e ;
  int __res ;
  int __c ;
  __int32_t const   **tmp ;
  __int32_t const   **tmp___0 ;

  {
  c = (unsigned char *)s;
  e = c + len;
  while ((unsigned int )c < (unsigned int )e) {
    if (sizeof(*c) > 1U) {
      __res = toupper((int )*c);
    } else {
      tmp___0 = __ctype_toupper_loc();
      __res = (int )*(*tmp___0 + (int )*c);
    }
    *c = (unsigned char )__res;
    c ++;
  }
  return ((char __attribute__((__visibility__("default")))  *)s);
}
}
void zif_strtoupper(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *arg ;
  int arglen ;
  int __attribute__((__visibility__("default")))  tmp ;
  char __attribute__((__visibility__("default")))  *tmp___0 ;
  char const   *__s ;
  int __l ;
  zval *__z ;
  char __attribute__((__visibility__("default")))  *tmp___1 ;

  {
  tmp = zend_parse_parameters(ht, "s", & arg, & arglen);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  tmp___0 = _estrndup((char const   *)arg, (unsigned int )arglen);
  arg = (char *)tmp___0;
  php_strtoupper(arg, (unsigned int )arglen);
  while (1) {
    __s = (char const   *)arg;
    __l = arglen;
    __z = return_value;
    __z->value.str.len = __l;
    __z->value.str.val = (char *)((char __attribute__((__visibility__("default")))  *)((char *)__s));
    __z->type = (unsigned char)6;
    break;
  }
  return;
}
}
char __attribute__((__visibility__("default")))  *php_strtolower(char *s , size_t len ) 
{ unsigned char *c ;
  unsigned char *e ;
  int __res ;
  int __c ;
  __int32_t const   **tmp ;
  __int32_t const   **tmp___0 ;

  {
  c = (unsigned char *)s;
  e = c + len;
  while ((unsigned int )c < (unsigned int )e) {
    if (sizeof(*c) > 1U) {
      __res = tolower((int )*c);
    } else {
      tmp___0 = __ctype_tolower_loc();
      __res = (int )*(*tmp___0 + (int )*c);
    }
    *c = (unsigned char )__res;
    c ++;
  }
  return ((char __attribute__((__visibility__("default")))  *)s);
}
}
void zif_strtolower(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *str ;
  int arglen ;
  int __attribute__((__visibility__("default")))  tmp ;
  char __attribute__((__visibility__("default")))  *tmp___0 ;
  char const   *__s ;
  int __l ;
  zval *__z ;
  char __attribute__((__visibility__("default")))  *tmp___1 ;

  {
  tmp = zend_parse_parameters(ht, "s", & str, & arglen);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  tmp___0 = _estrndup((char const   *)str, (unsigned int )arglen);
  str = (char *)tmp___0;
  php_strtolower(str, (unsigned int )arglen);
  while (1) {
    __s = (char const   *)str;
    __l = arglen;
    __z = return_value;
    __z->value.str.len = __l;
    __z->value.str.val = (char *)((char __attribute__((__visibility__("default")))  *)((char *)__s));
    __z->type = (unsigned char)6;
    break;
  }
  return;
}
}
void __attribute__((__visibility__("default")))  php_basename(char const   *s , size_t len , char *suffix , size_t sufflen , char **p_ret , size_t *p_len ) 
{ char *ret ;
  char *c ;
  char *comp ;
  char *cend ;
  size_t inc_len ;
  size_t cnt ;
  int state ;
  int tmp ;
  int __x ;
  int tmp___0 ;
  int tmp___1 ;
  void __attribute__((__visibility__("default")))  *tmp___2 ;

  {
  ret = (char *)((void *)0);
  cend = (char *)s;
  comp = cend;
  c = comp;
  cnt = len;
  state = 0;
  while (cnt > 0U) {
    if ((int )*c == 0) {
      inc_len = 1U;
    } else {
      tmp = mblen((char const   *)c, cnt);
      inc_len = (unsigned int )tmp;
    }
    switch ((int )inc_len) {
    case -2: 
    case -1: 
    inc_len = 1U;
    tmp___0 = mblen((char const   *)((void *)0), 0U);
    __x = tmp___0;
    break;
    case 0: 
    goto quit_loop;
    case 1: 
    if ((int )*c == 47) {
      if (state == 1) {
        state = 0;
        cend = c;
      } else {

      }
    } else {
      if (state == 0) {
        comp = c;
        state = 1;
      } else {

      }
    }
    break;
    default: ;
    if (state == 0) {
      comp = c;
      state = 1;
    } else {

    }
    break;
    }
    c += inc_len;
    cnt -= inc_len;
  }
  quit_loop: 
  if (state == 1) {
    cend = c;
  } else {

  }
  if ((unsigned int )suffix != (unsigned int )((void *)0)) {
    if (sufflen < (unsigned int )(cend - comp)) {
      tmp___1 = memcmp((void const   *)(cend - sufflen), (void const   *)suffix, sufflen);
      if (tmp___1 == 0) {
        cend -= sufflen;
      } else {

      }
    } else {

    }
  } else {

  }
  len = (unsigned int )(cend - comp);
  if (p_ret) {
    tmp___2 = _emalloc(len + 1U);
    ret = (char *)tmp___2;
    memcpy((void */* __restrict  */)ret, (void const   */* __restrict  */)comp, len);
    *(ret + len) = (char )'\000';
    *p_ret = ret;
  } else {

  }
  if (p_len) {
    *p_len = len;
  } else {

  }
  return;
}
}
void zif_basename(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *string ;
  char *suffix ;
  char *ret ;
  int string_len ;
  int suffix_len ;
  size_t ret_len ;
  int __attribute__((__visibility__("default")))  tmp ;
  char const   *__s ;
  int __l ;
  zval *__z ;
  char __attribute__((__visibility__("default")))  *tmp___0 ;

  {
  suffix = (char *)((void *)0);
  suffix_len = 0;
  tmp = zend_parse_parameters(ht, "s|s", & string, & string_len, & suffix, & suffix_len);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  php_basename((char const   *)string, (unsigned int )string_len, suffix, (unsigned int )suffix_len, & ret, & ret_len);
  while (1) {
    __s = (char const   *)ret;
    __l = (int )ret_len;
    __z = return_value;
    __z->value.str.len = __l;
    __z->value.str.val = (char *)((char __attribute__((__visibility__("default")))  *)((char *)__s));
    __z->type = (unsigned char)6;
    break;
  }
  return;
}
}
size_t __attribute__((__visibility__("default")))  php_dirname(char *path , size_t len ) 
{ size_t __attribute__((__visibility__("default")))  tmp ;

  {
  tmp = zend_dirname(path, len);
  return (tmp);
}
}
void zif_dirname(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *str ;
  char *ret ;
  int str_len ;
  size_t ret_len ;
  int __attribute__((__visibility__("default")))  tmp ;
  char __attribute__((__visibility__("default")))  *tmp___0 ;
  size_t __attribute__((__visibility__("default")))  tmp___1 ;
  char const   *__s ;
  int __l ;
  zval *__z ;
  char __attribute__((__visibility__("default")))  *tmp___2 ;

  {
  tmp = zend_parse_parameters(ht, "s", & str, & str_len);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  tmp___0 = _estrndup((char const   *)str, (unsigned int )str_len);
  ret = (char *)tmp___0;
  tmp___1 = php_dirname(ret, (unsigned int )str_len);
  ret_len = (unsigned int )tmp___1;
  while (1) {
    __s = (char const   *)ret;
    __l = (int )ret_len;
    __z = return_value;
    __z->value.str.len = __l;
    __z->value.str.val = (char *)((char __attribute__((__visibility__("default")))  *)((char *)__s));
    __z->type = (unsigned char)6;
    break;
  }
  return;
}
}
void zif_pathinfo(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ zval *tmp ;
  char *path ;
  char *ret ;
  int path_len ;
  int have_basename ;
  size_t ret_len ;
  long opt ;
  int __attribute__((__visibility__("default")))  tmp___0 ;
  void __attribute__((__visibility__("default")))  *tmp___1 ;
  char __attribute__((__visibility__("default")))  *tmp___2 ;
  size_t tmp___3 ;
  size_t tmp___4 ;
  char const   *p ;
  int idx ;
  void const   *tmp___5 ;
  size_t tmp___6 ;
  char const   *p___0 ;
  int idx___0 ;
  void const   *tmp___7 ;
  size_t tmp___8 ;
  zend_uchar is_ref ;
  zend_bool tmp___9 ;
  zend_uint refcount ;
  zend_uint tmp___10 ;
  zval **element ;
  zend_uchar is_ref___0 ;
  zend_bool tmp___11 ;
  zend_uint refcount___0 ;
  zend_uint tmp___12 ;
  zval *__z ;
  char __attribute__((__visibility__("default")))  *tmp___13 ;
  int __attribute__((__visibility__("default")))  tmp___14 ;

  {
  ret = (char *)((void *)0);
  opt = 15L;
  tmp___0 = zend_parse_parameters(ht, "s|l", & path, & path_len, & opt);
  if (tmp___0 == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  have_basename = (opt & 2L) == 2L;
  while (1) {
    tmp___1 = _emalloc(sizeof(zval_gc_info ));
    tmp = (zval *)tmp___1;
    ((zval_gc_info *)tmp)->u.buffered = (gc_root_buffer *)((void *)0);
    break;
  }
  tmp->refcount__gc = 1U;
  tmp->is_ref__gc = (unsigned char)0;
  _array_init(tmp, 0U);
  if ((opt & 1L) == 1L) {
    tmp___2 = _estrndup((char const   *)path, (unsigned int )path_len);
    ret = (char *)tmp___2;
    php_dirname(ret, (unsigned int )path_len);
    if (*ret) {
      tmp___3 = strlen("dirname");
      add_assoc_string_ex(tmp, "dirname", tmp___3 + 1U, ret, 1);
    } else {

    }
    _efree((void *)ret);
    ret = (char *)((void *)0);
  } else {

  }
  if (have_basename) {
    php_basename((char const   *)path, (unsigned int )path_len, (char *)((void *)0), 0U, & ret, & ret_len);
    tmp___4 = strlen("basename");
    add_assoc_stringl_ex(tmp, "basename", tmp___4 + 1U, ret, ret_len, 0);
  } else {

  }
  if ((opt & 4L) == 4L) {
    if (! have_basename) {
      php_basename((char const   *)path, (unsigned int )path_len, (char *)((void *)0), 0U, & ret, & ret_len);
    } else {

    }
    tmp___5 = zend_memrchr((void const   *)ret, '.', ret_len);
    p = (char const   *)tmp___5;
    if (p) {
      idx = p - (char const   *)ret;
      tmp___6 = strlen("extension");
      add_assoc_stringl_ex(tmp, "extension", tmp___6 + 1U, (ret + idx) + 1, (ret_len - (size_t )idx) - 1U, 1);
    } else {

    }
  } else {

  }
  if ((opt & 8L) == 8L) {
    if (! have_basename) {
      if (! ret) {
        php_basename((char const   *)path, (unsigned int )path_len, (char *)((void *)0), 0U, & ret, & ret_len);
      } else {

      }
    } else {

    }
    tmp___7 = zend_memrchr((void const   *)ret, '.', ret_len);
    p___0 = (char const   *)tmp___7;
    if (p___0) {
      idx___0 = p___0 - (char const   *)ret;
    } else {
      idx___0 = (int )ret_len;
    }
    tmp___8 = strlen("filename");
    add_assoc_stringl_ex(tmp, "filename", tmp___8 + 1U, ret, (unsigned int )idx___0, 1);
  } else {

  }
  if (! have_basename) {
    if (ret) {
      _efree((void *)ret);
    } else {

    }
  } else {

  }
  if (opt == 15L) {
    tmp___9 = zval_isref_p(return_value);
    is_ref = tmp___9;
    tmp___10 = zval_refcount_p(return_value);
    refcount = tmp___10;
    while (1) {
      return_value->value = tmp->value;
      return_value->type = tmp->type;
      break;
    }
    tmp->type = (unsigned char)0;
    _zval_ptr_dtor(& tmp);
    zval_set_isref_to_p(return_value, is_ref);
    zval_set_refcount_p(return_value, refcount);
    return;
  } else {
    tmp___14 = zend_hash_get_current_data_ex(tmp->value.ht, (void **)(& element), (HashPosition *)((void *)0));
    if (tmp___14 == (int __attribute__((__visibility__("default")))  )0) {
      tmp___11 = zval_isref_p(return_value);
      is_ref___0 = tmp___11;
      tmp___12 = zval_refcount_p(return_value);
      refcount___0 = tmp___12;
      while (1) {
        return_value->value = (*element)->value;
        return_value->type = (*element)->type;
        break;
      }
      _zval_copy_ctor(return_value);
      zval_set_isref_to_p(return_value, is_ref___0);
      zval_set_refcount_p(return_value, refcount___0);
    } else {
      while (1) {
        __z = return_value;
        __z->value.str.len = 0;
        tmp___13 = _estrndup("", sizeof("") - 1U);
        __z->value.str.val = (char *)tmp___13;
        __z->type = (unsigned char)6;
        break;
      }
    }
  }
  _zval_ptr_dtor(& tmp);
  return;
}
}
char __attribute__((__visibility__("default")))  *php_stristr(char *s , char *t , size_t s_len , size_t t_len ) 
{ char *tmp ;

  {
  php_strtolower(s, s_len);
  php_strtolower(t, t_len);
  tmp = zend_memnstr(s, t, (int )t_len, s + s_len);
  return ((char __attribute__((__visibility__("default")))  *)tmp);
}
}
size_t __attribute__((__visibility__("default")))  php_strspn(char *s1 , char *s2 , char *s1_end , char *s2_end ) 
{ register char const   *p ;
  register char const   *spanp ;
  register char c ;
  char const   *tmp ;

  {
  p = (char const   *)s1;
  c = (char )*p;
  cont: 
  spanp = (char const   *)s2;
  while (1) {
    if ((unsigned int )p != (unsigned int )s1_end) {
      if ((unsigned int )spanp != (unsigned int )s2_end) {

      } else {
        break;
      }
    } else {
      break;
    }
    tmp = spanp;
    spanp ++;
    if ((int const   )*tmp == (int const   )c) {
      p ++;
      c = (char )*p;
      goto cont;
    } else {

    }
  }
  return ((unsigned int __attribute__((__visibility__("default")))  )(p - (char const   *)s1));
}
}
size_t __attribute__((__visibility__("default")))  php_strcspn(char *s1 , char *s2 , char *s1_end , char *s2_end ) 
{ register char const   *p ;
  register char const   *spanp ;
  register char c ;
  char const   *tmp ;

  {
  c = *s1;
  p = (char const   *)s1;
  while (1) {
    spanp = (char const   *)s2;
    while (1) {
      if ((int const   )*spanp == (int const   )c) {
        return ((unsigned int __attribute__((__visibility__("default")))  )(p - (char const   *)s1));
      } else {
        if ((unsigned int )p == (unsigned int )s1_end) {
          return ((unsigned int __attribute__((__visibility__("default")))  )(p - (char const   *)s1));
        } else {

        }
      }
      tmp = spanp;
      spanp ++;
      if ((unsigned int )tmp < (unsigned int )(s2_end - 1)) {

      } else {
        break;
      }
    }
    p ++;
    c = (char )*p;
  }
}
}
static int php_needle_char(zval *needle , char *target ) 
{ zval holder ;

  {
  switch ((int )needle->type) {
  case 1: 
  case 3: 
  *target = (char )needle->value.lval;
  return (0);
  case 0: 
  *target = (char )'\000';
  return (0);
  case 2: 
  *target = (char )((int )needle->value.dval);
  return (0);
  case 5: 
  holder = *needle;
  _zval_copy_ctor(& holder);
  convert_to_long(& holder);
  if ((int )holder.type != 1) {
    return (-1);
  } else {

  }
  *target = (char )holder.value.lval;
  return (0);
  default: 
  php_error_docref0((char const   *)((void *)0), 1 << 1L, "needle is not a string or an integer");
  return (-1);
  }
}
}
void zif_stristr(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ zval *needle ;
  char *haystack ;
  int haystack_len ;
  char *found ;
  int found_offset ;
  char *haystack_dup ;
  char needle_char[2] ;
  zend_bool part ;
  int __attribute__((__visibility__("default")))  tmp ;
  char __attribute__((__visibility__("default")))  *tmp___0 ;
  char *orig_needle ;
  zval *__z ;
  char __attribute__((__visibility__("default")))  *tmp___1 ;
  char __attribute__((__visibility__("default")))  *tmp___2 ;
  zval *__z___0 ;
  int tmp___3 ;
  char __attribute__((__visibility__("default")))  *tmp___4 ;
  char const   *__s ;
  int __l ;
  zval *__z___1 ;
  char __attribute__((__visibility__("default")))  *tmp___5 ;
  char const   *__s___0 ;
  int __l___0 ;
  zval *__z___2 ;
  char __attribute__((__visibility__("default")))  *tmp___6 ;
  zval *__z___3 ;

  {
  found = (char *)((void *)0);
  part = (zend_bool )0;
  tmp = zend_parse_parameters(ht, "sz|b", & haystack, & haystack_len, & needle, & part);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  tmp___0 = _estrndup((char const   *)haystack, (unsigned int )haystack_len);
  haystack_dup = (char *)tmp___0;
  if ((int )needle->type == 6) {
    if (! needle->value.str.len) {
      php_error_docref0((char const   *)((void *)0), 1 << 1L, "Empty delimiter");
      _efree((void *)haystack_dup);
      while (1) {
        __z = return_value;
        __z->value.lval = 0L;
        __z->type = (unsigned char)3;
        break;
      }
      return;
    } else {

    }
    tmp___1 = _estrndup((char const   *)needle->value.str.val, (unsigned int )needle->value.str.len);
    orig_needle = (char *)tmp___1;
    tmp___2 = php_stristr(haystack_dup, orig_needle, (unsigned int )haystack_len, (unsigned int )needle->value.str.len);
    found = (char *)tmp___2;
    _efree((void *)orig_needle);
  } else {
    tmp___3 = php_needle_char(needle, needle_char);
    if (tmp___3 != 0) {
      _efree((void *)haystack_dup);
      while (1) {
        __z___0 = return_value;
        __z___0->value.lval = 0L;
        __z___0->type = (unsigned char)3;
        break;
      }
      return;
    } else {

    }
    needle_char[1] = (char)0;
    tmp___4 = php_stristr(haystack_dup, needle_char, (unsigned int )haystack_len, 1U);
    found = (char *)tmp___4;
  }
  if (found) {
    found_offset = found - haystack_dup;
    if (part) {
      while (1) {
        __s = (char const   *)haystack;
        __l = found_offset;
        __z___1 = return_value;
        __z___1->value.str.len = __l;
        tmp___5 = _estrndup(__s, (unsigned int )__l);
        __z___1->value.str.val = (char *)tmp___5;
        __z___1->type = (unsigned char)6;
        break;
      }
    } else {
      while (1) {
        __s___0 = (char const   *)(haystack + found_offset);
        __l___0 = haystack_len - found_offset;
        __z___2 = return_value;
        __z___2->value.str.len = __l___0;
        tmp___6 = _estrndup(__s___0, (unsigned int )__l___0);
        __z___2->value.str.val = (char *)tmp___6;
        __z___2->type = (unsigned char)6;
        break;
      }
    }
  } else {
    while (1) {
      __z___3 = return_value;
      __z___3->value.lval = 0L;
      __z___3->type = (unsigned char)3;
      break;
    }
  }
  _efree((void *)haystack_dup);
  return;
}
}
void zif_strstr(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ zval *needle ;
  char *haystack ;
  int haystack_len ;
  char *found ;
  char needle_char[2] ;
  long found_offset ;
  zend_bool part ;
  int __attribute__((__visibility__("default")))  tmp ;
  zval *__z ;
  zval *__z___0 ;
  int tmp___0 ;
  char const   *__s ;
  int __l ;
  zval *__z___1 ;
  char __attribute__((__visibility__("default")))  *tmp___1 ;
  char const   *__s___0 ;
  int __l___0 ;
  zval *__z___2 ;
  char __attribute__((__visibility__("default")))  *tmp___2 ;
  zval *__z___3 ;

  {
  found = (char *)((void *)0);
  part = (zend_bool )0;
  tmp = zend_parse_parameters(ht, "sz|b", & haystack, & haystack_len, & needle, & part);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  if ((int )needle->type == 6) {
    if (! needle->value.str.len) {
      php_error_docref0((char const   *)((void *)0), 1 << 1L, "Empty delimiter");
      while (1) {
        __z = return_value;
        __z->value.lval = 0L;
        __z->type = (unsigned char)3;
        break;
      }
      return;
    } else {

    }
    found = zend_memnstr(haystack, needle->value.str.val, needle->value.str.len, haystack + haystack_len);
  } else {
    tmp___0 = php_needle_char(needle, needle_char);
    if (tmp___0 != 0) {
      while (1) {
        __z___0 = return_value;
        __z___0->value.lval = 0L;
        __z___0->type = (unsigned char)3;
        break;
      }
      return;
    } else {

    }
    needle_char[1] = (char)0;
    found = zend_memnstr(haystack, needle_char, 1, haystack + haystack_len);
  }
  if (found) {
    found_offset = (long )(found - haystack);
    if (part) {
      while (1) {
        __s = (char const   *)haystack;
        __l = (int )found_offset;
        __z___1 = return_value;
        __z___1->value.str.len = __l;
        tmp___1 = _estrndup(__s, (unsigned int )__l);
        __z___1->value.str.val = (char *)tmp___1;
        __z___1->type = (unsigned char)6;
        break;
      }
      return;
    } else {
      while (1) {
        __s___0 = (char const   *)found;
        __l___0 = (int )((long )haystack_len - found_offset);
        __z___2 = return_value;
        __z___2->value.str.len = __l___0;
        tmp___2 = _estrndup(__s___0, (unsigned int )__l___0);
        __z___2->value.str.val = (char *)tmp___2;
        __z___2->type = (unsigned char)6;
        break;
      }
      return;
    }
  } else {

  }
  while (1) {
    __z___3 = return_value;
    __z___3->value.lval = 0L;
    __z___3->type = (unsigned char)3;
    break;
  }
  return;
}
}
void zif_strpos(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ zval *needle ;
  char *haystack ;
  char *found ;
  char needle_char[2] ;
  long offset ;
  int haystack_len ;
  int __attribute__((__visibility__("default")))  tmp ;
  zval *__z ;
  zval *__z___0 ;
  zval *__z___1 ;
  int tmp___0 ;
  zval *__z___2 ;
  zval *__z___3 ;

  {
  found = (char *)((void *)0);
  offset = 0L;
  tmp = zend_parse_parameters(ht, "sz|l", & haystack, & haystack_len, & needle, & offset);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  if (offset < 0L) {
    goto _L;
  } else {
    if (offset > (long )haystack_len) {
      _L: /* CIL Label */ 
      php_error_docref0((char const   *)((void *)0), 1 << 1L, "Offset not contained in string");
      while (1) {
        __z = return_value;
        __z->value.lval = 0L;
        __z->type = (unsigned char)3;
        break;
      }
      return;
    } else {

    }
  }
  if ((int )needle->type == 6) {
    if (! needle->value.str.len) {
      php_error_docref0((char const   *)((void *)0), 1 << 1L, "Empty delimiter");
      while (1) {
        __z___0 = return_value;
        __z___0->value.lval = 0L;
        __z___0->type = (unsigned char)3;
        break;
      }
      return;
    } else {

    }
    found = zend_memnstr(haystack + offset, needle->value.str.val, needle->value.str.len, haystack + haystack_len);
  } else {
    tmp___0 = php_needle_char(needle, needle_char);
    if (tmp___0 != 0) {
      while (1) {
        __z___1 = return_value;
        __z___1->value.lval = 0L;
        __z___1->type = (unsigned char)3;
        break;
      }
      return;
    } else {

    }
    needle_char[1] = (char)0;
    found = zend_memnstr(haystack + offset, needle_char, 1, haystack + haystack_len);
  }
  if (found) {
    __z___2 = return_value;
    __z___2->value.lval = (long )(found - haystack);
    __z___2->type = (unsigned char)1;
    return;
  } else {
    while (1) {
      __z___3 = return_value;
      __z___3->value.lval = 0L;
      __z___3->type = (unsigned char)3;
      break;
    }
    return;
  }
}
}
void zif_stripos(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *found ;
  char *haystack ;
  int haystack_len ;
  long offset ;
  char *needle_dup ;
  char *haystack_dup ;
  char needle_char[2] ;
  zval *needle ;
  int __attribute__((__visibility__("default")))  tmp ;
  zval *__z ;
  zval *__z___0 ;
  char __attribute__((__visibility__("default")))  *tmp___0 ;
  zval *__z___1 ;
  char __attribute__((__visibility__("default")))  *tmp___1 ;
  zval *__z___2 ;
  int tmp___2 ;
  int __res ;
  int __c ;
  __int32_t const   **tmp___3 ;
  __int32_t const   **tmp___4 ;
  zval *__z___3 ;
  zval *__z___4 ;

  {
  found = (char *)((void *)0);
  offset = 0L;
  needle_dup = (char *)((void *)0);
  tmp = zend_parse_parameters(ht, "sz|l", & haystack, & haystack_len, & needle, & offset);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  if (offset < 0L) {
    goto _L;
  } else {
    if (offset > (long )haystack_len) {
      _L: /* CIL Label */ 
      php_error_docref0((char const   *)((void *)0), 1 << 1L, "Offset not contained in string");
      while (1) {
        __z = return_value;
        __z->value.lval = 0L;
        __z->type = (unsigned char)3;
        break;
      }
      return;
    } else {

    }
  }
  if (haystack_len == 0) {
    while (1) {
      __z___0 = return_value;
      __z___0->value.lval = 0L;
      __z___0->type = (unsigned char)3;
      break;
    }
    return;
  } else {

  }
  tmp___0 = _estrndup((char const   *)haystack, (unsigned int )haystack_len);
  haystack_dup = (char *)tmp___0;
  php_strtolower(haystack_dup, (unsigned int )haystack_len);
  if ((int )needle->type == 6) {
    if (needle->value.str.len == 0) {
      goto _L___0;
    } else {
      if (needle->value.str.len > haystack_len) {
        _L___0: /* CIL Label */ 
        _efree((void *)haystack_dup);
        while (1) {
          __z___1 = return_value;
          __z___1->value.lval = 0L;
          __z___1->type = (unsigned char)3;
          break;
        }
        return;
      } else {

      }
    }
    tmp___1 = _estrndup((char const   *)needle->value.str.val, (unsigned int )needle->value.str.len);
    needle_dup = (char *)tmp___1;
    php_strtolower(needle_dup, (unsigned int )needle->value.str.len);
    found = zend_memnstr(haystack_dup + offset, needle_dup, needle->value.str.len, haystack_dup + haystack_len);
  } else {
    tmp___2 = php_needle_char(needle, needle_char);
    if (tmp___2 != 0) {
      _efree((void *)haystack_dup);
      while (1) {
        __z___2 = return_value;
        __z___2->value.lval = 0L;
        __z___2->type = (unsigned char)3;
        break;
      }
      return;
    } else {

    }
    if (sizeof(needle_char[0]) > 1U) {
      __res = tolower((int )needle_char[0]);
    } else {
      tmp___4 = __ctype_tolower_loc();
      __res = (int )*(*tmp___4 + (int )needle_char[0]);
    }
    needle_char[0] = (char )__res;
    needle_char[1] = (char )'\000';
    found = zend_memnstr(haystack_dup + offset, needle_char, (int )(sizeof(needle_char) - 1U), haystack_dup + haystack_len);
  }
  _efree((void *)haystack_dup);
  if (needle_dup) {
    _efree((void *)needle_dup);
  } else {

  }
  if (found) {
    __z___3 = return_value;
    __z___3->value.lval = (long )(found - haystack_dup);
    __z___3->type = (unsigned char)1;
    return;
  } else {
    while (1) {
      __z___4 = return_value;
      __z___4->value.lval = 0L;
      __z___4->type = (unsigned char)3;
      break;
    }
    return;
  }
}
}
void zif_strrpos(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ zval *zneedle ;
  char *needle ;
  char *haystack ;
  int needle_len ;
  int haystack_len ;
  long offset ;
  char *p ;
  char *e ;
  char ord_needle[2] ;
  zval *__z ;
  int __attribute__((__visibility__("default")))  tmp ;
  zval *__z___0 ;
  int tmp___0 ;
  zval *__z___1 ;
  zval *__z___2 ;
  zval *__z___3 ;
  zval *__z___4 ;
  long tmp___1 ;
  zval *__z___5 ;
  zval *__z___6 ;
  long tmp___2 ;
  int tmp___3 ;
  zval *__z___7 ;

  {
  offset = 0L;
  tmp = zend_parse_parameters(ht, "sz|l", & haystack, & haystack_len, & zneedle, & offset);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    while (1) {
      __z = return_value;
      __z->value.lval = 0L;
      __z->type = (unsigned char)3;
      break;
    }
    return;
  } else {

  }
  if ((int )zneedle->type == 6) {
    needle = zneedle->value.str.val;
    needle_len = zneedle->value.str.len;
  } else {
    tmp___0 = php_needle_char(zneedle, ord_needle);
    if (tmp___0 != 0) {
      while (1) {
        __z___0 = return_value;
        __z___0->value.lval = 0L;
        __z___0->type = (unsigned char)3;
        break;
      }
      return;
    } else {

    }
    ord_needle[1] = (char )'\000';
    needle = ord_needle;
    needle_len = 1;
  }
  if (haystack_len == 0) {
    goto _L;
  } else {
    if (needle_len == 0) {
      _L: /* CIL Label */ 
      while (1) {
        __z___1 = return_value;
        __z___1->value.lval = 0L;
        __z___1->type = (unsigned char)3;
        break;
      }
      return;
    } else {

    }
  }
  if (offset >= 0L) {
    if (offset > (long )haystack_len) {
      php_error_docref0((char const   *)((void *)0), 1 << 1L, "Offset is greater than the length of haystack string");
      while (1) {
        __z___2 = return_value;
        __z___2->value.lval = 0L;
        __z___2->type = (unsigned char)3;
        break;
      }
      return;
    } else {

    }
    p = haystack + offset;
    e = (haystack + haystack_len) - needle_len;
  } else {
    if (offset < -2147483647L) {
      goto _L___0;
    } else {
      if (- offset > (long )haystack_len) {
        _L___0: /* CIL Label */ 
        php_error_docref0((char const   *)((void *)0), 1 << 1L, "Offset is greater than the length of haystack string");
        while (1) {
          __z___3 = return_value;
          __z___3->value.lval = 0L;
          __z___3->type = (unsigned char)3;
          break;
        }
        return;
      } else {

      }
    }
    p = haystack;
    if ((long )needle_len > - offset) {
      e = (haystack + haystack_len) - needle_len;
    } else {
      e = (haystack + haystack_len) + offset;
    }
  }
  if (needle_len == 1) {
    while ((unsigned int )e >= (unsigned int )p) {
      if ((int )*e == (int )*needle) {
        __z___4 = return_value;
        if (offset > 0L) {
          tmp___1 = offset;
        } else {
          tmp___1 = 0L;
        }
        __z___4->value.lval = (long )(e - p) + tmp___1;
        __z___4->type = (unsigned char)1;
        return;
      } else {

      }
      e --;
    }
    while (1) {
      __z___5 = return_value;
      __z___5->value.lval = 0L;
      __z___5->type = (unsigned char)3;
      break;
    }
    return;
  } else {

  }
  while ((unsigned int )e >= (unsigned int )p) {
    tmp___3 = memcmp((void const   *)e, (void const   *)needle, (unsigned int )needle_len);
    if (tmp___3 == 0) {
      __z___6 = return_value;
      if (offset > 0L) {
        tmp___2 = offset;
      } else {
        tmp___2 = 0L;
      }
      __z___6->value.lval = (long )(e - p) + tmp___2;
      __z___6->type = (unsigned char)1;
      return;
    } else {

    }
    e --;
  }
  while (1) {
    __z___7 = return_value;
    __z___7->value.lval = 0L;
    __z___7->type = (unsigned char)3;
    break;
  }
  return;
}
}
void zif_strripos(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ zval *zneedle ;
  char *needle ;
  char *haystack ;
  int needle_len ;
  int haystack_len ;
  long offset ;
  char *p ;
  char *e ;
  char ord_needle[2] ;
  char *needle_dup ;
  char *haystack_dup ;
  zval *__z ;
  int __attribute__((__visibility__("default")))  tmp ;
  zval *__z___0 ;
  int tmp___0 ;
  zval *__z___1 ;
  zval *__z___2 ;
  zval *__z___3 ;
  int __res ;
  int __c ;
  __int32_t const   **tmp___1 ;
  __int32_t const   **tmp___2 ;
  zval *__z___4 ;
  long tmp___3 ;
  int __res___0 ;
  int __c___0 ;
  __int32_t const   **tmp___4 ;
  __int32_t const   **tmp___5 ;
  zval *__z___5 ;
  char __attribute__((__visibility__("default")))  *tmp___6 ;
  char __attribute__((__visibility__("default")))  *tmp___7 ;
  zval *__z___6 ;
  zval *__z___7 ;
  zval *__z___8 ;
  long tmp___8 ;
  int tmp___9 ;
  zval *__z___9 ;

  {
  offset = 0L;
  tmp = zend_parse_parameters(ht, "sz|l", & haystack, & haystack_len, & zneedle, & offset);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    while (1) {
      __z = return_value;
      __z->value.lval = 0L;
      __z->type = (unsigned char)3;
      break;
    }
    return;
  } else {

  }
  if ((int )zneedle->type == 6) {
    needle = zneedle->value.str.val;
    needle_len = zneedle->value.str.len;
  } else {
    tmp___0 = php_needle_char(zneedle, ord_needle);
    if (tmp___0 != 0) {
      while (1) {
        __z___0 = return_value;
        __z___0->value.lval = 0L;
        __z___0->type = (unsigned char)3;
        break;
      }
      return;
    } else {

    }
    ord_needle[1] = (char )'\000';
    needle = ord_needle;
    needle_len = 1;
  }
  if (haystack_len == 0) {
    goto _L;
  } else {
    if (needle_len == 0) {
      _L: /* CIL Label */ 
      while (1) {
        __z___1 = return_value;
        __z___1->value.lval = 0L;
        __z___1->type = (unsigned char)3;
        break;
      }
      return;
    } else {

    }
  }
  if (needle_len == 1) {
    if (offset >= 0L) {
      if (offset > (long )haystack_len) {
        php_error_docref0((char const   *)((void *)0), 1 << 1L, "Offset is greater than the length of haystack string");
        while (1) {
          __z___2 = return_value;
          __z___2->value.lval = 0L;
          __z___2->type = (unsigned char)3;
          break;
        }
        return;
      } else {

      }
      p = haystack + offset;
      e = (haystack + haystack_len) - 1;
    } else {
      p = haystack;
      if (offset < -2147483647L) {
        goto _L___0;
      } else {
        if (- offset > (long )haystack_len) {
          _L___0: /* CIL Label */ 
          php_error_docref0((char const   *)((void *)0), 1 << 1L, "Offset is greater than the length of haystack string");
          while (1) {
            __z___3 = return_value;
            __z___3->value.lval = 0L;
            __z___3->type = (unsigned char)3;
            break;
          }
          return;
        } else {

        }
      }
      e = (haystack + haystack_len) + offset;
    }
    if (sizeof(*needle) > 1U) {
      __res = tolower((int )*needle);
    } else {
      tmp___2 = __ctype_tolower_loc();
      __res = (int )*(*tmp___2 + (int )*needle);
    }
    ord_needle[0] = (char )__res;
    while ((unsigned int )e >= (unsigned int )p) {
      if (sizeof(*e) > 1U) {
        __res___0 = tolower((int )*e);
      } else {
        tmp___5 = __ctype_tolower_loc();
        __res___0 = (int )*(*tmp___5 + (int )*e);
      }
      if (__res___0 == (int )ord_needle[0]) {
        __z___4 = return_value;
        if (offset > 0L) {
          tmp___3 = offset;
        } else {
          tmp___3 = 0L;
        }
        __z___4->value.lval = (long )(e - p) + tmp___3;
        __z___4->type = (unsigned char)1;
        return;
      } else {

      }
      e --;
    }
    while (1) {
      __z___5 = return_value;
      __z___5->value.lval = 0L;
      __z___5->type = (unsigned char)3;
      break;
    }
    return;
  } else {

  }
  tmp___6 = _estrndup((char const   *)needle, (unsigned int )needle_len);
  needle_dup = (char *)tmp___6;
  php_strtolower(needle_dup, (unsigned int )needle_len);
  tmp___7 = _estrndup((char const   *)haystack, (unsigned int )haystack_len);
  haystack_dup = (char *)tmp___7;
  php_strtolower(haystack_dup, (unsigned int )haystack_len);
  if (offset >= 0L) {
    if (offset > (long )haystack_len) {
      _efree((void *)needle_dup);
      _efree((void *)haystack_dup);
      php_error_docref0((char const   *)((void *)0), 1 << 1L, "Offset is greater than the length of haystack string");
      while (1) {
        __z___6 = return_value;
        __z___6->value.lval = 0L;
        __z___6->type = (unsigned char)3;
        break;
      }
      return;
    } else {

    }
    p = haystack_dup + offset;
    e = (haystack_dup + haystack_len) - needle_len;
  } else {
    if (offset < -2147483647L) {
      goto _L___1;
    } else {
      if (- offset > (long )haystack_len) {
        _L___1: /* CIL Label */ 
        _efree((void *)needle_dup);
        _efree((void *)haystack_dup);
        php_error_docref0((char const   *)((void *)0), 1 << 1L, "Offset is greater than the length of haystack string");
        while (1) {
          __z___7 = return_value;
          __z___7->value.lval = 0L;
          __z___7->type = (unsigned char)3;
          break;
        }
        return;
      } else {

      }
    }
    p = haystack_dup;
    if ((long )needle_len > - offset) {
      e = (haystack_dup + haystack_len) - needle_len;
    } else {
      e = (haystack_dup + haystack_len) + offset;
    }
  }
  while ((unsigned int )e >= (unsigned int )p) {
    tmp___9 = memcmp((void const   *)e, (void const   *)needle_dup, (unsigned int )needle_len);
    if (tmp___9 == 0) {
      _efree((void *)haystack_dup);
      _efree((void *)needle_dup);
      __z___8 = return_value;
      if (offset > 0L) {
        tmp___8 = offset;
      } else {
        tmp___8 = 0L;
      }
      __z___8->value.lval = (long )(e - p) + tmp___8;
      __z___8->type = (unsigned char)1;
      return;
    } else {

    }
    e --;
  }
  _efree((void *)haystack_dup);
  _efree((void *)needle_dup);
  while (1) {
    __z___9 = return_value;
    __z___9->value.lval = 0L;
    __z___9->type = (unsigned char)3;
    break;
  }
  return;
}
}
void zif_strrchr(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ zval *needle ;
  char *haystack ;
  char const   *found ;
  long found_offset ;
  int haystack_len ;
  int __attribute__((__visibility__("default")))  tmp ;
  void const   *tmp___0 ;
  char needle_chr ;
  zval *__z ;
  int tmp___1 ;
  void const   *tmp___2 ;
  char const   *__s ;
  int __l ;
  zval *__z___0 ;
  char __attribute__((__visibility__("default")))  *tmp___3 ;
  zval *__z___1 ;

  {
  found = (char const   *)((void *)0);
  tmp = zend_parse_parameters(ht, "sz", & haystack, & haystack_len, & needle);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  if ((int )needle->type == 6) {
    tmp___0 = zend_memrchr((void const   *)haystack, (int )*(needle->value.str.val), (unsigned int )haystack_len);
    found = (char const   *)tmp___0;
  } else {
    tmp___1 = php_needle_char(needle, & needle_chr);
    if (tmp___1 != 0) {
      while (1) {
        __z = return_value;
        __z->value.lval = 0L;
        __z->type = (unsigned char)3;
        break;
      }
      return;
    } else {

    }
    tmp___2 = zend_memrchr((void const   *)haystack, (int )needle_chr, (unsigned int )haystack_len);
    found = (char const   *)tmp___2;
  }
  if (found) {
    found_offset = (long )(found - (char const   *)haystack);
    while (1) {
      __s = found;
      __l = (int )((long )haystack_len - found_offset);
      __z___0 = return_value;
      __z___0->value.str.len = __l;
      tmp___3 = _estrndup(__s, (unsigned int )__l);
      __z___0->value.str.val = (char *)tmp___3;
      __z___0->type = (unsigned char)6;
      break;
    }
    return;
  } else {
    while (1) {
      __z___1 = return_value;
      __z___1->value.lval = 0L;
      __z___1->type = (unsigned char)3;
      break;
    }
    return;
  }
}
}
static char *php_chunk_split(char *src , int srclen , char *end , int endlen , int chunklen , int *destlen ) 
{ char *dest ;
  char *p ;
  char *q ;
  int chunks ;
  int restlen ;
  int out_len ;
  void __attribute__((__visibility__("default")))  *tmp ;

  {
  chunks = srclen / chunklen;
  restlen = srclen - chunks * chunklen;
  if (chunks > 2147483646) {
    return ((char *)((void *)0));
  } else {

  }
  out_len = chunks + 1;
  if (endlen != 0) {
    if (out_len > 2147483647 / endlen) {
      return ((char *)((void *)0));
    } else {

    }
  } else {

  }
  out_len *= endlen;
  if (out_len > (2147483647 - srclen) - 1) {
    return ((char *)((void *)0));
  } else {

  }
  out_len += srclen + 1;
  tmp = _safe_emalloc((unsigned int )out_len, sizeof(char ), 0U);
  dest = (char *)tmp;
  p = src;
  q = dest;
  while ((unsigned int )p < (unsigned int )(((src + srclen) - chunklen) + 1)) {
    memcpy((void */* __restrict  */)q, (void const   */* __restrict  */)p, (unsigned int )chunklen);
    q += chunklen;
    memcpy((void */* __restrict  */)q, (void const   */* __restrict  */)end, (unsigned int )endlen);
    q += endlen;
    p += chunklen;
  }
  if (restlen) {
    memcpy((void */* __restrict  */)q, (void const   */* __restrict  */)p, (unsigned int )restlen);
    q += restlen;
    memcpy((void */* __restrict  */)q, (void const   */* __restrict  */)end, (unsigned int )endlen);
    q += endlen;
  } else {

  }
  *q = (char )'\000';
  if (destlen) {
    *destlen = q - dest;
  } else {

  }
  return (dest);
}
}
void zif_chunk_split(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *str ;
  char *result ;
  char *end ;
  int endlen ;
  long chunklen ;
  int result_len ;
  int str_len ;
  int __attribute__((__visibility__("default")))  tmp ;
  zval *__z ;
  void __attribute__((__visibility__("default")))  *tmp___0 ;
  char const   *__s ;
  int __l ;
  zval *__z___0 ;
  char __attribute__((__visibility__("default")))  *tmp___1 ;
  zval *__z___1 ;
  char __attribute__((__visibility__("default")))  *tmp___2 ;
  char const   *__s___0 ;
  int __l___0 ;
  zval *__z___2 ;
  char __attribute__((__visibility__("default")))  *tmp___3 ;
  zval *__z___3 ;

  {
  end = (char *)"\r\n";
  endlen = 2;
  chunklen = 76L;
  tmp = zend_parse_parameters(ht, "s|ls", & str, & str_len, & chunklen, & end, & endlen);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  if (chunklen <= 0L) {
    php_error_docref0((char const   *)((void *)0), 1 << 1L, "Chunk length should be greater than zero");
    while (1) {
      __z = return_value;
      __z->value.lval = 0L;
      __z->type = (unsigned char)3;
      break;
    }
    return;
  } else {

  }
  if (chunklen > (long )str_len) {
    result_len = endlen + str_len;
    tmp___0 = _emalloc((unsigned int )(result_len + 1));
    result = (char *)tmp___0;
    memcpy((void */* __restrict  */)result, (void const   */* __restrict  */)str, (unsigned int )str_len);
    memcpy((void */* __restrict  */)(result + str_len), (void const   */* __restrict  */)end, (unsigned int )endlen);
    *(result + result_len) = (char )'\000';
    while (1) {
      __s = (char const   *)result;
      __l = result_len;
      __z___0 = return_value;
      __z___0->value.str.len = __l;
      __z___0->value.str.val = (char *)((char __attribute__((__visibility__("default")))  *)((char *)__s));
      __z___0->type = (unsigned char)6;
      break;
    }
    return;
  } else {

  }
  if (! str_len) {
    while (1) {
      __z___1 = return_value;
      __z___1->value.str.len = 0;
      tmp___2 = _estrndup("", sizeof("") - 1U);
      __z___1->value.str.val = (char *)tmp___2;
      __z___1->type = (unsigned char)6;
      break;
    }
    return;
  } else {

  }
  result = php_chunk_split(str, str_len, end, endlen, (int )chunklen, & result_len);
  if (result) {
    while (1) {
      __s___0 = (char const   *)result;
      __l___0 = result_len;
      __z___2 = return_value;
      __z___2->value.str.len = __l___0;
      __z___2->value.str.val = (char *)((char __attribute__((__visibility__("default")))  *)((char *)__s___0));
      __z___2->type = (unsigned char)6;
      break;
    }
    return;
  } else {
    while (1) {
      __z___3 = return_value;
      __z___3->value.lval = 0L;
      __z___3->type = (unsigned char)3;
      break;
    }
    return;
  }
}
}
void zif_substr(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *str ;
  long l ;
  long f ;
  int str_len ;
  int argc ;
  int __attribute__((__visibility__("default")))  tmp ;
  zval *__z ;
  zval *__z___0 ;
  zval *__z___1 ;
  zval *__z___2 ;
  char const   *__s ;
  int __l ;
  zval *__z___3 ;
  char __attribute__((__visibility__("default")))  *tmp___0 ;

  {
  l = 0L;
  argc = ht;
  {

  }
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  if (argc > 2) {
    if (l < 0L) {
      if (- l > (long )str_len) {
        while (1) {
          __z = return_value;
          __z->value.lval = 0L;
          __z->type = (unsigned char)3;
          break;
        }
        return;
      } else {
        goto _L;
      }
    } else {
      _L: /* CIL Label */ 
      if (l > (long )str_len) {
        l = (long )str_len;
      } else {

      }
    }
  } else {
    l = (long )str_len;
  }
  if (f > (long )str_len) {
    while (1) {
      __z___0 = return_value;
      __z___0->value.lval = 0L;
      __z___0->type = (unsigned char)3;
      break;
    }
    return;
  } else {
    if (f < 0L) {
      if (- f > (long )str_len) {
        f = 0L;
      } else {

      }
    } else {

    }
  }
  if (l < 0L) {
    if ((l + (long )str_len) - f < 0L) {
      while (1) {
        __z___1 = return_value;
        __z___1->value.lval = 0L;
        __z___1->type = (unsigned char)3;
        break;
      }
      return;
    } else {

    }
  } else {

  }
  if (f < 0L) {
    f = (long )str_len + f;
    if (f < 0L) {
      f = 0L;
    } else {

    }
  } else {

  }
  if (l < 0L) {
    l = ((long )str_len - f) + l;
    if (l < 0L) {
      l = 0L;
    } else {

    }
  } else {

  }
  if (f >= (long )str_len) {
    while (1) {
      __z___2 = return_value;
      __z___2->value.lval = 0L;
      __z___2->type = (unsigned char)3;
      break;
    }
    return;
  } else {

  }
  if (f + l > (long )str_len) {
    l = (long )str_len - f;
  } else {

  }
  while (1) {
    __s = (char const   *)(str + f);
    __l = (int )l;
    __z___3 = return_value;
    __z___3->value.str.len = __l;
    tmp___0 = _estrndup(__s, (unsigned int )__l);
    __z___3->value.str.val = (char *)tmp___0;
    __z___3->type = (unsigned char)6;
    break;
  }
  return;
}
}
void zif_substr_replace(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ zval **str ;
  zval **from ;
  zval **len ;
  zval **repl ;
  char *result ;
  int result_len ;
  int l ;
  int f ;
  int argc ;
  HashPosition pos_str ;
  HashPosition pos_from ;
  HashPosition pos_repl ;
  HashPosition pos_len ;
  zval **tmp_str ;
  zval **tmp_from ;
  zval **tmp_repl ;
  zval **tmp_len ;
  int __attribute__((__visibility__("default")))  tmp ;
  zval *new_zv ;
  void __attribute__((__visibility__("default")))  *tmp___0 ;
  zend_uint tmp___1 ;
  zend_bool tmp___2 ;
  zval *new_zv___0 ;
  void __attribute__((__visibility__("default")))  *tmp___3 ;
  zend_uint tmp___4 ;
  zend_bool tmp___5 ;
  zval *new_zv___1 ;
  void __attribute__((__visibility__("default")))  *tmp___6 ;
  zend_uint tmp___7 ;
  zend_bool tmp___8 ;
  zval *new_zv___2 ;
  void __attribute__((__visibility__("default")))  *tmp___9 ;
  zend_uint tmp___10 ;
  zend_bool tmp___11 ;
  zval *new_zv___3 ;
  void __attribute__((__visibility__("default")))  *tmp___12 ;
  zend_uint tmp___13 ;
  zend_bool tmp___14 ;
  zval *new_zv___4 ;
  void __attribute__((__visibility__("default")))  *tmp___15 ;
  zend_uint tmp___16 ;
  zend_bool tmp___17 ;
  zval *new_zv___5 ;
  void __attribute__((__visibility__("default")))  *tmp___18 ;
  zend_uint tmp___19 ;
  zval *new_zv___6 ;
  void __attribute__((__visibility__("default")))  *tmp___20 ;
  zend_uint tmp___21 ;
  zend_bool tmp___22 ;
  char const   *__s ;
  int __l ;
  zval *__z ;
  char __attribute__((__visibility__("default")))  *tmp___23 ;
  char const   *__s___0 ;
  int __l___0 ;
  zval *__z___0 ;
  char __attribute__((__visibility__("default")))  *tmp___24 ;
  int __attribute__((__visibility__("default")))  tmp___25 ;
  int __attribute__((__visibility__("default")))  tmp___26 ;
  int repl_len ;
  zval *__z___1 ;
  zval *new_zv___7 ;
  void __attribute__((__visibility__("default")))  *tmp___27 ;
  zend_uint tmp___28 ;
  zend_bool tmp___29 ;
  int __attribute__((__visibility__("default")))  tmp___30 ;
  void __attribute__((__visibility__("default")))  *tmp___31 ;
  char *tmp___32 ;
  char const   *__s___1 ;
  int __l___1 ;
  zval *__z___2 ;
  char __attribute__((__visibility__("default")))  *tmp___33 ;
  char const   *__s___2 ;
  int __l___2 ;
  zval *__z___3 ;
  char __attribute__((__visibility__("default")))  *tmp___34 ;
  char *str_index ;
  uint str_index_len ;
  ulong num_index ;
  zval *orig_str ;
  zval dummy ;
  zval dummy___0 ;
  int __attribute__((__visibility__("default")))  tmp___35 ;
  zval dummy___1 ;
  int __attribute__((__visibility__("default")))  tmp___36 ;
  zval *repl_str ;
  zval zrepl ;
  void __attribute__((__visibility__("default")))  *tmp___37 ;
  void __attribute__((__visibility__("default")))  *tmp___38 ;
  int __attribute__((__visibility__("default")))  tmp___39 ;
  void __attribute__((__visibility__("default")))  *tmp___40 ;
  int __attribute__((__visibility__("default")))  tmp___41 ;
  int __attribute__((__visibility__("default")))  tmp___42 ;

  {
  len = (zval **)((void *)0);
  l = 0;
  argc = ht;
  tmp_str = (zval **)((void *)0);
  tmp_from = (zval **)((void *)0);
  tmp_repl = (zval **)((void *)0);
  tmp_len = (zval **)((void *)0);
  tmp = zend_parse_parameters(ht, "ZZZ|Z", & str, & repl, & from, & len);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  if ((int )(*str)->type != 4) {
    tmp___2 = zval_isref_p(*str);
    if (tmp___2) {
      while (1) {
        tmp___1 = zval_refcount_p(*str);
        if (tmp___1 > 1U) {
          zval_delref_p(*str);
          while (1) {
            tmp___0 = _emalloc(sizeof(zval_gc_info ));
            new_zv = (zval *)tmp___0;
            ((zval_gc_info *)new_zv)->u.buffered = (gc_root_buffer *)((void *)0);
            break;
          }
          while (1) {
            while (1) {
              new_zv->value = (*str)->value;
              new_zv->type = (*str)->type;
              break;
            }
            zval_set_refcount_p(new_zv, 1U);
            zval_unset_isref_p(new_zv);
            break;
          }
          *str = new_zv;
          _zval_copy_ctor(new_zv);
        } else {

        }
        break;
      }
    } else {

    }
    if ((int )(*str)->type != 6) {
      tmp___5 = zval_isref_p(*str);
      if (tmp___5) {

      } else {
        while (1) {
          tmp___4 = zval_refcount_p(*str);
          if (tmp___4 > 1U) {
            zval_delref_p(*str);
            while (1) {
              tmp___3 = _emalloc(sizeof(zval_gc_info ));
              new_zv___0 = (zval *)tmp___3;
              ((zval_gc_info *)new_zv___0)->u.buffered = (gc_root_buffer *)((void *)0);
              break;
            }
            while (1) {
              while (1) {
                new_zv___0->value = (*str)->value;
                new_zv___0->type = (*str)->type;
                break;
              }
              zval_set_refcount_p(new_zv___0, 1U);
              zval_unset_isref_p(new_zv___0);
              break;
            }
            *str = new_zv___0;
            _zval_copy_ctor(new_zv___0);
          } else {

          }
          break;
        }
      }
      if ((int )(*str)->type != 6) {
        _convert_to_string(*str);
      } else {

      }
    } else {

    }
  } else {

  }
  if ((int )(*repl)->type != 4) {
    tmp___8 = zval_isref_p(*repl);
    if (tmp___8) {
      while (1) {
        tmp___7 = zval_refcount_p(*repl);
        if (tmp___7 > 1U) {
          zval_delref_p(*repl);
          while (1) {
            tmp___6 = _emalloc(sizeof(zval_gc_info ));
            new_zv___1 = (zval *)tmp___6;
            ((zval_gc_info *)new_zv___1)->u.buffered = (gc_root_buffer *)((void *)0);
            break;
          }
          while (1) {
            while (1) {
              new_zv___1->value = (*repl)->value;
              new_zv___1->type = (*repl)->type;
              break;
            }
            zval_set_refcount_p(new_zv___1, 1U);
            zval_unset_isref_p(new_zv___1);
            break;
          }
          *repl = new_zv___1;
          _zval_copy_ctor(new_zv___1);
        } else {

        }
        break;
      }
    } else {

    }
    if ((int )(*repl)->type != 6) {
      tmp___11 = zval_isref_p(*repl);
      if (tmp___11) {

      } else {
        while (1) {
          tmp___10 = zval_refcount_p(*repl);
          if (tmp___10 > 1U) {
            zval_delref_p(*repl);
            while (1) {
              tmp___9 = _emalloc(sizeof(zval_gc_info ));
              new_zv___2 = (zval *)tmp___9;
              ((zval_gc_info *)new_zv___2)->u.buffered = (gc_root_buffer *)((void *)0);
              break;
            }
            while (1) {
              while (1) {
                new_zv___2->value = (*repl)->value;
                new_zv___2->type = (*repl)->type;
                break;
              }
              zval_set_refcount_p(new_zv___2, 1U);
              zval_unset_isref_p(new_zv___2);
              break;
            }
            *repl = new_zv___2;
            _zval_copy_ctor(new_zv___2);
          } else {

          }
          break;
        }
      }
      if ((int )(*repl)->type != 6) {
        _convert_to_string(*repl);
      } else {

      }
    } else {

    }
  } else {

  }
  if ((int )(*from)->type != 4) {
    tmp___14 = zval_isref_p(*from);
    if (tmp___14) {
      while (1) {
        tmp___13 = zval_refcount_p(*from);
        if (tmp___13 > 1U) {
          zval_delref_p(*from);
          while (1) {
            tmp___12 = _emalloc(sizeof(zval_gc_info ));
            new_zv___3 = (zval *)tmp___12;
            ((zval_gc_info *)new_zv___3)->u.buffered = (gc_root_buffer *)((void *)0);
            break;
          }
          while (1) {
            while (1) {
              new_zv___3->value = (*from)->value;
              new_zv___3->type = (*from)->type;
              break;
            }
            zval_set_refcount_p(new_zv___3, 1U);
            zval_unset_isref_p(new_zv___3);
            break;
          }
          *from = new_zv___3;
          _zval_copy_ctor(new_zv___3);
        } else {

        }
        break;
      }
    } else {

    }
    if ((int )(*from)->type != 1) {
      tmp___17 = zval_isref_p(*from);
      if (tmp___17) {

      } else {
        while (1) {
          tmp___16 = zval_refcount_p(*from);
          if (tmp___16 > 1U) {
            zval_delref_p(*from);
            while (1) {
              tmp___15 = _emalloc(sizeof(zval_gc_info ));
              new_zv___4 = (zval *)tmp___15;
              ((zval_gc_info *)new_zv___4)->u.buffered = (gc_root_buffer *)((void *)0);
              break;
            }
            while (1) {
              while (1) {
                new_zv___4->value = (*from)->value;
                new_zv___4->type = (*from)->type;
                break;
              }
              zval_set_refcount_p(new_zv___4, 1U);
              zval_unset_isref_p(new_zv___4);
              break;
            }
            *from = new_zv___4;
            _zval_copy_ctor(new_zv___4);
          } else {

          }
          break;
        }
      }
      convert_to_long(*from);
    } else {

    }
  } else {

  }
  if (argc > 3) {
    while (1) {
      tmp___19 = zval_refcount_p(*len);
      if (tmp___19 > 1U) {
        zval_delref_p(*len);
        while (1) {
          tmp___18 = _emalloc(sizeof(zval_gc_info ));
          new_zv___5 = (zval *)tmp___18;
          ((zval_gc_info *)new_zv___5)->u.buffered = (gc_root_buffer *)((void *)0);
          break;
        }
        while (1) {
          while (1) {
            new_zv___5->value = (*len)->value;
            new_zv___5->type = (*len)->type;
            break;
          }
          zval_set_refcount_p(new_zv___5, 1U);
          zval_unset_isref_p(new_zv___5);
          break;
        }
        *len = new_zv___5;
        _zval_copy_ctor(new_zv___5);
      } else {

      }
      break;
    }
    if ((int )(*len)->type != 4) {
      if ((int )(*len)->type != 1) {
        tmp___22 = zval_isref_p(*len);
        if (tmp___22) {

        } else {
          while (1) {
            tmp___21 = zval_refcount_p(*len);
            if (tmp___21 > 1U) {
              zval_delref_p(*len);
              while (1) {
                tmp___20 = _emalloc(sizeof(zval_gc_info ));
                new_zv___6 = (zval *)tmp___20;
                ((zval_gc_info *)new_zv___6)->u.buffered = (gc_root_buffer *)((void *)0);
                break;
              }
              while (1) {
                while (1) {
                  new_zv___6->value = (*len)->value;
                  new_zv___6->type = (*len)->type;
                  break;
                }
                zval_set_refcount_p(new_zv___6, 1U);
                zval_unset_isref_p(new_zv___6);
                break;
              }
              *len = new_zv___6;
              _zval_copy_ctor(new_zv___6);
            } else {

            }
            break;
          }
        }
        convert_to_long(*len);
      } else {

      }
      l = (int )(*len)->value.lval;
    } else {

    }
  } else {
    if ((int )(*str)->type != 4) {
      l = (*str)->value.str.len;
    } else {

    }
  }
  if ((int )(*str)->type == 6) {
    if (argc == 3) {
      if ((int )(*from)->type == 4) {
        goto _L;
      } else {
        goto _L___0;
      }
    } else {
      _L___0: /* CIL Label */ 
      if (argc == 4) {
        if ((int )(*from)->type != (int )(*len)->type) {
          _L: /* CIL Label */ 
          php_error_docref0((char const   *)((void *)0), 1 << 1L, "\'from\' and \'len\' should be of same type - numerical or array ");
          while (1) {
            __s = (char const   *)(*str)->value.str.val;
            __l = (*str)->value.str.len;
            __z = return_value;
            __z->value.str.len = __l;
            tmp___23 = _estrndup(__s, (unsigned int )__l);
            __z->value.str.val = (char *)tmp___23;
            __z->type = (unsigned char)6;
            break;
          }
          return;
        } else {

        }
      } else {

      }
    }
    if (argc == 4) {
      if ((int )(*from)->type == 4) {
        tmp___25 = zend_hash_num_elements((HashTable const   *)(*from)->value.ht);
        tmp___26 = zend_hash_num_elements((HashTable const   *)(*len)->value.ht);
        if (tmp___25 != tmp___26) {
          php_error_docref0((char const   *)((void *)0), 1 << 1L, "\'from\' and \'len\' should have the same number of elements");
          while (1) {
            __s___0 = (char const   *)(*str)->value.str.val;
            __l___0 = (*str)->value.str.len;
            __z___0 = return_value;
            __z___0->value.str.len = __l___0;
            tmp___24 = _estrndup(__s___0, (unsigned int )__l___0);
            __z___0->value.str.val = (char *)tmp___24;
            __z___0->type = (unsigned char)6;
            break;
          }
          return;
        } else {

        }
      } else {

      }
    } else {

    }
  } else {

  }
  if ((int )(*str)->type != 4) {
    if ((int )(*from)->type != 4) {
      repl_len = 0;
      f = (int )(*from)->value.lval;
      if (f < 0) {
        f = (*str)->value.str.len + f;
        if (f < 0) {
          f = 0;
        } else {

        }
      } else {
        if (f > (*str)->value.str.len) {
          f = (*str)->value.str.len;
        } else {

        }
      }
      if (l < 0) {
        l = ((*str)->value.str.len - f) + l;
        if (l < 0) {
          l = 0;
        } else {

        }
      } else {

      }
      if (f > (*str)->value.str.len) {
        goto _L___1;
      } else {
        if (f < 0) {
          if (- f > (*str)->value.str.len) {
            _L___1: /* CIL Label */ 
            while (1) {
              __z___1 = return_value;
              __z___1->value.lval = 0L;
              __z___1->type = (unsigned char)3;
              break;
            }
            return;
          } else {
            goto _L___2;
          }
        } else {
          _L___2: /* CIL Label */ 
          if (l > (*str)->value.str.len) {
            l = (*str)->value.str.len;
          } else {
            if (l < 0) {
              if (- l > (*str)->value.str.len) {
                l = (*str)->value.str.len;
              } else {

              }
            } else {

            }
          }
        }
      }
      if (f + l > (*str)->value.str.len) {
        l = (*str)->value.str.len - f;
      } else {

      }
      if ((int )(*repl)->type == 4) {
        zend_hash_internal_pointer_reset_ex((*repl)->value.ht, & pos_repl);
        tmp___30 = zend_hash_get_current_data_ex((*repl)->value.ht, (void **)(& tmp_repl), & pos_repl);
        if (0 == (int )tmp___30) {
          if ((int )(*tmp_repl)->type != 6) {
            tmp___29 = zval_isref_p(*tmp_repl);
            if (tmp___29) {

            } else {
              while (1) {
                tmp___28 = zval_refcount_p(*tmp_repl);
                if (tmp___28 > 1U) {
                  zval_delref_p(*tmp_repl);
                  while (1) {
                    tmp___27 = _emalloc(sizeof(zval_gc_info ));
                    new_zv___7 = (zval *)tmp___27;
                    ((zval_gc_info *)new_zv___7)->u.buffered = (gc_root_buffer *)((void *)0);
                    break;
                  }
                  while (1) {
                    while (1) {
                      new_zv___7->value = (*tmp_repl)->value;
                      new_zv___7->type = (*tmp_repl)->type;
                      break;
                    }
                    zval_set_refcount_p(new_zv___7, 1U);
                    zval_unset_isref_p(new_zv___7);
                    break;
                  }
                  *tmp_repl = new_zv___7;
                  _zval_copy_ctor(new_zv___7);
                } else {

                }
                break;
              }
            }
            if ((int )(*tmp_repl)->type != 6) {
              _convert_to_string(*tmp_repl);
            } else {

            }
          } else {

          }
          repl_len = (*tmp_repl)->value.str.len;
        } else {

        }
      } else {
        repl_len = (*repl)->value.str.len;
      }
      result_len = ((*str)->value.str.len - l) + repl_len;
      tmp___31 = _emalloc((unsigned int )(result_len + 1));
      result = (char *)tmp___31;
      memcpy((void */* __restrict  */)result, (void const   */* __restrict  */)(*str)->value.str.val, (unsigned int )f);
      if (repl_len) {
        if ((int )(*repl)->type == 4) {
          tmp___32 = (*tmp_repl)->value.str.val;
        } else {
          tmp___32 = (*repl)->value.str.val;
        }
        memcpy((void */* __restrict  */)(result + f), (void const   */* __restrict  */)tmp___32, (unsigned int )repl_len);
      } else {

      }
      memcpy((void */* __restrict  */)((result + f) + repl_len), (void const   */* __restrict  */)(((*str)->value.str.val + f) + l), (unsigned int )(((*str)->value.str.len - f) - l));
      *(result + result_len) = (char )'\000';
      while (1) {
        __s___1 = (char const   *)result;
        __l___1 = result_len;
        __z___2 = return_value;
        __z___2->value.str.len = __l___1;
        __z___2->value.str.val = (char *)((char __attribute__((__visibility__("default")))  *)((char *)__s___1));
        __z___2->type = (unsigned char)6;
        break;
      }
      return;
    } else {
      php_error_docref0((char const   *)((void *)0), 1 << 1L, "Functionality of \'from\' and \'len\' as arrays is not implemented");
      while (1) {
        __s___2 = (char const   *)(*str)->value.str.val;
        __l___2 = (*str)->value.str.len;
        __z___3 = return_value;
        __z___3->value.str.len = __l___2;
        tmp___34 = _estrndup(__s___2, (unsigned int )__l___2);
        __z___3->value.str.val = (char *)tmp___34;
        __z___3->type = (unsigned char)6;
        break;
      }
      return;
    }
  } else {
    str_index = (char *)((void *)0);
    _array_init(return_value, 0U);
    if ((int )(*from)->type == 4) {
      zend_hash_internal_pointer_reset_ex((*from)->value.ht, & pos_from);
    } else {

    }
    if (argc > 3) {
      if ((int )(*len)->type == 4) {
        zend_hash_internal_pointer_reset_ex((*len)->value.ht, & pos_len);
      } else {

      }
    } else {

    }
    if ((int )(*repl)->type == 4) {
      zend_hash_internal_pointer_reset_ex((*repl)->value.ht, & pos_repl);
    } else {

    }
    zend_hash_internal_pointer_reset_ex((*str)->value.ht, & pos_str);
    while (1) {
      tmp___42 = zend_hash_get_current_data_ex((*str)->value.ht, (void **)(& tmp_str), & pos_str);
      if (tmp___42 == (int __attribute__((__visibility__("default")))  )0) {

      } else {
        break;
      }
      if ((int )(*tmp_str)->type != 6) {
        dummy = *(*tmp_str);
        orig_str = & dummy;
        _zval_copy_ctor(orig_str);
        if ((int )orig_str->type != 6) {
          _convert_to_string(orig_str);
        } else {

        }
      } else {
        orig_str = *tmp_str;
      }
      if ((int )(*from)->type == 4) {
        tmp___35 = zend_hash_get_current_data_ex((*from)->value.ht, (void **)(& tmp_from), & pos_from);
        if (0 == (int )tmp___35) {
          if ((int )(*tmp_from)->type != 1) {
            dummy___0 = *(*tmp_from);
            _zval_copy_ctor(& dummy___0);
            convert_to_long(& dummy___0);
            f = (int )dummy___0.value.lval;
          } else {
            f = (int )(*tmp_from)->value.lval;
          }
          if (f < 0) {
            f = orig_str->value.str.len + f;
            if (f < 0) {
              f = 0;
            } else {

            }
          } else {
            if (f > orig_str->value.str.len) {
              f = orig_str->value.str.len;
            } else {

            }
          }
          zend_hash_move_forward_ex((*from)->value.ht, & pos_from);
        } else {
          f = 0;
        }
      } else {
        f = (int )(*from)->value.lval;
        if (f < 0) {
          f = orig_str->value.str.len + f;
          if (f < 0) {
            f = 0;
          } else {

          }
        } else {
          if (f > orig_str->value.str.len) {
            f = orig_str->value.str.len;
          } else {

          }
        }
      }
      if (argc > 3) {
        if ((int )(*len)->type == 4) {
          tmp___36 = zend_hash_get_current_data_ex((*len)->value.ht, (void **)(& tmp_len), & pos_len);
          if (0 == (int )tmp___36) {
            if ((int )(*tmp_len)->type != 1) {
              dummy___1 = *(*tmp_len);
              _zval_copy_ctor(& dummy___1);
              convert_to_long(& dummy___1);
              l = (int )dummy___1.value.lval;
            } else {
              l = (int )(*tmp_len)->value.lval;
            }
            zend_hash_move_forward_ex((*len)->value.ht, & pos_len);
          } else {
            l = orig_str->value.str.len;
          }
        } else {
          goto _L___3;
        }
      } else {
        _L___3: /* CIL Label */ 
        if (argc > 3) {
          l = (int )(*len)->value.lval;
        } else {
          l = orig_str->value.str.len;
        }
      }
      if (l < 0) {
        l = (orig_str->value.str.len - f) + l;
        if (l < 0) {
          l = 0;
        } else {

        }
      } else {

      }
      if (f + l > orig_str->value.str.len) {
        l = orig_str->value.str.len - f;
      } else {

      }
      result_len = orig_str->value.str.len - l;
      if ((int )(*repl)->type == 4) {
        tmp___39 = zend_hash_get_current_data_ex((*repl)->value.ht, (void **)(& tmp_repl), & pos_repl);
        if (0 == (int )tmp___39) {
          if ((int )(*tmp_repl)->type != 6) {
            zrepl = *(*tmp_repl);
            repl_str = & zrepl;
            _zval_copy_ctor(repl_str);
            if ((int )repl_str->type != 6) {
              _convert_to_string(repl_str);
            } else {

            }
          } else {
            repl_str = *tmp_repl;
          }
          result_len += repl_str->value.str.len;
          zend_hash_move_forward_ex((*repl)->value.ht, & pos_repl);
          tmp___37 = _emalloc((unsigned int )(result_len + 1));
          result = (char *)tmp___37;
          memcpy((void */* __restrict  */)result, (void const   */* __restrict  */)orig_str->value.str.val, (unsigned int )f);
          memcpy((void */* __restrict  */)(result + f), (void const   */* __restrict  */)repl_str->value.str.val, (unsigned int )repl_str->value.str.len);
          memcpy((void */* __restrict  */)((result + f) + repl_str->value.str.len), (void const   */* __restrict  */)((orig_str->value.str.val + f) + l), (unsigned int )((orig_str->value.str.len - f) - l));
          if ((int )(*tmp_repl)->type != 6) {
            _zval_dtor(repl_str);
          } else {

          }
        } else {
          tmp___38 = _emalloc((unsigned int )(result_len + 1));
          result = (char *)tmp___38;
          memcpy((void */* __restrict  */)result, (void const   */* __restrict  */)orig_str->value.str.val, (unsigned int )f);
          memcpy((void */* __restrict  */)(result + f), (void const   */* __restrict  */)((orig_str->value.str.val + f) + l), (unsigned int )((orig_str->value.str.len - f) - l));
        }
      } else {
        result_len += (*repl)->value.str.len;
        tmp___40 = _emalloc((unsigned int )(result_len + 1));
        result = (char *)tmp___40;
        memcpy((void */* __restrict  */)result, (void const   */* __restrict  */)orig_str->value.str.val, (unsigned int )f);
        memcpy((void */* __restrict  */)(result + f), (void const   */* __restrict  */)(*repl)->value.str.val, (unsigned int )(*repl)->value.str.len);
        memcpy((void */* __restrict  */)((result + f) + (*repl)->value.str.len), (void const   */* __restrict  */)((orig_str->value.str.val + f) + l), (unsigned int )((orig_str->value.str.len - f) - l));
      }
      *(result + result_len) = (char )'\000';
      tmp___41 = zend_hash_get_current_key_ex((HashTable const   *)(*str)->value.ht, & str_index, & str_index_len, & num_index, (unsigned char)0, & pos_str);
      if (tmp___41 == (int __attribute__((__visibility__("default")))  )1) {
        add_assoc_stringl_ex(return_value, (char const   *)str_index, str_index_len, result, (unsigned int )result_len, 0);
      } else {
        add_index_stringl(return_value, num_index, (char const   *)result, (unsigned int )result_len, 0);
      }
      if ((int )(*tmp_str)->type != 6) {
        _zval_dtor(orig_str);
      } else {

      }
      zend_hash_move_forward_ex((*str)->value.ht, & pos_str);
    }
  }
  return;
}
}
void zif_quotemeta(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *str ;
  char *old ;
  char *old_end ;
  char *p ;
  char *q ;
  char c ;
  int old_len ;
  int __attribute__((__visibility__("default")))  tmp ;
  zval *__z ;
  void __attribute__((__visibility__("default")))  *tmp___0 ;
  char *tmp___1 ;
  char *tmp___2 ;
  char const   *__s ;
  void __attribute__((__visibility__("default")))  *tmp___3 ;
  int __l ;
  zval *__z___0 ;
  char __attribute__((__visibility__("default")))  *tmp___4 ;

  {
  tmp = zend_parse_parameters(ht, "s", & old, & old_len);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  old_end = old + old_len;
  if ((unsigned int )old == (unsigned int )old_end) {
    while (1) {
      __z = return_value;
      __z->value.lval = 0L;
      __z->type = (unsigned char)3;
      break;
    }
    return;
  } else {

  }
  tmp___0 = _safe_emalloc(2U, (unsigned int )old_len, 1U);
  str = (char *)tmp___0;
  p = old;
  q = str;
  while ((unsigned int )p != (unsigned int )old_end) {
    c = *p;
    switch ((int )c) {
    case 46: 
    case 92: 
    case 43: 
    case 42: 
    case 63: 
    case 91: 
    case 94: 
    case 93: 
    case 36: 
    case 40: 
    case 41: 
    tmp___1 = q;
    q ++;
    *tmp___1 = (char )'\\';
    default: 
    tmp___2 = q;
    q ++;
    *tmp___2 = c;
    }
    p ++;
  }
  *q = (char)0;
  while (1) {
    tmp___3 = _erealloc((void *)str, (unsigned int )((q - str) + 1), 0);
    __s = (char const   *)tmp___3;
    __l = q - str;
    __z___0 = return_value;
    __z___0->value.str.len = __l;
    __z___0->value.str.val = (char *)((char __attribute__((__visibility__("default")))  *)((char *)__s));
    __z___0->type = (unsigned char)6;
    break;
  }
  return;
}
}
void zif_ord(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *str ;
  int str_len ;
  int __attribute__((__visibility__("default")))  tmp ;
  zval *__z ;

  {
  tmp = zend_parse_parameters(ht, "s", & str, & str_len);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  __z = return_value;
  __z->value.lval = (long )((unsigned char )*(str + 0));
  __z->type = (unsigned char)1;
  return;
}
}
void zif_chr(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ long c ;
  char temp[2] ;
  int __attribute__((__visibility__("default")))  tmp ;
  char const   *__s ;
  int __l ;
  zval *__z ;
  char __attribute__((__visibility__("default")))  *tmp___0 ;

  {
  if (ht != 1) {
    zend_wrong_param_count();
    return;
  } else {

  }
  tmp = zend_parse_parameters_ex(1 << 1, ht, "l", & c);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    c = 0L;
  } else {

  }
  temp[0] = (char )c;
  temp[1] = (char )'\000';
  while (1) {
    __s = (char const   *)(temp);
    __l = 1;
    __z = return_value;
    __z->value.str.len = __l;
    tmp___0 = _estrndup(__s, (unsigned int )__l);
    __z->value.str.val = (char *)tmp___0;
    __z->type = (unsigned char)6;
    break;
  }
  return;
}
}
static void php_ucfirst(char *str ) 
{ register char *r ;
  int __res ;
  int __c ;
  __int32_t const   **tmp ;
  __int32_t const   **tmp___0 ;

  {
  r = str;
  if (sizeof((unsigned char )*r) > 1U) {
    __res = toupper((int )((unsigned char )*r));
  } else {
    tmp___0 = __ctype_toupper_loc();
    __res = (int )*(*tmp___0 + (int )((unsigned char )*r));
  }
  *r = (char )__res;
  return;
}
}
void zif_ucfirst(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *str ;
  int str_len ;
  int __attribute__((__visibility__("default")))  tmp ;
  zval *__z ;
  char __attribute__((__visibility__("default")))  *tmp___0 ;
  char const   *__s ;
  int __l ;
  zval *__z___0 ;
  char __attribute__((__visibility__("default")))  *tmp___1 ;

  {
  tmp = zend_parse_parameters(ht, "s", & str, & str_len);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  if (! str_len) {
    while (1) {
      __z = return_value;
      __z->value.str.len = 0;
      tmp___0 = _estrndup("", sizeof("") - 1U);
      __z->value.str.val = (char *)tmp___0;
      __z->type = (unsigned char)6;
      break;
    }
    return;
  } else {

  }
  while (1) {
    __s = (char const   *)str;
    __l = str_len;
    __z___0 = return_value;
    __z___0->value.str.len = __l;
    tmp___1 = _estrndup(__s, (unsigned int )__l);
    __z___0->value.str.val = (char *)tmp___1;
    __z___0->type = (unsigned char)6;
    break;
  }
  php_ucfirst(return_value->value.str.val);
  return;
}
}
static void php_lcfirst(char *str ) 
{ register char *r ;
  int __res ;
  int __c ;
  __int32_t const   **tmp ;
  __int32_t const   **tmp___0 ;

  {
  r = str;
  if (sizeof((unsigned char )*r) > 1U) {
    __res = tolower((int )((unsigned char )*r));
  } else {
    tmp___0 = __ctype_tolower_loc();
    __res = (int )*(*tmp___0 + (int )((unsigned char )*r));
  }
  *r = (char )__res;
  return;
}
}
void zif_lcfirst(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *str ;
  int str_len ;
  int __attribute__((__visibility__("default")))  tmp ;
  zval *__z ;
  char __attribute__((__visibility__("default")))  *tmp___0 ;
  char const   *__s ;
  int __l ;
  zval *__z___0 ;
  char __attribute__((__visibility__("default")))  *tmp___1 ;

  {
  tmp = zend_parse_parameters(ht, "s", & str, & str_len);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  if (! str_len) {
    while (1) {
      __z = return_value;
      __z->value.str.len = 0;
      tmp___0 = _estrndup("", sizeof("") - 1U);
      __z->value.str.val = (char *)tmp___0;
      __z->type = (unsigned char)6;
      break;
    }
    return;
  } else {

  }
  while (1) {
    __s = (char const   *)str;
    __l = str_len;
    __z___0 = return_value;
    __z___0->value.str.len = __l;
    tmp___1 = _estrndup(__s, (unsigned int )__l);
    __z___0->value.str.val = (char *)tmp___1;
    __z___0->type = (unsigned char)6;
    break;
  }
  php_lcfirst(return_value->value.str.val);
  return;
}
}
void zif_ucwords(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *str ;
  register char *r ;
  register char *r_end ;
  int str_len ;
  int __attribute__((__visibility__("default")))  tmp ;
  zval *__z ;
  char __attribute__((__visibility__("default")))  *tmp___0 ;
  char const   *__s ;
  int __l ;
  zval *__z___0 ;
  char __attribute__((__visibility__("default")))  *tmp___1 ;
  int __res ;
  int __c ;
  __int32_t const   **tmp___2 ;
  __int32_t const   **tmp___3 ;
  int __res___0 ;
  int __c___0 ;
  __int32_t const   **tmp___4 ;
  __int32_t const   **tmp___5 ;
  unsigned short const   **tmp___6 ;
  char *tmp___7 ;

  {
  tmp = zend_parse_parameters(ht, "s", & str, & str_len);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  if (! str_len) {
    while (1) {
      __z = return_value;
      __z->value.str.len = 0;
      tmp___0 = _estrndup("", sizeof("") - 1U);
      __z->value.str.val = (char *)tmp___0;
      __z->type = (unsigned char)6;
      break;
    }
    return;
  } else {

  }
  while (1) {
    __s = (char const   *)str;
    __l = str_len;
    __z___0 = return_value;
    __z___0->value.str.len = __l;
    tmp___1 = _estrndup(__s, (unsigned int )__l);
    __z___0->value.str.val = (char *)tmp___1;
    __z___0->type = (unsigned char)6;
    break;
  }
  r = return_value->value.str.val;
  if (sizeof((unsigned char )*r) > 1U) {
    __res = toupper((int )((unsigned char )*r));
  } else {
    tmp___3 = __ctype_toupper_loc();
    __res = (int )*(*tmp___3 + (int )((unsigned char )*r));
  }
  *r = (char )__res;
  r_end = (r + return_value->value.str.len) - 1;
  while ((unsigned int )r < (unsigned int )r_end) {
    tmp___6 = __ctype_b_loc();
    tmp___7 = r;
    r ++;
    if ((int const   )*(*tmp___6 + (int )*((unsigned char *)tmp___7)) & 8192) {
      if (sizeof((unsigned char )*r) > 1U) {
        __res___0 = toupper((int )((unsigned char )*r));
      } else {
        tmp___5 = __ctype_toupper_loc();
        __res___0 = (int )*(*tmp___5 + (int )((unsigned char )*r));
      }
      *r = (char )__res___0;
    } else {

    }
  }
  return;
}
}
char __attribute__((__visibility__("default")))  *php_strtr(char *str , int len , char *str_from , char *str_to , int trlen ) 
{ int i ;
  unsigned char xlat[256] ;

  {
  if (trlen < 1) {
    return ((char __attribute__((__visibility__("default")))  *)str);
  } else {
    if (len < 1) {
      return ((char __attribute__((__visibility__("default")))  *)str);
    } else {

    }
  }
  i = 0;
  while (i < 256) {
    xlat[i] = (unsigned char )i;
    i ++;
  }
  i = 0;
  while (i < trlen) {
    xlat[(unsigned char )*(str_from + i)] = (unsigned char )*(str_to + i);
    i ++;
  }
  i = 0;
  while (i < len) {
    *(str + i) = (char )xlat[(unsigned char )*(str + i)];
    i ++;
  }
  return ((char __attribute__((__visibility__("default")))  *)str);
}
}
static void php_strtr_array(zval *return_value , char *str , int slen , HashTable *hash ) 
{ zval **entry ;
  char *string_key ;
  uint string_key_len ;
  zval **trans ;
  zval ctmp ;
  ulong num_key ;
  int minlen ;
  int maxlen ;
  int pos ;
  int len ;
  int found ;
  char *key ;
  HashPosition hpos ;
  smart_str result ;
  HashTable tmp_hash ;
  int __attribute__((__visibility__("default")))  tmp ;
  int __attribute__((__visibility__("default")))  tmp___0 ;
  zval *__z ;
  int __attribute__((__visibility__("default")))  tmp___1 ;
  void __attribute__((__visibility__("default")))  *tmp___2 ;
  char *tval ;
  int tlen ;
  zval tmp___3 ;
  register size_t __nl ;
  smart_str *__dest ;
  void *tmp___4 ;
  void __attribute__((__visibility__("default")))  *tmp___5 ;
  void *tmp___6 ;
  void __attribute__((__visibility__("default")))  *tmp___7 ;
  int __attribute__((__visibility__("default")))  tmp___8 ;
  register size_t __nl___0 ;
  void *tmp___9 ;
  void __attribute__((__visibility__("default")))  *tmp___10 ;
  void *tmp___11 ;
  void __attribute__((__visibility__("default")))  *tmp___12 ;
  int tmp___13 ;
  char const   *__s ;
  int __l ;
  zval *__z___0 ;
  char __attribute__((__visibility__("default")))  *tmp___14 ;

  {
  minlen = 131072;
  maxlen = 0;
  result.c = (char *)0;
  result.len = 0U;
  result.a = 0U;
  tmp = zend_hash_num_elements((HashTable const   *)hash);
  _zend_hash_init(& tmp_hash, (unsigned int )tmp, (ulong (*)(char const   *arKey , uint nKeyLength ))((void *)0), (void (*)(void *pDest ))((void *)0), (unsigned char)0);
  zend_hash_internal_pointer_reset_ex(hash, & hpos);
  while (1) {
    tmp___1 = zend_hash_get_current_data_ex(hash, (void **)(& entry), & hpos);
    if (tmp___1 == (int __attribute__((__visibility__("default")))  )0) {

    } else {
      break;
    }
    tmp___0 = zend_hash_get_current_key_ex((HashTable const   *)hash, & string_key, & string_key_len, & num_key, (unsigned char)0, & hpos);
    switch ((int )tmp___0) {
    case 1: 
    len = (int )(string_key_len - 1U);
    if (len < 1) {
      zend_hash_destroy(& tmp_hash);
      while (1) {
        __z = return_value;
        __z->value.lval = 0L;
        __z->type = (unsigned char)3;
        break;
      }
      return;
    } else {

    }
    _zend_hash_add_or_update(& tmp_hash, (char const   *)string_key, string_key_len, (void *)entry, sizeof(zval *), (void **)((void *)0), 1 << 1);
    if (len > maxlen) {
      maxlen = len;
    } else {

    }
    if (len < minlen) {
      minlen = len;
    } else {

    }
    break;
    case 2: 
    ctmp.type = (unsigned char)1;
    ctmp.value.lval = (long )num_key;
    if ((int )ctmp.type != 6) {
      _convert_to_string(& ctmp);
    } else {

    }
    len = ctmp.value.str.len;
    _zend_hash_add_or_update(& tmp_hash, (char const   *)ctmp.value.str.val, (unsigned int )(len + 1), (void *)entry, sizeof(zval *), (void **)((void *)0), 1 << 1);
    _zval_dtor(& ctmp);
    if (len > maxlen) {
      maxlen = len;
    } else {

    }
    if (len < minlen) {
      minlen = len;
    } else {

    }
    break;
    }
    zend_hash_move_forward_ex(hash, & hpos);
  }
  tmp___2 = _emalloc((unsigned int )(maxlen + 1));
  key = (char *)tmp___2;
  pos = 0;
  while (pos < slen) {
    if (pos + maxlen > slen) {
      maxlen = slen - pos;
    } else {

    }
    found = 0;
    memcpy((void */* __restrict  */)key, (void const   */* __restrict  */)(str + pos), (unsigned int )maxlen);
    len = maxlen;
    while (len >= minlen) {
      *(key + len) = (char)0;
      tmp___8 = zend_hash_find((HashTable const   *)(& tmp_hash), (char const   *)key, (unsigned int )(len + 1), (void **)(& trans));
      if (tmp___8 == (int __attribute__((__visibility__("default")))  )0) {
        if ((int )(*trans)->type != 6) {
          tmp___3 = *(*trans);
          _zval_copy_ctor(& tmp___3);
          if ((int )tmp___3.type != 6) {
            _convert_to_string(& tmp___3);
          } else {

          }
          tval = tmp___3.value.str.val;
          tlen = tmp___3.value.str.len;
        } else {
          tval = (*trans)->value.str.val;
          tlen = (*trans)->value.str.len;
        }
        while (1) {
          __dest = & result;
          while (1) {
            if (! __dest->c) {
              __dest->len = 0U;
              __nl = (unsigned int )tlen;
              if (__nl < 78U) {
                __dest->a = 78U;
              } else {
                __dest->a = __nl + 128U;
              }
              tmp___5 = _erealloc((void *)__dest->c, __dest->a + 1U, 0);
              __dest->c = (char *)((void *)tmp___5);
            } else {
              __nl = __dest->len + (size_t )tlen;
              if (__nl >= __dest->a) {
                __dest->a = __nl + 128U;
                tmp___7 = _erealloc((void *)__dest->c, __dest->a + 1U, 0);
                __dest->c = (char *)((void *)tmp___7);
              } else {

              }
            }
            break;
          }
          memcpy((void */* __restrict  */)(__dest->c + __dest->len), (void const   */* __restrict  */)tval, (unsigned int )tlen);
          __dest->len = __nl;
          break;
        }
        pos += len;
        found = 1;
        if ((int )(*trans)->type != 6) {
          _zval_dtor(& tmp___3);
        } else {

        }
        break;
      } else {

      }
      len --;
    }
    if (! found) {
      while (1) {
        while (1) {
          if (! result.c) {
            result.len = 0U;
            __nl___0 = 1U;
            if (__nl___0 < 78U) {
              result.a = 78U;
            } else {
              result.a = __nl___0 + 128U;
            }
            tmp___10 = _erealloc((void *)result.c, result.a + 1U, 0);
            result.c = (char *)((void *)tmp___10);
          } else {
            __nl___0 = result.len + 1U;
            if (__nl___0 >= result.a) {
              result.a = __nl___0 + 128U;
              tmp___12 = _erealloc((void *)result.c, result.a + 1U, 0);
              result.c = (char *)((void *)tmp___12);
            } else {

            }
          }
          break;
        }
        result.len = __nl___0;
        tmp___13 = pos;
        pos ++;
        *((unsigned char *)result.c + (result.len - 1U)) = (unsigned char )*(str + tmp___13);
        break;
      }
    } else {

    }
  }
  _efree((void *)key);
  zend_hash_destroy(& tmp_hash);
  while (1) {
    if (result.c) {
      *(result.c + result.len) = (char )'\000';
    } else {

    }
    break;
  }
  while (1) {
    __s = (char const   *)result.c;
    __l = (int )result.len;
    __z___0 = return_value;
    __z___0->value.str.len = __l;
    __z___0->value.str.val = (char *)((char __attribute__((__visibility__("default")))  *)((char *)__s));
    __z___0->type = (unsigned char)6;
    break;
  }
  return;
}
}
void zif_strtr(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ zval **from ;
  char *str ;
  char *to ;
  int str_len ;
  int to_len ;
  int ac ;
  int __attribute__((__visibility__("default")))  tmp ;
  zval *__z ;
  zval *__z___0 ;
  char __attribute__((__visibility__("default")))  *tmp___0 ;
  HashTable *tmp___1 ;
  HashTable *tmp___2 ;
  HashTable *tmp___3 ;
  zval *new_zv ;
  void __attribute__((__visibility__("default")))  *tmp___4 ;
  zend_uint tmp___5 ;
  zend_bool tmp___6 ;
  char const   *__s ;
  int __l ;
  zval *__z___1 ;
  char __attribute__((__visibility__("default")))  *tmp___7 ;
  int tmp___8 ;

  {
  to = (char *)((void *)0);
  to_len = 0;
  ac = ht;
  tmp = zend_parse_parameters(ht, "sZ|s", & str, & str_len, & from, & to, & to_len);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  if (ac == 2) {
    if ((int )(*from)->type != 4) {
      php_error_docref0((char const   *)((void *)0), 1 << 1L, "The second argument is not an array");
      while (1) {
        __z = return_value;
        __z->value.lval = 0L;
        __z->type = (unsigned char)3;
        break;
      }
      return;
    } else {

    }
  } else {

  }
  if (str_len == 0) {
    while (1) {
      __z___0 = return_value;
      __z___0->value.str.len = 0;
      tmp___0 = _estrndup("", sizeof("") - 1U);
      __z___0->value.str.val = (char *)tmp___0;
      __z___0->type = (unsigned char)6;
      break;
    }
    return;
  } else {

  }
  if (ac == 2) {
    if ((int )(*from)->type == 4) {
      tmp___3 = (*from)->value.ht;
    } else {
      if ((int )(*from)->type == 5) {
        tmp___1 = (*(((*from)->value.obj.handlers)->get_properties))(*from);
        tmp___2 = tmp___1;
      } else {
        tmp___2 = (HashTable *)((void *)0);
      }
      tmp___3 = tmp___2;
    }
    php_strtr_array(return_value, str, str_len, tmp___3);
  } else {
    if ((int )(*from)->type != 6) {
      tmp___6 = zval_isref_p(*from);
      if (tmp___6) {

      } else {
        while (1) {
          tmp___5 = zval_refcount_p(*from);
          if (tmp___5 > 1U) {
            zval_delref_p(*from);
            while (1) {
              tmp___4 = _emalloc(sizeof(zval_gc_info ));
              new_zv = (zval *)tmp___4;
              ((zval_gc_info *)new_zv)->u.buffered = (gc_root_buffer *)((void *)0);
              break;
            }
            while (1) {
              while (1) {
                new_zv->value = (*from)->value;
                new_zv->type = (*from)->type;
                break;
              }
              zval_set_refcount_p(new_zv, 1U);
              zval_unset_isref_p(new_zv);
              break;
            }
            *from = new_zv;
            _zval_copy_ctor(new_zv);
          } else {

          }
          break;
        }
      }
      if ((int )(*from)->type != 6) {
        _convert_to_string(*from);
      } else {

      }
    } else {

    }
    while (1) {
      __s = (char const   *)str;
      __l = str_len;
      __z___1 = return_value;
      __z___1->value.str.len = __l;
      tmp___7 = _estrndup(__s, (unsigned int )__l);
      __z___1->value.str.val = (char *)tmp___7;
      __z___1->type = (unsigned char)6;
      break;
    }
    if ((*from)->value.str.len < to_len) {
      tmp___8 = (*from)->value.str.len;
    } else {
      tmp___8 = to_len;
    }
    php_strtr(return_value->value.str.val, return_value->value.str.len, (*from)->value.str.val, to, tmp___8);
  }
  return;
}
}
void zif_strrev(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *str ;
  char *e ;
  char *n ;
  char *p ;
  int str_len ;
  int __attribute__((__visibility__("default")))  tmp ;
  void __attribute__((__visibility__("default")))  *tmp___0 ;
  char *tmp___1 ;
  char const   *__s ;
  int __l ;
  zval *__z ;
  char __attribute__((__visibility__("default")))  *tmp___2 ;

  {
  tmp = zend_parse_parameters(ht, "s", & str, & str_len);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  tmp___0 = _emalloc((unsigned int )(str_len + 1));
  n = (char *)tmp___0;
  p = n;
  e = str + str_len;
  while (1) {
    e --;
    if ((unsigned int )e >= (unsigned int )str) {

    } else {
      break;
    }
    tmp___1 = p;
    p ++;
    *tmp___1 = *e;
  }
  *p = (char )'\000';
  while (1) {
    __s = (char const   *)n;
    __l = str_len;
    __z = return_value;
    __z->value.str.len = __l;
    __z->value.str.val = (char *)((char __attribute__((__visibility__("default")))  *)((char *)__s));
    __z->type = (unsigned char)6;
    break;
  }
  return;
}
}
static void php_similar_str(char const   *txt1 , int len1 , char const   *txt2 , int len2 , int *pos1 , int *pos2 , int *max ) 
{ char *p ;
  char *q ;
  char *end1 ;
  char *end2 ;
  int l ;

  {
  end1 = (char *)txt1 + len1;
  end2 = (char *)txt2 + len2;
  *max = 0;
  p = (char *)txt1;
  while ((unsigned int )p < (unsigned int )end1) {
    q = (char *)txt2;
    while ((unsigned int )q < (unsigned int )end2) {
      l = 0;
      while (1) {
        if ((unsigned int )(p + l) < (unsigned int )end1) {
          if ((unsigned int )(q + l) < (unsigned int )end2) {
            if ((int )*(p + l) == (int )*(q + l)) {

            } else {
              break;
            }
          } else {
            break;
          }
        } else {
          break;
        }
        l ++;
      }
      if (l > *max) {
        *max = l;
        *pos1 = p - (char *)txt1;
        *pos2 = q - (char *)txt2;
      } else {

      }
      q ++;
    }
    p ++;
  }
  return;
}
}
static int php_similar_char(char const   *txt1 , int len1 , char const   *txt2 , int len2 ) 
{ int sum ;
  int pos1 ;
  int pos2 ;
  int max ;
  int tmp ;
  int tmp___0 ;

  {
  php_similar_str(txt1, len1, txt2, len2, & pos1, & pos2, & max);
  sum = max;
  if (sum) {
    if (pos1) {
      if (pos2) {
        tmp = php_similar_char(txt1, pos1, txt2, pos2);
        sum += tmp;
      } else {

      }
    } else {

    }
    if (pos1 + max < len1) {
      if (pos2 + max < len2) {
        tmp___0 = php_similar_char((txt1 + pos1) + max, (len1 - pos1) - max, (txt2 + pos2) + max, (len2 - pos2) - max);
        sum += tmp___0;
      } else {

      }
    } else {

    }
  } else {

  }
  return (sum);
}
}
void zif_similar_text(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *t1 ;
  char *t2 ;
  zval **percent ;
  int ac ;
  int sim ;
  int t1_len ;
  int t2_len ;
  int __attribute__((__visibility__("default")))  tmp ;
  zval *new_zv ;
  void __attribute__((__visibility__("default")))  *tmp___0 ;
  zend_uint tmp___1 ;
  zend_bool tmp___2 ;
  zval *__z ;
  zval *__z___0 ;

  {
  percent = (zval **)((void *)0);
  ac = ht;
  tmp = zend_parse_parameters(ht, "ss|Z", & t1, & t1_len, & t2, & t2_len, & percent);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  if (ac > 2) {
    if ((int )(*percent)->type != 2) {
      tmp___2 = zval_isref_p(*percent);
      if (tmp___2) {

      } else {
        while (1) {
          tmp___1 = zval_refcount_p(*percent);
          if (tmp___1 > 1U) {
            zval_delref_p(*percent);
            while (1) {
              tmp___0 = _emalloc(sizeof(zval_gc_info ));
              new_zv = (zval *)tmp___0;
              ((zval_gc_info *)new_zv)->u.buffered = (gc_root_buffer *)((void *)0);
              break;
            }
            while (1) {
              while (1) {
                new_zv->value = (*percent)->value;
                new_zv->type = (*percent)->type;
                break;
              }
              zval_set_refcount_p(new_zv, 1U);
              zval_unset_isref_p(new_zv);
              break;
            }
            *percent = new_zv;
            _zval_copy_ctor(new_zv);
          } else {

          }
          break;
        }
      }
      convert_to_double(*percent);
    } else {

    }
  } else {

  }
  if (t1_len + t2_len == 0) {
    if (ac > 2) {
      (*percent)->value.dval = (double )0;
    } else {

    }
    __z = return_value;
    __z->value.lval = 0L;
    __z->type = (unsigned char)1;
    return;
  } else {

  }
  sim = php_similar_char((char const   *)t1, t1_len, (char const   *)t2, t2_len);
  if (ac > 2) {
    (*percent)->value.dval = ((double )sim * 200.0) / (double )(t1_len + t2_len);
  } else {

  }
  __z___0 = return_value;
  __z___0->value.lval = (long )sim;
  __z___0->type = (unsigned char)1;
  return;
}
}
void __attribute__((__visibility__("default")))  php_stripslashes(char *str , int *len ) 
{ char *s ;
  char *t ;
  int l ;
  size_t tmp ;
  char *tmp___0 ;
  char *tmp___1 ;
  char *tmp___2 ;
  char *tmp___3 ;
  char *tmp___4 ;

  {
  if ((unsigned int )len != (unsigned int )((void *)0)) {
    l = *len;
  } else {
    tmp = strlen((char const   *)str);
    l = (int )tmp;
  }
  s = str;
  t = str;
  while (l > 0) {
    if ((int )*t == 92) {
      t ++;
      if ((unsigned int )len != (unsigned int )((void *)0)) {
        (*len) --;
      } else {

      }
      l --;
      if (l > 0) {
        if ((int )*t == 48) {
          tmp___0 = s;
          s ++;
          *tmp___0 = (char )'\000';
          t ++;
        } else {
          tmp___1 = s;
          s ++;
          tmp___2 = t;
          t ++;
          *tmp___1 = *tmp___2;
        }
        l --;
      } else {

      }
    } else {
      tmp___3 = s;
      s ++;
      tmp___4 = t;
      t ++;
      *tmp___3 = *tmp___4;
      l --;
    }
  }
  if ((unsigned int )s != (unsigned int )t) {
    *s = (char )'\000';
  } else {

  }
  return;
}
}
void zif_addcslashes(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *str ;
  char *what ;
  int str_len ;
  int what_len ;
  int __attribute__((__visibility__("default")))  tmp ;
  zval *__z ;
  char __attribute__((__visibility__("default")))  *tmp___0 ;
  char const   *__s ;
  int __l ;
  zval *__z___0 ;
  char __attribute__((__visibility__("default")))  *tmp___1 ;
  char __attribute__((__visibility__("default")))  *tmp___2 ;
  char const   *__s___0 ;
  int __l___0 ;
  zval *__z___1 ;
  char __attribute__((__visibility__("default")))  *tmp___3 ;

  {
  tmp = zend_parse_parameters(ht, "ss", & str, & str_len, & what, & what_len);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  if (str_len == 0) {
    while (1) {
      __z = return_value;
      __z->value.str.len = 0;
      tmp___0 = _estrndup("", sizeof("") - 1U);
      __z->value.str.val = (char *)tmp___0;
      __z->type = (unsigned char)6;
      break;
    }
    return;
  } else {

  }
  if (what_len == 0) {
    while (1) {
      __s = (char const   *)str;
      __l = str_len;
      __z___0 = return_value;
      __z___0->value.str.len = __l;
      tmp___1 = _estrndup(__s, (unsigned int )__l);
      __z___0->value.str.val = (char *)tmp___1;
      __z___0->type = (unsigned char)6;
      break;
    }
    return;
  } else {

  }
  tmp___2 = php_addcslashes((char const   *)str, str_len, & return_value->value.str.len, 0, what, what_len);
  return_value->value.str.val = (char *)tmp___2;
  while (1) {
    __s___0 = (char const   *)return_value->value.str.val;
    __l___0 = return_value->value.str.len;
    __z___1 = return_value;
    __z___1->value.str.len = __l___0;
    __z___1->value.str.val = (char *)((char __attribute__((__visibility__("default")))  *)((char *)__s___0));
    __z___1->type = (unsigned char)6;
    break;
  }
  return;
}
}
void zif_addslashes(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *str ;
  int str_len ;
  int __attribute__((__visibility__("default")))  tmp ;
  zval *__z ;
  char __attribute__((__visibility__("default")))  *tmp___0 ;
  char const   *__s ;
  char __attribute__((__visibility__("default")))  *tmp___1 ;
  zval *__z___0 ;
  size_t tmp___2 ;
  char __attribute__((__visibility__("default")))  *tmp___3 ;

  {
  tmp = zend_parse_parameters(ht, "s", & str, & str_len);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  if (str_len == 0) {
    while (1) {
      __z = return_value;
      __z->value.str.len = 0;
      tmp___0 = _estrndup("", sizeof("") - 1U);
      __z->value.str.val = (char *)tmp___0;
      __z->type = (unsigned char)6;
      break;
    }
    return;
  } else {

  }
  while (1) {
    tmp___1 = php_addslashes(str, str_len, & return_value->value.str.len, 0);
    __s = (char const   *)tmp___1;
    __z___0 = return_value;
    tmp___2 = strlen(__s);
    __z___0->value.str.len = (int )tmp___2;
    __z___0->value.str.val = (char *)((char __attribute__((__visibility__("default")))  *)((char *)__s));
    __z___0->type = (unsigned char)6;
    break;
  }
  return;
}
}
void zif_stripcslashes(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *str ;
  int str_len ;
  int __attribute__((__visibility__("default")))  tmp ;
  char const   *__s ;
  int __l ;
  zval *__z ;
  char __attribute__((__visibility__("default")))  *tmp___0 ;

  {
  tmp = zend_parse_parameters(ht, "s", & str, & str_len);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  while (1) {
    __s = (char const   *)str;
    __l = str_len;
    __z = return_value;
    __z->value.str.len = __l;
    tmp___0 = _estrndup(__s, (unsigned int )__l);
    __z->value.str.val = (char *)tmp___0;
    __z->type = (unsigned char)6;
    break;
  }
  php_stripcslashes(return_value->value.str.val, & return_value->value.str.len);
  return;
}
}
void zif_stripslashes(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *str ;
  int str_len ;
  int __attribute__((__visibility__("default")))  tmp ;
  char const   *__s ;
  int __l ;
  zval *__z ;
  char __attribute__((__visibility__("default")))  *tmp___0 ;

  {
  tmp = zend_parse_parameters(ht, "s", & str, & str_len);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  while (1) {
    __s = (char const   *)str;
    __l = str_len;
    __z = return_value;
    __z->value.str.len = __l;
    tmp___0 = _estrndup(__s, (unsigned int )__l);
    __z->value.str.val = (char *)tmp___0;
    __z->type = (unsigned char)6;
    break;
  }
  php_stripslashes(return_value->value.str.val, & return_value->value.str.len);
  return;
}
}
void __attribute__((__visibility__("default")))  php_stripcslashes(char *str , int *len ) 
{ char *source ;
  char *target ;
  char *end ;
  int nlen ;
  int i ;
  char numtmp[4] ;
  char *tmp ;
  char *tmp___0 ;
  char *tmp___1 ;
  char *tmp___2 ;
  char *tmp___3 ;
  char *tmp___4 ;
  char *tmp___5 ;
  char *tmp___6 ;
  unsigned short const   **tmp___7 ;
  char *tmp___8 ;
  long tmp___9 ;
  unsigned short const   **tmp___10 ;
  int tmp___11 ;
  char *tmp___12 ;
  char *tmp___13 ;
  long tmp___14 ;
  char *tmp___15 ;
  char *tmp___16 ;

  {
  nlen = *len;
  source = str;
  end = str + nlen;
  target = str;
  while ((unsigned int )source < (unsigned int )end) {
    if ((int )*source == 92) {
      if ((unsigned int )(source + 1) < (unsigned int )end) {
        source ++;
        switch ((int )*source) {
        case 110: 
        tmp = target;
        target ++;
        *tmp = (char )'\n';
        nlen --;
        break;
        case 114: 
        tmp___0 = target;
        target ++;
        *tmp___0 = (char )'\r';
        nlen --;
        break;
        case 97: 
        tmp___1 = target;
        target ++;
        *tmp___1 = (char )'\a';
        nlen --;
        break;
        case 116: 
        tmp___2 = target;
        target ++;
        *tmp___2 = (char )'\t';
        nlen --;
        break;
        case 118: 
        tmp___3 = target;
        target ++;
        *tmp___3 = (char )'\v';
        nlen --;
        break;
        case 98: 
        tmp___4 = target;
        target ++;
        *tmp___4 = (char )'\b';
        nlen --;
        break;
        case 102: 
        tmp___5 = target;
        target ++;
        *tmp___5 = (char )'\f';
        nlen --;
        break;
        case 92: 
        tmp___6 = target;
        target ++;
        *tmp___6 = (char )'\\';
        nlen --;
        break;
        case 120: 
        if ((unsigned int )(source + 1) < (unsigned int )end) {
          tmp___10 = __ctype_b_loc();
          if ((int const   )*(*tmp___10 + (int )*(source + 1)) & 4096) {
            source ++;
            numtmp[0] = *source;
            if ((unsigned int )(source + 1) < (unsigned int )end) {
              tmp___7 = __ctype_b_loc();
              if ((int const   )*(*tmp___7 + (int )*(source + 1)) & 4096) {
                source ++;
                numtmp[1] = *source;
                numtmp[2] = (char )'\000';
                nlen -= 3;
              } else {
                numtmp[1] = (char )'\000';
                nlen -= 2;
              }
            } else {
              numtmp[1] = (char )'\000';
              nlen -= 2;
            }
            tmp___8 = target;
            target ++;
            tmp___9 = strtol((char const   */* __restrict  */)(numtmp), (char **/* __restrict  */)((void *)0), 16);
            *tmp___8 = (char )tmp___9;
            break;
          } else {

          }
        } else {

        }
        default: 
        i = 0;
        while (1) {
          if ((unsigned int )source < (unsigned int )end) {
            if ((int )*source >= 48) {
              if ((int )*source <= 55) {
                if (i < 3) {

                } else {
                  break;
                }
              } else {
                break;
              }
            } else {
              break;
            }
          } else {
            break;
          }
          tmp___11 = i;
          i ++;
          tmp___12 = source;
          source ++;
          numtmp[tmp___11] = *tmp___12;
        }
        if (i) {
          numtmp[i] = (char )'\000';
          tmp___13 = target;
          target ++;
          tmp___14 = strtol((char const   */* __restrict  */)(numtmp), (char **/* __restrict  */)((void *)0), 8);
          *tmp___13 = (char )tmp___14;
          nlen -= i;
          source --;
        } else {
          tmp___15 = target;
          target ++;
          *tmp___15 = *source;
          nlen --;
        }
        }
      } else {
        tmp___16 = target;
        target ++;
        *tmp___16 = *source;
      }
    } else {
      tmp___16 = target;
      target ++;
      *tmp___16 = *source;
    }
    source ++;
  }
  if (nlen != 0) {
    *target = (char )'\000';
  } else {

  }
  *len = nlen;
  return;
}
}
char __attribute__((__visibility__("default")))  *php_addcslashes(char const   *str , int length , int *new_length , int should_free , char *what , int wlength ) 
{ char flags[256] ;
  char *new_str ;
  size_t tmp ;
  int tmp___0 ;
  void __attribute__((__visibility__("default")))  *tmp___1 ;
  char *source ;
  char *target ;
  char *end ;
  char c ;
  int newlen ;
  size_t tmp___2 ;
  char *tmp___3 ;
  char *tmp___4 ;
  char *tmp___5 ;
  char *tmp___6 ;
  char *tmp___7 ;
  char *tmp___8 ;
  char *tmp___9 ;
  char *tmp___10 ;
  int __attribute__((__visibility__("default")))  tmp___11 ;
  char *tmp___12 ;
  char *tmp___13 ;
  void __attribute__((__visibility__("default")))  *tmp___14 ;

  {
  if (length) {
    tmp___0 = length;
  } else {
    tmp = strlen(str);
    length = (int )tmp;
    tmp___0 = length;
  }
  tmp___1 = _safe_emalloc(4U, (unsigned int )tmp___0, 1U);
  new_str = (char *)tmp___1;
  if (! wlength) {
    tmp___2 = strlen((char const   *)what);
    wlength = (int )tmp___2;
  } else {

  }
  php_charmask((unsigned char *)what, wlength, flags);
  source = (char *)str;
  end = source + length;
  target = new_str;
  while ((unsigned int )source < (unsigned int )end) {
    c = *source;
    if (flags[(unsigned char )c]) {
      if ((int )((unsigned char )c) < 32) {
        goto _L;
      } else {
        if ((int )((unsigned char )c) > 126) {
          _L: /* CIL Label */ 
          tmp___3 = target;
          target ++;
          *tmp___3 = (char )'\\';
          switch ((int )c) {
          case 10: 
          tmp___4 = target;
          target ++;
          *tmp___4 = (char )'n';
          break;
          case 9: 
          tmp___5 = target;
          target ++;
          *tmp___5 = (char )'t';
          break;
          case 13: 
          tmp___6 = target;
          target ++;
          *tmp___6 = (char )'r';
          break;
          case 7: 
          tmp___7 = target;
          target ++;
          *tmp___7 = (char )'a';
          break;
          case 11: 
          tmp___8 = target;
          target ++;
          *tmp___8 = (char )'v';
          break;
          case 8: 
          tmp___9 = target;
          target ++;
          *tmp___9 = (char )'b';
          break;
          case 12: 
          tmp___10 = target;
          target ++;
          *tmp___10 = (char )'f';
          break;
          default: 
          tmp___11 = php_sprintf(target, "%03o", (unsigned char )c);
          target += tmp___11;
          }
          goto __Cont;
        } else {

        }
      }
      tmp___12 = target;
      target ++;
      *tmp___12 = (char )'\\';
    } else {

    }
    tmp___13 = target;
    target ++;
    *tmp___13 = c;
    __Cont: /* CIL Label */ 
    source ++;
  }
  *target = (char)0;
  newlen = target - new_str;
  if (target - new_str < length * 4) {
    tmp___14 = _erealloc((void *)new_str, (unsigned int )(newlen + 1), 0);
    new_str = (char *)tmp___14;
  } else {

  }
  if (new_length) {
    *new_length = newlen;
  } else {

  }
  if (should_free) {
    if ((char *)str) {
      if ((unsigned int )((char *)str) >= (unsigned int )compiler_globals.interned_strings_start) {
        if ((unsigned int )((char *)str) < (unsigned int )compiler_globals.interned_strings_end) {

        } else {
          _efree((void *)((char *)str));
        }
      } else {
        _efree((void *)((char *)str));
      }
    } else {

    }
  } else {

  }
  return ((char __attribute__((__visibility__("default")))  *)new_str);
}
}
char __attribute__((__visibility__("default")))  *php_addslashes(char *str , int length , int *new_length , int should_free ) 
{ char *new_str ;
  char *source ;
  char *target ;
  char *end ;
  int local_new_length ;
  size_t tmp ;
  int tmp___0 ;
  void __attribute__((__visibility__("default")))  *tmp___1 ;
  char *tmp___2 ;
  char *tmp___3 ;
  char *tmp___4 ;
  char *tmp___5 ;
  void __attribute__((__visibility__("default")))  *tmp___6 ;

  {
  if (! new_length) {
    new_length = & local_new_length;
  } else {

  }
  if (! str) {
    *new_length = 0;
    return ((char __attribute__((__visibility__("default")))  *)str);
  } else {

  }
  if (length) {
    tmp___0 = length;
  } else {
    tmp = strlen((char const   *)str);
    length = (int )tmp;
    tmp___0 = length;
  }
  tmp___1 = _safe_emalloc(2U, (unsigned int )tmp___0, 1U);
  new_str = (char *)tmp___1;
  source = str;
  end = source + length;
  target = new_str;
  while ((unsigned int )source < (unsigned int )end) {
    switch ((int )*source) {
    case 0: 
    tmp___2 = target;
    target ++;
    *tmp___2 = (char )'\\';
    tmp___3 = target;
    target ++;
    *tmp___3 = (char )'0';
    break;
    case 39: 
    case 34: 
    case 92: 
    tmp___4 = target;
    target ++;
    *tmp___4 = (char )'\\';
    default: 
    tmp___5 = target;
    target ++;
    *tmp___5 = *source;
    break;
    }
    source ++;
  }
  *target = (char)0;
  *new_length = target - new_str;
  if (should_free) {
    if (str) {
      if ((unsigned int )str >= (unsigned int )compiler_globals.interned_strings_start) {
        if ((unsigned int )str < (unsigned int )compiler_globals.interned_strings_end) {

        } else {
          _efree((void *)str);
        }
      } else {
        _efree((void *)str);
      }
    } else {

    }
  } else {

  }
  tmp___6 = _erealloc((void *)new_str, (unsigned int )(*new_length + 1), 0);
  new_str = (char *)tmp___6;
  return ((char __attribute__((__visibility__("default")))  *)new_str);
}
}
int __attribute__((__visibility__("default")))  php_char_to_str_ex(char *str , uint len , char from , char *to , int to_len , zval *result , int case_sensitivity , int *replace_count ) 
{ int char_count ;
  int replaced ;
  char *source ;
  char *target ;
  char *tmp ;
  char *source_end ;
  char *tmp_end ;
  char *p ;
  char *e ;
  void *tmp___0 ;
  int __res ;
  int __c ;
  __int32_t const   **tmp___1 ;
  __int32_t const   **tmp___2 ;
  int __res___0 ;
  int __c___0 ;
  __int32_t const   **tmp___3 ;
  __int32_t const   **tmp___4 ;
  char const   *__s ;
  int __l ;
  zval *__z ;
  char __attribute__((__visibility__("default")))  *tmp___5 ;
  void __attribute__((__visibility__("default")))  *tmp___6 ;
  char *p___0 ;
  char *e___0 ;
  char *s ;
  void *tmp___7 ;
  int __res___1 ;
  int __c___1 ;
  __int32_t const   **tmp___8 ;
  __int32_t const   **tmp___9 ;
  int __res___2 ;
  int __c___2 ;
  __int32_t const   **tmp___10 ;
  __int32_t const   **tmp___11 ;

  {
  char_count = 0;
  replaced = 0;
  source_end = str + len;
  tmp_end = (char *)((void *)0);
  if (case_sensitivity) {
    p = str;
    e = p + len;
    while (1) {
      tmp___0 = memchr((void const   *)p, (int )from, (unsigned int )(e - p));
      p = (char *)tmp___0;
      if (p) {

      } else {
        break;
      }
      char_count ++;
      p ++;
    }
  } else {
    source = str;
    while ((unsigned int )source < (unsigned int )source_end) {
      if (sizeof(*source) > 1U) {
        __res = tolower((int )*source);
      } else {
        tmp___2 = __ctype_tolower_loc();
        __res = (int )*(*tmp___2 + (int )*source);
      }
      if (sizeof(from) > 1U) {
        __res___0 = tolower((int )from);
      } else {
        tmp___4 = __ctype_tolower_loc();
        __res___0 = (int )*(*tmp___4 + (int )from);
      }
      if (__res == __res___0) {
        char_count ++;
      } else {

      }
      source ++;
    }
  }
  if (char_count == 0) {
    if (case_sensitivity) {
      while (1) {
        __s = (char const   *)str;
        __l = (int )len;
        __z = result;
        __z->value.str.len = __l;
        tmp___5 = _estrndup(__s, (unsigned int )__l);
        __z->value.str.val = (char *)tmp___5;
        __z->type = (unsigned char)6;
        break;
      }
      return ((int __attribute__((__visibility__("default")))  )0);
    } else {

    }
  } else {

  }
  result->value.str.len = (int )(len + (uint )(char_count * (to_len - 1)));
  tmp___6 = _safe_emalloc((unsigned int )char_count, (unsigned int )to_len, len + 1U);
  target = (char *)tmp___6;
  result->value.str.val = target;
  result->type = (unsigned char)6;
  if (case_sensitivity) {
    p___0 = str;
    e___0 = p___0 + len;
    s = str;
    while (1) {
      tmp___7 = memchr((void const   *)p___0, (int )from, (unsigned int )(e___0 - p___0));
      p___0 = (char *)tmp___7;
      if (p___0) {

      } else {
        break;
      }
      memcpy((void */* __restrict  */)target, (void const   */* __restrict  */)s, (unsigned int )(p___0 - s));
      target += p___0 - s;
      memcpy((void */* __restrict  */)target, (void const   */* __restrict  */)to, (unsigned int )to_len);
      target += to_len;
      p___0 ++;
      s = p___0;
      if (replace_count) {
        (*replace_count) ++;
      } else {

      }
    }
    if ((unsigned int )s < (unsigned int )e___0) {
      memcpy((void */* __restrict  */)target, (void const   */* __restrict  */)s, (unsigned int )(e___0 - s));
      target += e___0 - s;
    } else {

    }
  } else {
    source = str;
    while ((unsigned int )source < (unsigned int )source_end) {
      if (sizeof(*source) > 1U) {
        __res___1 = tolower((int )*source);
      } else {
        tmp___9 = __ctype_tolower_loc();
        __res___1 = (int )*(*tmp___9 + (int )*source);
      }
      if (sizeof(from) > 1U) {
        __res___2 = tolower((int )from);
      } else {
        tmp___11 = __ctype_tolower_loc();
        __res___2 = (int )*(*tmp___11 + (int )from);
      }
      if (__res___1 == __res___2) {
        replaced = 1;
        if (replace_count) {
          (*replace_count) ++;
        } else {

        }
        tmp = to;
        tmp_end = tmp + to_len;
        while ((unsigned int )tmp < (unsigned int )tmp_end) {
          *target = *tmp;
          target ++;
          tmp ++;
        }
      } else {
        *target = *source;
        target ++;
      }
      source ++;
    }
  }
  *target = (char)0;
  return ((int __attribute__((__visibility__("default")))  )replaced);
}
}
int __attribute__((__visibility__("default")))  php_char_to_str(char *str , uint len , char from , char *to , int to_len , zval *result ) 
{ int __attribute__((__visibility__("default")))  tmp ;

  {
  tmp = php_char_to_str_ex(str, len, from, to, to_len, result, 1, (int *)((void *)0));
  return (tmp);
}
}
char __attribute__((__visibility__("default")))  *php_str_to_str_ex(char *haystack , int length , char *needle , int needle_len , char *str , int str_len , int *_new_length , int case_sensitivity , int *replace_count ) 
{ char *new_str ;
  char *end ;
  char *haystack_dup ;
  char *needle_dup ;
  char *e ;
  char *s ;
  char *p ;
  char *r ;
  char __attribute__((__visibility__("default")))  *tmp ;
  char __attribute__((__visibility__("default")))  *tmp___0 ;
  char __attribute__((__visibility__("default")))  *tmp___1 ;
  char __attribute__((__visibility__("default")))  *tmp___2 ;
  char __attribute__((__visibility__("default")))  *tmp___3 ;
  void __attribute__((__visibility__("default")))  *tmp___4 ;
  int count ;
  char *o ;
  char *n ;
  char *endp ;
  char __attribute__((__visibility__("default")))  *tmp___5 ;
  void __attribute__((__visibility__("default")))  *tmp___6 ;
  void __attribute__((__visibility__("default")))  *tmp___7 ;
  char __attribute__((__visibility__("default")))  *tmp___8 ;
  char *l_haystack ;
  char *l_needle ;
  char __attribute__((__visibility__("default")))  *tmp___9 ;
  char __attribute__((__visibility__("default")))  *tmp___10 ;
  int tmp___11 ;
  int tmp___12 ;
  char __attribute__((__visibility__("default")))  *tmp___13 ;

  {
  if (needle_len < length) {
    haystack_dup = (char *)((void *)0);
    needle_dup = (char *)((void *)0);
    if (needle_len == str_len) {
      tmp = _estrndup((char const   *)haystack, (unsigned int )length);
      new_str = (char *)tmp;
      *_new_length = length;
      if (case_sensitivity) {
        end = new_str + length;
        p = new_str;
        while (1) {
          r = zend_memnstr(p, needle, needle_len, end);
          if (r) {

          } else {
            break;
          }
          memcpy((void */* __restrict  */)r, (void const   */* __restrict  */)str, (unsigned int )str_len);
          if (replace_count) {
            (*replace_count) ++;
          } else {

          }
          p = r + needle_len;
        }
      } else {
        tmp___0 = _estrndup((char const   *)haystack, (unsigned int )length);
        haystack_dup = (char *)tmp___0;
        tmp___1 = _estrndup((char const   *)needle, (unsigned int )needle_len);
        needle_dup = (char *)tmp___1;
        php_strtolower(haystack_dup, (unsigned int )length);
        php_strtolower(needle_dup, (unsigned int )needle_len);
        end = haystack_dup + length;
        p = haystack_dup;
        while (1) {
          r = zend_memnstr(p, needle_dup, needle_len, end);
          if (r) {

          } else {
            break;
          }
          memcpy((void */* __restrict  */)(new_str + (r - haystack_dup)), (void const   */* __restrict  */)str, (unsigned int )str_len);
          if (replace_count) {
            (*replace_count) ++;
          } else {

          }
          p = r + needle_len;
        }
        _efree((void *)haystack_dup);
        _efree((void *)needle_dup);
      }
      return ((char __attribute__((__visibility__("default")))  *)new_str);
    } else {
      if (! case_sensitivity) {
        tmp___2 = _estrndup((char const   *)haystack, (unsigned int )length);
        haystack_dup = (char *)tmp___2;
        tmp___3 = _estrndup((char const   *)needle, (unsigned int )needle_len);
        needle_dup = (char *)tmp___3;
        php_strtolower(haystack_dup, (unsigned int )length);
        php_strtolower(needle_dup, (unsigned int )needle_len);
      } else {

      }
      if (str_len < needle_len) {
        tmp___4 = _emalloc((unsigned int )(length + 1));
        new_str = (char *)tmp___4;
      } else {
        count = 0;
        if (case_sensitivity) {
          o = haystack;
          n = needle;
        } else {
          o = haystack_dup;
          n = needle_dup;
        }
        endp = o + length;
        while (1) {
          o = zend_memnstr(o, n, needle_len, endp);
          if (o) {

          } else {
            break;
          }
          o += needle_len;
          count ++;
        }
        if (count == 0) {
          if (haystack_dup) {
            _efree((void *)haystack_dup);
          } else {

          }
          if (needle_dup) {
            _efree((void *)needle_dup);
          } else {

          }
          tmp___5 = _estrndup((char const   *)haystack, (unsigned int )length);
          new_str = (char *)tmp___5;
          if (_new_length) {
            *_new_length = length;
          } else {

          }
          return ((char __attribute__((__visibility__("default")))  *)new_str);
        } else {
          tmp___6 = _safe_emalloc((unsigned int )count, (unsigned int )(str_len - needle_len), (unsigned int )(length + 1));
          new_str = (char *)tmp___6;
        }
      }
      s = new_str;
      e = s;
      if (case_sensitivity) {
        end = haystack + length;
        p = haystack;
        while (1) {
          r = zend_memnstr(p, needle, needle_len, end);
          if (r) {

          } else {
            break;
          }
          memcpy((void */* __restrict  */)e, (void const   */* __restrict  */)p, (unsigned int )(r - p));
          e += r - p;
          memcpy((void */* __restrict  */)e, (void const   */* __restrict  */)str, (unsigned int )str_len);
          e += str_len;
          if (replace_count) {
            (*replace_count) ++;
          } else {

          }
          p = r + needle_len;
        }
        if ((unsigned int )p < (unsigned int )end) {
          memcpy((void */* __restrict  */)e, (void const   */* __restrict  */)p, (unsigned int )(end - p));
          e += end - p;
        } else {

        }
      } else {
        end = haystack_dup + length;
        p = haystack_dup;
        while (1) {
          r = zend_memnstr(p, needle_dup, needle_len, end);
          if (r) {

          } else {
            break;
          }
          memcpy((void */* __restrict  */)e, (void const   */* __restrict  */)(haystack + (p - haystack_dup)), (unsigned int )(r - p));
          e += r - p;
          memcpy((void */* __restrict  */)e, (void const   */* __restrict  */)str, (unsigned int )str_len);
          e += str_len;
          if (replace_count) {
            (*replace_count) ++;
          } else {

          }
          p = r + needle_len;
        }
        if ((unsigned int )p < (unsigned int )end) {
          memcpy((void */* __restrict  */)e, (void const   */* __restrict  */)(haystack + (p - haystack_dup)), (unsigned int )(end - p));
          e += end - p;
        } else {

        }
      }
      if (haystack_dup) {
        _efree((void *)haystack_dup);
      } else {

      }
      if (needle_dup) {
        _efree((void *)needle_dup);
      } else {

      }
      *e = (char )'\000';
      *_new_length = e - s;
      tmp___7 = _erealloc((void *)new_str, (unsigned int )(*_new_length + 1), 0);
      new_str = (char *)tmp___7;
      return ((char __attribute__((__visibility__("default")))  *)new_str);
    }
  } else {
    if (needle_len > length) {
      nothing_todo: 
      *_new_length = length;
      tmp___8 = _estrndup((char const   *)haystack, (unsigned int )length);
      new_str = (char *)tmp___8;
      return ((char __attribute__((__visibility__("default")))  *)new_str);
    } else {
      if (case_sensitivity) {
        tmp___12 = memcmp((void const   *)haystack, (void const   *)needle, (unsigned int )length);
        if (tmp___12) {
          goto nothing_todo;
        } else {
          goto _L;
        }
      } else {
        _L: /* CIL Label */ 
        if (! case_sensitivity) {
          tmp___9 = _estrndup((char const   *)haystack, (unsigned int )length);
          l_haystack = (char *)tmp___9;
          tmp___10 = _estrndup((char const   *)needle, (unsigned int )length);
          l_needle = (char *)tmp___10;
          php_strtolower(l_haystack, (unsigned int )length);
          php_strtolower(l_needle, (unsigned int )length);
          tmp___11 = memcmp((void const   *)l_haystack, (void const   *)l_needle, (unsigned int )length);
          if (tmp___11) {
            _efree((void *)l_haystack);
            _efree((void *)l_needle);
            goto nothing_todo;
          } else {

          }
          _efree((void *)l_haystack);
          _efree((void *)l_needle);
        } else {

        }
      }
      *_new_length = str_len;
      tmp___13 = _estrndup((char const   *)str, (unsigned int )str_len);
      new_str = (char *)tmp___13;
      if (replace_count) {
        (*replace_count) ++;
      } else {

      }
      return ((char __attribute__((__visibility__("default")))  *)new_str);
    }
  }
}
}
char __attribute__((__visibility__("default")))  *php_str_to_str(char *haystack , int length , char *needle , int needle_len , char *str , int str_len , int *_new_length ) 
{ char __attribute__((__visibility__("default")))  *tmp ;

  {
  tmp = php_str_to_str_ex(haystack, length, needle, needle_len, str, str_len, _new_length, 1, (int *)((void *)0));
  return (tmp);
}
}
static void php_str_replace_in_subject(zval *search , zval *replace , zval **subject , zval *result , int case_sensitivity , int *replace_count ) 
{ zval **search_entry ;
  zval **replace_entry ;
  zval temp_result ;
  char *replace_value ;
  int replace_len ;
  zval *new_zv ;
  void __attribute__((__visibility__("default")))  *tmp ;
  zend_uint tmp___0 ;
  zend_bool tmp___1 ;
  char const   *__s ;
  int __l ;
  zval *__z ;
  char __attribute__((__visibility__("default")))  *tmp___2 ;
  zval *new_zv___0 ;
  void __attribute__((__visibility__("default")))  *tmp___3 ;
  zend_uint tmp___4 ;
  zval *new_zv___1 ;
  void __attribute__((__visibility__("default")))  *tmp___5 ;
  zend_uint tmp___6 ;
  zend_bool tmp___7 ;
  int __attribute__((__visibility__("default")))  tmp___8 ;
  char __attribute__((__visibility__("default")))  *tmp___9 ;
  int __attribute__((__visibility__("default")))  tmp___10 ;
  char __attribute__((__visibility__("default")))  *tmp___11 ;

  {
  replace_entry = (zval **)((void *)0);
  replace_value = (char *)((void *)0);
  replace_len = 0;
  if ((int )(*subject)->type != 6) {
    tmp___1 = zval_isref_p(*subject);
    if (tmp___1) {

    } else {
      while (1) {
        tmp___0 = zval_refcount_p(*subject);
        if (tmp___0 > 1U) {
          zval_delref_p(*subject);
          while (1) {
            tmp = _emalloc(sizeof(zval_gc_info ));
            new_zv = (zval *)tmp;
            ((zval_gc_info *)new_zv)->u.buffered = (gc_root_buffer *)((void *)0);
            break;
          }
          while (1) {
            while (1) {
              new_zv->value = (*subject)->value;
              new_zv->type = (*subject)->type;
              break;
            }
            zval_set_refcount_p(new_zv, 1U);
            zval_unset_isref_p(new_zv);
            break;
          }
          *subject = new_zv;
          _zval_copy_ctor(new_zv);
        } else {

        }
        break;
      }
    }
    if ((int )(*subject)->type != 6) {
      _convert_to_string(*subject);
    } else {

    }
  } else {

  }
  result->type = (unsigned char)6;
  if ((*subject)->value.str.len == 0) {
    while (1) {
      __s = "";
      __l = 0;
      __z = result;
      __z->value.str.len = __l;
      tmp___2 = _estrndup(__s, (unsigned int )__l);
      __z->value.str.val = (char *)tmp___2;
      __z->type = (unsigned char)6;
      break;
    }
    return;
  } else {

  }
  if ((int )search->type == 4) {
    while (1) {
      while (1) {
        result->value = (*subject)->value;
        result->type = (*subject)->type;
        break;
      }
      zval_set_refcount_p(result, 1U);
      zval_unset_isref_p(result);
      break;
    }
    _zval_copy_ctor(result);
    zend_hash_internal_pointer_reset_ex(search->value.ht, (HashPosition *)((void *)0));
    if ((int )replace->type == 4) {
      zend_hash_internal_pointer_reset_ex(replace->value.ht, (HashPosition *)((void *)0));
    } else {
      replace_value = replace->value.str.val;
      replace_len = replace->value.str.len;
    }
    while (1) {
      tmp___10 = zend_hash_get_current_data_ex(search->value.ht, (void **)(& search_entry), (HashPosition *)((void *)0));
      if (tmp___10 == (int __attribute__((__visibility__("default")))  )0) {

      } else {
        break;
      }
      while (1) {
        tmp___4 = zval_refcount_p(*search_entry);
        if (tmp___4 > 1U) {
          zval_delref_p(*search_entry);
          while (1) {
            tmp___3 = _emalloc(sizeof(zval_gc_info ));
            new_zv___0 = (zval *)tmp___3;
            ((zval_gc_info *)new_zv___0)->u.buffered = (gc_root_buffer *)((void *)0);
            break;
          }
          while (1) {
            while (1) {
              new_zv___0->value = (*search_entry)->value;
              new_zv___0->type = (*search_entry)->type;
              break;
            }
            zval_set_refcount_p(new_zv___0, 1U);
            zval_unset_isref_p(new_zv___0);
            break;
          }
          *search_entry = new_zv___0;
          _zval_copy_ctor(new_zv___0);
        } else {

        }
        break;
      }
      if ((int )(*search_entry)->type != 6) {
        _convert_to_string(*search_entry);
      } else {

      }
      if ((*search_entry)->value.str.len == 0) {
        zend_hash_move_forward_ex(search->value.ht, (HashPosition *)((void *)0));
        if ((int )replace->type == 4) {
          zend_hash_move_forward_ex(replace->value.ht, (HashPosition *)((void *)0));
        } else {

        }
        continue;
      } else {

      }
      if ((int )replace->type == 4) {
        tmp___8 = zend_hash_get_current_data_ex(replace->value.ht, (void **)(& replace_entry), (HashPosition *)((void *)0));
        if (tmp___8 == (int __attribute__((__visibility__("default")))  )0) {
          if ((int )(*replace_entry)->type != 6) {
            tmp___7 = zval_isref_p(*replace_entry);
            if (tmp___7) {

            } else {
              while (1) {
                tmp___6 = zval_refcount_p(*replace_entry);
                if (tmp___6 > 1U) {
                  zval_delref_p(*replace_entry);
                  while (1) {
                    tmp___5 = _emalloc(sizeof(zval_gc_info ));
                    new_zv___1 = (zval *)tmp___5;
                    ((zval_gc_info *)new_zv___1)->u.buffered = (gc_root_buffer *)((void *)0);
                    break;
                  }
                  while (1) {
                    while (1) {
                      new_zv___1->value = (*replace_entry)->value;
                      new_zv___1->type = (*replace_entry)->type;
                      break;
                    }
                    zval_set_refcount_p(new_zv___1, 1U);
                    zval_unset_isref_p(new_zv___1);
                    break;
                  }
                  *replace_entry = new_zv___1;
                  _zval_copy_ctor(new_zv___1);
                } else {

                }
                break;
              }
            }
            if ((int )(*replace_entry)->type != 6) {
              _convert_to_string(*replace_entry);
            } else {

            }
          } else {

          }
          replace_value = (*replace_entry)->value.str.val;
          replace_len = (*replace_entry)->value.str.len;
          zend_hash_move_forward_ex(replace->value.ht, (HashPosition *)((void *)0));
        } else {
          replace_value = (char *)"";
          replace_len = 0;
        }
      } else {

      }
      if ((*search_entry)->value.str.len == 1) {
        php_char_to_str_ex(result->value.str.val, (unsigned int )result->value.str.len, *((*search_entry)->value.str.val + 0), replace_value, replace_len, & temp_result, case_sensitivity, replace_count);
      } else {
        if ((*search_entry)->value.str.len > 1) {
          tmp___9 = php_str_to_str_ex(result->value.str.val, result->value.str.len, (*search_entry)->value.str.val, (*search_entry)->value.str.len, replace_value, replace_len, & temp_result.value.str.len, case_sensitivity, replace_count);
          temp_result.value.str.val = (char *)tmp___9;
        } else {

        }
      }
      while (1) {
        if ((unsigned int )result->value.str.val >= (unsigned int )compiler_globals.interned_strings_start) {
          if ((unsigned int )result->value.str.val < (unsigned int )compiler_globals.interned_strings_end) {

          } else {
            _efree((void *)result->value.str.val);
          }
        } else {
          _efree((void *)result->value.str.val);
        }
        break;
      }
      result->value.str.val = temp_result.value.str.val;
      result->value.str.len = temp_result.value.str.len;
      if (result->value.str.len == 0) {
        return;
      } else {

      }
      zend_hash_move_forward_ex(search->value.ht, (HashPosition *)((void *)0));
    }
  } else {
    if (search->value.str.len == 1) {
      php_char_to_str_ex((*subject)->value.str.val, (unsigned int )(*subject)->value.str.len, *(search->value.str.val + 0), replace->value.str.val, replace->value.str.len, result, case_sensitivity, replace_count);
    } else {
      if (search->value.str.len > 1) {
        tmp___11 = php_str_to_str_ex((*subject)->value.str.val, (*subject)->value.str.len, search->value.str.val, search->value.str.len, replace->value.str.val, replace->value.str.len, & result->value.str.len, case_sensitivity, replace_count);
        result->value.str.val = (char *)tmp___11;
      } else {
        while (1) {
          while (1) {
            result->value = (*subject)->value;
            result->type = (*subject)->type;
            break;
          }
          zval_set_refcount_p(result, 1U);
          zval_unset_isref_p(result);
          break;
        }
        _zval_copy_ctor(result);
      }
    }
  }
  return;
}
}
static void php_str_replace_common(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used , int case_sensitivity ) 
{ zval **subject ;
  zval **search ;
  zval **replace ;
  zval **subject_entry ;
  zval **zcount ;
  zval *result ;
  char *string_key ;
  uint string_key_len ;
  ulong num_key ;
  int count ;
  int argc ;
  int __attribute__((__visibility__("default")))  tmp ;
  zval *new_zv ;
  void __attribute__((__visibility__("default")))  *tmp___0 ;
  zend_uint tmp___1 ;
  zval *new_zv___0 ;
  void __attribute__((__visibility__("default")))  *tmp___2 ;
  zend_uint tmp___3 ;
  zval *new_zv___1 ;
  void __attribute__((__visibility__("default")))  *tmp___4 ;
  zend_uint tmp___5 ;
  zval *new_zv___2 ;
  void __attribute__((__visibility__("default")))  *tmp___6 ;
  zend_uint tmp___7 ;
  zend_bool tmp___8 ;
  zval *new_zv___3 ;
  void __attribute__((__visibility__("default")))  *tmp___9 ;
  zend_uint tmp___10 ;
  zend_bool tmp___11 ;
  zval *new_zv___4 ;
  void __attribute__((__visibility__("default")))  *tmp___12 ;
  zend_uint tmp___13 ;
  zend_bool tmp___14 ;
  void __attribute__((__visibility__("default")))  *tmp___15 ;
  zval *new_zv___5 ;
  void __attribute__((__visibility__("default")))  *tmp___16 ;
  zend_uint tmp___17 ;
  int *tmp___18 ;
  void __attribute__((__visibility__("default")))  *tmp___19 ;
  zend_uint tmp___20 ;
  int __attribute__((__visibility__("default")))  tmp___21 ;
  int __attribute__((__visibility__("default")))  tmp___22 ;
  int *tmp___23 ;
  zval *__z ;

  {
  zcount = (zval **)((void *)0);
  count = 0;
  argc = ht;
  tmp = zend_parse_parameters(ht, "ZZZ|Z", & search, & replace, & subject, & zcount);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  while (1) {
    tmp___1 = zval_refcount_p(*search);
    if (tmp___1 > 1U) {
      zval_delref_p(*search);
      while (1) {
        tmp___0 = _emalloc(sizeof(zval_gc_info ));
        new_zv = (zval *)tmp___0;
        ((zval_gc_info *)new_zv)->u.buffered = (gc_root_buffer *)((void *)0);
        break;
      }
      while (1) {
        while (1) {
          new_zv->value = (*search)->value;
          new_zv->type = (*search)->type;
          break;
        }
        zval_set_refcount_p(new_zv, 1U);
        zval_unset_isref_p(new_zv);
        break;
      }
      *search = new_zv;
      _zval_copy_ctor(new_zv);
    } else {

    }
    break;
  }
  while (1) {
    tmp___3 = zval_refcount_p(*replace);
    if (tmp___3 > 1U) {
      zval_delref_p(*replace);
      while (1) {
        tmp___2 = _emalloc(sizeof(zval_gc_info ));
        new_zv___0 = (zval *)tmp___2;
        ((zval_gc_info *)new_zv___0)->u.buffered = (gc_root_buffer *)((void *)0);
        break;
      }
      while (1) {
        while (1) {
          new_zv___0->value = (*replace)->value;
          new_zv___0->type = (*replace)->type;
          break;
        }
        zval_set_refcount_p(new_zv___0, 1U);
        zval_unset_isref_p(new_zv___0);
        break;
      }
      *replace = new_zv___0;
      _zval_copy_ctor(new_zv___0);
    } else {

    }
    break;
  }
  while (1) {
    tmp___5 = zval_refcount_p(*subject);
    if (tmp___5 > 1U) {
      zval_delref_p(*subject);
      while (1) {
        tmp___4 = _emalloc(sizeof(zval_gc_info ));
        new_zv___1 = (zval *)tmp___4;
        ((zval_gc_info *)new_zv___1)->u.buffered = (gc_root_buffer *)((void *)0);
        break;
      }
      while (1) {
        while (1) {
          new_zv___1->value = (*subject)->value;
          new_zv___1->type = (*subject)->type;
          break;
        }
        zval_set_refcount_p(new_zv___1, 1U);
        zval_unset_isref_p(new_zv___1);
        break;
      }
      *subject = new_zv___1;
      _zval_copy_ctor(new_zv___1);
    } else {

    }
    break;
  }
  if ((int )(*search)->type != 4) {
    if ((int )(*search)->type != 6) {
      tmp___8 = zval_isref_p(*search);
      if (tmp___8) {

      } else {
        while (1) {
          tmp___7 = zval_refcount_p(*search);
          if (tmp___7 > 1U) {
            zval_delref_p(*search);
            while (1) {
              tmp___6 = _emalloc(sizeof(zval_gc_info ));
              new_zv___2 = (zval *)tmp___6;
              ((zval_gc_info *)new_zv___2)->u.buffered = (gc_root_buffer *)((void *)0);
              break;
            }
            while (1) {
              while (1) {
                new_zv___2->value = (*search)->value;
                new_zv___2->type = (*search)->type;
                break;
              }
              zval_set_refcount_p(new_zv___2, 1U);
              zval_unset_isref_p(new_zv___2);
              break;
            }
            *search = new_zv___2;
            _zval_copy_ctor(new_zv___2);
          } else {

          }
          break;
        }
      }
      if ((int )(*search)->type != 6) {
        _convert_to_string(*search);
      } else {

      }
    } else {

    }
    if ((int )(*replace)->type != 6) {
      tmp___11 = zval_isref_p(*replace);
      if (tmp___11) {

      } else {
        while (1) {
          tmp___10 = zval_refcount_p(*replace);
          if (tmp___10 > 1U) {
            zval_delref_p(*replace);
            while (1) {
              tmp___9 = _emalloc(sizeof(zval_gc_info ));
              new_zv___3 = (zval *)tmp___9;
              ((zval_gc_info *)new_zv___3)->u.buffered = (gc_root_buffer *)((void *)0);
              break;
            }
            while (1) {
              while (1) {
                new_zv___3->value = (*replace)->value;
                new_zv___3->type = (*replace)->type;
                break;
              }
              zval_set_refcount_p(new_zv___3, 1U);
              zval_unset_isref_p(new_zv___3);
              break;
            }
            *replace = new_zv___3;
            _zval_copy_ctor(new_zv___3);
          } else {

          }
          break;
        }
      }
      if ((int )(*replace)->type != 6) {
        _convert_to_string(*replace);
      } else {

      }
    } else {

    }
  } else {
    if ((int )(*replace)->type != 4) {
      if ((int )(*replace)->type != 6) {
        tmp___14 = zval_isref_p(*replace);
        if (tmp___14) {

        } else {
          while (1) {
            tmp___13 = zval_refcount_p(*replace);
            if (tmp___13 > 1U) {
              zval_delref_p(*replace);
              while (1) {
                tmp___12 = _emalloc(sizeof(zval_gc_info ));
                new_zv___4 = (zval *)tmp___12;
                ((zval_gc_info *)new_zv___4)->u.buffered = (gc_root_buffer *)((void *)0);
                break;
              }
              while (1) {
                while (1) {
                  new_zv___4->value = (*replace)->value;
                  new_zv___4->type = (*replace)->type;
                  break;
                }
                zval_set_refcount_p(new_zv___4, 1U);
                zval_unset_isref_p(new_zv___4);
                break;
              }
              *replace = new_zv___4;
              _zval_copy_ctor(new_zv___4);
            } else {

            }
            break;
          }
        }
        if ((int )(*replace)->type != 6) {
          _convert_to_string(*replace);
        } else {

        }
      } else {

      }
    } else {

    }
  }
  if ((int )(*subject)->type == 4) {
    _array_init(return_value, 0U);
    zend_hash_internal_pointer_reset_ex((*subject)->value.ht, (HashPosition *)((void *)0));
    while (1) {
      tmp___22 = zend_hash_get_current_data_ex((*subject)->value.ht, (void **)(& subject_entry), (HashPosition *)((void *)0));
      if (tmp___22 == (int __attribute__((__visibility__("default")))  )0) {

      } else {
        break;
      }
      if ((int )(*subject_entry)->type != 4) {
        if ((int )(*subject_entry)->type != 5) {
          while (1) {
            tmp___15 = _emalloc(sizeof(zval_gc_info ));
            result = (zval *)tmp___15;
            ((zval_gc_info *)result)->u.buffered = (gc_root_buffer *)((void *)0);
            break;
          }
          result->refcount__gc = 1U;
          result->is_ref__gc = (unsigned char)0;
          while (1) {
            tmp___17 = zval_refcount_p(*subject_entry);
            if (tmp___17 > 1U) {
              zval_delref_p(*subject_entry);
              while (1) {
                tmp___16 = _emalloc(sizeof(zval_gc_info ));
                new_zv___5 = (zval *)tmp___16;
                ((zval_gc_info *)new_zv___5)->u.buffered = (gc_root_buffer *)((void *)0);
                break;
              }
              while (1) {
                while (1) {
                  new_zv___5->value = (*subject_entry)->value;
                  new_zv___5->type = (*subject_entry)->type;
                  break;
                }
                zval_set_refcount_p(new_zv___5, 1U);
                zval_unset_isref_p(new_zv___5);
                break;
              }
              *subject_entry = new_zv___5;
              _zval_copy_ctor(new_zv___5);
            } else {

            }
            break;
          }
          if (argc > 3) {
            tmp___18 = & count;
          } else {
            tmp___18 = (int *)((void *)0);
          }
          php_str_replace_in_subject(*search, *replace, subject_entry, result, case_sensitivity, tmp___18);
        } else {
          goto _L;
        }
      } else {
        _L: /* CIL Label */ 
        while (1) {
          tmp___19 = _emalloc(sizeof(zval_gc_info ));
          result = (zval *)tmp___19;
          ((zval_gc_info *)result)->u.buffered = (gc_root_buffer *)((void *)0);
          break;
        }
        zval_addref_p(*subject_entry);
        *result = *(*subject_entry);
        tmp___20 = zval_refcount_p(*subject_entry);
        if (tmp___20 > 1U) {
          _zval_copy_ctor(result);
          zval_delref_p(*subject_entry);
        } else {
          while (1) {
            if ((gc_root_buffer *)((unsigned long )((zval_gc_info *)*subject_entry)->u.buffered & 4294967292UL)) {
              gc_remove_zval_from_buffer(*subject_entry);
            } else {

            }
            _efree((void *)*subject_entry);
            break;
          }
        }
        result->refcount__gc = 1U;
        result->is_ref__gc = (unsigned char)0;
      }
      tmp___21 = zend_hash_get_current_key_ex((HashTable const   *)(*subject)->value.ht, & string_key, & string_key_len, & num_key, (unsigned char)0, (HashPosition *)((void *)0));
      switch ((int )tmp___21) {
      case 1: 
      add_assoc_zval_ex(return_value, (char const   *)string_key, string_key_len, result);
      break;
      case 2: 
      add_index_zval(return_value, num_key, result);
      break;
      }
      zend_hash_move_forward_ex((*subject)->value.ht, (HashPosition *)((void *)0));
    }
  } else {
    if (argc > 3) {
      tmp___23 = & count;
    } else {
      tmp___23 = (int *)((void *)0);
    }
    php_str_replace_in_subject(*search, *replace, subject, return_value, case_sensitivity, tmp___23);
  }
  if (argc > 3) {
    _zval_dtor(*zcount);
    __z = *zcount;
    __z->value.lval = (long )count;
    __z->type = (unsigned char)1;
  } else {

  }
  return;
}
}
void zif_str_replace(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ 

  {
  php_str_replace_common(ht, return_value, return_value_ptr, this_ptr, return_value_used, 1);
  return;
}
}
void zif_str_ireplace(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ 

  {
  php_str_replace_common(ht, return_value, return_value_ptr, this_ptr, return_value_used, 0);
  return;
}
}
static void php_hebrev(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used , int convert_newlines ) 
{ char *str ;
  char *heb_str ;
  char *tmp ;
  char *target ;
  char *broken_str ;
  int block_start ;
  int block_end ;
  int block_type ;
  int block_length ;
  int i ;
  long max_chars ;
  int begin ;
  int end ;
  int char_count ;
  int orig_begin ;
  int str_len ;
  int __attribute__((__visibility__("default")))  tmp___0 ;
  zval *__z ;
  void __attribute__((__visibility__("default")))  *tmp___1 ;
  int tmp___2 ;
  int tmp___3 ;
  int tmp___4 ;
  unsigned short const   **tmp___5 ;
  int tmp___6 ;
  int tmp___7 ;
  unsigned short const   **tmp___8 ;
  void __attribute__((__visibility__("default")))  *tmp___9 ;
  int tmp___10 ;
  int tmp___11 ;
  int new_char_count ;
  int new_begin ;
  int tmp___12 ;
  int tmp___13 ;
  int tmp___14 ;
  int tmp___15 ;
  int tmp___16 ;

  {
  max_chars = 0L;
  tmp___0 = zend_parse_parameters(ht, "s|l", & str, & str_len, & max_chars);
  if (tmp___0 == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  if (str_len == 0) {
    while (1) {
      __z = return_value;
      __z->value.lval = 0L;
      __z->type = (unsigned char)3;
      break;
    }
    return;
  } else {

  }
  tmp = str;
  block_end = 0;
  block_start = block_end;
  tmp___1 = _emalloc((unsigned int )(str_len + 1));
  heb_str = (char *)tmp___1;
  target = heb_str + str_len;
  *target = (char)0;
  target --;
  block_length = 0;
  if ((int )((unsigned char )*tmp) >= 224) {
    if ((int )((unsigned char )*tmp) <= 250) {
      tmp___2 = 1;
    } else {
      tmp___2 = 0;
    }
  } else {
    tmp___2 = 0;
  }
  if (tmp___2) {
    block_type = 2;
  } else {
    block_type = 1;
  }
  while (1) {
    if (block_type == 2) {
      while (1) {
        if ((int )((unsigned char )((int )*(tmp + 1))) >= 224) {
          if ((int )((unsigned char )((int )*(tmp + 1))) <= 250) {
            tmp___3 = 1;
          } else {
            tmp___3 = 0;
          }
        } else {
          tmp___3 = 0;
        }
        if (tmp___3) {
          goto _L;
        } else {
          if ((int )((unsigned char )((int )*(tmp + 1))) == 32) {
            tmp___4 = 1;
          } else {
            if ((int )((unsigned char )((int )*(tmp + 1))) == 9) {
              tmp___4 = 1;
            } else {
              tmp___4 = 0;
            }
          }
          if (tmp___4) {
            goto _L;
          } else {
            tmp___5 = __ctype_b_loc();
            if ((int const   )*(*tmp___5 + (int )*(tmp + 1)) & 4) {
              goto _L;
            } else {
              if ((int )*(tmp + 1) == 10) {
                _L: /* CIL Label */ 
                if (block_end < str_len - 1) {

                } else {
                  break;
                }
              } else {
                break;
              }
            }
          }
        }
        tmp ++;
        block_end ++;
        block_length ++;
      }
      i = block_start;
      while (i <= block_end) {
        *target = *(str + i);
        switch ((int )*target) {
        case 40: 
        *target = (char )')';
        break;
        case 41: 
        *target = (char )'(';
        break;
        case 91: 
        *target = (char )']';
        break;
        case 93: 
        *target = (char )'[';
        break;
        case 123: 
        *target = (char )'}';
        break;
        case 125: 
        *target = (char )'{';
        break;
        case 60: 
        *target = (char )'>';
        break;
        case 62: 
        *target = (char )'<';
        break;
        case 92: 
        *target = (char )'/';
        break;
        case 47: 
        *target = (char )'\\';
        break;
        default: ;
        break;
        }
        target --;
        i ++;
      }
      block_type = 1;
    } else {
      while (1) {
        if ((int )((unsigned char )*(tmp + 1)) >= 224) {
          if ((int )((unsigned char )*(tmp + 1)) <= 250) {
            tmp___6 = 1;
          } else {
            tmp___6 = 0;
          }
        } else {
          tmp___6 = 0;
        }
        if (tmp___6) {
          break;
        } else {
          if ((int )*(tmp + 1) != 10) {
            if (block_end < str_len - 1) {

            } else {
              break;
            }
          } else {
            break;
          }
        }
        tmp ++;
        block_end ++;
        block_length ++;
      }
      while (1) {
        if ((int )((unsigned char )((int )*tmp)) == 32) {
          tmp___7 = 1;
        } else {
          if ((int )((unsigned char )((int )*tmp)) == 9) {
            tmp___7 = 1;
          } else {
            tmp___7 = 0;
          }
        }
        if (tmp___7) {
          goto _L___0;
        } else {
          tmp___8 = __ctype_b_loc();
          if ((int const   )*(*tmp___8 + (int )*tmp) & 4) {
            _L___0: /* CIL Label */ 
            if ((int )*tmp != 47) {
              if ((int )*tmp != 45) {
                if (block_end > block_start) {

                } else {
                  break;
                }
              } else {
                break;
              }
            } else {
              break;
            }
          } else {
            break;
          }
        }
        tmp --;
        block_end --;
      }
      i = block_end;
      while (i >= block_start) {
        *target = *(str + i);
        target --;
        i --;
      }
      block_type = 2;
    }
    block_start = block_end + 1;
    if (block_end < str_len - 1) {

    } else {
      break;
    }
  }
  tmp___9 = _emalloc((unsigned int )(str_len + 1));
  broken_str = (char *)tmp___9;
  end = str_len - 1;
  begin = end;
  target = broken_str;
  while (1) {
    char_count = 0;
    while (1) {
      if (! max_chars) {
        goto _L___2;
      } else {
        if ((long )char_count < max_chars) {
          _L___2: /* CIL Label */ 
          if (begin > 0) {

          } else {
            break;
          }
        } else {
          break;
        }
      }
      char_count ++;
      begin --;
      if (begin <= 0) {
        goto _L___1;
      } else {
        if ((int )((unsigned char )*(heb_str + begin)) == 10) {
          tmp___11 = 1;
        } else {
          if ((int )((unsigned char )*(heb_str + begin)) == 13) {
            tmp___11 = 1;
          } else {
            tmp___11 = 0;
          }
        }
        if (tmp___11) {
          _L___1: /* CIL Label */ 
          while (1) {
            if (begin > 0) {
              if ((int )((unsigned char )*(heb_str + (begin - 1))) == 10) {
                tmp___10 = 1;
              } else {
                if ((int )((unsigned char )*(heb_str + (begin - 1))) == 13) {
                  tmp___10 = 1;
                } else {
                  tmp___10 = 0;
                }
              }
              if (tmp___10) {

              } else {
                break;
              }
            } else {
              break;
            }
            begin --;
            char_count ++;
          }
          break;
        } else {

        }
      }
    }
    if ((long )char_count == max_chars) {
      new_char_count = char_count;
      new_begin = begin;
      while (new_char_count > 0) {
        if ((int )((unsigned char )*(heb_str + new_begin)) == 32) {
          tmp___12 = 1;
        } else {
          if ((int )((unsigned char )*(heb_str + new_begin)) == 9) {
            tmp___12 = 1;
          } else {
            tmp___12 = 0;
          }
        }
        if (tmp___12) {
          break;
        } else {
          if ((int )((unsigned char )*(heb_str + new_begin)) == 10) {
            tmp___13 = 1;
          } else {
            if ((int )((unsigned char )*(heb_str + new_begin)) == 13) {
              tmp___13 = 1;
            } else {
              tmp___13 = 0;
            }
          }
          if (tmp___13) {
            break;
          } else {

          }
        }
        new_begin ++;
        new_char_count --;
      }
      if (new_char_count > 0) {
        char_count = new_char_count;
        begin = new_begin;
      } else {

      }
    } else {

    }
    orig_begin = begin;
    if ((int )((unsigned char )*(heb_str + begin)) == 32) {
      tmp___14 = 1;
    } else {
      if ((int )((unsigned char )*(heb_str + begin)) == 9) {
        tmp___14 = 1;
      } else {
        tmp___14 = 0;
      }
    }
    if (tmp___14) {
      *(heb_str + begin) = (char )'\n';
    } else {

    }
    while (1) {
      if (begin <= end) {
        if ((int )((unsigned char )*(heb_str + begin)) == 10) {
          tmp___15 = 1;
        } else {
          if ((int )((unsigned char )*(heb_str + begin)) == 13) {
            tmp___15 = 1;
          } else {
            tmp___15 = 0;
          }
        }
        if (tmp___15) {

        } else {
          break;
        }
      } else {
        break;
      }
      begin ++;
    }
    i = begin;
    while (i <= end) {
      *target = *(heb_str + i);
      target ++;
      i ++;
    }
    i = orig_begin;
    while (1) {
      if (i <= end) {
        if ((int )((unsigned char )*(heb_str + i)) == 10) {
          tmp___16 = 1;
        } else {
          if ((int )((unsigned char )*(heb_str + i)) == 13) {
            tmp___16 = 1;
          } else {
            tmp___16 = 0;
          }
        }
        if (tmp___16) {

        } else {
          break;
        }
      } else {
        break;
      }
      *target = *(heb_str + i);
      target ++;
      i ++;
    }
    begin = orig_begin;
    if (begin <= 0) {
      *target = (char)0;
      break;
    } else {

    }
    begin --;
    end = begin;
  }
  _efree((void *)heb_str);
  if (convert_newlines) {
    php_char_to_str(broken_str, (unsigned int )str_len, (char )'\n', (char *)"<br />\n", 7, return_value);
    _efree((void *)broken_str);
  } else {
    return_value->value.str.val = broken_str;
    return_value->value.str.len = str_len;
    return_value->type = (unsigned char)6;
  }
  return;
}
}
void zif_hebrev(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ 

  {
  php_hebrev(ht, return_value, return_value_ptr, this_ptr, return_value_used, 0);
  return;
}
}
void zif_hebrevc(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ 

  {
  php_hebrev(ht, return_value, return_value_ptr, this_ptr, return_value_used, 1);
  return;
}
}
void zif_nl2br(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *tmp ;
  char *str ;
  int new_length ;
  char *end ;
  char *target ;
  int repl_cnt ;
  int str_len ;
  zend_bool is_xhtml ;
  int __attribute__((__visibility__("default")))  tmp___0 ;
  char const   *__s ;
  int __l ;
  zval *__z ;
  char __attribute__((__visibility__("default")))  *tmp___1 ;
  void __attribute__((__visibility__("default")))  *tmp___2 ;
  char *tmp___3 ;
  char *tmp___4 ;
  char *tmp___5 ;
  char *tmp___6 ;
  char *tmp___7 ;
  char *tmp___8 ;
  char *tmp___9 ;
  char *tmp___10 ;
  char *tmp___11 ;
  char const   *__s___0 ;
  int __l___0 ;
  zval *__z___0 ;
  char __attribute__((__visibility__("default")))  *tmp___12 ;

  {
  repl_cnt = 0;
  is_xhtml = (zend_bool )1;
  tmp___0 = zend_parse_parameters(ht, "s|b", & str, & str_len, & is_xhtml);
  if (tmp___0 == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  tmp = str;
  end = str + str_len;
  while ((unsigned int )tmp < (unsigned int )end) {
    if ((int )*tmp == 13) {
      if ((int )*(tmp + 1) == 10) {
        tmp ++;
      } else {

      }
      repl_cnt ++;
    } else {
      if ((int )*tmp == 10) {
        if ((int )*(tmp + 1) == 13) {
          tmp ++;
        } else {

        }
        repl_cnt ++;
      } else {

      }
    }
    tmp ++;
  }
  if (repl_cnt == 0) {
    while (1) {
      __s = (char const   *)str;
      __l = str_len;
      __z = return_value;
      __z->value.str.len = __l;
      tmp___1 = _estrndup(__s, (unsigned int )__l);
      __z->value.str.val = (char *)tmp___1;
      __z->type = (unsigned char)6;
      break;
    }
    return;
  } else {

  }
  if (is_xhtml) {
    new_length = (int )((unsigned int )str_len + (unsigned int )repl_cnt * (sizeof("<br />") - 1U));
  } else {
    new_length = (int )((unsigned int )str_len + (unsigned int )repl_cnt * (sizeof("<br>") - 1U));
  }
  tmp___2 = _emalloc((unsigned int )(new_length + 1));
  target = (char *)tmp___2;
  tmp = target;
  while ((unsigned int )str < (unsigned int )end) {
    switch ((int )*str) {
    case 13: 
    case 10: 
    tmp___3 = target;
    target ++;
    *tmp___3 = (char )'<';
    tmp___4 = target;
    target ++;
    *tmp___4 = (char )'b';
    tmp___5 = target;
    target ++;
    *tmp___5 = (char )'r';
    if (is_xhtml) {
      tmp___6 = target;
      target ++;
      *tmp___6 = (char )' ';
      tmp___7 = target;
      target ++;
      *tmp___7 = (char )'/';
    } else {

    }
    tmp___8 = target;
    target ++;
    *tmp___8 = (char )'>';
    if ((int )*str == 13) {
      if ((int )*(str + 1) == 10) {
        tmp___9 = target;
        target ++;
        tmp___10 = str;
        str ++;
        *tmp___9 = *tmp___10;
      } else {
        goto _L;
      }
    } else {
      _L: /* CIL Label */ 
      if ((int )*str == 10) {
        if ((int )*(str + 1) == 13) {
          tmp___9 = target;
          target ++;
          tmp___10 = str;
          str ++;
          *tmp___9 = *tmp___10;
        } else {

        }
      } else {

      }
    }
    default: 
    tmp___11 = target;
    target ++;
    *tmp___11 = *str;
    }
    str ++;
  }
  *target = (char )'\000';
  while (1) {
    __s___0 = (char const   *)tmp;
    __l___0 = new_length;
    __z___0 = return_value;
    __z___0->value.str.len = __l___0;
    __z___0->value.str.val = (char *)((char __attribute__((__visibility__("default")))  *)((char *)__s___0));
    __z___0->type = (unsigned char)6;
    break;
  }
  return;
}
}
void zif_strip_tags(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *buf ;
  char *str ;
  zval **allow ;
  char *allowed_tags ;
  int allowed_tags_len ;
  int str_len ;
  size_t retval_len ;
  int __attribute__((__visibility__("default")))  tmp ;
  zval *new_zv ;
  void __attribute__((__visibility__("default")))  *tmp___0 ;
  zend_uint tmp___1 ;
  zend_bool tmp___2 ;
  char __attribute__((__visibility__("default")))  *tmp___3 ;
  size_t __attribute__((__visibility__("default")))  tmp___4 ;
  char const   *__s ;
  int __l ;
  zval *__z ;
  char __attribute__((__visibility__("default")))  *tmp___5 ;

  {
  allow = (zval **)((void *)0);
  allowed_tags = (char *)((void *)0);
  allowed_tags_len = 0;
  tmp = zend_parse_parameters(ht, "s|Z", & str, & str_len, & allow);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  if ((unsigned int )allow != (unsigned int )((void *)0)) {
    if ((int )(*allow)->type != 6) {
      tmp___2 = zval_isref_p(*allow);
      if (tmp___2) {

      } else {
        while (1) {
          tmp___1 = zval_refcount_p(*allow);
          if (tmp___1 > 1U) {
            zval_delref_p(*allow);
            while (1) {
              tmp___0 = _emalloc(sizeof(zval_gc_info ));
              new_zv = (zval *)tmp___0;
              ((zval_gc_info *)new_zv)->u.buffered = (gc_root_buffer *)((void *)0);
              break;
            }
            while (1) {
              while (1) {
                new_zv->value = (*allow)->value;
                new_zv->type = (*allow)->type;
                break;
              }
              zval_set_refcount_p(new_zv, 1U);
              zval_unset_isref_p(new_zv);
              break;
            }
            *allow = new_zv;
            _zval_copy_ctor(new_zv);
          } else {

          }
          break;
        }
      }
      if ((int )(*allow)->type != 6) {
        _convert_to_string(*allow);
      } else {

      }
    } else {

    }
    allowed_tags = (*allow)->value.str.val;
    allowed_tags_len = (*allow)->value.str.len;
  } else {

  }
  tmp___3 = _estrndup((char const   *)str, (unsigned int )str_len);
  buf = (char *)tmp___3;
  tmp___4 = php_strip_tags_ex(buf, str_len, (int *)((void *)0), allowed_tags, allowed_tags_len, (unsigned char)0);
  retval_len = (unsigned int )tmp___4;
  while (1) {
    __s = (char const   *)buf;
    __l = (int )retval_len;
    __z = return_value;
    __z->value.str.len = __l;
    __z->value.str.val = (char *)((char __attribute__((__visibility__("default")))  *)((char *)__s));
    __z->type = (unsigned char)6;
    break;
  }
  return;
}
}
void zif_setlocale(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ zval ***args ;
  zval **pcategory ;
  zval **plocale ;
  int num_args ;
  int cat ;
  int i ;
  char *loc ;
  char *retval ;
  int __attribute__((__visibility__("default")))  tmp ;
  zval *new_zv ;
  void __attribute__((__visibility__("default")))  *tmp___0 ;
  zend_uint tmp___1 ;
  zend_bool tmp___2 ;
  char *category ;
  zval *new_zv___0 ;
  void __attribute__((__visibility__("default")))  *tmp___3 ;
  zend_uint tmp___4 ;
  zend_bool tmp___5 ;
  zval *__z ;
  int tmp___6 ;
  int tmp___7 ;
  int tmp___8 ;
  int tmp___9 ;
  int tmp___10 ;
  int tmp___11 ;
  int tmp___12 ;
  int __attribute__((__visibility__("default")))  tmp___13 ;
  zval *new_zv___1 ;
  void __attribute__((__visibility__("default")))  *tmp___14 ;
  zend_uint tmp___15 ;
  zend_bool tmp___16 ;
  size_t __s1_len ;
  size_t __s2_len ;
  int tmp___17 ;
  int tmp___18 ;
  int tmp___19 ;
  unsigned char const   *__s2 ;
  register int __result ;
  int tmp___20 ;
  unsigned char const   *__s1 ;
  register int __result___0 ;
  int tmp___21 ;
  int tmp___22 ;
  int tmp___23 ;
  char __attribute__((__visibility__("default")))  *tmp___24 ;
  char const   *__s ;
  zval *__z___0 ;
  size_t tmp___25 ;
  char __attribute__((__visibility__("default")))  *tmp___26 ;
  int __attribute__((__visibility__("default")))  tmp___27 ;
  zval *__z___1 ;

  {
  args = (zval ***)((void *)0);
  i = 0;
  tmp = zend_parse_parameters(ht, "Z+", & pcategory, & args, & num_args);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  if ((int )(*pcategory)->type == 1) {
    if ((int )(*pcategory)->type != 1) {
      tmp___2 = zval_isref_p(*pcategory);
      if (tmp___2) {

      } else {
        while (1) {
          tmp___1 = zval_refcount_p(*pcategory);
          if (tmp___1 > 1U) {
            zval_delref_p(*pcategory);
            while (1) {
              tmp___0 = _emalloc(sizeof(zval_gc_info ));
              new_zv = (zval *)tmp___0;
              ((zval_gc_info *)new_zv)->u.buffered = (gc_root_buffer *)((void *)0);
              break;
            }
            while (1) {
              while (1) {
                new_zv->value = (*pcategory)->value;
                new_zv->type = (*pcategory)->type;
                break;
              }
              zval_set_refcount_p(new_zv, 1U);
              zval_unset_isref_p(new_zv);
              break;
            }
            *pcategory = new_zv;
            _zval_copy_ctor(new_zv);
          } else {

          }
          break;
        }
      }
      convert_to_long(*pcategory);
    } else {

    }
    cat = (int )(*pcategory)->value.lval;
  } else {
    php_error_docref0((char const   *)((void *)0), 1 << 13L, "Passing locale category name as string is deprecated. Use the LC_* -constants instead");
    if ((int )(*pcategory)->type != 6) {
      tmp___5 = zval_isref_p(*pcategory);
      if (tmp___5) {

      } else {
        while (1) {
          tmp___4 = zval_refcount_p(*pcategory);
          if (tmp___4 > 1U) {
            zval_delref_p(*pcategory);
            while (1) {
              tmp___3 = _emalloc(sizeof(zval_gc_info ));
              new_zv___0 = (zval *)tmp___3;
              ((zval_gc_info *)new_zv___0)->u.buffered = (gc_root_buffer *)((void *)0);
              break;
            }
            while (1) {
              while (1) {
                new_zv___0->value = (*pcategory)->value;
                new_zv___0->type = (*pcategory)->type;
                break;
              }
              zval_set_refcount_p(new_zv___0, 1U);
              zval_unset_isref_p(new_zv___0);
              break;
            }
            *pcategory = new_zv___0;
            _zval_copy_ctor(new_zv___0);
          } else {

          }
          break;
        }
      }
      if ((int )(*pcategory)->type != 6) {
        _convert_to_string(*pcategory);
      } else {

      }
    } else {

    }
    category = (*pcategory)->value.str.val;
    tmp___12 = strcasecmp("LC_ALL", (char const   *)category);
    if (tmp___12) {
      tmp___11 = strcasecmp("LC_COLLATE", (char const   *)category);
      if (tmp___11) {
        tmp___10 = strcasecmp("LC_CTYPE", (char const   *)category);
        if (tmp___10) {
          tmp___9 = strcasecmp("LC_MESSAGES", (char const   *)category);
          if (tmp___9) {
            tmp___8 = strcasecmp("LC_MONETARY", (char const   *)category);
            if (tmp___8) {
              tmp___7 = strcasecmp("LC_NUMERIC", (char const   *)category);
              if (tmp___7) {
                tmp___6 = strcasecmp("LC_TIME", (char const   *)category);
                if (tmp___6) {
                  php_error_docref0((char const   *)((void *)0), 1 << 1L, "Invalid locale category name %s, must be one of LC_ALL, LC_COLLATE, LC_CTYPE, LC_MONETARY, LC_NUMERIC, or LC_TIME", category);
                  if (args) {
                    _efree((void *)args);
                  } else {

                  }
                  while (1) {
                    __z = return_value;
                    __z->value.lval = 0L;
                    __z->type = (unsigned char)3;
                    break;
                  }
                  return;
                } else {
                  cat = 2;
                }
              } else {
                cat = 1;
              }
            } else {
              cat = 4;
            }
          } else {
            cat = 5;
          }
        } else {
          cat = 0;
        }
      } else {
        cat = 3;
      }
    } else {
      cat = 6;
    }
  }
  if ((int )(*(*(args + 0)))->type == 4) {
    zend_hash_internal_pointer_reset_ex((*(*(args + 0)))->value.ht, (HashPosition *)((void *)0));
  } else {

  }
  while (1) {
    if ((int )(*(*(args + 0)))->type == 4) {
      tmp___13 = zend_hash_num_elements((HashTable const   *)(*(*(args + 0)))->value.ht);
      if (tmp___13) {

      } else {
        break;
      }
      zend_hash_get_current_data_ex((*(*(args + 0)))->value.ht, (void **)(& plocale), (HashPosition *)((void *)0));
    } else {
      plocale = *(args + i);
    }
    if ((int )(*plocale)->type != 6) {
      tmp___16 = zval_isref_p(*plocale);
      if (tmp___16) {

      } else {
        while (1) {
          tmp___15 = zval_refcount_p(*plocale);
          if (tmp___15 > 1U) {
            zval_delref_p(*plocale);
            while (1) {
              tmp___14 = _emalloc(sizeof(zval_gc_info ));
              new_zv___1 = (zval *)tmp___14;
              ((zval_gc_info *)new_zv___1)->u.buffered = (gc_root_buffer *)((void *)0);
              break;
            }
            while (1) {
              while (1) {
                new_zv___1->value = (*plocale)->value;
                new_zv___1->type = (*plocale)->type;
                break;
              }
              zval_set_refcount_p(new_zv___1, 1U);
              zval_unset_isref_p(new_zv___1);
              break;
            }
            *plocale = new_zv___1;
            _zval_copy_ctor(new_zv___1);
          } else {

          }
          break;
        }
      }
      if ((int )(*plocale)->type != 6) {
        _convert_to_string(*plocale);
      } else {

      }
    } else {

    }
    if (0) {
      __s1_len = strlen("0");
      __s2_len = strlen((char const   *)(*plocale)->value.str.val);
      if (! ((unsigned int )((void const   *)("0" + 1)) - (unsigned int )((void const   *)"0") == 1U)) {
        goto _L___0;
      } else {
        if (__s1_len >= 4U) {
          _L___0: /* CIL Label */ 
          if (! ((unsigned int )((void const   *)((*plocale)->value.str.val + 1)) - (unsigned int )((void const   *)(*plocale)->value.str.val) == 1U)) {
            tmp___23 = 1;
          } else {
            if (__s2_len >= 4U) {
              tmp___23 = 1;
            } else {
              tmp___23 = 0;
            }
          }
        } else {
          tmp___23 = 0;
        }
      }
      if (tmp___23) {
        tmp___18 = __builtin_strcmp("0", (char const   *)(*plocale)->value.str.val);
        tmp___22 = tmp___18;
      } else {
        tmp___21 = __builtin_strcmp("0", (char const   *)(*plocale)->value.str.val);
        tmp___22 = tmp___21;
      }
    } else {
      tmp___21 = __builtin_strcmp("0", (char const   *)(*plocale)->value.str.val);
      tmp___22 = tmp___21;
    }
    if (tmp___22) {
      loc = (*plocale)->value.str.val;
      if ((*plocale)->value.str.len >= 255) {
        php_error_docref0((char const   *)((void *)0), 1 << 1L, "Specified locale name is too long");
        break;
      } else {

      }
    } else {
      loc = (char *)((void *)0);
    }
    retval = setlocale(cat, (char const   *)loc);
    if (retval) {
      if (loc) {
        if (basic_globals.locale_string) {
          if ((unsigned int )basic_globals.locale_string >= (unsigned int )compiler_globals.interned_strings_start) {
            if ((unsigned int )basic_globals.locale_string < (unsigned int )compiler_globals.interned_strings_end) {

            } else {
              _efree((void *)basic_globals.locale_string);
            }
          } else {
            _efree((void *)basic_globals.locale_string);
          }
        } else {

        }
        tmp___24 = _estrdup((char const   *)retval);
        basic_globals.locale_string = (char *)tmp___24;
      } else {

      }
      if (args) {
        _efree((void *)args);
      } else {

      }
      while (1) {
        __s = (char const   *)retval;
        __z___0 = return_value;
        tmp___25 = strlen(__s);
        __z___0->value.str.len = (int )tmp___25;
        tmp___26 = _estrndup(__s, (unsigned int )__z___0->value.str.len);
        __z___0->value.str.val = (char *)tmp___26;
        __z___0->type = (unsigned char)6;
        break;
      }
      return;
    } else {

    }
    if ((int )(*(*(args + 0)))->type == 4) {
      tmp___27 = zend_hash_move_forward_ex((*(*(args + 0)))->value.ht, (HashPosition *)((void *)0));
      if (tmp___27 == (int __attribute__((__visibility__("default")))  )-1) {
        break;
      } else {

      }
    } else {
      i ++;
      if (i >= num_args) {
        break;
      } else {

      }
    }
  }
  if (args) {
    _efree((void *)args);
  } else {

  }
  while (1) {
    __z___1 = return_value;
    __z___1->value.lval = 0L;
    __z___1->type = (unsigned char)3;
    break;
  }
  return;
}
}
void zif_parse_str(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *arg ;
  zval *arrayArg ;
  char *res ;
  int arglen ;
  int __attribute__((__visibility__("default")))  tmp ;
  char __attribute__((__visibility__("default")))  *tmp___0 ;
  zval tmp___1 ;
  zval ret ;

  {
  arrayArg = (zval *)((void *)0);
  res = (char *)((void *)0);
  tmp = zend_parse_parameters(ht, "s|z", & arg, & arglen, & arrayArg);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  tmp___0 = _estrndup((char const   *)arg, (unsigned int )arglen);
  res = (char *)tmp___0;
  if ((unsigned int )arrayArg == (unsigned int )((void *)0)) {
    if (! executor_globals.active_symbol_table) {
      zend_rebuild_symbol_table();
    } else {

    }
    tmp___1.value.ht = executor_globals.active_symbol_table;
    (*(sapi_module.treat_data))(3, res, & tmp___1);
  } else {
    _array_init(& ret, 0U);
    (*(sapi_module.treat_data))(3, res, & ret);
    _zval_dtor(arrayArg);
    while (1) {
      arrayArg->value = ret.value;
      arrayArg->type = ret.type;
      break;
    }
  }
  return;
}
}
int php_tag_find(char *tag , int len , char *set ) 
{ char c ;
  char *n ;
  char *t ;
  int state ;
  int done ;
  char *norm ;
  void __attribute__((__visibility__("default")))  *tmp ;
  int __res ;
  int __c ;
  __int32_t const   **tmp___0 ;
  __int32_t const   **tmp___1 ;
  char *tmp___2 ;
  char *tmp___3 ;
  unsigned short const   **tmp___4 ;
  int __res___0 ;
  int __c___0 ;
  __int32_t const   **tmp___5 ;
  __int32_t const   **tmp___6 ;
  char *tmp___7 ;
  char *tmp___8 ;

  {
  state = 0;
  done = 0;
  if (len <= 0) {
    return (0);
  } else {

  }
  tmp = _emalloc((unsigned int )(len + 1));
  norm = (char *)tmp;
  n = norm;
  t = tag;
  if (sizeof(*t) > 1U) {
    __res = tolower((int )*t);
  } else {
    tmp___1 = __ctype_tolower_loc();
    __res = (int )*(*tmp___1 + (int )*t);
  }
  c = (char )__res;
  while (! done) {
    switch ((int )c) {
    case 60: 
    tmp___2 = n;
    n ++;
    *tmp___2 = c;
    break;
    case 62: 
    done = 1;
    break;
    default: 
    tmp___4 = __ctype_b_loc();
    if ((int const   )*(*tmp___4 + (int )c) & 8192) {
      if (state == 1) {
        done = 1;
      } else {

      }
    } else {
      if (state == 0) {
        state = 1;
      } else {

      }
      if ((int )c != 47) {
        tmp___3 = n;
        n ++;
        *tmp___3 = c;
      } else {

      }
    }
    break;
    }
    if (sizeof(*t) > 1U) {
      t ++;
      __res___0 = tolower((int )*t);
    } else {
      tmp___6 = __ctype_tolower_loc();
      t ++;
      __res___0 = (int )*(*tmp___6 + (int )*t);
    }
    c = (char )__res___0;
  }
  tmp___7 = n;
  n ++;
  *tmp___7 = (char )'>';
  *n = (char )'\000';
  tmp___8 = strstr((char const   *)set, (char const   *)norm);
  if (tmp___8) {
    done = 1;
  } else {
    done = 0;
  }
  _efree((void *)norm);
  return (done);
}
}
size_t __attribute__((__visibility__("default")))  php_strip_tags(char *rbuf , int len , int *stateptr , char *allow , int allow_len ) 
{ size_t __attribute__((__visibility__("default")))  tmp ;

  {
  tmp = php_strip_tags_ex(rbuf, len, stateptr, allow, allow_len, (unsigned char)0);
  return (tmp);
}
}
size_t __attribute__((__visibility__("default")))  php_strip_tags_ex(char *rbuf , int len , int *stateptr , char *allow , int allow_len , zend_bool allow_tag_spaces ) 
{ char *tbuf ;
  char *buf ;
  char *p ;
  char *tp ;
  char *rp ;
  char c ;
  char lc ;
  int br ;
  int i ;
  int depth ;
  int in_q ;
  int state ;
  int pos ;
  char *allow_free ;
  char __attribute__((__visibility__("default")))  *tmp ;
  char __attribute__((__visibility__("default")))  *tmp___0 ;
  void __attribute__((__visibility__("default")))  *tmp___1 ;
  unsigned short const   **tmp___2 ;
  void __attribute__((__visibility__("default")))  *tmp___3 ;
  char *tmp___4 ;
  void __attribute__((__visibility__("default")))  *tmp___5 ;
  char *tmp___6 ;
  char *tmp___7 ;
  void __attribute__((__visibility__("default")))  *tmp___8 ;
  char *tmp___9 ;
  char *tmp___10 ;
  void __attribute__((__visibility__("default")))  *tmp___11 ;
  char *tmp___12 ;
  int tmp___13 ;
  char *tmp___14 ;
  char *tmp___15 ;
  void __attribute__((__visibility__("default")))  *tmp___16 ;
  char *tmp___17 ;
  char *tmp___18 ;
  void __attribute__((__visibility__("default")))  *tmp___19 ;
  char *tmp___20 ;
  int __res ;
  int __c ;
  __int32_t const   **tmp___21 ;
  __int32_t const   **tmp___22 ;
  int __res___0 ;
  int __c___0 ;
  __int32_t const   **tmp___23 ;
  __int32_t const   **tmp___24 ;
  int __res___1 ;
  int __c___1 ;
  __int32_t const   **tmp___25 ;
  __int32_t const   **tmp___26 ;
  int __res___2 ;
  int __c___2 ;
  __int32_t const   **tmp___27 ;
  __int32_t const   **tmp___28 ;
  int __res___3 ;
  int __c___3 ;
  __int32_t const   **tmp___29 ;
  __int32_t const   **tmp___30 ;
  int __res___4 ;
  int __c___4 ;
  __int32_t const   **tmp___31 ;
  __int32_t const   **tmp___32 ;
  int tmp___33 ;
  char *tmp___34 ;
  void __attribute__((__visibility__("default")))  *tmp___35 ;
  char *tmp___36 ;

  {
  i = 0;
  depth = 0;
  in_q = 0;
  state = 0;
  if (stateptr) {
    state = *stateptr;
  } else {

  }
  tmp = _estrndup((char const   *)rbuf, (unsigned int )len);
  buf = (char *)tmp;
  c = *buf;
  lc = (char )'\000';
  p = buf;
  rp = rbuf;
  br = 0;
  if (allow) {
    if ((unsigned int )allow >= (unsigned int )compiler_globals.interned_strings_start) {
      if ((unsigned int )allow < (unsigned int )compiler_globals.interned_strings_end) {
        tmp___0 = zend_str_tolower_dup((char const   *)allow, (unsigned int )allow_len);
        allow = (char *)tmp___0;
        allow_free = allow;
      } else {
        allow_free = (char *)((void *)0);
        php_strtolower(allow, (unsigned int )allow_len);
      }
    } else {
      allow_free = (char *)((void *)0);
      php_strtolower(allow, (unsigned int )allow_len);
    }
    tmp___1 = _emalloc(1024U);
    tbuf = (char *)tmp___1;
    tp = tbuf;
  } else {
    tp = (char *)((void *)0);
    tbuf = tp;
  }
  while (i < len) {
    switch ((int )c) {
    case 0: 
    break;
    case 60: 
    if (in_q) {
      break;
    } else {

    }
    tmp___2 = __ctype_b_loc();
    if ((int const   )*(*tmp___2 + (int )*(p + 1)) & 8192) {
      if (! allow_tag_spaces) {
        goto reg_char;
      } else {

      }
    } else {

    }
    if (state == 0) {
      lc = (char )'<';
      state = 1;
      if (allow) {
        if (tp - tbuf >= 1023) {
          pos = tp - tbuf;
          tmp___3 = _erealloc((void *)tbuf, (unsigned int )(((tp - tbuf) + 1023) + 1), 0);
          tbuf = (char *)tmp___3;
          tp = tbuf + pos;
        } else {

        }
        tmp___4 = tp;
        tp ++;
        *tmp___4 = (char )'<';
      } else {

      }
    } else {
      if (state == 1) {
        depth ++;
      } else {

      }
    }
    break;
    case 40: 
    if (state == 2) {
      if ((int )lc != 34) {
        if ((int )lc != 39) {
          lc = (char )'(';
          br ++;
        } else {

        }
      } else {

      }
    } else {
      if (allow) {
        if (state == 1) {
          if (tp - tbuf >= 1023) {
            pos = tp - tbuf;
            tmp___5 = _erealloc((void *)tbuf, (unsigned int )(((tp - tbuf) + 1023) + 1), 0);
            tbuf = (char *)tmp___5;
            tp = tbuf + pos;
          } else {

          }
          tmp___6 = tp;
          tp ++;
          *tmp___6 = c;
        } else {
          goto _L;
        }
      } else {
        _L: /* CIL Label */ 
        if (state == 0) {
          tmp___7 = rp;
          rp ++;
          *tmp___7 = c;
        } else {

        }
      }
    }
    break;
    case 41: 
    if (state == 2) {
      if ((int )lc != 34) {
        if ((int )lc != 39) {
          lc = (char )')';
          br --;
        } else {

        }
      } else {

      }
    } else {
      if (allow) {
        if (state == 1) {
          if (tp - tbuf >= 1023) {
            pos = tp - tbuf;
            tmp___8 = _erealloc((void *)tbuf, (unsigned int )(((tp - tbuf) + 1023) + 1), 0);
            tbuf = (char *)tmp___8;
            tp = tbuf + pos;
          } else {

          }
          tmp___9 = tp;
          tp ++;
          *tmp___9 = c;
        } else {
          goto _L___0;
        }
      } else {
        _L___0: /* CIL Label */ 
        if (state == 0) {
          tmp___10 = rp;
          rp ++;
          *tmp___10 = c;
        } else {

        }
      }
    }
    break;
    case 62: 
    if (depth) {
      depth --;
      break;
    } else {

    }
    if (in_q) {
      break;
    } else {

    }
    switch (state) {
    case 1: 
    lc = (char )'>';
    state = 0;
    in_q = state;
    if (allow) {
      if (tp - tbuf >= 1023) {
        pos = tp - tbuf;
        tmp___11 = _erealloc((void *)tbuf, (unsigned int )(((tp - tbuf) + 1023) + 1), 0);
        tbuf = (char *)tmp___11;
        tp = tbuf + pos;
      } else {

      }
      tmp___12 = tp;
      tp ++;
      *tmp___12 = (char )'>';
      *tp = (char )'\000';
      tmp___13 = php_tag_find(tbuf, tp - tbuf, allow);
      if (tmp___13) {
        memcpy((void */* __restrict  */)rp, (void const   */* __restrict  */)tbuf, (unsigned int )(tp - tbuf));
        rp += tp - tbuf;
      } else {

      }
      tp = tbuf;
    } else {

    }
    break;
    case 2: 
    if (! br) {
      if ((int )lc != 34) {
        if ((int )*(p - 1) == 63) {
          state = 0;
          in_q = state;
          tp = tbuf;
        } else {

        }
      } else {

      }
    } else {

    }
    break;
    case 3: 
    state = 0;
    in_q = state;
    tp = tbuf;
    break;
    case 4: 
    if ((unsigned int )p >= (unsigned int )(buf + 2)) {
      if ((int )*(p - 1) == 45) {
        if ((int )*(p - 2) == 45) {
          state = 0;
          in_q = state;
          tp = tbuf;
        } else {

        }
      } else {

      }
    } else {

    }
    break;
    default: 
    tmp___14 = rp;
    rp ++;
    *tmp___14 = c;
    break;
    }
    break;
    case 34: 
    case 39: 
    if (state == 4) {
      break;
    } else {
      if (state == 2) {
        if ((int )*(p - 1) != 92) {
          if ((int )lc == (int )c) {
            lc = (char )'\000';
          } else {
            if ((int )lc != 92) {
              lc = c;
            } else {

            }
          }
        } else {
          goto _L___1;
        }
      } else {
        _L___1: /* CIL Label */ 
        if (state == 0) {
          tmp___15 = rp;
          rp ++;
          *tmp___15 = c;
        } else {
          if (allow) {
            if (state == 1) {
              if (tp - tbuf >= 1023) {
                pos = tp - tbuf;
                tmp___16 = _erealloc((void *)tbuf, (unsigned int )(((tp - tbuf) + 1023) + 1), 0);
                tbuf = (char *)tmp___16;
                tp = tbuf + pos;
              } else {

              }
              tmp___17 = tp;
              tp ++;
              *tmp___17 = c;
            } else {

            }
          } else {

          }
        }
      }
    }
    if (state) {
      if ((unsigned int )p != (unsigned int )buf) {
        if (state == 1) {
          goto _L___3;
        } else {
          if ((int )*(p - 1) != 92) {
            _L___3: /* CIL Label */ 
            if (! in_q) {
              goto _L___2;
            } else {
              if ((int )*p == in_q) {
                _L___2: /* CIL Label */ 
                if (in_q) {
                  in_q = 0;
                } else {
                  in_q = (int )*p;
                }
              } else {

              }
            }
          } else {

          }
        }
      } else {

      }
    } else {

    }
    break;
    case 33: 
    if (state == 1) {
      if ((int )*(p - 1) == 60) {
        state = 3;
        lc = c;
      } else {
        goto _L___4;
      }
    } else {
      _L___4: /* CIL Label */ 
      if (state == 0) {
        tmp___18 = rp;
        rp ++;
        *tmp___18 = c;
      } else {
        if (allow) {
          if (state == 1) {
            if (tp - tbuf >= 1023) {
              pos = tp - tbuf;
              tmp___19 = _erealloc((void *)tbuf, (unsigned int )(((tp - tbuf) + 1023) + 1), 0);
              tbuf = (char *)tmp___19;
              tp = tbuf + pos;
            } else {

            }
            tmp___20 = tp;
            tp ++;
            *tmp___20 = c;
          } else {

          }
        } else {

        }
      }
    }
    break;
    case 45: 
    if (state == 3) {
      if ((unsigned int )p >= (unsigned int )(buf + 2)) {
        if ((int )*(p - 1) == 45) {
          if ((int )*(p - 2) == 33) {
            state = 4;
          } else {
            goto reg_char;
          }
        } else {
          goto reg_char;
        }
      } else {
        goto reg_char;
      }
    } else {
      goto reg_char;
    }
    break;
    case 63: 
    if (state == 1) {
      if ((int )*(p - 1) == 60) {
        br = 0;
        state = 2;
        break;
      } else {

      }
    } else {

    }
    case 69: 
    case 101: 
    if (state == 3) {
      if ((unsigned int )p > (unsigned int )(buf + 6)) {
        if (sizeof(*(p - 1)) > 1U) {
          __res = tolower((int )*(p - 1));
        } else {
          tmp___22 = __ctype_tolower_loc();
          __res = (int )*(*tmp___22 + (int )*(p - 1));
        }
        if (__res == 112) {
          if (sizeof(*(p - 2)) > 1U) {
            __res___0 = tolower((int )*(p - 2));
          } else {
            tmp___24 = __ctype_tolower_loc();
            __res___0 = (int )*(*tmp___24 + (int )*(p - 2));
          }
          if (__res___0 == 121) {
            if (sizeof(*(p - 3)) > 1U) {
              __res___1 = tolower((int )*(p - 3));
            } else {
              tmp___26 = __ctype_tolower_loc();
              __res___1 = (int )*(*tmp___26 + (int )*(p - 3));
            }
            if (__res___1 == 116) {
              if (sizeof(*(p - 4)) > 1U) {
                __res___2 = tolower((int )*(p - 4));
              } else {
                tmp___28 = __ctype_tolower_loc();
                __res___2 = (int )*(*tmp___28 + (int )*(p - 4));
              }
              if (__res___2 == 99) {
                if (sizeof(*(p - 5)) > 1U) {
                  __res___3 = tolower((int )*(p - 5));
                } else {
                  tmp___30 = __ctype_tolower_loc();
                  __res___3 = (int )*(*tmp___30 + (int )*(p - 5));
                }
                if (__res___3 == 111) {
                  if (sizeof(*(p - 6)) > 1U) {
                    __res___4 = tolower((int )*(p - 6));
                  } else {
                    tmp___32 = __ctype_tolower_loc();
                    __res___4 = (int )*(*tmp___32 + (int )*(p - 6));
                  }
                  if (__res___4 == 100) {
                    state = 1;
                    break;
                  } else {

                  }
                } else {

                }
              } else {

              }
            } else {

            }
          } else {

          }
        } else {

        }
      } else {

      }
    } else {

    }
    case 108: 
    case 76: 
    if (state == 2) {
      if ((unsigned int )p > (unsigned int )(buf + 2)) {
        tmp___33 = strncasecmp((char const   *)(p - 2), "xm", 2U);
        if (tmp___33 == 0) {
          state = 1;
          break;
        } else {

        }
      } else {

      }
    } else {

    }
    default: ;
    reg_char: 
    if (state == 0) {
      tmp___34 = rp;
      rp ++;
      *tmp___34 = c;
    } else {
      if (allow) {
        if (state == 1) {
          if (tp - tbuf >= 1023) {
            pos = tp - tbuf;
            tmp___35 = _erealloc((void *)tbuf, (unsigned int )(((tp - tbuf) + 1023) + 1), 0);
            tbuf = (char *)tmp___35;
            tp = tbuf + pos;
          } else {

          }
          tmp___36 = tp;
          tp ++;
          *tmp___36 = c;
        } else {

        }
      } else {

      }
    }
    break;
    }
    p ++;
    c = *p;
    i ++;
  }
  if ((unsigned int )rp < (unsigned int )(rbuf + len)) {
    *rp = (char )'\000';
  } else {

  }
  _efree((void *)buf);
  if (allow) {
    _efree((void *)tbuf);
    if (allow_free) {
      _efree((void *)allow_free);
    } else {

    }
  } else {

  }
  if (stateptr) {
    *stateptr = state;
  } else {

  }
  return ((unsigned int __attribute__((__visibility__("default")))  )((unsigned int )(rp - rbuf)));
}
}
void zif_str_getcsv(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *str ;
  char delim ;
  char enc ;
  char esc ;
  char *delim_str ;
  char *enc_str ;
  char *esc_str ;
  int str_len ;
  int delim_len ;
  int enc_len ;
  int esc_len ;
  int __attribute__((__visibility__("default")))  tmp ;

  {
  delim = (char )',';
  enc = (char )'\"';
  esc = (char )'\\';
  delim_str = (char *)((void *)0);
  enc_str = (char *)((void *)0);
  esc_str = (char *)((void *)0);
  str_len = 0;
  delim_len = 0;
  enc_len = 0;
  esc_len = 0;
  tmp = zend_parse_parameters(ht, "s|sss", & str, & str_len, & delim_str, & delim_len, & enc_str, & enc_len, & esc_str, & esc_len);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  if (delim_len) {
    delim = *(delim_str + 0);
  } else {
    delim = delim;
  }
  if (enc_len) {
    enc = *(enc_str + 0);
  } else {
    enc = enc;
  }
  if (esc_len) {
    esc = *(esc_str + 0);
  } else {
    esc = esc;
  }
  php_fgetcsv((php_stream *)((void *)0), delim, enc, esc, (unsigned int )str_len, str, return_value);
  return;
}
}
void zif_str_repeat(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *input_str ;
  int input_len ;
  long mult ;
  char *result ;
  size_t result_len ;
  int __attribute__((__visibility__("default")))  tmp ;
  zval *__z ;
  char __attribute__((__visibility__("default")))  *tmp___0 ;
  void __attribute__((__visibility__("default")))  *tmp___1 ;
  char *s ;
  char *e ;
  char *ee ;
  int l ;
  char const   *__s ;
  int __l ;
  zval *__z___0 ;
  char __attribute__((__visibility__("default")))  *tmp___2 ;

  {
  tmp = zend_parse_parameters(ht, "sl", & input_str, & input_len, & mult);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  if (mult < 0L) {
    php_error_docref0((char const   *)((void *)0), 1 << 1L, "Second argument has to be greater than or equal to 0");
    return;
  } else {

  }
  if (input_len == 0) {
    goto _L;
  } else {
    if (mult == 0L) {
      _L: /* CIL Label */ 
      while (1) {
        __z = return_value;
        __z->value.str.len = 0;
        tmp___0 = _estrndup("", sizeof("") - 1U);
        __z->value.str.val = (char *)tmp___0;
        __z->type = (unsigned char)6;
        break;
      }
      return;
    } else {

    }
  }
  result_len = (unsigned int )((long )input_len * mult);
  tmp___1 = _safe_emalloc((unsigned int )input_len, (unsigned int )mult, 1U);
  result = (char *)tmp___1;
  if (input_len == 1) {
    memset((void *)result, (int )*input_str, (unsigned int )mult);
  } else {
    l = 0;
    memcpy((void */* __restrict  */)result, (void const   */* __restrict  */)input_str, (unsigned int )input_len);
    s = result;
    e = result + input_len;
    ee = result + result_len;
    while ((unsigned int )e < (unsigned int )ee) {
      if (e - s < ee - e) {
        l = e - s;
      } else {
        l = ee - e;
      }
      memmove((void *)e, (void const   *)s, (unsigned int )l);
      e += l;
    }
  }
  *(result + result_len) = (char )'\000';
  while (1) {
    __s = (char const   *)result;
    __l = (int )result_len;
    __z___0 = return_value;
    __z___0->value.str.len = __l;
    __z___0->value.str.val = (char *)((char __attribute__((__visibility__("default")))  *)((char *)__s));
    __z___0->type = (unsigned char)6;
    break;
  }
  return;
}
}
void zif_count_chars(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *input ;
  int chars[256] ;
  long mymode ;
  unsigned char *buf ;
  int len ;
  int inx ;
  char retstr[256] ;
  int retlen ;
  int __attribute__((__visibility__("default")))  tmp ;
  zval *__z ;
  int tmp___0 ;
  int tmp___1 ;
  char const   *__s ;
  int __l ;
  zval *__z___0 ;
  char __attribute__((__visibility__("default")))  *tmp___2 ;

  {
  mymode = 0L;
  retlen = 0;
  tmp = zend_parse_parameters(ht, "s|l", & input, & len, & mymode);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  if (mymode < 0L) {
    goto _L;
  } else {
    if (mymode > 4L) {
      _L: /* CIL Label */ 
      php_error_docref0((char const   *)((void *)0), 1 << 1L, "Unknown mode");
      while (1) {
        __z = return_value;
        __z->value.lval = 0L;
        __z->type = (unsigned char)3;
        break;
      }
      return;
    } else {

    }
  }
  buf = (unsigned char *)input;
  memset((void *)(chars), 0, sizeof(chars));
  while (len > 0) {
    (chars[*buf]) ++;
    buf ++;
    len --;
  }
  if (mymode < 3L) {
    _array_init(return_value, 0U);
  } else {

  }
  inx = 0;
  while (inx < 256) {
    switch ((int )mymode) {
    case 0: 
    add_index_long(return_value, (unsigned long )inx, (long )chars[inx]);
    break;
    case 1: 
    if (chars[inx] != 0) {
      add_index_long(return_value, (unsigned long )inx, (long )chars[inx]);
    } else {

    }
    break;
    case 2: 
    if (chars[inx] == 0) {
      add_index_long(return_value, (unsigned long )inx, (long )chars[inx]);
    } else {

    }
    break;
    case 3: 
    if (chars[inx] != 0) {
      tmp___0 = retlen;
      retlen ++;
      retstr[tmp___0] = (char )inx;
    } else {

    }
    break;
    case 4: 
    if (chars[inx] == 0) {
      tmp___1 = retlen;
      retlen ++;
      retstr[tmp___1] = (char )inx;
    } else {

    }
    break;
    }
    inx ++;
  }
  if (mymode >= 3L) {
    if (mymode <= 4L) {
      while (1) {
        __s = (char const   *)(retstr);
        __l = retlen;
        __z___0 = return_value;
        __z___0->value.str.len = __l;
        tmp___2 = _estrndup(__s, (unsigned int )__l);
        __z___0->value.str.val = (char *)tmp___2;
        __z___0->type = (unsigned char)6;
        break;
      }
      return;
    } else {

    }
  } else {

  }
  return;
}
}
static void php_strnatcmp(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used , int fold_case ) 
{ char *s1 ;
  char *s2 ;
  int s1_len ;
  int s2_len ;
  int __attribute__((__visibility__("default")))  tmp ;
  zval *__z ;
  int __attribute__((__visibility__("default")))  tmp___0 ;

  {
  tmp = zend_parse_parameters(ht, "ss", & s1, & s1_len, & s2, & s2_len);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  __z = return_value;
  tmp___0 = strnatcmp_ex((char const   *)s1, (unsigned int )s1_len, (char const   *)s2, (unsigned int )s2_len, fold_case);
  __z->value.lval = (long )tmp___0;
  __z->type = (unsigned char)1;
  return;
}
}
int __attribute__((__visibility__("default")))  string_natural_compare_function_ex(zval *result , zval *op1 , zval *op2 , zend_bool case_insensitive ) 
{ zval op1_copy ;
  zval op2_copy ;
  int use_copy1 ;
  int use_copy2 ;
  zval *__z ;
  int __attribute__((__visibility__("default")))  tmp ;

  {
  use_copy1 = 0;
  use_copy2 = 0;
  if ((int )op1->type != 6) {
    zend_make_printable_zval(op1, & op1_copy, & use_copy1);
  } else {

  }
  if ((int )op2->type != 6) {
    zend_make_printable_zval(op2, & op2_copy, & use_copy2);
  } else {

  }
  if (use_copy1) {
    op1 = & op1_copy;
  } else {

  }
  if (use_copy2) {
    op2 = & op2_copy;
  } else {

  }
  __z = result;
  tmp = strnatcmp_ex((char const   *)op1->value.str.val, (unsigned int )op1->value.str.len, (char const   *)op2->value.str.val, (unsigned int )op2->value.str.len, (int )case_insensitive);
  __z->value.lval = (long )tmp;
  __z->type = (unsigned char)1;
  if (use_copy1) {
    _zval_dtor(op1);
  } else {

  }
  if (use_copy2) {
    _zval_dtor(op2);
  } else {

  }
  return ((int __attribute__((__visibility__("default")))  )0);
}
}
int __attribute__((__visibility__("default")))  string_natural_case_compare_function(zval *result , zval *op1 , zval *op2 ) 
{ int __attribute__((__visibility__("default")))  tmp ;

  {
  tmp = string_natural_compare_function_ex(result, op1, op2, (unsigned char)1);
  return (tmp);
}
}
int __attribute__((__visibility__("default")))  string_natural_compare_function(zval *result , zval *op1 , zval *op2 ) 
{ int __attribute__((__visibility__("default")))  tmp ;

  {
  tmp = string_natural_compare_function_ex(result, op1, op2, (unsigned char)0);
  return (tmp);
}
}
void zif_strnatcmp(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ 

  {
  php_strnatcmp(ht, return_value, return_value_ptr, this_ptr, return_value_used, 0);
  return;
}
}
void zif_localeconv(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ zval *grouping ;
  zval *mon_grouping ;
  int len ;
  int i ;
  int __attribute__((__visibility__("default")))  tmp ;
  void __attribute__((__visibility__("default")))  *tmp___0 ;
  void __attribute__((__visibility__("default")))  *tmp___1 ;
  struct lconv currlocdata ;
  size_t tmp___2 ;
  size_t tmp___3 ;
  size_t tmp___4 ;
  size_t tmp___5 ;
  size_t tmp___6 ;
  size_t tmp___7 ;
  size_t tmp___8 ;
  size_t tmp___9 ;
  size_t tmp___10 ;
  size_t tmp___11 ;
  size_t tmp___12 ;
  size_t tmp___13 ;
  size_t tmp___14 ;
  size_t tmp___15 ;
  size_t tmp___16 ;
  size_t tmp___17 ;
  size_t tmp___18 ;
  size_t tmp___19 ;

  {
  tmp = zend_parse_parameters(ht, "");
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  while (1) {
    tmp___0 = _emalloc(sizeof(zval_gc_info ));
    grouping = (zval *)tmp___0;
    ((zval_gc_info *)grouping)->u.buffered = (gc_root_buffer *)((void *)0);
    break;
  }
  grouping->refcount__gc = 1U;
  grouping->is_ref__gc = (unsigned char)0;
  while (1) {
    tmp___1 = _emalloc(sizeof(zval_gc_info ));
    mon_grouping = (zval *)tmp___1;
    ((zval_gc_info *)mon_grouping)->u.buffered = (gc_root_buffer *)((void *)0);
    break;
  }
  mon_grouping->refcount__gc = 1U;
  mon_grouping->is_ref__gc = (unsigned char)0;
  _array_init(return_value, 0U);
  _array_init(grouping, 0U);
  _array_init(mon_grouping, 0U);
  localeconv_r(& currlocdata);
  tmp___2 = strlen((char const   *)currlocdata.grouping);
  len = (int )tmp___2;
  i = 0;
  while (i < len) {
    add_index_long(grouping, (unsigned long )i, (long )*(currlocdata.grouping + i));
    i ++;
  }
  tmp___3 = strlen((char const   *)currlocdata.mon_grouping);
  len = (int )tmp___3;
  i = 0;
  while (i < len) {
    add_index_long(mon_grouping, (unsigned long )i, (long )*(currlocdata.mon_grouping + i));
    i ++;
  }
  tmp___4 = strlen("decimal_point");
  add_assoc_string_ex(return_value, "decimal_point", tmp___4 + 1U, currlocdata.decimal_point, 1);
  tmp___5 = strlen("thousands_sep");
  add_assoc_string_ex(return_value, "thousands_sep", tmp___5 + 1U, currlocdata.thousands_sep, 1);
  tmp___6 = strlen("int_curr_symbol");
  add_assoc_string_ex(return_value, "int_curr_symbol", tmp___6 + 1U, currlocdata.int_curr_symbol, 1);
  tmp___7 = strlen("currency_symbol");
  add_assoc_string_ex(return_value, "currency_symbol", tmp___7 + 1U, currlocdata.currency_symbol, 1);
  tmp___8 = strlen("mon_decimal_point");
  add_assoc_string_ex(return_value, "mon_decimal_point", tmp___8 + 1U, currlocdata.mon_decimal_point, 1);
  tmp___9 = strlen("mon_thousands_sep");
  add_assoc_string_ex(return_value, "mon_thousands_sep", tmp___9 + 1U, currlocdata.mon_thousands_sep, 1);
  tmp___10 = strlen("positive_sign");
  add_assoc_string_ex(return_value, "positive_sign", tmp___10 + 1U, currlocdata.positive_sign, 1);
  tmp___11 = strlen("negative_sign");
  add_assoc_string_ex(return_value, "negative_sign", tmp___11 + 1U, currlocdata.negative_sign, 1);
  tmp___12 = strlen("int_frac_digits");
  add_assoc_long_ex(return_value, "int_frac_digits", tmp___12 + 1U, (long )currlocdata.int_frac_digits);
  tmp___13 = strlen("frac_digits");
  add_assoc_long_ex(return_value, "frac_digits", tmp___13 + 1U, (long )currlocdata.frac_digits);
  tmp___14 = strlen("p_cs_precedes");
  add_assoc_long_ex(return_value, "p_cs_precedes", tmp___14 + 1U, (long )currlocdata.p_cs_precedes);
  tmp___15 = strlen("p_sep_by_space");
  add_assoc_long_ex(return_value, "p_sep_by_space", tmp___15 + 1U, (long )currlocdata.p_sep_by_space);
  tmp___16 = strlen("n_cs_precedes");
  add_assoc_long_ex(return_value, "n_cs_precedes", tmp___16 + 1U, (long )currlocdata.n_cs_precedes);
  tmp___17 = strlen("n_sep_by_space");
  add_assoc_long_ex(return_value, "n_sep_by_space", tmp___17 + 1U, (long )currlocdata.n_sep_by_space);
  tmp___18 = strlen("p_sign_posn");
  add_assoc_long_ex(return_value, "p_sign_posn", tmp___18 + 1U, (long )currlocdata.p_sign_posn);
  tmp___19 = strlen("n_sign_posn");
  add_assoc_long_ex(return_value, "n_sign_posn", tmp___19 + 1U, (long )currlocdata.n_sign_posn);
  _zend_hash_add_or_update(return_value->value.ht, "grouping", 9U, (void *)(& grouping), sizeof(zval *), (void **)((void *)0), 1);
  _zend_hash_add_or_update(return_value->value.ht, "mon_grouping", 13U, (void *)(& mon_grouping), sizeof(zval *), (void **)((void *)0), 1);
  return;
}
}
void zif_strnatcasecmp(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ 

  {
  php_strnatcmp(ht, return_value, return_value_ptr, this_ptr, return_value_used, 1);
  return;
}
}
void zif_substr_count(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *haystack ;
  char *needle ;
  long offset ;
  long length ;
  int ac ;
  int count ;
  int haystack_len ;
  int needle_len ;
  char *p ;
  char *endp ;
  char cmp ;
  int __attribute__((__visibility__("default")))  tmp ;
  zval *__z ;
  zval *__z___0 ;
  zval *__z___1 ;
  zval *__z___2 ;
  zval *__z___3 ;
  void *tmp___0 ;
  zval *__z___4 ;

  {
  offset = 0L;
  length = 0L;
  ac = ht;
  count = 0;
  tmp = zend_parse_parameters(ht, "ss|ll", & haystack, & haystack_len, & needle, & needle_len, & offset, & length);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  if (needle_len == 0) {
    php_error_docref0((char const   *)((void *)0), 1 << 1L, "Empty substring");
    while (1) {
      __z = return_value;
      __z->value.lval = 0L;
      __z->type = (unsigned char)3;
      break;
    }
    return;
  } else {

  }
  p = haystack;
  endp = p + haystack_len;
  if (offset < 0L) {
    php_error_docref0((char const   *)((void *)0), 1 << 1L, "Offset should be greater than or equal to 0");
    while (1) {
      __z___0 = return_value;
      __z___0->value.lval = 0L;
      __z___0->type = (unsigned char)3;
      break;
    }
    return;
  } else {

  }
  if (offset > (long )haystack_len) {
    php_error_docref0((char const   *)((void *)0), 1 << 1L, "Offset value %ld exceeds string length", offset);
    while (1) {
      __z___1 = return_value;
      __z___1->value.lval = 0L;
      __z___1->type = (unsigned char)3;
      break;
    }
    return;
  } else {

  }
  p += offset;
  if (ac == 4) {
    if (length <= 0L) {
      php_error_docref0((char const   *)((void *)0), 1 << 1L, "Length should be greater than 0");
      while (1) {
        __z___2 = return_value;
        __z___2->value.lval = 0L;
        __z___2->type = (unsigned char)3;
        break;
      }
      return;
    } else {

    }
    if (length > (long )haystack_len - offset) {
      php_error_docref0((char const   *)((void *)0), 1 << 1L, "Length value %ld exceeds string length", length);
      while (1) {
        __z___3 = return_value;
        __z___3->value.lval = 0L;
        __z___3->type = (unsigned char)3;
        break;
      }
      return;
    } else {

    }
    endp = p + length;
  } else {

  }
  if (needle_len == 1) {
    cmp = *(needle + 0);
    while (1) {
      tmp___0 = memchr((void const   *)p, (int )cmp, (unsigned int )(endp - p));
      p = (char *)tmp___0;
      if (p) {

      } else {
        break;
      }
      count ++;
      p ++;
    }
  } else {
    while (1) {
      p = zend_memnstr(p, needle, needle_len, endp);
      if (p) {

      } else {
        break;
      }
      p += needle_len;
      count ++;
    }
  }
  __z___4 = return_value;
  __z___4->value.lval = (long )count;
  __z___4->type = (unsigned char)1;
  return;
}
}
void zif_str_pad(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *input ;
  int input_len ;
  long pad_length ;
  size_t num_pad_chars ;
  char *result ;
  int result_len ;
  char *pad_str_val ;
  int pad_str_len ;
  long pad_type_val ;
  int i ;
  int left_pad ;
  int right_pad ;
  int __attribute__((__visibility__("default")))  tmp ;
  char const   *__s ;
  int __l ;
  zval *__z ;
  char __attribute__((__visibility__("default")))  *tmp___0 ;
  void __attribute__((__visibility__("default")))  *tmp___1 ;
  int tmp___2 ;
  int tmp___3 ;
  char const   *__s___0 ;
  int __l___0 ;
  zval *__z___0 ;
  char __attribute__((__visibility__("default")))  *tmp___4 ;

  {
  result = (char *)((void *)0);
  result_len = 0;
  pad_str_val = (char *)" ";
  pad_str_len = 1;
  pad_type_val = 1L;
  left_pad = 0;
  right_pad = 0;
  tmp = zend_parse_parameters(ht, "sl|sl", & input, & input_len, & pad_length, & pad_str_val, & pad_str_len, & pad_type_val);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  if (pad_length <= 0L) {
    goto _L;
  } else {
    if (pad_length - (long )input_len <= 0L) {
      _L: /* CIL Label */ 
      while (1) {
        __s = (char const   *)input;
        __l = input_len;
        __z = return_value;
        __z->value.str.len = __l;
        tmp___0 = _estrndup(__s, (unsigned int )__l);
        __z->value.str.val = (char *)tmp___0;
        __z->type = (unsigned char)6;
        break;
      }
      return;
    } else {

    }
  }
  if (pad_str_len == 0) {
    php_error_docref0((char const   *)((void *)0), 1 << 1L, "Padding string cannot be empty");
    return;
  } else {

  }
  if (pad_type_val < 0L) {
    php_error_docref0((char const   *)((void *)0), 1 << 1L, "Padding type has to be STR_PAD_LEFT, STR_PAD_RIGHT, or STR_PAD_BOTH");
    return;
  } else {
    if (pad_type_val > 2L) {
      php_error_docref0((char const   *)((void *)0), 1 << 1L, "Padding type has to be STR_PAD_LEFT, STR_PAD_RIGHT, or STR_PAD_BOTH");
      return;
    } else {

    }
  }
  num_pad_chars = (unsigned int )(pad_length - (long )input_len);
  if (num_pad_chars >= 2147483647U) {
    php_error_docref0((char const   *)((void *)0), 1 << 1L, "Padding length is too long");
    return;
  } else {

  }
  tmp___1 = _emalloc(((size_t )input_len + num_pad_chars) + 1U);
  result = (char *)tmp___1;
  switch ((int )pad_type_val) {
  case 1: 
  left_pad = 0;
  right_pad = (int )num_pad_chars;
  break;
  case 0: 
  left_pad = (int )num_pad_chars;
  right_pad = 0;
  break;
  case 2: 
  left_pad = (int )(num_pad_chars / 2U);
  right_pad = (int )(num_pad_chars - (size_t )left_pad);
  break;
  }
  i = 0;
  while (i < left_pad) {
    tmp___2 = result_len;
    result_len ++;
    *(result + tmp___2) = *(pad_str_val + i % pad_str_len);
    i ++;
  }
  memcpy((void */* __restrict  */)(result + result_len), (void const   */* __restrict  */)input, (unsigned int )input_len);
  result_len += input_len;
  i = 0;
  while (i < right_pad) {
    tmp___3 = result_len;
    result_len ++;
    *(result + tmp___3) = *(pad_str_val + i % pad_str_len);
    i ++;
  }
  *(result + result_len) = (char )'\000';
  while (1) {
    __s___0 = (char const   *)result;
    __l___0 = result_len;
    __z___0 = return_value;
    __z___0->value.str.len = __l___0;
    __z___0->value.str.val = (char *)((char __attribute__((__visibility__("default")))  *)((char *)__s___0));
    __z___0->type = (unsigned char)6;
    break;
  }
  return;
}
}
void zif_sscanf(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ zval ***args ;
  char *str ;
  char *format ;
  int str_len ;
  int format_len ;
  int result ;
  int num_args ;
  int __attribute__((__visibility__("default")))  tmp ;
  int __attribute__((__visibility__("default")))  tmp___0 ;

  {
  args = (zval ***)((void *)0);
  num_args = 0;
  tmp = zend_parse_parameters(ht, "ss*", & str, & str_len, & format, & format_len, & args, & num_args);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  tmp___0 = php_sscanf_internal(str, format, num_args, args, 0, & return_value);
  result = (int )tmp___0;
  if (args) {
    _efree((void *)args);
  } else {

  }
  if (-4 == result) {
    zend_wrong_param_count();
    return;
  } else {

  }
  return;
}
}
static char rot13_from[53]  = 
  {      (char )'a',      (char )'b',      (char )'c',      (char )'d', 
        (char )'e',      (char )'f',      (char )'g',      (char )'h', 
        (char )'i',      (char )'j',      (char )'k',      (char )'l', 
        (char )'m',      (char )'n',      (char )'o',      (char )'p', 
        (char )'q',      (char )'r',      (char )'s',      (char )'t', 
        (char )'u',      (char )'v',      (char )'w',      (char )'x', 
        (char )'y',      (char )'z',      (char )'A',      (char )'B', 
        (char )'C',      (char )'D',      (char )'E',      (char )'F', 
        (char )'G',      (char )'H',      (char )'I',      (char )'J', 
        (char )'K',      (char )'L',      (char )'M',      (char )'N', 
        (char )'O',      (char )'P',      (char )'Q',      (char )'R', 
        (char )'S',      (char )'T',      (char )'U',      (char )'V', 
        (char )'W',      (char )'X',      (char )'Y',      (char )'Z', 
        (char )'\000'};
static char rot13_to[53]  = 
  {      (char )'n',      (char )'o',      (char )'p',      (char )'q', 
        (char )'r',      (char )'s',      (char )'t',      (char )'u', 
        (char )'v',      (char )'w',      (char )'x',      (char )'y', 
        (char )'z',      (char )'a',      (char )'b',      (char )'c', 
        (char )'d',      (char )'e',      (char )'f',      (char )'g', 
        (char )'h',      (char )'i',      (char )'j',      (char )'k', 
        (char )'l',      (char )'m',      (char )'N',      (char )'O', 
        (char )'P',      (char )'Q',      (char )'R',      (char )'S', 
        (char )'T',      (char )'U',      (char )'V',      (char )'W', 
        (char )'X',      (char )'Y',      (char )'Z',      (char )'A', 
        (char )'B',      (char )'C',      (char )'D',      (char )'E', 
        (char )'F',      (char )'G',      (char )'H',      (char )'I', 
        (char )'J',      (char )'K',      (char )'L',      (char )'M', 
        (char )'\000'};
void zif_str_rot13(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *arg ;
  int arglen ;
  int __attribute__((__visibility__("default")))  tmp ;
  char const   *__s ;
  int __l ;
  zval *__z ;
  char __attribute__((__visibility__("default")))  *tmp___0 ;

  {
  tmp = zend_parse_parameters(ht, "s", & arg, & arglen);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  while (1) {
    __s = (char const   *)arg;
    __l = arglen;
    __z = return_value;
    __z->value.str.len = __l;
    tmp___0 = _estrndup(__s, (unsigned int )__l);
    __z->value.str.val = (char *)tmp___0;
    __z->type = (unsigned char)6;
    break;
  }
  php_strtr(return_value->value.str.val, return_value->value.str.len, rot13_from, rot13_to, 52);
  return;
}
}
static void php_string_shuffle(char *str , long len ) 
{ long n_elems ;
  long rnd_idx ;
  long n_left ;
  char temp ;
  long __attribute__((__visibility__("default")))  tmp ;

  {
  n_elems = len;
  if (n_elems <= 1L) {
    return;
  } else {

  }
  n_left = n_elems;
  while (1) {
    n_left --;
    if (n_left) {

    } else {
      break;
    }
    tmp = php_rand();
    rnd_idx = (long )tmp;
    rnd_idx = (long )((((double )n_left - (double )0) + 1.0) * ((double )rnd_idx / ((double )2147483647 + 1.0)));
    if (rnd_idx != n_left) {
      temp = *(str + n_left);
      *(str + n_left) = *(str + rnd_idx);
      *(str + rnd_idx) = temp;
    } else {

    }
  }
  return;
}
}
void zif_str_shuffle(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *arg ;
  int arglen ;
  int __attribute__((__visibility__("default")))  tmp ;
  char const   *__s ;
  int __l ;
  zval *__z ;
  char __attribute__((__visibility__("default")))  *tmp___0 ;

  {
  tmp = zend_parse_parameters(ht, "s", & arg, & arglen);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  while (1) {
    __s = (char const   *)arg;
    __l = arglen;
    __z = return_value;
    __z->value.str.len = __l;
    tmp___0 = _estrndup(__s, (unsigned int )__l);
    __z->value.str.val = (char *)tmp___0;
    __z->type = (unsigned char)6;
    break;
  }
  if (return_value->value.str.len > 1) {
    php_string_shuffle(return_value->value.str.val, (long )return_value->value.str.len);
  } else {

  }
  return;
}
}
void zif_str_word_count(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *buf ;
  char *str ;
  char *char_list ;
  char *p ;
  char *e ;
  char *s ;
  char ch[256] ;
  int str_len ;
  int char_list_len ;
  int word_count ;
  long type ;
  int __attribute__((__visibility__("default")))  tmp ;
  zval *__z ;
  zval *__z___0 ;
  unsigned short const   **tmp___0 ;
  char __attribute__((__visibility__("default")))  *tmp___1 ;
  char __attribute__((__visibility__("default")))  *tmp___2 ;
  zval *__z___1 ;

  {
  char_list = (char *)((void *)0);
  char_list_len = 0;
  word_count = 0;
  type = 0L;
  tmp = zend_parse_parameters(ht, "s|ls", & str, & str_len, & type, & char_list, & char_list_len);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  switch ((int )type) {
  case 1: 
  case 2: 
  _array_init(return_value, 0U);
  if (! str_len) {
    return;
  } else {

  }
  break;
  case 0: 
  if (! str_len) {
    __z = return_value;
    __z->value.lval = 0L;
    __z->type = (unsigned char)1;
    return;
  } else {

  }
  break;
  default: 
  php_error_docref0((char const   *)((void *)0), 1 << 1L, "Invalid format value %ld", type);
  while (1) {
    __z___0 = return_value;
    __z___0->value.lval = 0L;
    __z___0->type = (unsigned char)3;
    break;
  }
  return;
  }
  if (char_list) {
    php_charmask((unsigned char *)char_list, char_list_len, ch);
  } else {

  }
  p = str;
  e = str + str_len;
  if ((int )*p == 39) {
    if (! char_list) {
      p ++;
    } else {
      if (! ch[39]) {
        p ++;
      } else {
        goto _L;
      }
    }
  } else {
    _L: /* CIL Label */ 
    if ((int )*p == 45) {
      if (! char_list) {
        p ++;
      } else {
        if (! ch[45]) {
          p ++;
        } else {

        }
      }
    } else {

    }
  }
  if ((int )*(e - 1) == 45) {
    if (! char_list) {
      e --;
    } else {
      if (! ch[45]) {
        e --;
      } else {

      }
    }
  } else {

  }
  while ((unsigned int )p < (unsigned int )e) {
    s = p;
    while (1) {
      if ((unsigned int )p < (unsigned int )e) {
        tmp___0 = __ctype_b_loc();
        if ((int const   )*(*tmp___0 + (int )((unsigned char )*p)) & 1024) {

        } else {
          if (char_list) {
            if (ch[(unsigned char )*p]) {

            } else {
              goto _L___0;
            }
          } else {
            _L___0: /* CIL Label */ 
            if ((int )*p == 39) {

            } else {
              if ((int )*p == 45) {

              } else {
                break;
              }
            }
          }
        }
      } else {
        break;
      }
      p ++;
    }
    if ((unsigned int )p > (unsigned int )s) {
      switch ((int )type) {
      case 1: 
      tmp___1 = _estrndup((char const   *)s, (unsigned int )(p - s));
      buf = (char *)tmp___1;
      add_next_index_stringl(return_value, (char const   *)buf, (unsigned int )(p - s), 0);
      break;
      case 2: 
      tmp___2 = _estrndup((char const   *)s, (unsigned int )(p - s));
      buf = (char *)tmp___2;
      add_index_stringl(return_value, (unsigned long )(s - str), (char const   *)buf, (unsigned int )(p - s), 0);
      break;
      default: 
      word_count ++;
      break;
      }
    } else {

    }
    p ++;
  }
  if (! type) {
    __z___1 = return_value;
    __z___1->value.lval = (long )word_count;
    __z___1->type = (unsigned char)1;
    return;
  } else {

  }
  return;
}
}
void zif_money_format(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ int format_len ;
  int str_len ;
  char *format ;
  char *str ;
  char *p ;
  char *e ;
  double value ;
  zend_bool check ;
  int __attribute__((__visibility__("default")))  tmp ;
  zval *__z ;
  void *tmp___0 ;
  void __attribute__((__visibility__("default")))  *tmp___1 ;
  zval *__z___0 ;
  char const   *__s ;
  void __attribute__((__visibility__("default")))  *tmp___2 ;
  int __l ;
  zval *__z___1 ;
  char __attribute__((__visibility__("default")))  *tmp___3 ;

  {
  format_len = 0;
  check = (zend_bool )0;
  tmp = zend_parse_parameters(ht, "sd", & format, & format_len, & value);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  p = format;
  e = p + format_len;
  while (1) {
    tmp___0 = memchr((void const   *)p, '%', (unsigned int )(e - p));
    p = (char *)tmp___0;
    if (p) {

    } else {
      break;
    }
    if ((int )*(p + 1) == 37) {
      p += 2;
    } else {
      if (! check) {
        check = (unsigned char)1;
        p ++;
      } else {
        php_error_docref0((char const   *)((void *)0), 1 << 1L, "Only a single %%i or %%n token can be used");
        while (1) {
          __z = return_value;
          __z->value.lval = 0L;
          __z->type = (unsigned char)3;
          break;
        }
        return;
      }
    }
  }
  str_len = format_len + 1024;
  tmp___1 = _emalloc((unsigned int )str_len);
  str = (char *)tmp___1;
  str_len = strfmon((char */* __restrict  */)str, (unsigned int )str_len, (char const   */* __restrict  */)format, value);
  if (str_len < 0) {
    _efree((void *)str);
    while (1) {
      __z___0 = return_value;
      __z___0->value.lval = 0L;
      __z___0->type = (unsigned char)3;
      break;
    }
    return;
  } else {

  }
  *(str + str_len) = (char)0;
  while (1) {
    tmp___2 = _erealloc((void *)str, (unsigned int )(str_len + 1), 0);
    __s = (char const   *)tmp___2;
    __l = str_len;
    __z___1 = return_value;
    __z___1->value.str.len = __l;
    __z___1->value.str.val = (char *)((char __attribute__((__visibility__("default")))  *)((char *)__s));
    __z___1->type = (unsigned char)6;
    break;
  }
  return;
}
}
void zif_str_split(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *str ;
  int str_len ;
  long split_length ;
  char *p ;
  int n_reg_segments ;
  int __attribute__((__visibility__("default")))  tmp ;
  zval *__z ;
  int tmp___0 ;

  {
  split_length = 1L;
  tmp = zend_parse_parameters(ht, "s|l", & str, & str_len, & split_length);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    return;
  } else {

  }
  if (split_length <= 0L) {
    php_error_docref0((char const   *)((void *)0), 1 << 1L, "The length of each segment must be greater than zero");
    while (1) {
      __z = return_value;
      __z->value.lval = 0L;
      __z->type = (unsigned char)3;
      break;
    }
    return;
  } else {

  }
  _array_init(return_value, (unsigned int )((long )(str_len - 1) / split_length + 1L));
  if (split_length >= (long )str_len) {
    add_next_index_stringl(return_value, (char const   *)str, (unsigned int )str_len, 1);
    return;
  } else {

  }
  n_reg_segments = (int )((long )str_len / split_length);
  p = str;
  while (1) {
    tmp___0 = n_reg_segments;
    n_reg_segments --;
    if (tmp___0 > 0) {

    } else {
      break;
    }
    add_next_index_stringl(return_value, (char const   *)p, (unsigned int )split_length, 1);
    p += split_length;
  }
  if ((unsigned int )p != (unsigned int )(str + str_len)) {
    add_next_index_stringl(return_value, (char const   *)p, (unsigned int )((str + str_len) - p), 1);
  } else {

  }
  return;
}
}
void zif_strpbrk(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *haystack ;
  char *char_list ;
  int haystack_len ;
  int char_list_len ;
  char *p ;
  zval *__z ;
  int __attribute__((__visibility__("default")))  tmp ;
  zval *__z___0 ;
  char const   *__s ;
  int __l ;
  zval *__z___1 ;
  char __attribute__((__visibility__("default")))  *tmp___0 ;
  zval *__z___2 ;
  char __a0 ;
  char __a1 ;
  char __a2 ;
  char *tmp___1 ;
  char *tmp___2 ;
  char *tmp___3 ;
  char *tmp___4 ;
  char *tmp___5 ;
  char *tmp___6 ;
  char *tmp___7 ;
  char *tmp___8 ;
  char *tmp___9 ;
  char *tmp___10 ;

  {
  tmp = zend_parse_parameters(ht, "ss", & haystack, & haystack_len, & char_list, & char_list_len);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    while (1) {
      __z = return_value;
      __z->value.lval = 0L;
      __z->type = (unsigned char)3;
      break;
    }
    return;
  } else {

  }
  if (! char_list_len) {
    php_error_docref0((char const   *)((void *)0), 1 << 1L, "The character list cannot be empty");
    while (1) {
      __z___0 = return_value;
      __z___0->value.lval = 0L;
      __z___0->type = (unsigned char)3;
      break;
    }
    return;
  } else {

  }
  tmp___10 = __builtin_strpbrk((char const   *)haystack, (char const   *)char_list);
  p = tmp___10;
  if (p) {
    while (1) {
      __s = (char const   *)p;
      __l = (haystack + haystack_len) - p;
      __z___1 = return_value;
      __z___1->value.str.len = __l;
      tmp___0 = _estrndup(__s, (unsigned int )__l);
      __z___1->value.str.val = (char *)tmp___0;
      __z___1->type = (unsigned char)6;
      break;
    }
    return;
  } else {
    while (1) {
      __z___2 = return_value;
      __z___2->value.lval = 0L;
      __z___2->type = (unsigned char)3;
      break;
    }
    return;
  }
}
}
void zif_substr_compare(int ht , zval *return_value , zval **return_value_ptr , zval *this_ptr , int return_value_used ) 
{ char *s1 ;
  char *s2 ;
  int s1_len ;
  int s2_len ;
  long offset ;
  long len ;
  zend_bool cs ;
  uint cmp_len ;
  zval *__z ;
  int __attribute__((__visibility__("default")))  tmp ;
  zval *__z___0 ;
  zval *__z___1 ;
  long tmp___0 ;
  long tmp___1 ;
  zval *__z___2 ;
  int __attribute__((__visibility__("default")))  tmp___2 ;
  zval *__z___3 ;
  int __attribute__((__visibility__("default")))  tmp___3 ;

  {
  len = 0L;
  cs = (zend_bool )0;
  tmp = zend_parse_parameters(ht, "ssl|lb", & s1, & s1_len, & s2, & s2_len, & offset, & len, & cs);
  if (tmp == (int __attribute__((__visibility__("default")))  )-1) {
    while (1) {
      __z = return_value;
      __z->value.lval = 0L;
      __z->type = (unsigned char)3;
      break;
    }
    return;
  } else {

  }
  if (ht >= 4) {
    if (len <= 0L) {
      php_error_docref0((char const   *)((void *)0), 1 << 1L, "The length must be greater than zero");
      while (1) {
        __z___0 = return_value;
        __z___0->value.lval = 0L;
        __z___0->type = (unsigned char)3;
        break;
      }
      return;
    } else {

    }
  } else {

  }
  if (offset < 0L) {
    offset = (long )s1_len + offset;
    if (offset < 0L) {
      offset = 0L;
    } else {
      offset = offset;
    }
  } else {

  }
  if (offset >= (long )s1_len) {
    php_error_docref0((char const   *)((void *)0), 1 << 1L, "The start position cannot exceed initial string length");
    while (1) {
      __z___1 = return_value;
      __z___1->value.lval = 0L;
      __z___1->type = (unsigned char)3;
      break;
    }
    return;
  } else {

  }
  if (len) {
    tmp___1 = len;
  } else {
    if ((long )s2_len > (long )s1_len - offset) {
      tmp___0 = (long )s2_len;
    } else {
      tmp___0 = (long )s1_len - offset;
    }
    tmp___1 = tmp___0;
  }
  cmp_len = (unsigned int )tmp___1;
  if (! cs) {
    __z___2 = return_value;
    tmp___2 = zend_binary_strncmp((char const   *)(s1 + offset), (unsigned int )((long )s1_len - offset), (char const   *)s2, (unsigned int )s2_len, cmp_len);
    __z___2->value.lval = (long )tmp___2;
    __z___2->type = (unsigned char)1;
    return;
  } else {
    __z___3 = return_value;
    tmp___3 = zend_binary_strncasecmp((char const   *)(s1 + offset), (unsigned int )((long )s1_len - offset), (char const   *)s2, (unsigned int )s2_len, cmp_len);
    __z___3->value.lval = (long )tmp___3;
    __z___3->type = (unsigned char)1;
    return;
  }
}
}
