Created
September 14, 2016 12:54
-
-
Save libnex/af84816a3b9632a474f8f6e263b9d711 to your computer and use it in GitHub Desktop.
Patch to fix bug when turning off Fast_ZPP (php 7.0.10)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- php-7.0.10/ext/standard/streamsfuncs.c 2016-08-18 07:51:43.000000000 +1200 | |
+++ streamsfuncs.c 2016-09-03 12:32:04.000000000 +1200 | |
@@ -996,7 +996,7 @@ | |
zval *options; | |
#ifndef FAST_ZPP | |
- if (zend_parse_parameters(, ZEND_NUM_ARGS(), "ra", &zcontext, &options) == FAILURE) { | |
+ if (zend_parse_parameters( ZEND_NUM_ARGS(), "ra", &zcontext, &options) == FAILURE) { | |
RETURN_FALSE; | |
} | |
#else | |
@@ -1511,7 +1511,7 @@ | |
zend_bool enable, cryptokindnull; | |
int ret; | |
-#ifdef FAST_ZPP | |
+#ifndef FAST_ZPP | |
if (zend_parse_parameters(ZEND_NUM_ARGS(), "rb|l!r", &zstream, &enable, &cryptokind, &cryptokindnull, &zsessstream) == FAILURE) { | |
RETURN_FALSE; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment