php-src/ext/spl/tests/SplFileObject_fseek_error_001.phpt
2009-06-03 12:30:40 +00:00

13 lines
305 B
PHP

--TEST--
SplFileObject::fseek function - parameters test
--FILE--
<?php
$obj = New SplFileObject(__FILE__);
$obj->fseek(1,2,3);
$obj->fseek();
?>
--EXPECTF--
Warning: SplFileObject::fseek() expects at most 2 parameters, 3 given %s
Warning: SplFileObject::fseek() expects at least 1 parameter, 0 given %s