mirror of
https://github.com/php/php-src.git
synced 2025-01-07 19:44:02 +08:00
Explicit cast needed for now
This commit is contained in:
parent
f223262bcd
commit
8cdd2ed319
@ -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===
|
||||
|
Loading…
Reference in New Issue
Block a user