Bug in zend_do_perform_implementation_check(?)
| From: | Timm Friebe | Date: | Sat, 29 Mar 2003 19:01:15 +0000 |
| Subject: | Bug in zend_do_perform_implementation_check(?) | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-473@lists.php.net to get a copy of this message | ||
thekid@friebes:~/devel/php/tests > cat inheritance.php
<?php
class Object {
function __construct() { }
}
class String extends Object {
function __construct() { }
}
var_dump(new String());
?>
thekid@friebes:~/devel/php/tests > php5 inheritance.php
Fatal error: Declaration of string::__construct() must be the same as
::() in /usr/home/thekid/devel/php/tests/inheritance.php on line 6
- Timm