diff options
Diffstat (limited to 'ext/intl/tests/intl_get_error_code.phpt')
-rw-r--r-- | ext/intl/tests/intl_get_error_code.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/tests/intl_get_error_code.phpt b/ext/intl/tests/intl_get_error_code.phpt index 6cd361ba71..797aee4fb7 100644 --- a/ext/intl/tests/intl_get_error_code.phpt +++ b/ext/intl/tests/intl_get_error_code.phpt @@ -11,7 +11,7 @@ intl_get_error_code() // Suppress warning messages. error_reporting( E_ERROR ); -if( collator_get_locale() !== false ) +if( collator_get_locale(new Collator('en_US'), -1) !== false ) echo "failed\n"; else { |