mirror of
https://github.com/php/php-src.git
synced 2024-12-03 23:05:57 +08:00
14 lines
238 B
PHP
14 lines
238 B
PHP
--TEST--
|
|
SplFileObject::fpassthru function - basic functionality test
|
|
--FILE--
|
|
<?php
|
|
$obj = New SplFileObject(dirname(__FILE__).'/SplFileObject_testinput.csv');
|
|
$obj->fpassthru();
|
|
?>
|
|
--EXPECT--
|
|
first,second,third
|
|
1,2,3
|
|
4,5,6
|
|
7,8,9
|
|
0,0,0
|