diff options
| author | Marcus Boerger <helly@php.net> | 2005-05-02 16:18:02 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2005-05-02 16:18:02 +0000 |
| commit | 56d543c161ab6df9f52930881d96486865cd452a (patch) | |
| tree | e5c62bc117ff9bcd8619901a561a4f0fcff60ecd /Zend/zend_object_handlers.h | |
| parent | 138c5457ac35047c63be6608c35a4e2798c0bc12 (diff) | |
| download | php-git-56d543c161ab6df9f52930881d96486865cd452a.tar.gz | |
- Extend API to support real existance test without the need to add any new
functions or change any behavior
Diffstat (limited to 'Zend/zend_object_handlers.h')
| -rw-r--r-- | Zend/zend_object_handlers.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Zend/zend_object_handlers.h b/Zend/zend_object_handlers.h index 5284ba2efd..106e404144 100644 --- a/Zend/zend_object_handlers.h +++ b/Zend/zend_object_handlers.h @@ -61,7 +61,12 @@ typedef void (*zend_object_set_t)(zval **property, zval *value TSRMLS_DC); typedef zval* (*zend_object_get_t)(zval *property TSRMLS_DC); /* Used to check if a property of the object exists */ -typedef int (*zend_object_has_property_t)(zval *object, zval *member, int check_empty TSRMLS_DC); +/* param has_set_exists: + * 0 (has) whetehr property exists and is not NULL + * 1 (set) whether property exists and is true + * 2 (exists) whether property exists + */ +typedef int (*zend_object_has_property_t)(zval *object, zval *member, int has_set_exists TSRMLS_DC); /* Used to check if a dimension of the object exists */ typedef int (*zend_object_has_dimension_t)(zval *object, zval *member, int check_empty TSRMLS_DC); |
