1--TEST--
2curl_multi_close closed by cleanup functions
3--SKIPIF--
4<?php
5if (!extension_loaded('curl')) print 'skip';
6?>
7--FILE--
8<?php
9$mh = curl_multi_init();
10$array = array($mh);
11$array[] = &$array;
12
13curl_multi_add_handle($mh, curl_init());
14curl_multi_add_handle($mh, curl_init());
15curl_multi_add_handle($mh, curl_init());
16curl_multi_add_handle($mh, curl_init());
17echo "okey";
18?>
19--EXPECT--
20okey
21