this post was submitted on 12 Mar 2024
1089 points (95.8% liked)
Programmer Humor
32361 readers
237 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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