Topic: question regarding mysql_real_escape_string

I'm using php remi 7.1.x and I noticed that I can still use the mysql_real_escape_string while regarding php.net this function has been removed since version 7.x. Am I correct that this function is still available in remi php packages?

Re: question regarding mysql_real_escape_string

The whole mysql extension is deprecated (for years) and have been removed from PHP 7.

So you sholud use the mysqli extension , and thus the mysqli_real_escape_string function


BTW, the php-mysql-mysql package exists for old legacy application, but using it can only be a temporary workaround, the code have to be fixed.

Desktop: Fedora 25 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 26 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.9 x86_64 + EPEL + remi + remi-php70