Static family

From: Date: Tue, 08 Feb 2011 15:27:08 +0000
Subject: Static family
Groups: php.internals 
Request: Send a blank email to internals+get-51435@lists.php.net to get a copy of this message
Hi guys (and sorry for my english), For now, we have __callStatic, but we don't have __getStatic, __setStatic and so on. Will these functions be implemented in the near future ? These static functions are a nice addition and can do magic (registry pattern for example). http://sitten-polizei.de/php/get-static.diff http://bugs.php.net/bug.php?id=45002 I patched PHP 5.3.5 with this file, but this leads to segmentation fault. Regards, Sébastien

« previous php.internals (#51435) next »