Hi Greg,

Greg Beaver wrote:

> Try this code (which worked in 5.0.3)
> 
> <?php
> class a { public function __construct(){}}
> class b extends a { protected function __construct(){}}
> ?>

This was changed since such a change of visibility makes no sense - if you
extend a class it should still be compatible with it's parent class.

johannes
-- 
Johannes SchlÃter                           Mayflower GmbH / ThinkPHP
http://thinkphp.de                            http://blog.thinkphp.de

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to