Commit Graph

1 Commits

Author SHA1 Message Date
Jeremy Mikola 37b8eaffd3 PHPC-1092: Don't reset hash on successive get_properties calls
This removes a call to zend_hash_clean() on successive calls to a BSON object's get_properties handler, which can lead to an infinite loop when iterating the object's properties with foreach on PHP 7.x.

For historical reference, the original call to zend_hash_clean() was introduced in ad1f3f049f for #607 (PHPC-939).
2018-01-08 22:03:39 -05:00