diff options
-rw-r--r-- | ext/standard/tests/strings/strcoll.phpt | 3 | ||||
-rw-r--r-- | ext/standard/tests/strings/strcoll_error.phpt | 8 |
2 files changed, 7 insertions, 4 deletions
diff --git a/ext/standard/tests/strings/strcoll.phpt b/ext/standard/tests/strings/strcoll.phpt index 6fbfa04a1c..0d78ff37be 100644 --- a/ext/standard/tests/strings/strcoll.phpt +++ b/ext/standard/tests/strings/strcoll.phpt @@ -1,5 +1,7 @@ --TEST-- Testing Basic behaviour of strcoll() +--SKIPIF-- +<?php if (!function_exists('strcoll')) die('skip strcoll function not available') ?> --CREDITS-- Sebastian Schürmann sebs@php.net @@ -18,4 +20,3 @@ if($result > 0) { ?> --EXPECT-- Pass - diff --git a/ext/standard/tests/strings/strcoll_error.phpt b/ext/standard/tests/strings/strcoll_error.phpt index 7eda9817ee..56466bb63e 100644 --- a/ext/standard/tests/strings/strcoll_error.phpt +++ b/ext/standard/tests/strings/strcoll_error.phpt @@ -1,5 +1,7 @@ --TEST-- -Test strcoll() function : error conditions +Test strcoll() function : error conditions +--SKIPIF-- +<?php if (!function_exists('strcoll')) die('skip strcoll function not available') ?> --FILE-- <?php /* Prototype: int strcoll ( string $str1 , string $str2 ) @@ -13,7 +15,7 @@ var_dump( strcoll() ); var_dump( strcoll("") ); echo "\n-- Testing strcoll() function with one argument --\n"; -var_dump( strcoll("Hello World") ); +var_dump( strcoll("Hello World") ); echo "\n-- Testing strcoll() function with more than expected no. of arguments --\n"; $extra_arg = 10; @@ -41,4 +43,4 @@ NULL Warning: strcoll() expects exactly 2 parameters, 3 given in %s on line %d NULL -===Done===
\ No newline at end of file +===Done=== |