mirror of
https://github.com/php/php-src.git
synced 2026-04-29 11:13:36 +02:00
Move SplFileObject tests into subfolder
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
--TEST--
|
||||
SPL: SplFileObject::rewind basic
|
||||
--CREDITS--
|
||||
Ricardo Oedietram <ricardo@odracir.nl>
|
||||
Erwin Poeze <erwin.poeze@gmail.com>
|
||||
#PFZ June PHP TestFest 2012
|
||||
--FILE--
|
||||
<?php
|
||||
//line 2
|
||||
//line 3
|
||||
//line 4
|
||||
//line 5
|
||||
$s = new SplFileObject(__FILE__);
|
||||
|
||||
$s->seek(3);
|
||||
|
||||
$s->rewind();
|
||||
echo $s->current();
|
||||
?>
|
||||
--EXPECT--
|
||||
<?php
|
||||
Reference in New Issue
Block a user