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

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php




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

[2006-07-26 16:38:24] [EMAIL PROTECTED]

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

------------------------------------------------------------------------

[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