xref: /PHP-8.4/ext/curl/tests/bug70330.phpt (revision 8567bc10)
1--TEST--
2Bug #70330 (Segmentation Fault with multiple "curl_copy_handle")
3--EXTENSIONS--
4curl
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