From: php dot net at benjamin dot schulz dot name
Operating system: linu
PHP version: 5.2.0RC1
PHP Bug Type: Class/Object related
Bug description: abstract static functions not allowed anymore
Description:
------------
abstract static functions aren't allowed anymore, but if they can be
inherited they IMHO should be allowed to be made abstract
Reproduce code:
---------------
<?php
abstract class foo
{
abstract static public function bar();
}
class bar extends foo
{
static public function bar()
{
}
}
?>
Actual result:
--------------
Fatal error: Static function foo::bar() cannot be abstract
--
Edit bug report at http://bugs.php.net/?id=38219&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=38219&r=trysnapshot44
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=38219&r=trysnapshot52
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=38219&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=38219&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=38219&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=38219&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=38219&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=38219&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=38219&r=support
Expected behavior: http://bugs.php.net/fix.php?id=38219&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=38219&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=38219&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=38219&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38219&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=38219&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=38219&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=38219&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=38219&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=38219&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=38219&r=mysqlcfg