diff --git a/ext/standard/md5.c b/ext/standard/md5.c index d8eb900eb5d..2a33588774f 100644 --- a/ext/standard/md5.c +++ b/ext/standard/md5.c @@ -58,7 +58,7 @@ PHP_NAMED_FUNCTION(php_if_md5) PHP_MD5Update(&context, arg, arg_len); PHP_MD5Final(digest, &context); if (raw_output) { - RETURN_STRINGL(digest, 16, 1); + RETURN_BINARYL(digest, 16, 1); } else { make_digest(md5str, digest); if (UG(unicode)) { @@ -110,7 +110,7 @@ PHP_NAMED_FUNCTION(php_if_md5_file) } if (raw_output) { - RETURN_STRINGL(digest, 16, 1); + RETURN_BINARYL(digest, 16, 1); } else { make_digest(md5str, digest); if (UG(unicode)) {