summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/standard/tests/math/acosh_basic.phpt7
-rw-r--r--ext/standard/tests/math/acosh_basiclong_64bit.phpt3
-rw-r--r--ext/standard/tests/math/acosh_error.phpt7
-rw-r--r--ext/standard/tests/math/acosh_variation.phpt7
-rw-r--r--ext/standard/tests/math/asinh_basic.phpt7
-rw-r--r--ext/standard/tests/math/asinh_basiclong_64bit.phpt1
-rw-r--r--ext/standard/tests/math/asinh_error.phpt7
-rw-r--r--ext/standard/tests/math/asinh_variation.phpt7
-rw-r--r--ext/standard/tests/math/atanh_basic.phpt7
-rw-r--r--ext/standard/tests/math/atanh_basiclong_64bit.phpt1
-rw-r--r--ext/standard/tests/math/atanh_error.phpt7
-rw-r--r--ext/standard/tests/math/atanh_variation.phpt7
12 files changed, 40 insertions, 28 deletions
diff --git a/ext/standard/tests/math/acosh_basic.phpt b/ext/standard/tests/math/acosh_basic.phpt
index 34839ee2fd..1f277f9387 100644
--- a/ext/standard/tests/math/acosh_basic.phpt
+++ b/ext/standard/tests/math/acosh_basic.phpt
@@ -2,9 +2,10 @@
Test return type and value for expected input acosh()
--SKIPIF--
<?php
-if(substr(PHP_OS, 0, 3) == "WIN")
- die ("skip - function not supported on Windows");
-?>
+if (!function_exists("acosh")) {
+ die("SKIP acosh - not supported\n");
+}
+?>
--INI--
precision = 14
--FILE--
diff --git a/ext/standard/tests/math/acosh_basiclong_64bit.phpt b/ext/standard/tests/math/acosh_basiclong_64bit.phpt
index 80c33b224b..c8e7bbe212 100644
--- a/ext/standard/tests/math/acosh_basiclong_64bit.phpt
+++ b/ext/standard/tests/math/acosh_basiclong_64bit.phpt
@@ -2,7 +2,8 @@
Test acosh function : 64bit long tests
--SKIPIF--
<?php
-if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only");
+if (PHP_INT_SIZE != 8) die("SKIP this test is for 64bit platform only");
+if (!function_exists("acosh")) die("SKIP acosh - not supported\n");
?>
--FILE--
<?php
diff --git a/ext/standard/tests/math/acosh_error.phpt b/ext/standard/tests/math/acosh_error.phpt
index fd2f92118d..d1f0bd6ec8 100644
--- a/ext/standard/tests/math/acosh_error.phpt
+++ b/ext/standard/tests/math/acosh_error.phpt
@@ -2,9 +2,10 @@
Test wrong number of arguments for acosh()
--SKIPIF--
<?php
-if(substr(PHP_OS, 0, 3) == "WIN" )
- die ("skip - function not supported on Windows");
-?>
+if (!function_exists("acosh")) {
+ die("SKIP acosh - not supported\n");
+}
+?>
--FILE--
<?php
/*
diff --git a/ext/standard/tests/math/acosh_variation.phpt b/ext/standard/tests/math/acosh_variation.phpt
index b0e9f9bd80..e404480fff 100644
--- a/ext/standard/tests/math/acosh_variation.phpt
+++ b/ext/standard/tests/math/acosh_variation.phpt
@@ -2,9 +2,10 @@
Test variations in usage of acosh()
--SKIPIF--
<?php
-if(substr(PHP_OS, 0, 3) == "WIN" )
- die ("skip - function not supported on Windows");
-?>
+if (!function_exists("acosh")) {
+ die("SKIP acosh - not supported\n");
+}
+?>
--INI--
precision = 10
--FILE--
diff --git a/ext/standard/tests/math/asinh_basic.phpt b/ext/standard/tests/math/asinh_basic.phpt
index 61f1731553..5f6503becd 100644
--- a/ext/standard/tests/math/asinh_basic.phpt
+++ b/ext/standard/tests/math/asinh_basic.phpt
@@ -2,9 +2,10 @@
Test return type and value for expected input asinh()
--SKIPIF--
<?php
-if(substr(PHP_OS, 0, 3) == "WIN")
- die ("skip - function not supported on Windows");
-?>
+if (!function_exists("asinh")) {
+ die("SKIP asinh - not supported\n");
+}
+?>
--INI--
precision = 14
--FILE--
diff --git a/ext/standard/tests/math/asinh_basiclong_64bit.phpt b/ext/standard/tests/math/asinh_basiclong_64bit.phpt
index a501d75d3c..98e1ceb5dc 100644
--- a/ext/standard/tests/math/asinh_basiclong_64bit.phpt
+++ b/ext/standard/tests/math/asinh_basiclong_64bit.phpt
@@ -3,6 +3,7 @@ Test asinh function : 64bit long tests
--SKIPIF--
<?php
if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only");
+if (!function_exists("asinh")) die("SKIP asinh - not supported\n");
?>
--FILE--
<?php
diff --git a/ext/standard/tests/math/asinh_error.phpt b/ext/standard/tests/math/asinh_error.phpt
index 96f7ba0616..b9e33310a9 100644
--- a/ext/standard/tests/math/asinh_error.phpt
+++ b/ext/standard/tests/math/asinh_error.phpt
@@ -2,9 +2,10 @@
Test wrong number of arguments for asinh()
--SKIPIF--
<?php
-if(substr(PHP_OS, 0, 3) == "WIN" )
- die ("skip - function not supported on Windows");
-?>
+if (!function_exists("asinh")) {
+ die("SKIP asinh - not supported\n");
+}
+?>
--FILE--
<?php
/*
diff --git a/ext/standard/tests/math/asinh_variation.phpt b/ext/standard/tests/math/asinh_variation.phpt
index 00ade0b8d5..cfc39f5cf1 100644
--- a/ext/standard/tests/math/asinh_variation.phpt
+++ b/ext/standard/tests/math/asinh_variation.phpt
@@ -2,9 +2,10 @@
Test variations in usage of asinh()
--SKIPIF--
<?php
-if(substr(PHP_OS, 0, 3) == "WIN" )
- die ("skip - function not supported on Windows");
-?>
+if (!function_exists("asinh")) {
+ die("SKIP asinh - not supported\n");
+}
+?>
--INI--
precision = 10
--FILE--
diff --git a/ext/standard/tests/math/atanh_basic.phpt b/ext/standard/tests/math/atanh_basic.phpt
index c259bdb82b..6f13252576 100644
--- a/ext/standard/tests/math/atanh_basic.phpt
+++ b/ext/standard/tests/math/atanh_basic.phpt
@@ -2,9 +2,10 @@
Test return type and value for expected input atanh()
--SKIPIF--
<?php
-if(substr(PHP_OS, 0, 3) == "WIN" )
- die ("skip - function not supported on Windows");
-?>
+if (!function_exists("atanh")) {
+ die("SKIP atanh - not supported\n");
+}
+?>
--INI--
precision = 14
--FILE--
diff --git a/ext/standard/tests/math/atanh_basiclong_64bit.phpt b/ext/standard/tests/math/atanh_basiclong_64bit.phpt
index d7608cad1d..cc8d858382 100644
--- a/ext/standard/tests/math/atanh_basiclong_64bit.phpt
+++ b/ext/standard/tests/math/atanh_basiclong_64bit.phpt
@@ -3,6 +3,7 @@ Test atanh function : 64bit long tests
--SKIPIF--
<?php
if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only");
+if (!function_exists("atanh")) die("SKIP atanh - not supported\n");
?>
--FILE--
<?php
diff --git a/ext/standard/tests/math/atanh_error.phpt b/ext/standard/tests/math/atanh_error.phpt
index 3201eef20b..e343839316 100644
--- a/ext/standard/tests/math/atanh_error.phpt
+++ b/ext/standard/tests/math/atanh_error.phpt
@@ -2,9 +2,10 @@
Test wrong number of arguments for atanh()
--SKIPIF--
<?php
-if(substr(PHP_OS, 0, 3) == "WIN" )
- die ("skip - function not supported on Windows");
-?>
+if (!function_exists("atanh")) {
+ die("SKIP atanh - not supported\n");
+}
+?>
--FILE--
<?php
/*
diff --git a/ext/standard/tests/math/atanh_variation.phpt b/ext/standard/tests/math/atanh_variation.phpt
index 879b9a9f28..e0d4f00ad5 100644
--- a/ext/standard/tests/math/atanh_variation.phpt
+++ b/ext/standard/tests/math/atanh_variation.phpt
@@ -2,9 +2,10 @@
Test variations in usage of atanh()
--SKIPIF--
<?php
-if(substr(PHP_OS, 0, 3) == "WIN" )
- die ("skip - function not supported on Windows");
-?>
+if (!function_exists("atanh")) {
+ die("SKIP atanh - not supported\n");
+}
+?>
--INI--
precision = 10
--FILE--