From: Marcus Boerger Date: Wed, 17 Mar 2004 19:00:44 +0000 (+0000) Subject: Explicit cast needed for now X-Git-Tag: php-5.0.0RC1~22 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8cdd2ed31936bfff4395cf5bc75766b5b7b470dc;p=php Explicit cast needed for now --- 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===