Seemingly incorrect strict standard.
| From: | Richard Quadling | Date: | Mon, 03 Jun 2013 17:24:47 +0000 |
| Subject: | Seemingly incorrect strict standard. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-321340@lists.php.net to get a copy of this message | ||
Hi.
I've got an abstract class which requires one of the concrete descendants
to implement a static function.
The base class will call it using static:: rather than self::.
But I'm getting an error at runtime.
Static function should not be abstract.
It doesn't SEEM right to inhibit this.
Am I missing something?
I'm on PHP 5.4.15 (Mac and Centos).
--
Richard Quadling
Twitter : @RQuadling
EE : http://e-e.com/M_248814.html
Zend : http://bit.ly/9O8vFY