Re: [PHP-DEV] Bug#28151 Writing to Uninitialized Arrays

2004-04-26 Thread Sara Golemon
> >Here's what I think is the fix for 28151 (I have no strong feelings on > >whether or not it belongs in the engine, but I am +1 on it personally). > >Zend guys? > > > PHP has always allowed defining arrays on demand. This would break many > scripts and I don't see any reason to force people to de

Re: [PHP-DEV] Bug#28151 Writing to Uninitialized Arrays

2004-04-26 Thread Andi Gutmans
PHP has always allowed defining arrays on demand. This would break many scripts and I don't see any reason to force people to define variables as arrays, especially when these variables are undefined. Andi At 10:18 PM 4/25/2004 -0700, Sara Golemon wrote: Here's what I think is the fix for 28151

Re: [PHP-DEV] Bug#28151 Writing to Uninitialized Arrays

2004-04-25 Thread Derick Rethans
On Sun, 25 Apr 2004, Sara Golemon wrote: > Here's what I think is the fix for 28151 (I have no strong feelings on > whether or not it belongs in the engine, but I am +1 on it personally). > Zend guys? Did you run "make test" with this change? I have a feeling that'd break other things... Derick

[PHP-DEV] Bug#28151 Writing to Uninitialized Arrays

2004-04-25 Thread Sara Golemon
Here's what I think is the fix for 28151 (I have no strong feelings on whether or not it belongs in the engine, but I am +1 on it personally). Zend guys? Index: Zend/zend_execute.c === RCS file: /repository/ZendEngine2/zend_execute.c