2 ms·
>Are you talking about C++ perhaps? ;) C++ very much applies. :) >Not using variable-variables, undeclared variables, globals, unsanitised variables in paths,
by loewenskind 16y ago
>Are you talking about C++ perhaps? ;)
C++ very much applies. :)
>Not using variable-variables, undeclared variables, globals, unsanitised variables in paths, SQL without prepared statements, etc. is common sense and applies to other languages too.
This is a subset of what you have to avoid in PHP. Further, things like globals can have uses. That's the difference with a really poorly designed language: there are things in there that have no good use case. Not things that are only used in rare cases, things that should never be used.