1--TEST--
2bug#44712 (stream_context_set_params segfaults on invalid arguments)
3--FILE--
4<?php
5$ctx = stream_context_get_default();
6try {
7    stream_context_set_params($ctx, array("options" => 1));
8} catch (TypeError $exception) {
9    echo $exception->getMessage() . "\n";
10}
11?>
12--EXPECT--
13Invalid stream/context parameter
14