blob: 607fce6640a3dce1b9c7b8a5a2e8f03ed482b5fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--TEST--
SPL: SplFileObject::getCurrentLine
--CREDITS--
H�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 3
//line 4
|