diff options
author | Andrey Zelenkov <zelenkov@nginx.com> | 2018-06-07 21:13:55 +0300 |
---|---|---|
committer | Andrey Zelenkov <zelenkov@nginx.com> | 2018-06-07 21:13:55 +0300 |
commit | 2b39ed5dfb56fa01e38ee8540973f4eb42a1ff82 (patch) | |
tree | 67011675a55f37f61e7ee2d630f3912486c93f86 /test/php | |
parent | 0f0fb35620280f5eb9df041772a9454e2d51e0f0 (diff) | |
download | unit-2b39ed5dfb56fa01e38ee8540973f4eb42a1ff82.tar.gz unit-2b39ed5dfb56fa01e38ee8540973f4eb42a1ff82.tar.bz2 |
Tests: added tests for "precision" option in php.ini.
Diffstat (limited to 'test/php')
-rw-r--r-- | test/php/ini_precision/index.php | 4 | ||||
-rw-r--r-- | test/php/ini_precision/php.ini | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/test/php/ini_precision/index.php b/test/php/ini_precision/index.php new file mode 100644 index 00000000..3b733e5c --- /dev/null +++ b/test/php/ini_precision/index.php @@ -0,0 +1,4 @@ +<?php +header('X-File: ' . php_ini_loaded_file()); +header('X-Precision: ' . ini_get('precision')); +?> diff --git a/test/php/ini_precision/php.ini b/test/php/ini_precision/php.ini new file mode 100644 index 00000000..51dbdede --- /dev/null +++ b/test/php/ini_precision/php.ini @@ -0,0 +1 @@ +precision = 4 |