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

13 lines
258 B
PHP

--TEST--
SplFileObject::fscanf function - basic functionality test
--FILE--
<?php
$obj = New SplFileObject(dirname(__FILE__).'/SplFileObject_testinput.csv');
var_dump($obj->fscanf('%s'));
?>
--EXPECT--
array(1) {
[0]=>
string(18) "first,second,third"
}