--TEST-- APC: APCIterator regex --SKIPIF-- --INI-- apc.enabled=1 apc.enable_cli=1 --FILE-- $value) { $vals[$key] = $value['key']; } ksort($vals); var_dump($vals); ?> ===DONE=== --EXPECT-- array(4) { ["key10"]=> string(5) "key10" ["key20"]=> string(5) "key20" ["key30"]=> string(5) "key30" ["key40"]=> string(5) "key40" } ===DONE===