version 1.1.1.1, 2012/02/21 23:47:52
|
version 1.1.1.3, 2013/07/22 01:32:16
|
Line 2
|
Line 2
|
+----------------------------------------------------------------------+ |
+----------------------------------------------------------------------+ |
| Zend Engine | |
| Zend Engine | |
+----------------------------------------------------------------------+ |
+----------------------------------------------------------------------+ |
| Copyright (c) 1998-2012 Zend Technologies Ltd. (http://www.zend.com) | | | Copyright (c) 1998-2013 Zend Technologies Ltd. (http://www.zend.com) | |
+----------------------------------------------------------------------+ |
+----------------------------------------------------------------------+ |
| This source file is subject to version 2.00 of the Zend license, | |
| This source file is subject to version 2.00 of the Zend license, | |
| that is bundled with this package in the file LICENSE, and is | |
| that is bundled with this package in the file LICENSE, and is | |
Line 27 BEGIN_EXTERN_C()
|
Line 27 BEGIN_EXTERN_C()
|
|
|
ZEND_API void _zval_dtor_func(zval *zvalue ZEND_FILE_LINE_DC); |
ZEND_API void _zval_dtor_func(zval *zvalue ZEND_FILE_LINE_DC); |
|
|
static inline void _zval_dtor(zval *zvalue ZEND_FILE_LINE_DC) | static zend_always_inline void _zval_dtor(zval *zvalue ZEND_FILE_LINE_DC) |
{ |
{ |
if (zvalue->type <= IS_BOOL) { |
if (zvalue->type <= IS_BOOL) { |
return; |
return; |
Line 37 static inline void _zval_dtor(zval *zvalue ZEND_FILE_L
|
Line 37 static inline void _zval_dtor(zval *zvalue ZEND_FILE_L
|
|
|
ZEND_API void _zval_copy_ctor_func(zval *zvalue ZEND_FILE_LINE_DC); |
ZEND_API void _zval_copy_ctor_func(zval *zvalue ZEND_FILE_LINE_DC); |
|
|
static inline void _zval_copy_ctor(zval *zvalue ZEND_FILE_LINE_DC) | static zend_always_inline void _zval_copy_ctor(zval *zvalue ZEND_FILE_LINE_DC) |
{ |
{ |
if (zvalue->type <= IS_BOOL) { |
if (zvalue->type <= IS_BOOL) { |
return; |
return; |
Line 45 static inline void _zval_copy_ctor(zval *zvalue ZEND_F
|
Line 45 static inline void _zval_copy_ctor(zval *zvalue ZEND_F
|
_zval_copy_ctor_func(zvalue ZEND_FILE_LINE_RELAY_CC); |
_zval_copy_ctor_func(zvalue ZEND_FILE_LINE_RELAY_CC); |
} |
} |
|
|
|
ZEND_API int zval_copy_static_var(zval **p TSRMLS_DC, int num_args, va_list args, zend_hash_key *key); |
|
|
ZEND_API int zend_print_variable(zval *var); |
ZEND_API int zend_print_variable(zval *var); |
ZEND_API void _zval_ptr_dtor(zval **zval_ptr ZEND_FILE_LINE_DC); |
ZEND_API void _zval_ptr_dtor(zval **zval_ptr ZEND_FILE_LINE_DC); |
Line 75 ZEND_API void _zval_internal_ptr_dtor_wrapper(zval **z
|
Line 76 ZEND_API void _zval_internal_ptr_dtor_wrapper(zval **z
|
#endif |
#endif |
|
|
ZEND_API void zval_add_ref(zval **p); |
ZEND_API void zval_add_ref(zval **p); |
|
|
ZEND_API void zval_property_ctor(zval **); |
|
|
|
#ifdef ZTS |
|
# define zval_shared_property_ctor zval_property_ctor |
|
#else |
|
# define zval_shared_property_ctor zval_add_ref |
|
#endif |
|
|
|
#define zval_copy_property_ctor(ce) ((copy_ctor_func_t) (((ce)->type == ZEND_INTERNAL_CLASS) ? zval_shared_property_ctor : zval_add_ref)) |
|
|
|
|
|
END_EXTERN_C() |
END_EXTERN_C() |
|
|