Very disagreed with your analogy. By the time those PHP tutorials were written, SQL injection attacks were already known.
So not sure what you're trying to push here but I refuse to participate.
Still to this day you have free-after-use bugs in the Linux kernel, about 20% of all known bugs in the kernel. How is this not comparable?
It is comparable, that's why I'm moving to Rust. Hence I said I don't want to participate simply because I am not defending C either. It played its role and it's time for it to be phased out.
Which MySQL library did Ritchie wrap back in 1972?