Re: [PHP-DEV] array commits broke something

2002-08-01 Thread Jan Schneider
Zitat von Brad LaFountain <[EMAIL PROTECTED]>: > Sorry.. i miss read your comment... you are correct > > I just fixed it commiting in a few min. Yes, everything works as expected now. Thanks! Jan. -- http://www.horde.org - The Horde Project http://www.ammma.de - discover your knowledge http:/

Re: [PHP-DEV] array commits broke something

2002-08-01 Thread Brad LaFountain
Sorry.. i miss read your comment... you are correct I just fixed it commiting in a few min. - brad --- Brad LaFountain <[EMAIL PROTECTED]> wrote: > That was my fault. I did apply a patch that will fix that late > last nite. > > Just get the current CVS and it should work. > > PS. array_pop/ar

Re: [PHP-DEV] array commits broke something

2002-08-01 Thread Brad LaFountain
That was my fault. I did apply a patch that will fix that late last nite. Just get the current CVS and it should work. PS. array_pop/array_shift is tuns faster now :) - brad --- Jani Taskinen <[EMAIL PROTECTED]> wrote: > > Have you updated to the very latest? I'm unable to reproduce t

Re: [PHP-DEV] array commits broke something

2002-08-01 Thread Jani Taskinen
Have you updated to the very latest? I'm unable to reproduce this.. Can you give some simple example script? (maybe I understood you wrong..) --Jani -- On Thu, 1 Aug 2002, Jan Schneider wrote: >Hi, > >the recent changes in the array code broke something. array_

[PHP-DEV] array commits broke something

2002-08-01 Thread Jan Schneider
Hi, the recent changes in the array code broke something. array_pop() doesn't decrease the key counter. Let's say your have an array('one', 'two', 'three') and run array_pop() on it, then push another value so that you now have array('one', 'two', 'four') the key of the last value will be 3, not