Lines Matching refs:sha1_file
2 Test sha1_file() function with ASCII output and raw binary output. Based on ext/standard/tests/stri…
7 echo "*** Testing sha1_file() : basic functionality ***\n";
36 var_dump( sha1_file("") );
42 var_dump( sha1_file("rewncwYcn89q") );
45 var_dump( sha1_file(12) );
49 var_dump( sha1_file(NULL) );
55 var_dump( sha1_file("EmptyFileSHA1.txt") );
58 var_dump( bin2hex(sha1_file("EmptyFileSHA1.txt", true)));
61 var_dump( sha1_file("DataFileSHA1.txt") );
64 var_dump ( bin2hex(sha1_file("DataFileSHA1.txt", true)));
72 *** Testing sha1_file() : basic functionality ***
81 Warning: sha1_file(rewncwYcn89q): Failed to open stream: No such file or directory in %s on line %d
86 Warning: sha1_file(12): Failed to open stream: No such file or directory in %s on line %d
91 Deprecated: sha1_file(): Passing null to parameter #1 ($filename) of type string is deprecated in %…