1--TEST-- 2curl_multi_close return false when supplied resource not valid cURL multi handle 3--SKIPIF-- 4<?php 5if (!extension_loaded('curl')) print 'skip'; 6?> 7--FILE-- 8<?php 9$cmh = curl_multi_init(); 10var_dump($cmh); 11$multi_close_result = curl_multi_close($cmh); 12var_dump($multi_close_result); 13var_dump($cmh); 14curl_multi_close($cmh); 15?> 16--EXPECT-- 17object(CurlMultiHandle)#1 (0) { 18} 19NULL 20object(CurlMultiHandle)#1 (0) { 21} 22