thomascube
2010-03-31 c0297f4172da47a20350d597176ecafee47c97bb
program/include/rcube_shared.inc
@@ -608,6 +608,26 @@
/**
 * Get all keys from array (recursive)
 *
 * @param array Input array
 * @return array
 */
function array_keys_recursive($array)
{
  $keys = array();
  if (!empty($array))
    foreach ($array as $key => $child) {
      $keys[] = $key;
      if ($children = array_keys_recursive($child))
        $keys = array_merge($keys, $children);
    }
  return $keys;
}
/**
 * mbstring replacement functions
 */