PHP has removed some of the functions, of which the scary ones are two:
1. Regular functions of the Ereg_* series
2. Database connection functions for the Mysql_* series
PHP7 full removal of MySQL extension support, the original Mysql_* series functions will no longer be supported in MySQL. So, if your application is still using the Mysql_* series of functions to connect to the database, please upgrade your MySQL series functions as soon as possible.
Let's take a look at what the PHP7 deleted extensions are:
- 1. Ereg
- 2. MSSQL
- 3. mysql
- 4. sybase_ct
Alternative Processing and solutions:
First, if you want to connect to Microsoft's SQL Server database, use the PDO scheme to rule
Second, if you use the MySQL series function extension to connect to the database, use the more efficient MYSQL_ND series functions. He has a higher efficiency.
Third, if you are using the Ereg series, change it as soon as possible.
Four, sybase_ct comprehensive change to sybase* series bar
Source: PHP College reprint please indicate the source.
Considerations from PHP5 to PHP7--php7 full removal of MySQL extension support