On Wed, 15 Jun 2005, Moriyoshi Koizumi wrote:

> On 2005/06/14, at 21:59, Derick Rethans wrote:
>
> > Hello Moriyoshi,
> >
> > The following test is failing for everybody. This bug occurred after 
> > you fixed the bug in report #29493. Can you please have a look at 
> > it, and perhaps revert it - as it seems to be causing more problems 
> > now than it did before. Ofcourse, it would be great if you could fix 
> > both issues (and make sure the issues in these bugs are fixed too: 
> > #30074, #31217, #31213, #29493, #31753 and #25708.
>
> As I mentioned already, this is an architectural problem in the engine,
> and it seems there is and will be no obvious fix. Most of the developers
> think my patch is somewhat bogus, but it wasn't quite true. I think I will
> revert it if we come to a decision that we completely remove the EXTR_REFS
> feature.
> 
> See the below for technical detail:
> http://marc.theaimsgroup.com/?l=php-dev&m=110464777311640&w=2

I think your option "a" is quite acceptable, not?

a. Specify first_arg_force_ref to PHP_FE(extract).
   This will cause the engine to yell a 
only-variables-can-be-passed-by-reference!
   when you directly pass a scalar (temporary variable) to it.

Even reverting the fixes for 25708 and 29493 would be better, as it 
causes quite strange things now - stranger than before IMO.

regards,
Derick

-- 
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org

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

Reply via email to