summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xext/spl/tests/array_object_iterator.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/tests/array_object_iterator.phpt b/ext/spl/tests/array_object_iterator.phpt
index 5476d7d30c..9214a4c92b 100755
--- a/ext/spl/tests/array_object_iterator.phpt
+++ b/ext/spl/tests/array_object_iterator.phpt
@@ -82,7 +82,7 @@ $students->add(new Student('00000014', 'Bob'));
$students->add(new Student('00000014', 'Foo'));
foreach ($students as $student) {
- echo $student->__tostring()."\n";
+ echo $student, "\n";
}
?>
===DONE===