diff options
author | SVN Migration <svn@php.net> | 2002-09-08 15:38:45 +0000 |
---|---|---|
committer | SVN Migration <svn@php.net> | 2002-09-08 15:38:45 +0000 |
commit | e94c67742f6f4bf9fe9a381273d1ea6a16db5ec3 (patch) | |
tree | 7cb16c2c460931bbf4798a79167770dfb48ff643 /Zend/zend.h | |
parent | 6c22f90b4a3d24a8da83e78f8eef97cba6c05197 (diff) | |
download | php-git-php-4.3.0dev_zend2_alpha3.tar.gz |
This commit was manufactured by cvs2svn to create tagphp-4.3.0dev_zend2_alpha3
'php_4_3_0_dev_zend2_alpha3'.
Diffstat (limited to 'Zend/zend.h')
-rw-r--r-- | Zend/zend.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Zend/zend.h b/Zend/zend.h index 94009199ee..393203d7f3 100644 --- a/Zend/zend.h +++ b/Zend/zend.h @@ -22,7 +22,7 @@ #ifndef ZEND_H #define ZEND_H -#define ZEND_VERSION "2.0.0-alpha2" +#define ZEND_VERSION "2.0.0-alpha3" #define ZEND_ENGINE_2 @@ -226,6 +226,8 @@ typedef struct _zend_class_entry zend_class_entry; typedef struct _zend_object { zend_class_entry *ce; HashTable *properties; + int in_get:1; + int in_set:1; } zend_object; typedef unsigned int zend_object_handle; @@ -311,9 +313,14 @@ struct _zend_class_entry { union _zend_function *constructor; union _zend_function *destructor; union _zend_function *clone; + union _zend_function *__get; + union _zend_function *__set; + union _zend_function *__call; /* handlers */ zend_object_value (*create_object)(zend_class_entry *class_type TSRMLS_DC); + + /* old handlers */ void (*handle_function_call)(INTERNAL_FUNCTION_PARAMETERS, zend_property_reference *property_reference); zval (*handle_property_get)(zend_property_reference *property_reference); int (*handle_property_set)(zend_property_reference *property_reference, zval *value); @@ -336,6 +343,7 @@ typedef struct _zend_utility_functions { typedef struct _zend_utility_values { char *import_use_extension; uint import_use_extension_length; + zend_bool html_errors; } zend_utility_values; @@ -462,7 +470,7 @@ void zenderror(char *error); /* The following #define is used for code duality in PHP for Engine 1 & 2 */ #define ZEND_STANDARD_CLASS_DEF_PTR zend_standard_class_def extern ZEND_API zend_class_entry *zend_standard_class_def; -extern zend_utility_values zend_uv; +extern ZEND_API zend_utility_values zend_uv; extern ZEND_API zval zval_used_for_init; END_EXTERN_C() |