--TEST-- Test finfo_open() function : error functionality --SKIPIF-- ===DONE=== --EXPECTF-- *** Testing finfo_open() : error functionality *** bool(false) Warning: finfo_open() expects parameter 1 to be long, array given in %s on line %d bool(false) Warning: finfo_open() expects at most 2 parameters, 3 given in %s on line %d bool(false) Notice: finfo_open(): Warning: using regular magic file `%s' in %s on line %d resource(%d) of type (file_info) Warning: finfo_open() expects parameter 1 to be long, %unicode_string_optional% given in %s on line %d bool(false) Warning: finfo::finfo() expects parameter 1 to be long, %unicode_string_optional% given in %s on line %d NULL ===DONE===