cvs: phpdoc /en/reference/intl book.xml
| From: | Stanislav Malyshev | Date: | Mon, 02 Jun 2008 05:32:56 +0000 |
| Subject: | cvs: phpdoc /en/reference/intl book.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-1741@lists.php.net to get a copy of this message | ||
stas Mon Jun 2 05:32:56 2008 UTC
Modified files:
/phpdoc/en/reference/intl book.xml
Log:
fix example
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/intl/book.xml?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc/en/reference/intl/book.xml
diff -u phpdoc/en/reference/intl/book.xml:1.5 phpdoc/en/reference/intl/book.xml:1.6
--- phpdoc/en/reference/intl/book.xml:1.5 Wed Mar 12 23:07:16 2008
+++ phpdoc/en/reference/intl/book.xml Mon Jun 2 05:32:55 2008
@@ -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 @@
<![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);