Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_3) / zend.h zend_hash.h zend_operators.h /tests bug45877.phpt php-src NEWS

From: Date: Wed, 18 Mar 2009 15:51:53 +0000
Subject: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_3) / zend.h zend_hash.h zend_operators.h /tests bug45877.phpt php-src NEWS
References: 1  Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-7478@lists.php.net to get a copy of this message
The test fails on Linux 64bit: # cat Zend/tests/bug45877.diff 006+ ["9.2233720368548E+18"]=> 006- ["%d8"]=> On 18.03.2009 04:08, Matt Wilmas wrote: > Index: ZendEngine2/tests/bug45877.phpt > +++ ZendEngine2/tests/bug45877.phpt > --TEST-- > Bug #45877 (Array key '2147483647' left as string) > --FILE-- > <?php > $keys = array(PHP_INT_MAX, > (string) PHP_INT_MAX, > (string) (-PHP_INT_MAX - 1), > -PHP_INT_MAX - 1, > (string) (PHP_INT_MAX + 1)); > > var_dump(array_fill_keys($keys, 1)); > ?> > --EXPECTF-- > array(3) { > [%d7]=> > int(1) > [-%d8]=> > int(1) > [u"%d8"]=> > int(1) > } > > > -- Wbr, Antony Dovgal

« previous php.zend-engine.cvs (#7478) next »