Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2016-08-30 16:53:06 +0300
committerMichal Čihař <michal@cihar.com>2016-08-30 16:53:06 +0300
commit2148df85f1558dcbde30f772f3ec8e7bf6c83277 (patch)
tree864875f7f62557ab1afd8481e9850732e32c85ce /test/bootstrap-dist.php
parent89fc40a1ce7e2cf07c20c2254d8426044011f7a6 (diff)
parentf3ca367efa5a44161ca6fa3a2a9fa3b9ed24cbb1 (diff)
Merge branch 'QA_4_6'
Diffstat (limited to 'test/bootstrap-dist.php')
-rw-r--r--test/bootstrap-dist.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/bootstrap-dist.php b/test/bootstrap-dist.php
index 28d9e6b469..6eb1906944 100644
--- a/test/bootstrap-dist.php
+++ b/test/bootstrap-dist.php
@@ -6,6 +6,13 @@
* @package PhpMyAdmin-test
*/
+/**
+ * Set precision to sane value, with higher values
+ * things behave slightly unexpectedly, for example
+ * round(1.2, 2) returns 1.199999999999999956.
+ */
+ini_set('precision', 14);
+
// Let PHP complain about all errors
error_reporting(E_ALL);