As stated by PHPC-373, the use of zval*s in php_phongo.c is problematic due to huge amount of PHP API changes (no longer operates on pointers to pointers).
convert_to_ex() for example takes a zval, not zval**.
The places where we are doing these casts are mostly when we read things from an array and populating correct bson types.
It looks like most of these could have already been zval_to_bson() already and plucked out from the bson_t.
- is depended on by
-
PHPC-430 Query constructor may corrupt incoming options
- Closed