]> granicus.if.org Git - php/commitdiff
Go with implicit call
authorMarcus Boerger <helly@php.net>
Wed, 17 Mar 2004 19:14:15 +0000 (19:14 +0000)
committerMarcus Boerger <helly@php.net>
Wed, 17 Mar 2004 19:14:15 +0000 (19:14 +0000)
ext/spl/tests/array_object_iterator.phpt

index 5476d7d30cf301431d407bd5f6fad78632ca8314..9214a4c92bdc56b42567497907dae02f478f3e88 100755 (executable)
@@ -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===