<?php $arr = ['foo' => 1, 'bar' => 2]; $obj = (object) $arr; next($obj); var_dump(current($arr));
You have javascript disabled. You will not be able to edit any code.