--TEST-- Test vfprintf() function : error conditions (more than expected arguments) --CREDITS-- Felix De Vliegher --INI-- precision=14 --FILE-- getMessage(), "\n"; } try { var_dump( vfprintf( $fp, "Foo %d", array(6), "bar" ) ); } catch (TypeError $e) { echo $e->getMessage(), "\n"; } // Close handle fclose($fp); ?> --CLEAN-- --EXPECT-- -- Testing vfprintf() function with more than expected no. of arguments -- vfprintf() expects exactly 3 arguments, 4 given vfprintf() expects exactly 3 arguments, 4 given