Remove unnecessary NULL check

This is a required zpp parameter, it cannot be null.
This commit is contained in:
Nikita Popov 2020-03-30 12:10:52 +02:00
parent 4c9ee6a8ca
commit 295895342f

View file

@ -1161,10 +1161,6 @@ ZEND_FUNCTION(property_exists)
RETURN_THROWS();
}
if (property == NULL) {
RETURN_FALSE;
}
if (Z_TYPE_P(object) == IS_STRING) {
ce = zend_lookup_class(Z_STR_P(object));
if (!ce) {