5 points
That article is over a decade old. A lot of these issues aren’t relevant any more or have been fixed. Some weren’t even PHP issues, for example mysql_real_escape_string is a MySQL API (https://dev.mysql.com/doc/c-api/8.0/en/mysql-real-escape-string.html).
PHP isn’t the best language, but it’s not as bad as some people claim it to be, especially if you use a good framework like Laravel.
-6 points
*
1 point
JavaScript has a lot of the same issues as PHP. It doesn’t have some of the same core library issues because it doesn’t have a good core library.
3 points