On Fri, 8 Dec 2017, Dil Nawaz wrote:

> Actually i am use PHP v5.6 and I face always an warning message
> "Deprecated: mysql_connect(): The mysql extension is deprecated and will be
> removed in the future: use mysqli or PDO".
> I want to know that is it true?

Yes.

> If it is true then when it will remove?

It has been removed in PHP 7.0 and later, as per the following RFC:
https://wiki.php.net/rfc/remove_deprecated_functionality_in_php7

> Is it remove in all PHP version?

In everything after PHP 7, but there is an alternative (of course). Have 
a look at 
https://stackoverflow.com/questions/21797118/deprecated-mysql-connect

Please also note, that user questions should be asked on the 
php-general@ list, and not this security@ email address.

cheers,
Derick

-- 
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to