1--TEST--
2Test curl_multi_select()
3--CREDITS--
4Ivo Jansch <ivo@ibuildings.com>
5#testfest Utrecht 2009
6--SKIPIF--
7<?php if (!extension_loaded("curl")) print "skip"; ?>
8--FILE--
9<?php
10/* Prototype         : resource curl_multi_select($mh, $timeout=1.0])
11 * Description       : Get all the sockets associated with the cURL extension, which can then be
12 *                     "selected"
13 * Source code       : ?
14 * Test documentation: http://wiki.php.net/qa/temp/ext/curl
15 */
16
17
18//create the multiple cURL handle
19$mh = curl_multi_init();
20echo curl_multi_select($mh)."\n";
21
22curl_multi_close($mh);
23?>
24===DONE===
25--EXPECTF--
26%r(0|-1)%r
27===DONE===
28