update page now
Longhorn PHP 2026 - Call For Papers

Voting

: max(four, three)?
(Example: nine)

The Note You're Voting On

john at doe dot com
18 years ago
<?php
function array_change_value_case($input, $case = CASE_LOWER)
{
    $aRet = array();
    
    if (!is_array($input))
    {
        return $aRet;
    }
    
    foreach ($input as $key => $value)
    {
        if (is_array($value))
        {
            $aRet[$key] = array_change_value_case($value, $case);
            continue;
        }
        
        $aRet[$key] = ($case == CASE_UPPER ? strtoupper($value) : strtolower($value));
    }
    
    return $aRet;
}
?>

<< Back to user notes page

To Top