1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/ext/spl/tests/SplFileObject/fileobject_getcurrentline_basic.phpt
2022-05-27 18:33:48 +01:00

20 lines
294 B
PHP
Raw Blame History

--TEST--
SPL: SplFileObject::getCurrentLine
--CREDITS--
H<EFBFBD>vard Eide <nucleuz at gmail.com>
#Testfest php.no
--FILE--
<?php
//line 2
//line 3
//line 4
//line 5
$s = new SplFileObject(__FILE__);
$s->seek(1);
echo $s->getCurrentLine();
echo $s->getCurrentLine();
?>
--EXPECT--
//line 2
//line 3