php man page for locale_get_script

Query: locale_get_script

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

LOCALE_GET_SCRIPT(3)							 1						      LOCALE_GET_SCRIPT(3)

Locale::getScript - Gets the script for the input locale

	Object oriented style

SYNOPSIS
publicstatic string Locale::getScript (string $locale)
DESCRIPTION
Procedural style string locale_get_script (string $locale) Gets the script for the input locale.
PARAMETERS
o $locale - The locale to extract the script code from
RETURN VALUES
The script subtag for the locale or NULL if not present
EXAMPLES
Example #1 locale_get_script(3) example <?php echo locale_get_script('sr-Cyrl'); ?> Example #2 OO example <?php echo Locale::getScript('sr-Cyrl'); ?> The above example will output: Cyrl
SEE ALSO
locale_get_primary_language(3), locale_get_region(3), locale_get_all_variants(3). PHP Documentation Group LOCALE_GET_SCRIPT(3)
Related Man Pages
locale(3) - php
locale_get_display_variant(3) - php
collator_get_locale(3) - php
locale_get_keywords(3) - php
resourcebundle_create(3) - php
Similar Topics in the Unix Linux Community
User Guide: Posting in the Emergency Forum
Rules for Homework &amp; Coursework Questions Forum
Forum Video Tutorial: How to Use Code Tags
Status of UNIX.COM Forum Transformation
Please Welcome Nicki Paul to the Moderator Team!