php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #62357
Patch bug62357.patch revision 2012-06-25 05:53 UTC by laruence@php.net

Patch bug62357.patch for Compile Failure Bug #62357

Patch version 2012-06-25 05:53 UTC

Return to Bug #62357 | Download this patch
Patch Revisions:

Developer: laruence@php.net

--- zend_language_parser.c	2012-06-25 13:52:20.000000000 +0800
+++ zend_language_parser.c.new	2012-06-25 13:52:08.000000000 +0800
@@ -6041,7 +6041,7 @@
 
 			if (LANG_SCNG(yy_text)[0] == 0 &&
 				LANG_SCNG(yy_leng) == 1 &&
-				memcmp(yystr, ZEND_STRL("\"end of file\"")) == 0) {
+				memcmp(yystr, "\"end of file\"", sizeof("\"end of file\"") - 1) == 0) {
 				yystpcpy(yyres, "end of file");
 				return sizeof("end of file")-1;
 			}
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Thu Apr 17 18:02:13 2014 UTC