quixplorer
quixplorer copied to clipboard
Made PHP7 compatible
Thank you ! You may also consider using "function_exists" to make it backward compatible with older versions of PHP as done below:
//eregi and ereg have been removed from PHP7 if (! function_exists('eregi')) { function eregi($pattern, $string) { $new_pattern = '/'.addcslashes($pattern, '/').'/i'; return preg_match($new_pattern, $string); } }
if (! function_exists('ereg')) { function ereg($pattern, $string) { $new_pattern = '/'.addcslashes($pattern, '/').'/'; return preg_match($new_pattern, $string); } }
It seems that this project is completely abandoned.
I just fix some bugs and make compatible for PHP 7 You guys can get the branch on my repo.