ksort_recursive example



    /** * @param array $theArray * * @return bool */
    public static function ksort_recursive(&$theArray) {
        ksort($theArray);
        foreach ($theArray as $key => $value) {
            if (is_array($value)) {
                self::ksort_recursive($theArray[$key]);
            }
        }
        return true;
    }

    /** * @param string $filename * @param int $numextensions * * @return string */
    
Home | Imprint | This part of the site doesn't use cookies.