DEV Community

Discussion on: Always use `/` as directory separator in php

Collapse
 
funkedgeek profile image
Manny Fleurmond

Agreed. My rule of thumb now that I've discovered this constant is to use it just for file directory access. The problems illustrated seem to only occur when dealing with URLs. For me it's an anal stylistic choice. Thank you for the warning though, Mr Author