Re: [PEPr] Comment on Web Services::Services_TinyURL

From: Date: Tue, 11 Sep 2007 16:15:11 +0000
Subject: Re: [PEPr] Comment on Web Services::Services_TinyURL
References: 1 2 3 4 5 6 7  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-47982@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 > > > public static ? Public AND static? ;-))) > The source files are posted publicly ... Yes, static public function > create/lookup(). I obviously looked at the class earlier and just again. I just also tried the code I proposed... it works. class travis extends Services_TinyURL {} $tiny = new travis; var_dump($tiny->create($this->_url)); exit; No notice, no E_STRICT. Seems to be fine. Hence, Travis can extend the class for unittests without making the code any more complicated. ;-) Cheers, Till

« previous php.pear.dev (#47982) next »