Re: Re: Static weirdness..
| From: | Marcus Boerger | Date: | Thu, 19 Feb 2004 15:34:09 +0000 |
| Subject: | Re: Re: Static weirdness.. | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-8004@lists.php.net to get a copy of this message | ||
Hello Pierre-Alain,
Thursday, February 19, 2004, 4:28:50 PM, you wrote:
> On Thu, 19 Feb 2004 16:21:50 +0100
> Marcus Boerger <helly@php.net> wrote:
>> But why the hell do you want a message, calling a static method from
>> anywhere is absolutley fine. This of course includes calling a static
>> method of an instance's class, however that is syntactically
>> accomplished.
> I think it's cleaner, but as said, I do not care. There is no chance to
> get a compromise on that as it is the case in most OO topic here, too
> much OO pov and fanatics ;-))
> However I like to get the flags from getMethods :)
As mentioned beside you patch:
php -r '$m = new reflection_method("reflection_method","export");
var_dump($m->isStatic());'
>> I heared pear already mentioned in this thread. That cannot be of any
>> reason with the ongoing effort to make statics work. First as i heared
>> most of pear doesn't run on php5 and second pear of today uses php4
>> which didn't support statics and lots of other oo goodies. So it clear
>> that pear has some bc problems when moving to version where all the
>> workarounds are now solved by syntax.
> There is no problem. PEAR runs with PHP5 (I use only php5 these days)
> And PEAR does not lead PHP devs but the counter, imho.
Oh - great news to hear!
--
Best regards,
Marcus mailto:helly@php.net