theiconic / php-ga-measurement-protocol

Send data to Google Analytics from the server using PHP. Implements GA measurement protocol.
MIT License
655 stars 136 forks source link

PHP 8.1 - Updating the call to http_build_query #112

Closed thenewversion closed 1 year ago

thenewversion commented 1 year ago

The function signature has changed and PHP 8.1 requires the second parameter to be an empty string rather than null - https://www.php.net/manual/en/function.http-build-query.php