note 26927 added to zend.copy-constructor
| From: | spambo at nomeaning dot net | Date: | Mon, 18 Nov 2002 08:27:36 +0000 |
| Subject: | note 26927 added to zend.copy-constructor | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-39622@lists.php.net to get a copy of this message | ||
In this sentence:
If you define an object in such a language, you have the possibility of
overloading the "=" operator, which is usually responsible for assigning the
contents of the lvalue (result of the evaluation of the left side of the
operator) to the rvalue (same for the right side).
The concept of the "=" operator is reversed. The contents of the
<i>rvalue</i> will be assigned to the <i>lvalue</i>!
--
http://www.php.net/manual/en/zend.copy-constructor.php
http://master.php.net/manage/user-notes.php?action=edit+26927
http://master.php.net/manage/user-notes.php?action=delete+26927
http://master.php.net/manage/user-notes.php?action=reject+26927