1--TEST-- 2bug#44712 (stream_context_set_params segfaults on invalid arguments) 3--FILE-- 4<?php 5$ctx = stream_context_get_default(); 6stream_context_set_params($ctx, array("options" => 1)); 7?> 8--EXPECTF-- 9Warning: stream_context_set_params(): Invalid stream/context parameter in %sbug44712.php on line %d 10