7 checkcls('HttpRequest');
12 $r1 = new HttpRequest(null, 0, array('redirect'=>11, 'headers'=>array('X-Foo'=>'Bar')));
13 $r2 = new HttpRequest;
14 $r2->setOptions(array('redirect'=>99, 'headers'=>array('X-Bar'=>'Foo')));
15 $o1 = $r1->getOptions();
16 $o2 = $r2->getOptions();
19 print_r(array($o1, $o2));
20 var_dump(serialize($r1->getOptions()) === serialize($r2->getOptions()));