File manager - Edit - /opt/alt/tests/alt-php82-pecl-http_4.2.4-1.el8/tests/header009.phpt
Back
--TEST-- header params w/ args --SKIPIF-- <?php include "skipif.inc"; ?> --FILE-- <?php echo "Test\n"; $header = new http\Header("Custom", '"foo" is "bar". "bar" is "bis" where "bis" is "where".'); var_dump( array( "foo" => array("value" => "bar", "arguments" => array()), "bar" => array("value" => "bis", "arguments" => array("bis" => "where")) ) === $header->getParams(".", "where", "is")->params ); ?> Done --EXPECT-- Test bool(true) Done
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.11 |
proxy
|
phpinfo
|
Settings