Annotation of embedaddon/php/ext/standard/tests/strings/bug36306.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Bug #36306 (crc32() 64bit)
3: --FILE--
4: <?php
5:
6: /* as an example how to write crc32 tests
7: PHP does not have uint values, you cannot
8: display crc32 like a signed integer.
9: Have to find some small strings to truely reproduce
10: the problem, this example being not a problem
11: */
12: echo dechex(crc32("platform independant")) . "\n";
13: ?>
14: --EXPECT--
15: ccd9fe66
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>