diff options
| -rw-r--r-- | ext/intl/tests/formatter_fail.phpt | 2 | ||||
| -rw-r--r-- | ext/intl/tests/msgfmt_fail.phpt | 2 | ||||
| -rw-r--r-- | ext/intl/tests/msgfmt_fail2.phpt | 2 | ||||
| -rw-r--r-- | sapi/cli/tests/005.phpt | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/ext/intl/tests/formatter_fail.phpt b/ext/intl/tests/formatter_fail.phpt index 2e3360f3c7..72335e2022 100644 --- a/ext/intl/tests/formatter_fail.phpt +++ b/ext/intl/tests/formatter_fail.phpt @@ -21,7 +21,7 @@ function crt($t, $l, $s) { case $t == "O": try { return new NumberFormatter($l, $s); - } catch (BaseException $e) { + } catch (Throwable $e) { print_exception($e); return null; } diff --git a/ext/intl/tests/msgfmt_fail.phpt b/ext/intl/tests/msgfmt_fail.phpt index 8ee72d1ef5..daeaa8f677 100644 --- a/ext/intl/tests/msgfmt_fail.phpt +++ b/ext/intl/tests/msgfmt_fail.phpt @@ -22,7 +22,7 @@ function crt($t, $l, $s) { case $t == "O": try { return new MessageFormatter($l, $s); - } catch (BaseException $e) { + } catch (Throwable $e) { print_exception($e); return null; } diff --git a/ext/intl/tests/msgfmt_fail2.phpt b/ext/intl/tests/msgfmt_fail2.phpt index 87c1edec75..5dcd09ccc8 100644 --- a/ext/intl/tests/msgfmt_fail2.phpt +++ b/ext/intl/tests/msgfmt_fail2.phpt @@ -22,7 +22,7 @@ function crt($t, $l, $s) { case $t == "O": try { return new MessageFormatter($l, $s); - } catch (BaseException $e) { + } catch (Throwable $e) { print_exception($e); return null; } diff --git a/sapi/cli/tests/005.phpt b/sapi/cli/tests/005.phpt index b7825e673f..051605f70a 100644 --- a/sapi/cli/tests/005.phpt +++ b/sapi/cli/tests/005.phpt @@ -40,7 +40,7 @@ string(183) "Class [ <internal:Core> class stdClass ] { } " -string(1368) "Class [ <internal:Core> class Exception implements Throwable ] { +string(1376) "Class [ <internal:Core> class Exception implements Throwable ] { - Constants [0] { } |
