php-src/ext/standard/tests/strings/bug36306.phpt
Antony Dovgal e7d6927ed6 fix tests
2006-12-06 13:21:48 +00:00

16 lines
359 B
PHP

--TEST--
Bug #36306 crc32() 64bit
--FILE--
<?php
/* as an example how to write crc32 tests
PHP does not have uint values, you cannot
display crc32 like a signed integer.
Have to find some small strings to truely reproduce
the problem, this example being not a problem
*/
echo dechex(crc32(b"platform independant")) . "\n";
?>
--EXPECT--
ccd9fe66