NYCPHP Meetup

NYPHP.org

[nycphp-talk] lazy initialization woes

Adam Maccabee Trachtenberg adam at trachtenberg.com
Wed Nov 10 20:45:52 EST 2004


On Wed, 10 Nov 2004, Dan Cech wrote:

>          $this->$class =& $obj =& new $class( $this->id );

FWIW, these types of nasty hacks should no longer be necessary in PHP
5, God willing.

-adam

-- 
adam at trachtenberg.com
author of o'reilly's "upgrading to php 5" and "php cookbook"
avoid the holiday rush, buy your copies today!



More information about the talk mailing list