Return to bug36306.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / standard / tests / strings |
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. 1.1.1.2 ! misho 9: Have to find some small strings to truly reproduce 1.1 misho 10: the problem, this example being not a problem 11: */ 1.1.1.2 ! misho 12: echo dechex(crc32("platform independent")) . "\n"; 1.1 misho 13: ?> 14: --EXPECT-- 1.1.1.2 ! misho 15: cbd056ba