Add hinting

This commit is contained in:
Xinchen Hui 2015-01-12 22:06:40 -05:00
parent dbe66fb2cf
commit 2d8fd4b335

View File

@ -2843,7 +2843,7 @@ ZEND_API const char* zend_memnrstr_ex(const char *haystack, const char *needle,
return (const char *)p;
}
if (p == haystack) {
if (UNEXPECTED(p == haystack)) {
return NULL;
}