<?php $xs = new ArrayIterator(array(1, 2, 3, 4)); $ys = (array) $xs; var_dump($ys); $us = new EmptyIterator(); $vs = (array) $us; var_dump($vs);
You have javascript disabled. You will not be able to edit any code.