lib/blobfolio/common/ref/file.php
public static function unixslash(&$path) {
		if (\is_array($path)) {
			foreach ($path as $k=>$v) {
				static::unixslash($path[$k]);
			}
		}
		else {
			cast::string($path, true);

			$path = \str_replace('\\', '/', $path);
			$path = \str_replace('/./', '//', $path);
			$path = \preg_replace('/\/{2,}/u', '/', $path);
		}
	}
public static function unixslash(&$path) {
		if (\is_array($path)) {
			foreach ($path as $k=>$v) {
				static::unixslash($path[$k]);
			}
		}
		else {
			cast::string($path, true);

			$path = \str_replace('\\', '/', $path);
			$path = \str_replace('/./', '//', $path);
			$path = \preg_replace('/\/{2,}/u', '/', $path);
		}
	}
public static function unixslash ( & $ path ) { if ( \ is_array ( $ path ) ) { foreach ( $ path as $ k => $ v ) { static :: unixslash ( $ path [ $ k ] ) ; } } else { cast :: string ( $ path , true ) ; $ path = \ str_replace ( '\\' , '/' , $ path ) ; $ path = \ str_replace ( '/./' , '//' , $ path ) ; $ path = \ preg_replace ( '/\/{2,}/u' , '/' , $ path ) ; } }
Fix Path Slashes

@param string $path Path.
@return void Nothing.
Fix Path Slashes