Hi to all, I was wondering if someone out there has had the same problem as I have; fetching from an object a private array variable through a get method. And instead of getting a copy of the array, you get access to the original array, being able to access the object's internal data!
I have tried my test script on a Linux 2.6.5 running PHP 5.0.4 and on a FreeBSD 5.4 running PHP 5.0.5. Bellow is the test script: <?php class Atom { } ?>