Access an associative array value given an array of keys in PHP
This seems alright, but you could use foreach, and checking and returning can be simpler:

class Config
{
    protected static $values;

    ...

    public static function get()
    {
        $val = &amp;self::$values;
        foreach(func_get_args() as $argument)
        {  
          $val = &amp;$val[$argument];
          if(empty($val)) return "";
        }
        return $val;
    }
}


I would call this more elegant, but it's not more efficient. (I did not test the code.)