mirror of
https://github.com/php/php-src.git
synced 2024-12-14 12:26:19 +08:00
Use shorter call chain
This commit is contained in:
parent
b886d9ce1e
commit
fa588a5c82
@ -2400,7 +2400,7 @@ ZEND_API void zendi_smart_strcmp(zval *result, zval *s1, zval *s2) /* {{{ */
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
string_cmp:
|
string_cmp:
|
||||||
Z_LVAL_P(result) = zend_binary_zval_strcmp(s1, s2);
|
Z_LVAL_P(result) = zend_binary_strcmp(Z_STRVAL_P(s1), Z_STRLEN_P(s1), Z_STRVAL_P(s2), Z_STRLEN_P(s2));
|
||||||
ZVAL_LONG(result, ZEND_NORMALIZE_BOOL(Z_LVAL_P(result)));
|
ZVAL_LONG(result, ZEND_NORMALIZE_BOOL(Z_LVAL_P(result)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user