helly Wed Mar 17 14:00:47 2004 EDT
Modified files:
/php-src/ext/spl/tests array_object_iterator.phpt
Log:
Explicit cast needed for now
http://cvs.php.net/diff.php/php-src/ext/spl/tests/array_object_iterator.phpt?r1=1.2&r2=1.3&ty=u
Index: php-src/ext/spl/tests/array_object_iterator.phpt
diff -u php-src/ext/spl/tests/array_object_iterator.phpt:1.2
php-src/ext/spl/tests/array_object_iterator.phpt:1.3
--- php-src/ext/spl/tests/array_object_iterator.phpt:1.2 Sat Mar 13 15:03:02
2004
+++ php-src/ext/spl/tests/array_object_iterator.phpt Wed Mar 17 14:00:44 2004
@@ -82,7 +82,7 @@
$students->add(new Student('00000014', 'Foo'));
foreach ($students as $student) {
- echo $student."\n";
+ echo $student->__tostring()."\n";
}
?>
===DONE===
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php