xref: /PHP-7.3/ext/curl/tests/bug70330.phpt (revision 4df6f264)
1--TEST--
2Bug #70330 (Segmentation Fault with multiple "curl_copy_handle")
3--SKIPIF--
4<?php include 'skipif.inc'; ?>
5--FILE--
6<?php
7$t2 = curl_init();
8$t3 = curl_copy_handle($t2);
9$t3 = curl_copy_handle($t2);
10$t4 = curl_init();
11$t3 = curl_copy_handle($t4);
12$t5 = curl_init();
13$t6 = curl_copy_handle($t5);
14?>
15okey
16--EXPECT--
17okey
18