Skip to content

Commit a027ba3

Browse files
committed
Merge branch 'PHP-5.4'
* PHP-5.4: Fixed bug #62357 (compile failure: (S) Arguments missing for built-in function __memcmp).
2 parents 02d8e89 + a44a1dc commit a027ba3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_language_parser.y

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1206,7 +1206,7 @@ static YYSIZE_T zend_yytnamerr(char *yyres, const char *yystr)
12061206

12071207
if (LANG_SCNG(yy_text)[0] == 0 &&
12081208
LANG_SCNG(yy_leng) == 1 &&
1209-
memcmp(yystr, ZEND_STRL("\"end of file\"")) == 0) {
1209+
memcmp(yystr, "\"end of file\"", sizeof("\"end of file\"") - 1) == 0) {
12101210
yystpcpy(yyres, "end of file");
12111211
return sizeof("end of file")-1;
12121212
}

0 commit comments

Comments
 (0)