1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 18:23:26 +02:00
Files
archived-php-src/ext/curl/tests/bug46739.phpt
T
Jani Taskinen 1cd04d8739 MFH: bug tests
2008-12-17 14:05:52 +00:00

14 lines
271 B
PHP

--TEST--
Bug #46739 (array returned by curl_getinfo should contain content_type key)
--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