-
Type: Bug
-
Resolution: Duplicate
-
Priority: Minor - P4
-
None
-
Affects Version/s: 1.1.2
-
Component/s: None
-
None
-
Environment:mac os: 10.11.3
php: 7.0.3 (cli) (built: Feb 6 2016 13:43:35) ( NTS )
ext mongodb:
mongodb support => enabled
mongodb version => 1.1.2
mongodb stability => stable
libmongoc version => 1.3.1-dev
```php
new ObjectID(null);
```
Running code does not throw an exception. The process ends with a conclusion in line console:
/private/tmp/php70-mongodb20160107-39875-zairlb/mongodb-1.1.2/src/libbson/src/bson/bson-oid.c:480 bson_oid_is_valid (): precondition failed: str
fish: 'php -S localhost: 9090' terminated by signal SIGABRT (Abort)
- is duplicated by
-
PHPC-538 Constructing ObjectID with null aborts
- Closed