mirror of
https://github.com/php/php-src.git
synced 2024-12-12 03:15:29 +08:00
13 lines
258 B
PHP
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"
|
|
}
|