Lines Matching refs:o
6 $o = new SplFileObject(dirname(__FILE__) . '/fileobject_001a.txt');
8 var_dump($o->key());
9 var_dump($o->current());
10 $o->setFlags(SplFileObject::DROP_NEW_LINE);
11 var_dump($o->key());
12 var_dump($o->current());
13 var_dump($o->key());
14 $o->next();
15 var_dump($o->key());
16 var_dump($o->current());
17 var_dump($o->key());
18 $o->rewind();
19 var_dump($o->key());
20 var_dump($o->current());
21 var_dump($o->key());
22 $o->seek(4);
23 var_dump($o->key());
24 var_dump($o->current());
25 var_dump($o->key());
28 foreach($o as $n => $l)
34 $o = new SplFileObject(dirname(__FILE__) . '/fileobject_001b.txt');
35 $o->setFlags(SplFileObject::DROP_NEW_LINE);
36 foreach($o as $n => $l)