Running the test suite on Alpine Linux produced a couple of test failures due to floating point precision. We can easily resolve these by using numbers that can be better represented in floating point.
$ cat tests/bson/bson-toPHP-003.diff 031+ float(3.1400000000003) 031- float(3.14) 245+ float(3.1400000000003) 245- float(3.14) $ cat tests/bson/bug0341.diff 024+ float(3.1400000000003) 024- float(3.14)