Dave Wilson - 2015-07-02 11:07:50
We need to remind ourselves why mysql_connect is going away. First and foremost it has bad garbage collection, especially in mysql_pconnect. Not to mention mysqli and pro handle sql injection prevention on their own, without the new developers having to sanitize input. While it does help new developers to learn this, many don't so there's a lot of code floating around still vulnerable.