Updates to Tomato RAF including NGINX && PHP
[tomato.git] / release / src / router / php / ext / standard / tests / streams / stream_context_set_option_error_002.phpt
blobe80fd39ed86fb92331410a51283742c9bdb7b78f
1 --TEST--
2 stream_context_set_option() function - error : missing argument
3 --CREDITS--
4 Jean-Marc Fontaine <jean-marc.fontaine@alterway.fr>
5 # Alter Way Contribution Day 2011
6 --FILE--
7 <?php
8 var_dump(stream_context_set_option());
10 $context = stream_context_create();
11 var_dump(stream_context_set_option($context));
13 --EXPECTF--
14 Warning: stream_context_set_option(): called with wrong number or type of parameters; please RTM in %s on line %d
15 bool(false)
17 Warning: stream_context_set_option(): called with wrong number or type of parameters; please RTM in %s on line %d
18 bool(false)