interconnectit/Search-Replace-DB

Can't use with PHP < 7.3 any more

jacobischwartz opened this issue · 2 comments

Hello,

When I try to use this tool with PHP 7.2, I get this error message:
"This script has been tested using PHP7.3 +, whereas your version is: 7.2.20. Although this script may work with older versions you do so at your own risk. Please update php and try again."

I get that the tool hasn't been tested with slightly older PHP versions, but 7.2 is still fairly recent. I removed that particular error check in the script and it worked just fine.

As a compromise, what if you have an "--allow-old-php" flag that can be used on the command line?

Thanks!

Jacob

I just added this feature in a PR, would you like to test it?

#332

new version has been released! thanks!