--TEST-- Test md5_file() function with ASCII output and raw binary output --FILE-- --EXPECTF-- *** Testing for error conditions *** Warning: md5_file(): Filename cannot be empty in %s on line %d bool(false) Warning: md5_file(aZrq16u): failed to open stream: No such file or directory in %s on line %d bool(false) Warning: md5_file(12): failed to open stream: No such file or directory in %s on line %d bool(false) Warning: md5_file(): Filename cannot be empty in %s on line %d bool(false) Warning: md5_file() expects at least 1 parameter, 0 given in %s on line %d NULL Warning: md5_file() expects at most 2 parameters, 3 given in %s on line %d NULL *** Hexadecimal Output for Empty file as Argument *** string(32) "d41d8cd98f00b204e9800998ecf8427e" *** Raw Binary Output for Empty file as Argument *** string(16) "ُ B~" *** Hexadecimal Output for a valid file with some contents *** string(32) "7f28ec647825e2a70bf67778472cd4a2" *** Raw Binary Output for a valid file with some contents *** string(16) "(dx% wxG,Ԣ" Done