-
Type: Improvement
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
We can utilize array_is_list() in various places throughout PHPLIB where we're currently validating arrays. This is likely not an exhaustive list, but for example:
- MongoDB\is_pipeline() (used by Update and FindOneAndUpdate)
- Aggregate validation of $pipeline parameter
- BulkWrite validation of $operations parameter
Note that we'll need to add a dependency for symfony/polyfill-php81 from the symfony/polyfill package.
- depends on
-
PHPLIB-881 Consolidate validation of aggregation pipeline options
- Closed
- related to
-
PHPC-2217 Utilize zend_array_is_list() in php_phongo_is_array_or_document()
- Backlog