mirror of
https://github.com/php/php-src.git
synced 2024-09-26 20:37:29 +00:00
Added test for bug #46739
This commit is contained in:
parent
2ba01be7ce
commit
09ff537b36
13
ext/curl/tests/bug46739.phpt
Normal file
13
ext/curl/tests/bug46739.phpt
Normal file
@ -0,0 +1,13 @@
|
||||
--TEST--
|
||||
Test bug #46739
|
||||
--FILE--
|
||||
<?php
|
||||
$ch = curl_init('http://127.0.0.1:9/');
|
||||
|
||||
curl_exec($ch);
|
||||
$info = curl_getinfo($ch);
|
||||
|
||||
echo (array_key_exists('content_type', $info)) ? "set" : "not set";
|
||||
?>
|
||||
--EXPECT--
|
||||
set
|
Loading…
Reference in New Issue
Block a user