-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 1.9.0
-
Component/s: None
-
None
Compiling the MongoDB extension with the current development version of PHP (it's 'master' branch) fails with:
/tmp/pear/temp/mongodb/src/MongoDB/BulkWrite.c: In function ‘php_phongo_bulkwrite_init_ce’: /tmp/pear/temp/mongodb/src/MongoDB/BulkWrite.c:672:52: error: ‘spl_ce_Countable’ undeclared (first use in this function); did you mean ‘zend_ce_countable’? 672 | zend_class_implements(php_phongo_bulkwrite_ce, 1, spl_ce_Countable); | ^~~~~~~~~~~~~~~~ | zend_ce_countable /tmp/pear/temp/mongodb/src/MongoDB/BulkWrite.c:672:52: note: each undeclared identifier is reported only once for each function it appears in