<?php $a = new ArrayObject(); $a['b'] = 10; $a[1] = 22; foreach ($a as $b) { print_r($b . PHP_EOL); } iterator_apply($a, fn ($x) => print_r($x . PHP_EOL));
You have javascript disabled. You will not be able to edit any code.