This document provides PHP code examples to demonstrate number formatting and sorting strings using locale-specific rules for different languages. It formats numbers in Hindi, Farsi, Egyptian Arabic and other locales. It also shows sorting German names according to different German locales and using the Intl extension. Further examples demonstrate date formatting in Finnish, Japanese and French, and generating Korean numbers.