If I understand correctly, given $bar is an object
$foo = $bar
will copy entire contents of $bar into foo. Following question: what happens
with $foo = new Foo? Does the object get created, copied into $foo and then
destroyed, while the copy in $foo lives?
In other words, is there a
Parse error: parse error, unexpected T_PAAMAYIM_NEKUDOTAYIM in [...]
With all due respect to Hebrew humour, am I the only one who thinks that the
above line is confusing to non-Israeli? ;)
--
- Michael
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit:
Markus Fischer wrote:
On Mon, Jun 03, 2002 at 10:29:19AM +0300, Michael Stolovitzsky wrote :
If I understand correctly, given $bar is an object
$foo = $bar
will copy entire contents of $bar into foo. Following question: what
happens with $foo = new Foo? Does the object get created