Re: [patch] Dynamic access of static members/methods, and constants
| From: | David Coallier | Date: | Fri, 27 Apr 2007 16:35:56 +0000 |
| Subject: | Re: [patch] Dynamic access of static members/methods, and constants | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-29078@lists.php.net to get a copy of this message | ||
+1
On 4/27/07, Tijnema ! <tijnema@gmail.com> wrote:
On 4/27/07, Antony Dovgal <antony@zend.com> wrote: On 04/27/2007 04:37 PM, Etienne Kneuss wrote:-- David Coallier, Founder & Software Architect, Agora Production (http://agoraproduction.com) 51.42.06.70.18Hi, 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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php