public static function parse_source_path($path, $source) {
		$fragments = explode('.', $path);
		$currentFrame = $source;
		foreach($fragments as $fragment) {
			if(!isset($currentFrame[$fragment])) {
				return null;
			}
			$currentFrame = $currentFrame[$fragment];
		}
		return $currentFrame;
	}
public static function parse_source_path($path, $source) {
		$fragments = explode('.', $path);
		$currentFrame = $source;
		foreach($fragments as $fragment) {
			if(!isset($currentFrame[$fragment])) {
				return null;
			}
			$currentFrame = $currentFrame[$fragment];
		}
		return $currentFrame;
	}
public static function parse_source_path ( $ path , $ source ) { $ fragments = explode ( '.' , $ path ) ; $ currentFrame = $ source ; foreach ( $ fragments as $ fragment ) { if ( ! isset ( $ currentFrame [ $ fragment ] ) ) { return null ; } $ currentFrame = $ currentFrame [ $ fragment ] ; } return $ currentFrame ; }
Dot notation parser. Looks for an index or fails gracefully if not found.
@param string $path The path, dot notated.
@param array $source The source in which to search.
@return string|null
Dot notation parser . Looks for an index or fails gracefully if not found .