diff options
Diffstat (limited to 'Zend/zend_operators.c')
| -rw-r--r-- | Zend/zend_operators.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c index c6fc91566f..849163e2df 100644 --- a/Zend/zend_operators.c +++ b/Zend/zend_operators.c @@ -3027,7 +3027,7 @@ process_double: } /* }}} */ -/* +/* * String matching - Sunday algorithm * http://www.iti.fh-flensburg.de/lang/algorithmen/pattern/sundayen.htm */ @@ -3111,7 +3111,7 @@ ZEND_API const char* ZEND_FASTCALL zend_memnrstr_ex(const char *haystack, const if (i == needle_len) { return (const char *)p; } - + if (UNEXPECTED(p == haystack)) { return NULL; } |
