📜 ⬆️ ⬇️

Termination of MySQL extension support in PHP

Yes, you read this title quite correctly: last weekend Philip Olson sent to the php-internals mailing list a proposal to start gradual withdrawal from the mysql extension in future versions of php. This, however, does not mean that mysql will not be in PHP 5.4, but with version 5.5, work will begin on updating the documentation and adding E_DEPRECATED errors to the mysql functions.

As a replacement for the current native extension, it is supposed to use the mysqli or PDO extension, and possibly mysqlnd.

As a result, in future versions of PHP5 (starting from 5.5 or 5.6), calls to such functions as mysql_pconnect, mysql_query, and so on will be fueled by very unpleasant E_DEPRECATED notifications, and already in PHP 6 version the code of these functions will most likely be completely removed from PHP .

')

Source: https://habr.com/ru/post/124245/


All Articles