i am following a tutorial for a log in script, but what i don't understand is ow the array from the $config was passed to the $path. please pardon me if its like a novice questions , i have read about functions over again , but still did not get it.can anyone help
PHP Code:
<?php
class Config {
    public static function 
get($path null) {
        if(
$path) {
            
$config $GLOBALS['config'];
            
$path explode('/'$path);

            foreach(
$path as $bit) {
                if(isset(
$config[$bit])) {
                    
$config $config[$bit];
                }
            }

            return 
$config;
        }

        return 
false;
    }
}