1--TEST-- 2Test curl_multi_init() 3--CREDITS-- 4Mark van der Velden 5#testfest Utrecht 2009 6--SKIPIF-- 7<?php if (!extension_loaded("curl")) print "skip"; ?> 8--FILE-- 9<?php 10/* Prototype : resource curl_multi_init(void) 11 * Description : Returns a new cURL multi handle 12 * Source code : ext/curl/multi.c 13 * Test documentation: http://wiki.php.net/qa/temp/ext/curl 14 */ 15 16// start testing 17echo "*** Testing curl_multi_init(void); ***\n"; 18 19//create the multiple cURL handle 20$mh = curl_multi_init(); 21var_dump($mh); 22 23curl_multi_close($mh); 24var_dump($mh); 25?> 26===DONE=== 27--EXPECTF-- 28*** Testing curl_multi_init(void); *** 29resource(%d) of type (curl_multi) 30resource(%d) of type (Unknown) 31===DONE=== 32