public static function normalize($filePath) { $filePath = realpath($filePath); $filePath = str_replace('\\', DIRECTORY_SEPARATOR, $filePath); return $filePath; }