1--TEST--
2curl_multi_setopt basic test
3--SKIPIF--
4<?php
5if (!extension_loaded("curl")) {
6	    exit("skip curl extension not loaded");
7}
8$curl_version = curl_version();
9if ($curl_version['version_number'] < 0x071000) {
10	    exit("skip: test works only with curl >= 7.16.0");
11}
12?>
13--FILE--
14<?php
15
16$mh = curl_multi_init();
17var_dump(curl_multi_setopt($mh, CURLMOPT_PIPELINING, 0));
18var_dump(curl_multi_setopt($mh, -1, 0));
19
20?>
21--EXPECTF--
22bool(true)
23
24Warning: curl_multi_setopt(): Invalid curl multi configuration option in %s on line %d
25bool(false)
26