From 8cdd2ed31936bfff4395cf5bc75766b5b7b470dc Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Wed, 17 Mar 2004 19:00:44 +0000 Subject: [PATCH] Explicit cast needed for now --- ext/spl/tests/array_object_iterator.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/spl/tests/array_object_iterator.phpt b/ext/spl/tests/array_object_iterator.phpt index 2611537fd4..5476d7d30c 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."\n"; + echo $student->__tostring()."\n"; } ?> ===DONE=== -- 2.50.1