* PHP 8.1 compatibility * Update compat.php --------- Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>