Re: Classes, Constructors, References and Recursion
| From: | Evert | Rooftop Solutions | Date: | Wed, 20 Apr 2005 19:17:58 +0000 |
| Subject: | Re: Classes, Constructors, References and Recursion | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-213528@lists.php.net to get a copy of this message | ||
Jochem Maas wrote:
also I believe print_r() and var_dump() have a few odditities regarding display of recursion with regard to objects... internals mailinglist archive might tell you more on that. I think I have the answer, when I pass a var to print_r it isn't passed by reference, so there will be a copy made immediately.
go for php5 if you can, you'll have alot more fun with object then :-) ....no more '&'s for starters. God I wish I could! The thing is, most hosting company's don't support it yet, and since I'm making a product that should run (and is already running) at various places, I have to use PHP4 :(thanx man, Evert