summaryrefslogtreecommitdiff
path: root/ext/bcmath
diff options
context:
space:
mode:
authorSander Roobol <sander@php.net>2002-11-21 16:16:38 +0000
committerSander Roobol <sander@php.net>2002-11-21 16:16:38 +0000
commitb8cf1a369f3d4aff0ff19ffd51c47e94be436b91 (patch)
treebdc0bd07c2c6e98b57fbac90c593c9448c0f2dd1 /ext/bcmath
parent13a51b8f2010c5396172bd525766fb8f6651f45a (diff)
downloadphp-git-b8cf1a369f3d4aff0ff19ffd51c47e94be436b91.tar.gz
Hardcode the bcmath.scale ini-entry
Diffstat (limited to 'ext/bcmath')
-rw-r--r--ext/bcmath/tests/bcadd.phpt2
-rw-r--r--ext/bcmath/tests/bccomp.phpt2
-rw-r--r--ext/bcmath/tests/bcdiv.phpt2
-rw-r--r--ext/bcmath/tests/bcmod.phpt2
-rw-r--r--ext/bcmath/tests/bcmul.phpt2
-rw-r--r--ext/bcmath/tests/bcpow.phpt2
-rw-r--r--ext/bcmath/tests/bcscale.phpt2
-rw-r--r--ext/bcmath/tests/bcsqrt.phpt2
-rw-r--r--ext/bcmath/tests/bcsub.phpt2
9 files changed, 18 insertions, 0 deletions
diff --git a/ext/bcmath/tests/bcadd.phpt b/ext/bcmath/tests/bcadd.phpt
index 5713057032..89e5b48bb1 100644
--- a/ext/bcmath/tests/bcadd.phpt
+++ b/ext/bcmath/tests/bcadd.phpt
@@ -2,6 +2,8 @@
bcadd() function
--SKIP--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
+--INI--
+bcmath.scale=0
--FILE--
<?php
echo bcadd("1", "2"),"\n";
diff --git a/ext/bcmath/tests/bccomp.phpt b/ext/bcmath/tests/bccomp.phpt
index f1b389a140..d4b28accc5 100644
--- a/ext/bcmath/tests/bccomp.phpt
+++ b/ext/bcmath/tests/bccomp.phpt
@@ -2,6 +2,8 @@
bccomp() function
--SKIP--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
+--INI--
+bcmath.scale=0
--FILE--
<?php
echo bccomp("-1", "5", 4),"\n";
diff --git a/ext/bcmath/tests/bcdiv.phpt b/ext/bcmath/tests/bcdiv.phpt
index 2bba262e00..cd791b9c2a 100644
--- a/ext/bcmath/tests/bcdiv.phpt
+++ b/ext/bcmath/tests/bcdiv.phpt
@@ -2,6 +2,8 @@
bcdiv() function
--SKIP--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
+--INI--
+bcmath.scale=0
--FILE--
<?php
echo bcdiv("1", "2"),"\n";
diff --git a/ext/bcmath/tests/bcmod.phpt b/ext/bcmath/tests/bcmod.phpt
index 74bec5a8d8..8d283e5407 100644
--- a/ext/bcmath/tests/bcmod.phpt
+++ b/ext/bcmath/tests/bcmod.phpt
@@ -2,6 +2,8 @@
bcmod() function
--SKIP--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
+--INI--
+bcmath.scale=0
--FILE--
<?php
echo bcmod("11", "2"),"\n";
diff --git a/ext/bcmath/tests/bcmul.phpt b/ext/bcmath/tests/bcmul.phpt
index 76891f37e8..9ee06669df 100644
--- a/ext/bcmath/tests/bcmul.phpt
+++ b/ext/bcmath/tests/bcmul.phpt
@@ -2,6 +2,8 @@
bcmul() function
--SKIP--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
+--INI--
+bcmath.scale=0
--FILE--
<?php
echo bcmul("1", "2"),"\n";
diff --git a/ext/bcmath/tests/bcpow.phpt b/ext/bcmath/tests/bcpow.phpt
index 69ff171526..ae18065ec1 100644
--- a/ext/bcmath/tests/bcpow.phpt
+++ b/ext/bcmath/tests/bcpow.phpt
@@ -2,6 +2,8 @@
bcpow() function
--SKIP--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
+--INI--
+bcmath.scale=0
--FILE--
<?php
echo bcpow("1", "2"),"\n";
diff --git a/ext/bcmath/tests/bcscale.phpt b/ext/bcmath/tests/bcscale.phpt
index 742c7adb9f..8237f9dd8d 100644
--- a/ext/bcmath/tests/bcscale.phpt
+++ b/ext/bcmath/tests/bcscale.phpt
@@ -2,6 +2,8 @@
bcscale() function
--SKIP--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
+--INI--
+bcmath.scale=0
--FILE--
<?php
echo bcadd("1", "2"),"\n";
diff --git a/ext/bcmath/tests/bcsqrt.phpt b/ext/bcmath/tests/bcsqrt.phpt
index b9b243bc12..1e50ef2444 100644
--- a/ext/bcmath/tests/bcsqrt.phpt
+++ b/ext/bcmath/tests/bcsqrt.phpt
@@ -2,6 +2,8 @@
bcsqrt() function
--SKIP--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
+--INI--
+bcmath.scale=0
--FILE--
<?php
echo bcsqrt("9"),"\n";
diff --git a/ext/bcmath/tests/bcsub.phpt b/ext/bcmath/tests/bcsub.phpt
index 918eaadb1d..c20d48ff19 100644
--- a/ext/bcmath/tests/bcsub.phpt
+++ b/ext/bcmath/tests/bcsub.phpt
@@ -2,6 +2,8 @@
bcsub() function
--SKIP--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
+--INI--
+bcmath.scale=0
--FILE--
<?php
echo bcsub("1", "2"),"\n";