Re: [PHP-DEV] zend_hash_update question

2009-06-15 Thread Felipe Pena
Hi David, Em Seg, 2009-06-15 às 16:16 +0200, David Zülke escreveu: > Patch updated to reflect the change. It's against 5.3 btw. Now who > will commit it so it makes it into the next RC? :) > I've committed it, thanks. (5.2+) -- Regards, Felipe Pena -- PHP Internals - PHP Runtime Developm

Re: [PHP-DEV] zend_hash_update question

2009-06-15 Thread David Zülke
Patch updated to reflect the change. It's against 5.3 btw. Now who will commit it so it makes it into the next RC? :) - David On 15.06.2009, at 15:47, David Zülke wrote: On 15.06.2009, at 15:40, Matt Wilmas wrote: Hi David, Hey Matt, - Original Message - From: "David Zülke" S

Re: [PHP-DEV] zend_hash_update question

2009-06-15 Thread David Zülke
On 15.06.2009, at 15:40, Matt Wilmas wrote: Hi David, Hey Matt, - Original Message - From: "David Zülke" Sent: Monday, June 15, 2009 Hi folks, while fixing http://bugs.php.net/bug.php?id=48557 I was wondering why zend_hash_update doesn't automatically convert numeric strings

Re: [PHP-DEV] zend_hash_update question

2009-06-15 Thread Matt Wilmas
Hi David, - Original Message - From: "David Zülke" Sent: Monday, June 15, 2009 Hi folks, while fixing http://bugs.php.net/bug.php?id=48557 I was wondering why zend_hash_update doesn't automatically convert numeric strings to integers. Doing $foo = array('1' => 'bar'); actually resu

[PHP-DEV] zend_hash_update question

2009-06-15 Thread David Zülke
Hi folks, while fixing http://bugs.php.net/bug.php?id=48557 I was wondering why zend_hash_update doesn't automatically convert numeric strings to integers. Doing $foo = array('1' => 'bar'); actually results in an integer key with value 1, not in a string. The problem in the bug above was