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_filter_matches(3) - php
locale(3) - php
numfmt_get_locale(3) - php
locale_get_display_region(3) - php
resourcebundle_create(3) - php
Similar Topics in the Unix Linux Community
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
Denial Of Service Attack Update
Please Welcome Nicki Paul to the Moderator Team!