Find your content:

Search form

You are here

Migration PHP5 to PHP7

 
Share

Migration PHP5 to PHP7

How to migrate PHP5 to PHP7?

Method1: Bruteforce method

Run your application in PHP7 environment and find out list of unsupported apis and fix the error. Wherever possible introduce PHP7 mechanism.

Method2: Use migration tool

php7mar is a command-line tool that generates reports on PHP 5.x codebase based on PHP 7 compatibility. The reports contain line numbers, issues noted, and suggested fixes along with documentation links.

Note: The tool does not fix code. It only gives you reports about all the PHP files in your codebase. Happy fixing!

 

 

 

 

 

My Block Status

My Block Content