Skip to content

Commit ebde206

Browse files
kocsismatenielsdos
andauthored
Update ext/standard/streamsfuncs.c
Co-authored-by: Niels Dossche <[email protected]>
1 parent d48031c commit ebde206

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/streamsfuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1207,7 +1207,7 @@ PHP_FUNCTION(stream_context_create)
12071207
context = php_stream_context_alloc();
12081208

12091209
if (options) {
1210-
if (parse_context_options(context, options) === FAILURE) {
1210+
if (parse_context_options(context, options) == FAILURE) {
12111211
RETURN_THROWS();
12121212
}
12131213
}

0 commit comments

Comments
 (0)