- fix PHP4 build (has no only_exceptions INI setting
[m6w6/ext-http] / tests / INI_001.phpt
1 --TEST--
2 INI entries
3 --SKIPIF--
4 <?php
5 include 'skip.inc';
6 ?>
7 --FILE--
8 <?php
9 echo "-TEST\n";
10 ini_set('http.cache_log', 'cache.log');
11 var_dump(ini_get('http.cache_log'));
12 ini_set('http.allowed_methods', 'POST, HEAD, GET');
13 var_dump(ini_get('http.allowed_methods'));
14 ini_set('http.only_exceptions', true);
15 var_dump(ini_get('http.only_exceptions'));
16 echo "Done\n";
17 ?>
18 --EXPECTF--
19 %sTEST
20 string(9) "cache.log"
21 string(15) "POST, HEAD, GET"
22 string(1) "1"
23 Done
24