- 
    Type:
Improvement
 - 
    Resolution: Done
 - 
    Priority:
Major - P3
 - 
    Affects Version/s: None
 - 
    Component/s: None
 - 
    None
 
- 
        None
 
- 
        None
 - 
        None
 - 
        None
 - 
        None
 - 
        None
 - 
        None
 
While the crash in PHPC-920 was ultimately the result of a libmongoc bug (CDRIVER-2072), we could have avoided it by validating the Query's filter and options arguments at construct time and throwing an InvalidArgumentException.
- is related to
 - 
                    
PHPC-920 Using a projection with an empty field name causes a crash when destroying cursor
-         
 - Closed
 
 -