diff options
| author | Andi Gutmans <andi@php.net> | 2004-09-26 20:03:54 +0000 |
|---|---|---|
| committer | Andi Gutmans <andi@php.net> | 2004-09-26 20:03:54 +0000 |
| commit | f17aa81edc3aac9b80607bbaecc3c006dd52b4ae (patch) | |
| tree | bcef73662f0cb9d5e58ef76283d8107c7e1d54d5 /Zend/zend.h | |
| parent | d5bac133ee87aac7f5a09a33aa1b409b52a42657 (diff) | |
| download | php-git-f17aa81edc3aac9b80607bbaecc3c006dd52b4ae.tar.gz | |
- Apply Thies and Sterling's patch which doesn't call ctor/dtor functions
- for types which don't require it (BOOL/NULL/LONG/DOUBLE)
- Breaks serialization!!!
Diffstat (limited to 'Zend/zend.h')
| -rw-r--r-- | Zend/zend.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Zend/zend.h b/Zend/zend.h index b61cf234c5..f4b6ae6e94 100644 --- a/Zend/zend.h +++ b/Zend/zend.h @@ -386,13 +386,14 @@ typedef int (*zend_write_func_t)(const char *str, uint str_length); /* data types */ +/* All data types <= IS_BOOL have their constructor/destructors skipped */ #define IS_NULL 0 #define IS_LONG 1 #define IS_DOUBLE 2 -#define IS_STRING 3 +#define IS_BOOL 3 #define IS_ARRAY 4 #define IS_OBJECT 5 -#define IS_BOOL 6 +#define IS_STRING 6 #define IS_RESOURCE 7 #define IS_CONSTANT 8 #define IS_CONSTANT_ARRAY 9 |
