Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /usr/local/src/php7/php-7.0.5/ext/curl/tests/ |
Current File : //usr/local/src/php7/php-7.0.5/ext/curl/tests/bug71523.phpt |
--TEST-- Bug #71523 (Copied handle with new option CURLOPT_HTTPHEADER crashes while curl_multi_exec) --SKIPIF-- <?php if (!extension_loaded("curl")) { exit("skip curl extension not loaded"); } if (getenv("SKIP_ONLINE_TESTS")) { die("skip online test"); } ?> --FILE-- <?php $base = curl_init('http://www.google.com/'); curl_setopt($base, CURLOPT_RETURNTRANSFER, true); $mh = curl_multi_init(); for ($i = 0; $i < 2; ++$i) { $ch = curl_copy_handle($base); curl_setopt($ch, CURLOPT_HTTPHEADER, ['Foo: Bar']); curl_multi_add_handle($mh, $ch); } do { curl_multi_exec($mh, $active); } while ($active); ?> okey --EXPECTF-- okey
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare