![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.php archiveRe: Arrays and Pointers
From: Oli Filth <catch@olifilth.co.uk>
Date: Thu Sep 29 2005 - 20:49:03 CEST
thehuby said the following on 29/09/2005 15:39:
Yes, because $nr is a reference to the news_resource object. Every time
$a = new object();
$b and $a refer to the *same* object. Anything you to do $b will happen
> if I redeclare the object ($nr = new news_resource(); ) again, before
In this case, you're redefining $nr as a reference to a new object, so
-- OliReceived on Tue Oct 18 02:29:40 2005 |