1136
Solutions? Where we're going, we don't need solutions.
(lemmy.world)
Post funny things about programming here! (Or just rant about your favourite programming language.)
PHP: Problem ->
real_solution_for_real_this_time()
(real_solution_i_swear()
is unsafe and deprecated)Eh, your statement is accurate for PHP4 and still relevant up to PHP5.2... We're on PHP8.3 now and PHP8.0 is now out of security updates. I know it's trend to hate on PHP but you've got to at least update your materials to var-vars... it's like knocking node for having
substr()
andsubstring()
.2 years ago I tried to give a drupal project the ci/cd makeover (i.e. containers, test-deployments, reproducable builds, etc)... that's when my hate was freshly renewed.
At this point I think it's ok to let a dead language die and move on to something else (anything else, really)
PHP: Problem -> Laravel -> Solution
Ahem: Problem -> Laminas -> Solution
mysql_real_escape_string