summaryrefslogtreecommitdiffhomepage
path: root/test/php
diff options
context:
space:
mode:
Diffstat (limited to 'test/php')
-rw-r--r--test/php/ini_precision/index.php4
-rw-r--r--test/php/ini_precision/php.ini1
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