]> granicus.if.org Git - php/commitdiff
fix test with floats - make it not produce different result
authorStanislav Malyshev <stas@php.net>
Sun, 19 Jun 2011 18:52:58 +0000 (18:52 +0000)
committerStanislav Malyshev <stas@php.net>
Sun, 19 Jun 2011 18:52:58 +0000 (18:52 +0000)
on 32 and 64 bit

Zend/tests/declare_001.phpt

index d67209ee4dfa89c79f075289a73e286c4fd8534d..21d797880e62e72ea9aeedf397b3558826f04728 100644 (file)
@@ -12,7 +12,7 @@ zend.multibyte=1
 <?php
 
 declare(encoding = 1);
-declare(encoding = 1123131232131312321);
+declare(encoding = 112313123213131232100);
 declare(encoding = NULL);
 declare(encoding = 'utf-8');
 declare(encoding = M_PI);
@@ -23,7 +23,7 @@ print 'DONE';
 --EXPECTF--
 Warning: Unsupported encoding [1] in %sdeclare_001.php on line %d
 
-Warning: Unsupported encoding [1123131232131312321] in %sdeclare_001.php on line %d
+Warning: Unsupported encoding [1.1231312321313E+20] in %sdeclare_001.php on line %d
 
 Warning: Unsupported encoding [] in %sdeclare_001.php on line %d