ID:               38219
 Updated by:       [EMAIL PROTECTED]
 Reported By:      php dot net at benjamin dot schulz dot name
-Status:           Open
+Status:           Assigned
 Bug Type:         Class/Object related
 Operating System: linu
 PHP Version:      5.2.0RC1
-Assigned To:      
+Assigned To:      helly
 New Comment:

Marcus, if this change was intentional, we need to add a note to the
NEWS file and fix the docs appropriately.


Previous Comments:
------------------------------------------------------------------------

[2006-07-26 10:13:05] php dot net at benjamin dot schulz dot name

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 this bug report at http://bugs.php.net/?id=38219&edit=1

Reply via email to