evilru/quake3-vsp-stats

PHP 7.4.16 compatibility

Closed this issue · 4 comments

When processing the stats with q3a-xp variable, the following error occurs:
PHP Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead.

With a lot of help from requinix @ phpfreaks.com I was able to get all the errors fixed. These 2 files vsp.php and vsp-q3a.php are now coded properly for the q3a-xp variable. All player names are correct and the country flags are showing properly. Included both files as text files.
vsp.php.txt
vsp-q3a.php.txt

I would if I knew how. I browsed the knowledge base on pull requests, but can't figue it out. Not very experienced with github.

No worries, I will take care of it.

Cheers