mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
fix example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@260595 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
6076bbcefc
commit
1c9734af29
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
|
||||
<book xml:id="book.intl" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Internationalization Functions</title>
|
||||
|
@ -209,7 +209,7 @@ $result = collator_compare($coll, "string#1", "string#2");
|
|||
<![CDATA[
|
||||
<?php
|
||||
$coll = new Collator('en_US');
|
||||
$al = $coll->getLocaleByType(Locale::ACTUAL_LOCALE);
|
||||
$al = $coll->getLocale(Locale::ACTUAL_LOCALE);
|
||||
echo "Actual locale: $al\n";
|
||||
|
||||
$formatter = new NumberFormatter('en_US', NumberFormatter::DECIMAL);
|
||||
|
|
Loading…
Reference in a new issue