Note the behavior change, FILEINFO_CONTINUE will now always
append a string \012-. I'm leaving this as is for now, as this is
the behavior change in libmagic.
--EXPECTF--
*** Testing finfo_file() : basic functionality ***
string(28) "text/x-php; charset=us-ascii"
-string(22) "PHP script, ASCII text"
-string(25) "text/plain; charset=utf-8"
+string(32) "PHP script, ASCII text\012- data"
+string(40) "application/octet-stream; charset=binary"
Warning: finfo_file(): Invalid path in %s%efinfo_file_basic.php on line %d
bool(false)
--EXPECTF--
*** Testing finfo_file() : regex rules ***
string(28) "text/plain; charset=us-ascii"
-string(30) "awk or perl script, ASCII text"
+string(40) "awk or perl script, ASCII text\012- data"
===DONE===