Lines Matching refs:crc32
2 Test crc32() function : error conditions
5 /* Prototype : string crc32(string $str)
6 * Description: Calculate the crc32 polynomial of a string
7 * Source code: ext/standard/crc32.c
12 * Testing crc32() : error conditions
15 echo "*** Testing crc32() : error conditions ***\n";
18 echo "\n-- Testing crc32() function with Zero arguments --\n";
19 var_dump( crc32() );
21 //Test crc32 with one more than the expected number of arguments
22 echo "\n-- Testing crc32() function with more than expected no. of arguments --\n";
25 var_dump( crc32($str, $extra_arg) );
30 *** Testing crc32() : error conditions ***
32 -- Testing crc32() function with Zero arguments --
34 Warning: crc32() expects exactly 1 parameter, 0 given in %s on line %d
37 -- Testing crc32() function with more than expected no. of arguments --
39 Warning: crc32() expects exactly 1 parameter, 2 given in %s on line %d