public static function ArgString($arg){

		$type = gettype($arg);

		if( $type === 'object'){
			$string = $arg->cache_string;
			unset($arg->cache_string);
			return $string;

		}elseif( $type === 'array' ){
			$string = ' Array(';
			foreach($arg as $k => $a){
				$string .= var_export($k,true).' => '.self::ArgString($a).',';
			}
			return $string . ')';
		}

		return var_export($arg,true);
	}
public static function ArgString($arg){

		$type = gettype($arg);

		if( $type === 'object'){
			$string = $arg->cache_string;
			unset($arg->cache_string);
			return $string;

		}elseif( $type === 'array' ){
			$string = ' Array(';
			foreach($arg as $k => $a){
				$string .= var_export($k,true).' => '.self::ArgString($a).',';
			}
			return $string . ')';
		}

		return var_export($arg,true);
	}
public static function ArgString ( $ arg ) { $ type = gettype ( $ arg ) ; if ( $ type === 'object' ) { $ string = $ arg -> cache_string ; unset ( $ arg -> cache_string ) ; return $ string ; } elseif ( $ type === 'array' ) { $ string = ' Array(' ; foreach ( $ arg as $ k => $ a ) { $ string .= var_export ( $ k , true ) . ' => ' . self :: ArgString ( $ a ) . ',' ; } return $ string . ')' ; } return var_export ( $ arg , true ) ; }
Convert an argument to a string for use in the parser cache

@return string
Convert an argument to a string for use in the parser cache