diff --git a/reference/intl/book.xml b/reference/intl/book.xml
index 6e8b62398b..a672224b06 100755
--- a/reference/intl/book.xml
+++ b/reference/intl/book.xml
@@ -1,5 +1,5 @@
-
+
Internationalization Functions
@@ -84,145 +84,9 @@
-
-
- Installing/Configuring
-
-
-
- &reftitle.required;
-
- To build the extension you need to install the
- ICU
- library of version 3.6+.
-
-
- You will also need the latest version of PHP. Collator is known to work
- well on PHP 5.1.3+ and 5.2.0+.
-
-
-
-
-
-
- &reftitle.install;
-
- Run:
-
-
-
-
-
-
- Then enable the extension by adding the following line to [PHP] section of
- your &php.ini;:
-
-
-
-
-
-
-
-
-
- Testing
-
- Run:
-
-
-
-
-
- Note that the tests may fail if:
-
-
-
-
- The Collator extension is already enabled in
- &php.ini;
-
-
-
-
- LD_LIBRARY_PATH is used to load ICU libraries and value of the
- 'variables_order' setting in php.ini doesn't contain letter 'E' (missing
- 'E' means "do not register Environment variables");
-
-
-
-
-
-
- &reference.intl.configure;
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
-
+ &reference.intl.setup;
&reference.intl.constants;
-
-
-
- &reftitle.examples;
-
- Basic usage of this extension
-
- Each module provides two kind of APIs: a procedural one and an object
- oriented one. Both are actually identical and described in the
- corresponding document.
-
-
-
- All input strings must be in UTF-8 encoding. All output strings are
- also in UTF-8.
-
-
-
- Example of using the procedural API
-
-
-]]>
-
-
-
-
- Example of using the object-oriented API
-
-getLocale(Locale::ACTUAL_LOCALE);
-echo "Actual locale: $al\n";
-
-$formatter = new NumberFormatter('en_US', NumberFormatter::DECIMAL);
-echo $formatter->format(1234567);
-?>
-]]>
-
-
-
-
-
-
- &reference.intl.reference;
+ &reference.intl.examples;
&reference.intl.collator;
&reference.intl.numberformatter;
@@ -231,6 +95,7 @@ echo $formatter->format(1234567);
&reference.intl.messageformatter;
&reference.intl.dateformatter;
+ &reference.intl.reference;
-
- Building
-
+
+
+ &reftitle.install;
- Let's assume that you have installed PHP to
- /opt/php5/
- and ICU is installed to
- /opt/icu/. Run the following commands:
+ &pecl.info;
+ &url.pecl.package;intl.
-
-
-
If your ICU is installed to a non-standard directory then you might want to
specify its location in
diff --git a/reference/intl/examples.xml b/reference/intl/examples.xml
new file mode 100644
index 0000000000..d350482a2d
--- /dev/null
+++ b/reference/intl/examples.xml
@@ -0,0 +1,71 @@
+
+
+
+
+ &reftitle.examples;
+
+
+ Basic usage of this extension
+
+ Each module provides two kind of APIs: a procedural one and an object
+ oriented one. Both are actually identical and described in the
+ corresponding document.
+
+
+
+ All input strings must be in UTF-8 encoding. All output strings are
+ also in UTF-8.
+
+
+
+ Example of using the procedural API
+
+
+]]>
+
+
+
+
+ Example of using the object-oriented API
+
+getLocale(Locale::ACTUAL_LOCALE);
+echo "Actual locale: $al\n";
+
+$formatter = new NumberFormatter('en_US', NumberFormatter::DECIMAL);
+echo $formatter->format(1234567);
+?>
+]]>
+
+
+
+
+
+
+
+
diff --git a/reference/intl/setup.xml b/reference/intl/setup.xml
new file mode 100644
index 0000000000..bfd45f5f7e
--- /dev/null
+++ b/reference/intl/setup.xml
@@ -0,0 +1,59 @@
+
+
+
+
+ &reftitle.setup;
+
+
+
+ &reftitle.required;
+
+ To build the extension you need to install the
+ ICU
+ library of version 3.6+.
+
+
+ You will also need the latest version of PHP. Collator is known to work
+ well on PHP 5.1.3+ and 5.2.0+.
+
+
+
+
+
+ &reference.intl.configure;
+
+
+
+ &reference.intl.ini;
+
+
+
+
+ &reftitle.resources;
+ &no.resource;
+
+
+
+
+
+
+