Remix.run Logo
esskay 8 days ago

What would the alternative for a namespace separator be? The backslashes work well with PSR-4 to give a logical visual of the expected directory structure.

account42 7 days ago | parent [-]

Since PHP takes a lot of syntax from C-like languages, the C++ namespace separator :: would be the obvious choice. Not sure if this conflicted with something in PHP though.

jimktrains2 7 days ago | parent [-]

https://www.php.net/manual/en/language.oop5.paamayim-nekudot... scope resolution operator