quixplorer icon indicating copy to clipboard operation
quixplorer copied to clipboard

Made PHP7 compatible

Open adryx92 opened this issue 7 years ago • 3 comments

adryx92 avatar Jan 24 '18 13:01 adryx92

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); } }

ruymbeke avatar Jan 25 '19 19:01 ruymbeke

It seems that this project is completely abandoned.

adryx92 avatar Mar 22 '19 16:03 adryx92

I just fix some bugs and make compatible for PHP 7 You guys can get the branch on my repo.

frocelu avatar Jun 21 '21 13:06 frocelu