php-src/ext/standard/tests/strings/bug36306.phpt

16 lines
361 B
Plaintext
Raw Normal View History

--TEST--
2007-05-07 17:23:53 +00:00
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
*/
2006-12-06 13:21:48 +00:00
echo dechex(crc32(b"platform independant")) . "\n";
?>
--EXPECT--
ccd9fe66