45
Mon Mar 04 2024 02:01:37 GMT+0000 (Coordinated Universal Time)
Saved by
@codewarrior
// Avoid this
function badFunction() {
global $someGlobalVar;
// ... do something with $someGlobalVar
}
// Prefer this
function betterFunction($someVar) {
// ... do something with $someVar
}
content_copyCOPY
Comments