summaryrefslogtreecommitdiff
path: root/ext/spl/tests/fileobject_002.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/tests/fileobject_002.phpt')
-rwxr-xr-xext/spl/tests/fileobject_002.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/spl/tests/fileobject_002.phpt b/ext/spl/tests/fileobject_002.phpt
index f85b020503..8031e98fdc 100755
--- a/ext/spl/tests/fileobject_002.phpt
+++ b/ext/spl/tests/fileobject_002.phpt
@@ -1,5 +1,5 @@
--TEST--
-SPL: FileObject::fgetc
+SPL: SplFileObject::fgetc
--FILE--
<?php
@@ -7,7 +7,7 @@ function test($name)
{
echo "===$name===\n";
- $o = new FileObject(dirname(__FILE__) . '/' . $name);
+ $o = new SplFileObject(dirname(__FILE__) . '/' . $name);
var_dump($o->key());
while(($c = $o->fgetc()) !== false)