summaryrefslogtreecommitdiffhomepage
path: root/test/php/ini_precision/index.php
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2018-06-07 21:13:55 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2018-06-07 21:13:55 +0300
commit2b39ed5dfb56fa01e38ee8540973f4eb42a1ff82 (patch)
tree67011675a55f37f61e7ee2d630f3912486c93f86 /test/php/ini_precision/index.php
parent0f0fb35620280f5eb9df041772a9454e2d51e0f0 (diff)
downloadunit-2b39ed5dfb56fa01e38ee8540973f4eb42a1ff82.tar.gz
unit-2b39ed5dfb56fa01e38ee8540973f4eb42a1ff82.tar.bz2
Tests: added tests for "precision" option in php.ini.
Diffstat (limited to '')
-rw-r--r--test/php/ini_precision/index.php4
1 files changed, 4 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'));
+?>