blob: 8addd5de4e1afd04b6eaf5446ef890e6dc2e5763 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--TEST--
curl_share_close basic test
--SKIPIF--
<?php if( !extension_loaded( 'curl' ) ) print 'skip'; ?>
--FILE--
<?php
$sh = curl_share_init();
//Show that there's a curl_share resource
var_dump($sh);
curl_share_close($sh);
//Show that resource is no longer a curl_share, and is therefore unusable and "closed"
var_dump($sh);
?>
--EXPECTF--
resource(%d) of type (curl_share)
resource(%d) of type (Unknown)
|