mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Fix #70422
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337764 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
5e9fde393a
commit
f3b7f5f611
1 changed files with 2 additions and 6 deletions
|
@ -64,9 +64,7 @@
|
|||
<?php
|
||||
$fmt = numfmt_create( 'de_DE', NumberFormatter::DECIMAL );
|
||||
$data = numfmt_format($fmt, 1234567.891234567890000);
|
||||
if(intl_is_failure(numfmt_get_error_code($fmt))) {
|
||||
report_error("Formatter error");
|
||||
}
|
||||
var_dump(numfmt_get_error_message($fmt));
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
|
@ -78,9 +76,7 @@ if(intl_is_failure(numfmt_get_error_code($fmt))) {
|
|||
<?php
|
||||
$fmt = new NumberFormatter( 'de_DE', NumberFormatter::DECIMAL );
|
||||
$fmt->format(1234567.891234567890000);
|
||||
if(intl_is_failure($fmt->getErrorCode())) {
|
||||
report_error("Formatter error");
|
||||
}
|
||||
var_dump(numfmt_get_error_message($fmt));
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
|
|
Loading…
Reference in a new issue