cvs: ZendEngine2 / OBJECTS2_HOWTO

From: Date: Thu, 14 Mar 2002 17:13:02 +0000
Subject: cvs: ZendEngine2 / OBJECTS2_HOWTO
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-22@lists.php.net to get a copy of this message
stas Thu Mar 14 12:13:02 2002 EDT Modified files: /ZendEngine2 OBJECTS2_HOWTO Log: more cleanup Index: ZendEngine2/OBJECTS2_HOWTO diff -u ZendEngine2/OBJECTS2_HOWTO:1.2 ZendEngine2/OBJECTS2_HOWTO:1.3 --- ZendEngine2/OBJECTS2_HOWTO:1.2 Thu Mar 14 12:08:06 2002 +++ ZendEngine2/OBJECTS2_HOWTO Thu Mar 14 12:13:02 2002 @@ -41,7 +41,7 @@ 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 @@ 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:

« previous php.zend-engine.cvs (#22) next »