mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Remove unnecessary NULL check
This is a required zpp parameter, it cannot be null.
This commit is contained in:
parent
4c9ee6a8ca
commit
295895342f
1 changed files with 0 additions and 4 deletions
|
@ -1161,10 +1161,6 @@ ZEND_FUNCTION(property_exists)
|
||||||
RETURN_THROWS();
|
RETURN_THROWS();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (property == NULL) {
|
|
||||||
RETURN_FALSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (Z_TYPE_P(object) == IS_STRING) {
|
if (Z_TYPE_P(object) == IS_STRING) {
|
||||||
ce = zend_lookup_class(Z_STR_P(object));
|
ce = zend_lookup_class(Z_STR_P(object));
|
||||||
if (!ce) {
|
if (!ce) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue