News for hackers. Stuff that matters.
Re:PHP 5 and 7.0 end of life by philo23 on Friday July 19, 2019 @08:16AM (#20477947)
It's not a great solution, but there are drop in libraries that shim the old mysql_* functions to their mysqli_* equivalents.

https://github.com/dshafik/php7-mysql-shim

It won't be 100% perfect and it's definitely not something I'd want to use long term, but it can help with the initial migration to PHP 7.

Re:PHP 5 and 7.0 end of life by pbowyer on Friday July 19, 2019 @08:32AM (#20478050)
Came here to say the same. I've used them long-term on legacy codebases and they work great for allowing new development to move onto modern PHP.

While I'm using https://github.com/dshafik/php7-mysql-shim, another to look at is https://github.com/mattbit/mysql-compat