fix crash in do_implement_interface when compiling

pear/PHPUnit/Framework/TestCase.php line 63
while only interface_gets_implemented is the issue in this instance, both
these vars were unitialized, causing potential other issues
This commit is contained in:
Shane Caraveo 2003-10-28 05:24:46 +00:00
parent a4eebd74a6
commit 4bde74c3be

View File

@ -3544,6 +3544,8 @@ void zend_initialize_class_data(zend_class_entry *ce, zend_bool nullify_handlers
ce->parent = NULL;
ce->num_interfaces = 0;
ce->interfaces = NULL;
ce->get_iterator = NULL;
ce->interface_gets_implemented = NULL;
}