PHP 5 seems to mostly fix the most glaring problem in PHP 4, its non-intuitive handling of references. However, this issue is more complicated than it sounds. For starters, here is one of the unit tests from PHP 5: <?php class Foo { var $name; function Foo() { $this->name = “I’m Foo!\n”; } } $foo … Continue reading PHP 5 Object References
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed