--TEST-- Test reset() function : usage variations - unset first element --FILE-- " . key($array) . "\n"; echo "\n-- Unset First element in array and check reset() --\n"; unset($array[0]); var_dump(reset($array)); ?> --EXPECT-- *** Testing reset() : usage variations *** -- Initial Position: -- a => 0 -- Unset First element in array and check reset() -- string(1) "b"