Re: [patch] Dynamic access of static members/methods, and constants
| From: | Tijnema ! | Date: | Fri, 27 Apr 2007 13:30:52 +0000 |
| Subject: | Re: [patch] Dynamic access of static members/methods, and constants | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-29072@lists.php.net to get a copy of this message | ||
On 4/27/07, Antony Dovgal <antony@zend.com> wrote:
On 04/27/2007 04:37 PM, Etienne Kneuss wrote: Hi, I've already proposed that 1-2 months ago, but now seems to be a good time to discuss new things, so let's try again: I believe it would be nice to be able to dynamically reference static members, constants, and methods. Currently, there is no way to do that and the only way would be to create a static method and use call_user_func(array($classname, 'getThat')); In other words: I'm +0 if it's for HEAD only. Also I can see only two tests at the moment, we'll need MUCH more. There are so much combinations to test: unicode & binary strings, numbers, arrays, objects, booleans etc. etc. -- Wbr, Antony Dovgal There are actually 3 tests....Tijnema