Skip to content

Commit e1934f8

Browse files
committed
Merge branch 'PHP-7.2' into PHP-7.3
2 parents b419b24 + 85e8ccd commit e1934f8

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
@@ -1312,7 +1312,7 @@ static YYSIZE_T zend_yytnamerr(char *yyres, const char *yystr)
13121312

13131313
if (LANG_SCNG(yy_text)[0] == 0 &&
13141314
LANG_SCNG(yy_leng) == 1 &&
1315-
memcmp(yystr, "\"end of file\"", sizeof("\"end of file\"") - 1) == 0) {
1315+
strcmp(yystr, "\"end of file\"") == 0) {
13161316
if (yyres) {
13171317
yystpcpy(yyres, "end of file");
13181318
}

0 commit comments

Comments
 (0)