Category: PHP

Using count() in PHP 7.2

Using count() in PHP 7.2

You may have noticed some interesting new behaviour in your code following your upgrade to PHP 7.2 and hopefully we can shed some light on one change in particular. Due to it’s potential to...

Using MaxMind GeoLite2 with PHP 7

Using MaxMind GeoLite2 with PHP 7

We recently implemented a basic geo-restriction for a client, based on the freely available MaxMind GeoLite2 database, and hopefully this document will help those with a similar requirement in future. We made use of...