--TEST-- Check that bad arguments return the same --SKIPIF-- --FILE-- getNumberOfRequiredParameters() == 0) { continue; } try { $res = $func($arg); } catch (Exception $e) { continue; } if($res != false) { echo "$func: "; var_dump($res); } } echo "OK!\n"; ?> --EXPECT-- OK!