PHP comaptibility error
-
I ran a PHPCS compatibility check for PHP 7.4 and got the following errors:
`FILE: /data/phpcs/staff-list/admin/autil.php
————————————————————————————————————
FOUND 1 ERROR AFFECTING 1 LINE
————————————————————————————————————
401 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
————————————————————————————————————FILE: /data/phpcs/staff-list/admin/dba.php
————————————————————————————————————
FOUND 2 ERRORS AFFECTING 2 LINES
————————————————————————————————————
78 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
280 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead`Should they be fixed?
- The topic ‘PHP comaptibility error’ is closed to new replies.