1--TEST--
2SplFileObject::fpassthru function - parameters test
3--FILE--
4<?php
5$obj = New SplFileObject(dirname(__FILE__).'/SplFileObject_testinput.csv');
6$obj->fwrite();
7$obj->fwrite('6,6,6',25,null);
8?>
9--EXPECTF--
10Warning: SplFileObject::fwrite() expects at least 1 parameter, 0 given in %s
11
12Warning: SplFileObject::fwrite() expects at most 2 parameters, 3 given in %s
13