Browse Source

fix test with floats - make it not produce different result

on 32 and 64 bit
pull/7/head
Stanislav Malyshev 15 years ago
parent
commit
e09ad36f00
  1. 4
      Zend/tests/declare_001.phpt

4
Zend/tests/declare_001.phpt

@ -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

Loading…
Cancel
Save