On Wed, 19 Jul 2006 15:32:42 +0200
[EMAIL PROTECTED] (Christian Stocker) wrote:

> 
> 
> On 19.7.2006 15:24 Uhr, Richard Quadling wrote:
> > For PHP 5.2.0-dev (cli) (built: Jul 12 2006 12:20:25), I get ...
> > 
> > Fatal error: Cannot use array returned from foo::__get('bar') in
> > write context in C:\- on line 16
> > 
> > But only once, not 1 per line.
> > 
> > $f = new foo();
> > $a = $f->bar;
> > foreach($a as $key => $value)
>  >
>  > fixes the code.
>  >
> 
> I know (forgot to mention it), but still annoying as I have to fix a
> lot of lines to do that.
> 
> If there are technical reasons for the fatal error, fine, I have to
> live with it then.

If there is good reasons for this change, it should be a good candidate
for E_STRICT but not E_FATAL/RECOVERABLE.

We should also have a notice in the upgrading notes. I can do it as
soon as we agreed on a solution.

-- Pierre

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

Reply via email to