diff options
author | Andrey Zelenkov <zelenkov@nginx.com> | 2018-07-11 19:35:46 +0300 |
---|---|---|
committer | Andrey Zelenkov <zelenkov@nginx.com> | 2018-07-11 19:35:46 +0300 |
commit | 96a4f9f032de2ee385ba84bb3c31b437e9814686 (patch) | |
tree | de9881059ed1615e52d2c9845bf54a7ba8482fff /test/php/ini_precision | |
parent | 223ba37ab5d81fc5f0d2ddb9a632f0d9c4db6a10 (diff) | |
download | unit-96a4f9f032de2ee385ba84bb3c31b437e9814686.tar.gz unit-96a4f9f032de2ee385ba84bb3c31b437e9814686.tar.bz2 |
Tests: more php.ini options tests.
Diffstat (limited to 'test/php/ini_precision')
-rw-r--r-- | test/php/ini_precision/index.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/php/ini_precision/index.php b/test/php/ini_precision/index.php index 3b733e5c..a0c5db32 100644 --- a/test/php/ini_precision/index.php +++ b/test/php/ini_precision/index.php @@ -1,4 +1,8 @@ <?php +if(isset($_GET['precision'])) { + ini_set('precision', $_GET['precision']); +} + header('X-File: ' . php_ini_loaded_file()); header('X-Precision: ' . ini_get('precision')); ?> |