<?php
include 'skip.inc';
checkcgi();
-checkmin(5.1);
-skipif(!extendion_loaded('hash'), 'need mhash support');
+checkmin("5.2.5");
+skipif(!extension_loaded('hash'), 'need ext/hash support');
?>
--FILE--
<?php
-ini_set('http.etag_mode', 'sha256');
+ini_set('http.etag.mode', 'sha256');
http_cache_etag();
print("abc\n");
?>
--EXPECTF--
-X-Powered-By: PHP/%s
+X-Powered-By: PHP/%a
Cache-Control: private, must-revalidate, max-age=0
ETag: "edeaaff3f1774ad2888673770c6d64097e391bc362d7d6fb34982ddf0efd18cb"
-Content-type: %s
+Content-type: %a
abc