1--TEST-- 2curl_multi_setopt basic test 3--EXTENSIONS-- 4curl 5--FILE-- 6<?php 7 8$mh = curl_multi_init(); 9var_dump(curl_multi_setopt($mh, CURLMOPT_PIPELINING, 0)); 10 11try { 12 curl_multi_setopt($mh, -1, 0); 13} catch (ValueError $exception) { 14 echo $exception->getMessage() . "\n"; 15} 16 17?> 18--EXPECT-- 19bool(true) 20curl_multi_setopt(): Argument #2 ($option) is not a valid cURL multi option 21