Annotation of embedaddon/php/ext/curl/tests/curl_multi_select_basic1.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Test curl_multi_select()
        !             3: --CREDITS--
        !             4: Ivo 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();
        !            20: echo curl_multi_select($mh)."\n";
        !            21: 
        !            22: curl_multi_close($mh);
        !            23: ?>
        !            24: ===DONE===
        !            25: --EXPECTF--
        !            26: %r(0|-1)%r
        !            27: ===DONE===

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>