Em Ter, 2008-03-25 às 12:35 +0100, Lars Strojny escreveu:
> Would that mean that the following code does not work anymore?
> 
> <?php
> class Foo
> {
>       protected function method()
>       {
>       }
> 
>       public function doSomething(Foo $foo)
>       {
>               $foo->method();
>       }
> }
> 
> $foo1 = new Foo();
> $foo1->doSomething(new Foo());
> 

This still will works.


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

Reply via email to