Skip to content

Commit 42ceb2e

Browse files
author
stas
committed
fix test with floats - make it not produce different result
on 32 and 64 bit git-svn-id: http://svn.php.net/repository/php/php-src/trunk@312296 c90b9560-bf6c-de11-be94-00142212c4b1
1 parent 77cae26 commit 42ceb2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Zend/tests/declare_001.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ zend.multibyte=1
1212
<?php
1313

1414
declare(encoding = 1);
15-
declare(encoding = 1123131232131312321);
15+
declare(encoding = 112313123213131232100);
1616
declare(encoding = NULL);
1717
declare(encoding = 'utf-8');
1818
declare(encoding = M_PI);
@@ -23,7 +23,7 @@ print 'DONE';
2323
--EXPECTF--
2424
Warning: Unsupported encoding [1] in %sdeclare_001.php on line %d
2525

26-
Warning: Unsupported encoding [1123131232131312321] in %sdeclare_001.php on line %d
26+
Warning: Unsupported encoding [1.1231312321313E+20] in %sdeclare_001.php on line %d
2727

2828
Warning: Unsupported encoding [] in %sdeclare_001.php on line %d
2929

0 commit comments

Comments
 (0)