Return to crc32.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / standard / tests / strings |
1.1 misho 1: --TEST-- 2: crc32() function 3: --FILE-- 4: <?php 5: $input = array("foo", "bar", "baz", "grldsajkopallkjasd"); 6: foreach($input AS $i) { 7: printf("%u\n", crc32($i)); 8: } 9: ?> 10: --EXPECT-- 11: 2356372769 12: 1996459178 13: 2015626392 14: 824412087