Portable PHP code: DIRECTORY_SEPARATOR is not necessary | AlanHogan.com Well, as Christian on php.net pointed out and the guys at Web Design Forums confirmed, that’s completely unnecessary. As long as you use the forward slash, “/”, you’ll be OK. Windows doesn’t mind it, and it’s best for *nix operating systems. そうそう。たまに丁寧にDIRECTORY_SEPARATOR使う人いるけど、PHPはWindowsでも"/"(フォワードスラッシュ)でファイルパスをかけるから、大抵の場合は