![Alain Schlesser on Twitter: "Quick #PHP tip: When constructing paths, you don't need to use `DIRECTORY_SEPARATOR` constant, just use forward slashes. The constant should be used to manipulate paths that were returned Alain Schlesser on Twitter: "Quick #PHP tip: When constructing paths, you don't need to use `DIRECTORY_SEPARATOR` constant, just use forward slashes. The constant should be used to manipulate paths that were returned](https://pbs.twimg.com/media/Dhvtl2mWkAESNWO.jpg:large)
Alain Schlesser on Twitter: "Quick #PHP tip: When constructing paths, you don't need to use `DIRECTORY_SEPARATOR` constant, just use forward slashes. The constant should be used to manipulate paths that were returned
![DIRECTORY_SEPARATOR / Different Behavior under Windows · Issue #1760 · codeigniter4/CodeIgniter4 · GitHub DIRECTORY_SEPARATOR / Different Behavior under Windows · Issue #1760 · codeigniter4/CodeIgniter4 · GitHub](https://user-images.githubusercontent.com/5870455/53417508-d1679a80-39e6-11e9-8cf9-09a3d2dfccad.png)
DIRECTORY_SEPARATOR / Different Behavior under Windows · Issue #1760 · codeigniter4/CodeIgniter4 · GitHub
Sonar Research on X: "Can you spot the vulnerability? #codeadvent2022 #PHP It is always challenging for developers to account for multiple operating systems... https://t.co/ctRqQVxg12 https://t.co/x5AArtXuGX" / X
![Alain Schlesser on Twitter: "Quick #PHP tip: When constructing paths, you don't need to use `DIRECTORY_SEPARATOR` constant, just use forward slashes. The constant should be used to manipulate paths that were returned Alain Schlesser on Twitter: "Quick #PHP tip: When constructing paths, you don't need to use `DIRECTORY_SEPARATOR` constant, just use forward slashes. The constant should be used to manipulate paths that were returned](https://pbs.twimg.com/media/Dhvtl2mWkAESNWO.jpg)