mirror of
https://github.com/php/php-src.git
synced 2026-04-27 10:16:41 +02:00
Move SplFileObject tests into subfolder
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
--TEST--
|
||||
SPL: SplFileObject::next 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__);
|
||||
echo $s->current();
|
||||
$s->next();
|
||||
|
||||
echo $s->current();
|
||||
|
||||
?>
|
||||
--EXPECT--
|
||||
<?php
|
||||
//line 2
|
||||
Reference in New Issue
Block a user