mirror of
https://github.com/php/php-src.git
synced 2024-12-03 23:05:57 +08:00
19 lines
284 B
PHP
19 lines
284 B
PHP
--TEST--
|
|
SPL: SplFileObject::current 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();
|
|
|
|
?>
|
|
--EXPECT--
|
|
<?php
|