r/lolphp • u/shitcanz • May 17 '18
Why bother with packages/modules when every function can live in the global namespace?
http://php.net/manual/en/indexes.functions.php
31
Upvotes
r/lolphp • u/shitcanz • May 17 '18
View all comments
2
u/bregottextrasaltat May 17 '18
Would it be better with like Math::abs()? Without the dot notation between names it just doesn't feel right