Skip to content

Commit 009ee6e

Browse files
Unbreak FAST_ZPP dead code
1 parent 4fa52b4 commit 009ee6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/standard/streamsfuncs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,7 @@ PHP_FUNCTION(stream_context_set_option)
996996
zval *options;
997997

998998
#ifndef FAST_ZPP
999-
if (zend_parse_parameters(, ZEND_NUM_ARGS(), "ra", &zcontext, &options) == FAILURE) {
999+
if (zend_parse_parameters(ZEND_NUM_ARGS(), "ra", &zcontext, &options) == FAILURE) {
10001000
RETURN_FALSE;
10011001
}
10021002
#else
@@ -1511,7 +1511,7 @@ PHP_FUNCTION(stream_socket_enable_crypto)
15111511
zend_bool enable, cryptokindnull;
15121512
int ret;
15131513

1514-
#ifdef FAST_ZPP
1514+
#ifndef FAST_ZPP
15151515
if (zend_parse_parameters(ZEND_NUM_ARGS(), "rb|l!r", &zstream, &enable, &cryptokind, &cryptokindnull, &zsessstream) == FAILURE) {
15161516
RETURN_FALSE;
15171517
}

0 commit comments

Comments
 (0)