rasmus Wed, 03 Mar 2010 18:19:35 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=295801
Log:
Fix test
Changed paths:
U php/php-src/branches/PHP_5_2/Zend/tests/bug45877.phpt
U php/php-src/branches/PHP_5_3/Zend/tests/bug45877.phpt
U php/php-src/trunk/Zend/tests/bug45877.phpt
Modified: php/php-src/branches/PHP_5_2/Zend/tests/bug45877.phpt
===================================================================
--- php/php-src/branches/PHP_5_2/Zend/tests/bug45877.phpt 2010-03-03
17:53:15 UTC (rev 295800)
+++ php/php-src/branches/PHP_5_2/Zend/tests/bug45877.phpt 2010-03-03
18:19:35 UTC (rev 295801)
@@ -1,7 +1,7 @@
--TEST--
Bug #45877 (Array key '2147483647' left as string)
--INI--
-precision=20
+precision=16
--FILE--
<?php
$keys = array(PHP_INT_MAX,
@@ -18,6 +18,6 @@
int(1)
[-%d8]=>
int(1)
- ["%d8"]=>
+ ["%s"]=>
int(1)
}
Modified: php/php-src/branches/PHP_5_3/Zend/tests/bug45877.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/Zend/tests/bug45877.phpt 2010-03-03
17:53:15 UTC (rev 295800)
+++ php/php-src/branches/PHP_5_3/Zend/tests/bug45877.phpt 2010-03-03
18:19:35 UTC (rev 295801)
@@ -1,7 +1,7 @@
--TEST--
Bug #45877 (Array key '2147483647' left as string)
--INI--
-precision=20
+precision=16
--FILE--
<?php
$keys = array(PHP_INT_MAX,
@@ -18,6 +18,6 @@
int(1)
[-%d8]=>
int(1)
- ["%d8"]=>
+ ["%s"]=>
int(1)
}
Modified: php/php-src/trunk/Zend/tests/bug45877.phpt
===================================================================
--- php/php-src/trunk/Zend/tests/bug45877.phpt 2010-03-03 17:53:15 UTC (rev
295800)
+++ php/php-src/trunk/Zend/tests/bug45877.phpt 2010-03-03 18:19:35 UTC (rev
295801)
@@ -1,7 +1,7 @@
--TEST--
Bug #45877 (Array key '2147483647' left as string)
--INI--
-precision=20
+precision=16
--FILE--
<?php
$keys = array(PHP_INT_MAX,
@@ -18,6 +18,6 @@
int(1)
[-%d8]=>
int(1)
- [u"%d8"]=>
+ [u"%s"]=>
int(1)
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php