diff options
| author | Marcus Boerger <helly@php.net> | 2003-09-18 11:38:33 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2003-09-18 11:38:33 +0000 |
| commit | d7fdf15a413de33953a2060b22c58b87f2f06abb (patch) | |
| tree | faf00211c24f74a772ca6dff1a33fefd8f9bbc05 /Zend/zend_object_handlers.h | |
| parent | 87045df4ce1137b7604ed9a767b78eeaebe79b5e (diff) | |
| download | php-git-d7fdf15a413de33953a2060b22c58b87f2f06abb.tar.gz | |
- Allow partial type conversion support for objects.
- Add support for object to string conversion from userspace by method
__toString() and add a test.
Diffstat (limited to 'Zend/zend_object_handlers.h')
| -rw-r--r-- | Zend/zend_object_handlers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_object_handlers.h b/Zend/zend_object_handlers.h index eb8538e495..503f153e2f 100644 --- a/Zend/zend_object_handlers.h +++ b/Zend/zend_object_handlers.h @@ -82,7 +82,7 @@ typedef zend_object_value (*zend_object_clone_obj_t)(zval *object TSRMLS_DC); typedef zend_class_entry *(*zend_object_get_class_entry_t)(zval *object TSRMLS_DC); typedef int (*zend_object_get_class_name_t)(zval *object, char **class_name, zend_uint *class_name_len, int parent TSRMLS_DC); typedef int (*zend_object_compare_t)(zval *object1, zval *object2 TSRMLS_DC); -typedef void (*zend_object_cast_t)(zval *readobj, zval *writeobj, int type, int should_free TSRMLS_DC); +typedef int (*zend_object_cast_t)(zval *readobj, zval *writeobj, int type, int should_free TSRMLS_DC); typedef struct _zend_object_handlers { |
