<?php class x extends \SplFixedArray{ protected $foo = 4; } $arr = new x(20); while (list($field, $value) = each($arr)){ var_dump($field, $value); }
You have javascript disabled. You will not be able to edit any code.