--TEST-- Test next() function : basic functionality --FILE-- " . current($array) . "\n"; var_dump(next($array)); echo key($array) . " => " . current($array) . "\n"; var_dump(next($array)); echo key($array) . " => " . current($array) . "\n"; var_dump(next($array)); ?> ===DONE=== --EXPECT-- *** Testing next() : basic functionality *** 0 => zero string(3) "one" 1 => one string(3) "two" 2 => two bool(false) ===DONE===