mirror of
https://github.com/php/php-src.git
synced 2024-09-26 20:37:29 +00:00
13 lines
258 B
Plaintext
13 lines
258 B
Plaintext
![]() |
--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"
|
||
|
}
|