diff options
author | Stanislav Malyshev <stas@php.net> | 2002-03-14 17:13:02 +0000 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2002-03-14 17:13:02 +0000 |
commit | 508c82ad2aa5f6f9a9fe27e33dde56242894a976 (patch) | |
tree | 4ebc3b545d749366b192cbf5a1e9099a38aa54c4 /Zend/OBJECTS2_HOWTO | |
parent | 929bdc69980bfd25779371dd95ee51756d9ef283 (diff) | |
download | php-git-508c82ad2aa5f6f9a9fe27e33dde56242894a976.tar.gz |
more cleanup
Diffstat (limited to 'Zend/OBJECTS2_HOWTO')
-rw-r--r-- | Zend/OBJECTS2_HOWTO | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Zend/OBJECTS2_HOWTO b/Zend/OBJECTS2_HOWTO index 4e627c1eeb..3d942c2ed0 100644 --- a/Zend/OBJECTS2_HOWTO +++ b/Zend/OBJECTS2_HOWTO @@ -41,7 +41,7 @@ invalid. Object access - read -------------------- -get_property is used to read object's property. This value is not +read_property is used to read object's property. This value is not meant to be changed. The handler returns zval * with the value. Object access - write @@ -61,6 +61,9 @@ get_property_ptr is used to obtain zval ** for future writing to it. If your object properties are stored as zval*, return real place where the property is stored. If the aren't, the best way is to create proxy object and handle it via get and set methods (see below). +This method is meant to be used for send-by-reference and assign-by-reference +use of object properties. If you don;t want to implement property +referencing for your objects, you can set this handler to NULL. get and set handlers are used when engine needs to access the object as a value. E.g., in the following situation: |