Fix copying of functions in variance obligations Only copy sizeof(zend_internal_function) for internal functions.