mirror of
https://github.com/php/php-src.git
synced 2026-03-29 19:52:20 +02:00
If get_iterator() fails, we should not destroy the object. Also changes the check to a NULL check to be more defensive, and to match the VM. Closes GH-16441.