diff options
| author | Sara Golemon <pollita@php.net> | 2017-05-17 17:23:15 -0700 |
|---|---|---|
| committer | Sara Golemon <pollita@php.net> | 2017-05-17 17:25:23 -0700 |
| commit | b627e33a8dd514718fb8999fdbf6b961e35012e3 (patch) | |
| tree | 3da1d8a4190179f6914586b5af2a8d58e962e9de | |
| parent | 2649a9e1a9f102419d6aba3d248a1546eb3d0926 (diff) | |
| download | php-git-b627e33a8dd514718fb8999fdbf6b961e35012e3.tar.gz | |
Bugfix 63790 - Don't try to use Spoofchecker when unavailable
ICUSpoofChecker was introduced with 4.2 and may be
unavailable in some cases.
Skip this test when its not present.
| -rw-r--r-- | NEWS | 1 | ||||
| -rw-r--r-- | ext/intl/tests/bug62915-2.phpt | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -104,6 +104,7 @@ PHP NEWS . Fixed bug #74433 (wrong reflection for Normalizer methods). (villfa) . Fixed bug #74439 (wrong reflection for Locale methods). (villfa) . Fixed bug #74468 (wrong reflection on Collator::sortWithSortKeys). (villfa) + . Fixed bug #63790 (test using Spoofchecker which may be unavailable). (Sara) - Mbstring: . Implemented request #66024 (mb_chr() and mb_ord()). (Masakielastic, Yasuo) diff --git a/ext/intl/tests/bug62915-2.phpt b/ext/intl/tests/bug62915-2.phpt index bcb069cab6..8dc3bd1512 100644 --- a/ext/intl/tests/bug62915-2.phpt +++ b/ext/intl/tests/bug62915-2.phpt @@ -4,6 +4,8 @@ Bug #62915: cloning of several classes is defective <?php if (!extension_loaded('intl')) die('skip intl extension not enabled'); +if (!class_exists('Spoofchecker')) + die('skip intl extension does not have spoof checker'); --FILE-- <?php class A extends IntlDateFormatter { |
