diff options
Diffstat (limited to 'ext/intl/tests/timezone_getDSTSavings_error.phpt')
-rw-r--r-- | ext/intl/tests/timezone_getDSTSavings_error.phpt | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/ext/intl/tests/timezone_getDSTSavings_error.phpt b/ext/intl/tests/timezone_getDSTSavings_error.phpt index 9df04f08c1..c20da9021a 100644 --- a/ext/intl/tests/timezone_getDSTSavings_error.phpt +++ b/ext/intl/tests/timezone_getDSTSavings_error.phpt @@ -8,17 +8,10 @@ if (!extension_loaded('intl')) <?php ini_set("intl.error_level", E_WARNING); -$tz = IntlTimeZone::createTimeZone('Europe/Lisbon'); -var_dump($tz->getDSTSavings(array())); - var_dump(intltz_get_dst_savings(null)); +?> --EXPECTF-- -Warning: IntlTimeZone::getDSTSavings() expects exactly 0 parameters, 1 given in %s on line %d - -Warning: IntlTimeZone::getDSTSavings(): intltz_get_dst_savings: bad arguments in %s on line %d -bool(false) - -Fatal error: Uncaught TypeError: Argument 1 passed to intltz_get_dst_savings() must be an instance of IntlTimeZone, null given in %s:%d +Fatal error: Uncaught TypeError: intltz_get_dst_savings() expects parameter 1 to be IntlTimeZone, null given in %s:%d Stack trace: #0 %s(%d): intltz_get_dst_savings(NULL) #1 {main} |