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