File manager - Edit - /opt/alt/tests/alt-php80-pecl-http_4.2.4-1.el8/tests/header008.phpt
Back
--TEST-- header params --SKIPIF-- <?php include "skipif.inc"; ?> --FILE-- <?php echo "Test\n"; $header = new http\Header("Cache-control", "public, must-revalidate, max-age=0"); var_dump( array( "public" => array("value" => true, "arguments" => array()), "must-revalidate" => array("value" => true, "arguments" => array()), "max-age" => array("value" => "0", "arguments" => array()), ) === $header->getParams()->params ); ?> Done --EXPECT-- Test bool(true) Done
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.23 |
proxy
|
phpinfo
|
Settings