--TEST--
HttpRequest options
--SKIPIF--
-<?php
+<?php
include 'skip.inc';
-(5 > (int) PHP_VERSION) and die('skip PHP5 is required for Http classes');
+checkver(5);
+checkcls('HttpRequest');
?>
--FILE--
<?php
+echo "-TEST\n";
$r1 = new HttpRequest;
$r2 = new HttpRequest;
$r1->setOptions(array('redirect'=>11, 'headers'=>array('X-Foo'=>'Bar')));
$r2 = null;
?>
--EXPECTF--
-Content-type: text/html
-X-Powered-By: PHP/%s
-
+%sTEST
Array
(
[0] => Array
)
)
-bool(false)
\ No newline at end of file
+bool(false)