From: Dmitry Stogov Date: Tue, 6 Mar 2018 20:22:01 +0000 (+0300) Subject: Added expectation X-Git-Tag: php-7.3.0alpha1~241 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a4109e1f4ca45791b9207ef604856694aa76eef1;p=php Added expectation --- diff --git a/Zend/zend_hash.h b/Zend/zend_hash.h index af9c21a7ec..1cdf6a82d3 100644 --- a/Zend/zend_hash.h +++ b/Zend/zend_hash.h @@ -325,7 +325,7 @@ static zend_always_inline int _zend_handle_numeric_str(const char *key, size_t l { const char *tmp = key; - if (*tmp > '9') { + if (EXPECTED(*tmp > '9')) { return 0; } else if (*tmp < '0') { if (*tmp != '-') {