mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Fixed missing closing parentheses in example.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@273738 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
c398d21a01
commit
e3ce49cb85
2 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<refentry xml:id="numberformatter.geterrorcode" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>NumberFormatter::getErrorCode</refname>
|
||||
|
@ -77,7 +77,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()) {
|
||||
if(intl_is_failure($fmt->getErrorCode())) {
|
||||
report_error("Formatter error");
|
||||
}
|
||||
?>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<refentry xml:id="numberformatter.geterrormessage" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>NumberFormatter::getErrorMessage</refname>
|
||||
|
@ -77,7 +77,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()) {
|
||||
if(intl_is_failure($fmt->getErrorCode())) {
|
||||
report_error("Formatter error");
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue