php-src/ext/standard/tests/strings/bug36306.phpt
Anatol Belski b6dd1ec60d fix test
breach introduced in ac40c0b562
2013-06-17 00:09:05 +02:00

16 lines
360 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 truly reproduce
the problem, this example being not a problem
*/
echo dechex(crc32("platform independent")) . "\n";
?>
--EXPECT--
cbd056ba