Re: [PEPr] Comment on Web Services::Services_TinyURL
| From: | till | Date: | Tue, 11 Sep 2007 16:23:02 +0000 |
| Subject: | Re: [PEPr] Comment on Web Services::Services_TinyURL | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-47984@lists.php.net to get a copy of this message | ||
On 9/11/07, Joe Stump <joe@joestump.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> > No notice, no E_STRICT. Seems to be fine. Hence, Travis can extend the
> > class for unittests without making the code any more complicated. ;-)
>
> Since when does PHP5 allow you to call static methods non-statically
> without throwing a notice? This is news to me.
I think the "public static" part is important. If you just did
"static", it would be different. From what I understand "public
static" is not a static method that is "callable" outside of "self"
(hope my point makes it across). I think this was what you were
thinking though?
But that's just an uneducated guess. ;-)
Btw, I am on 5.2.3.
Till