PHPC-1922 Update PHONGO_CE_DISABLE_SERIALIZATION for PHP 8.1 (#1240)
PHPC-1922 Update PHONGO_CE_DISABLE_SERIALIZATION for PHP 8.1 (#1240)

* Fix API change in 8.1.0beta1

* cleanup uneeded semicolon

* Fix clang-format complaints

Co-authored-by: Andreas Braun <46f1a0bd5592a2f9244ca321b129902a06b53e03@alcaeus.org>
mongodb/mongo-php-driver,jmikola/mongo-php-driver,mongodb-labs/mongo-php-driver-prototype,mongodb/mongo-php-driver,mongodb-labs/mongo-php-driver-prototype,mongodb-labs/mongo-php-driver-prototype,mongodb-labs/mongo-php-driver-prototype,mongodb/mongo-php-driver,jmikola/mongo-php-driver,jmikola/mongo-php-driver,mongodb-labs/mongo-php-driver-prototype,jmikola/mongo-php-driver,jmikola/mongo-php-driver,mongodb/mongo-php-driver,mongodb/mongo-php-driver