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