src/arraytopath/arraytopath.class.php
public function explode_path($path) {
		$path = preg_replace('/\/{2,}/', '/', $path);
		$path = $this->fix_path($path);
		$retval = explode('/', $path);
		
		//if the initial index is blank, just remove it.
		if($retval[0] == '' || strlen($retval[0]) < 1) {
			//it was blank!  KILL IT!
			$checkItOut = array_shift($retval);
		}
		
		return($retval);
	}
public function explode_path($path) {
		$path = preg_replace('/\/{2,}/', '/', $path);
		$path = $this->fix_path($path);
		$retval = explode('/', $path);
		
		//if the initial index is blank, just remove it.
		if($retval[0] == '' || strlen($retval[0]) < 1) {
			//it was blank!  KILL IT!
			$checkItOut = array_shift($retval);
		}
		
		return($retval);
	}
public function explode_path ( $ path ) { $ path = preg_replace ( '/\/{2,}/' , '/' , $ path ) ; $ path = $ this -> fix_path ( $ path ) ; $ retval = explode ( '/' , $ path ) ; //if the initial index is blank, just remove it. if ( $ retval [ 0 ] == '' || strlen ( $ retval [ 0 ] ) < 1 ) { //it was blank!  KILL IT! $ checkItOut = array_shift ( $ retval ) ; } return ( $ retval ) ; }
Performs all the work of exploding the path and fixing it.

@param $path		<string> Path to work with.
@return <array>	PASS: array contains exploded path.
Performs all the work of exploding the path and fixing it .