* The locale containing the required collation rules. Special values for * locales can be passed in - if null is passed for the locale, the * default locale collation rules will be used. If empty string ("") or * "root" are passed, UCA rules will be used. *
* @return Collator Return new instance of Collator object, or &null; * on error. */ public static function create ($locale) {} /** * Compare two Unicode strings * @link http://www.php.net/manual/en/collator.compare.php * @param str1 string* The first string to compare. *
* @param str2 string* The second string to compare. *
* @return int Return comparison result: ** * *
* 1 if str1 is greater than * str2 ; *
* * ** 0 if str1 is equal to * str2; *
* * ** -1 if str1 is less than * str2 . *
* * * On error * boolean * false * is returned. */ public function compare ($str1, $str2) {} /** * Sort array using specified collator * @link http://www.php.net/manual/en/collator.sort.php * @param arr array* Array of strings to sort. *
* @param sort_flag int[optional]* Optional sorting type, one of the following: *
** * *
* Collator::SORT_REGULAR * - compare items normally (don't change types) *
* @return bool Returns true on success, false on failure. */ public function sort (array &$arr, $sort_flag = null) {} /** * Sort array using specified collator and sort keys * @link http://www.php.net/manual/en/collator.sortwithsortkeys.php * @param arr arrayArray of strings to sort
* @return bool Returns true on success, false on failure. */ public function sortWithSortKeys (array &$arr) {} /** * Sort array maintaining index association * @link http://www.php.net/manual/en/collator.asort.php * @param arr arrayArray of strings to sort.
* @param sort_flag int[optional]* Optional sorting type, one of the following: * * *
* Collator::SORT_REGULAR * - compare items normally (don't change types) *
* @return bool Returns true on success, false on failure. */ public function asort (array &$arr, $sort_flag = null) {} /** * Get collation attribute value * @link http://www.php.net/manual/en/collator.getattribute.php * @param attr int* Attribute to get value for. *
* @return int Attribute value, or boolean false on error. */ public function getAttribute ($attr) {} /** * Set collation attribute * @link http://www.php.net/manual/en/collator.setattribute.php * @param attr intAttribute.
* @param val int* Attribute value. *
* @return bool Returns true on success, false on failure. */ public function setAttribute ($attr, $val) {} /** * Get current collation strength * @link http://www.php.net/manual/en/collator.getstrength.php * @return int current collation strength, or boolean false on error. */ public function getStrength () {} /** * Set collation strength * @link http://www.php.net/manual/en/collator.setstrength.php * @param strength intStrength to set.
** Possible values are: * * *
* Collator::PRIMARY *
* @return bool Returns true on success, false on failure. */ public function setStrength ($strength) {} /** * Get the locale name of the collator * @link http://www.php.net/manual/en/collator.getlocale.php * @param type int* You can choose between valid and actual locale ( * Locale::VALID_LOCALE and * Locale::ACTUAL_LOCALE, * respectively). *
* @return string Real locale name from which the collation data comes. If the collator was * instantiated from rules or an error occurred, returns * boolean false. */ public function getLocale ($type) {} /** * Get collator's last error code * @link http://www.php.net/manual/en/collator.geterrorcode.php * @return int Error code returned by the last Collator API function call. */ public function getErrorCode () {} /** * Get text for collator's last error code * @link http://www.php.net/manual/en/collator.geterrormessage.php * @return string Description of an error occurred in the last Collator API function call. */ public function getErrorMessage () {} /** * Get sorting key for a string * @link http://www.php.net/manual/en/collator.getsortkey.php * @param str string* The string to produce the key from. *
* @return string the collation key for the string. Collation keys can be compared directly instead of strings. */ public function getSortKey ($str) {} } class NumberFormatter { const PATTERN_DECIMAL = 0; const DECIMAL = 1; const CURRENCY = 2; const PERCENT = 3; const SCIENTIFIC = 4; const SPELLOUT = 5; const ORDINAL = 6; const DURATION = 7; const PATTERN_RULEBASED = 9; const IGNORE = 0; const DEFAULT_STYLE = 1; const ROUND_CEILING = 0; const ROUND_FLOOR = 1; const ROUND_DOWN = 2; const ROUND_UP = 3; const ROUND_HALFEVEN = 4; const ROUND_HALFDOWN = 5; const ROUND_HALFUP = 6; const PAD_BEFORE_PREFIX = 0; const PAD_AFTER_PREFIX = 1; const PAD_BEFORE_SUFFIX = 2; const PAD_AFTER_SUFFIX = 3; const PARSE_INT_ONLY = 0; const GROUPING_USED = 1; const DECIMAL_ALWAYS_SHOWN = 2; const MAX_INTEGER_DIGITS = 3; const MIN_INTEGER_DIGITS = 4; const INTEGER_DIGITS = 5; const MAX_FRACTION_DIGITS = 6; const MIN_FRACTION_DIGITS = 7; const FRACTION_DIGITS = 8; const MULTIPLIER = 9; const GROUPING_SIZE = 10; const ROUNDING_MODE = 11; const ROUNDING_INCREMENT = 12; const FORMAT_WIDTH = 13; const PADDING_POSITION = 14; const SECONDARY_GROUPING_SIZE = 15; const SIGNIFICANT_DIGITS_USED = 16; const MIN_SIGNIFICANT_DIGITS = 17; const MAX_SIGNIFICANT_DIGITS = 18; const LENIENT_PARSE = 19; const POSITIVE_PREFIX = 0; const POSITIVE_SUFFIX = 1; const NEGATIVE_PREFIX = 2; const NEGATIVE_SUFFIX = 3; const PADDING_CHARACTER = 4; const CURRENCY_CODE = 5; const DEFAULT_RULESET = 6; const PUBLIC_RULESETS = 7; const DECIMAL_SEPARATOR_SYMBOL = 0; const GROUPING_SEPARATOR_SYMBOL = 1; const PATTERN_SEPARATOR_SYMBOL = 2; const PERCENT_SYMBOL = 3; const ZERO_DIGIT_SYMBOL = 4; const DIGIT_SYMBOL = 5; const MINUS_SIGN_SYMBOL = 6; const PLUS_SIGN_SYMBOL = 7; const CURRENCY_SYMBOL = 8; const INTL_CURRENCY_SYMBOL = 9; const MONETARY_SEPARATOR_SYMBOL = 10; const EXPONENTIAL_SYMBOL = 11; const PERMILL_SYMBOL = 12; const PAD_ESCAPE_SYMBOL = 13; const INFINITY_SYMBOL = 14; const NAN_SYMBOL = 15; const SIGNIFICANT_DIGIT_SYMBOL = 16; const MONETARY_GROUPING_SEPARATOR_SYMBOL = 17; const TYPE_DEFAULT = 0; const TYPE_INT32 = 1; const TYPE_INT64 = 2; const TYPE_DOUBLE = 3; const TYPE_CURRENCY = 4; /** * @param locale * @param style * @param pattern[optional] */ public function __construct ($locale, $style, $pattern) {} /** * Create a number formatter * @link http://www.php.net/manual/en/numberformatter.create.php * @param locale string* Locale in which the number would be formatted (locale name, e.g. en_CA). *
* @param style int* Style of the formatting, one of the * * format style constants. If * NumberFormatter::PATTERN_DECIMAL * or NumberFormatter::PATTERN_RULEBASED * is passed then the number format is opened using the given pattern, * which must conform to the syntax described in * ICU DecimalFormat * documentation or * ICU RuleBasedNumberFormat * documentation, respectively. *
* @param pattern string[optional]* Pattern string if the chosen style requires a pattern. *
* @return NumberFormatter NumberFormatter object or false on error. */ public static function create ($locale, $style, $pattern = null) {} /** * Format a number * @link http://www.php.net/manual/en/numberformatter.format.php * @param value number* The value to format. Can be integer or float, * other values will be converted to a numeric value. *
* @param type int[optional]* The * * formatting type to use. *
* @return string the string containing formatted value, or false on error. */ public function format ($value, $type = null) {} /** * Parse a number * @link http://www.php.net/manual/en/numberformatter.parse.php * @param value string * @param type int[optional]* The * * formatting type to use. By default, * NumberFormatter::TYPE_DOUBLE is used. *
* @param position int[optional]* Offset in the string at which to begin parsing. On return, this value * will hold the offset at which parsing ended. *
* @return mixed The value of the parsed number or false on error. */ public function parse ($value, $type = null, &$position = null) {} /** * Format a currency value * @link http://www.php.net/manual/en/numberformatter.formatcurrency.php * @param value float* The numeric currency value. *
* @param currency string* The 3-letter ISO 4217 currency code indicating the currency to use. *
* @return string String representing the formatted currency value. */ public function formatCurrency ($value, $currency) {} /** * Parse a currency number * @link http://www.php.net/manual/en/numberformatter.parsecurrency.php * @param value string * @param currency string* Parameter to receive the currency name (3-letter ISO 4217 currency * code). *
* @param position int[optional]* Offset in the string at which to begin parsing. On return, this value * will hold the offset at which parsing ended. *
* @return float The parsed numeric value or false on error. */ public function parseCurrency ($value, &$currency, &$position = null) {} /** * Set an attribute * @link http://www.php.net/manual/en/numberformatter.setattribute.php * @param attr int* Attribute specifier - one of the * * numeric attribute constants. *
* @param value int* The attribute value. *
* @return bool Returns true on success, false on failure. */ public function setAttribute ($attr, $value) {} /** * Get an attribute * @link http://www.php.net/manual/en/numberformatter.getattribute.php * @param attr int* Attribute specifier - one of the * * numeric attribute constants. *
* @return int Return attribute value on success, or false on error. */ public function getAttribute ($attr) {} /** * Set a text attribute * @link http://www.php.net/manual/en/numberformatter.settextattribute.php * @param attr int* Attribute specifier - one of the * text attribute * constants. *
* @param value string* Text for the attribute value. *
* @return bool Returns true on success, false on failure. */ public function setTextAttribute ($attr, $value) {} /** * Get a text attribute * @link http://www.php.net/manual/en/numberformatter.gettextattribute.php * @param attr int* Attribute specifier - one of the * * text attribute constants. *
* @return string Return attribute value on success, or false on error. */ public function getTextAttribute ($attr) {} /** * Set a symbol value * @link http://www.php.net/manual/en/numberformatter.setsymbol.php * @param attr int* Symbol specifier, one of the * * format symbol constants. *
* @param value string* Text for the symbol. *
* @return bool Returns true on success, false on failure. */ public function setSymbol ($attr, $value) {} /** * Get a symbol value * @link http://www.php.net/manual/en/numberformatter.getsymbol.php * @param attr int* Symbol specifier, one of the * * format symbol constants. *
* @return string The symbol string or false on error. */ public function getSymbol ($attr) {} /** * Set formatter pattern * @link http://www.php.net/manual/en/numberformatter.setpattern.php * @param pattern string* Pattern in syntax described in * ICU DecimalFormat * documentation. *
* @return bool Returns true on success, false on failure. */ public function setPattern ($pattern) {} /** * Get formatter pattern * @link http://www.php.net/manual/en/numberformatter.getpattern.php * @return string Pattern string that is used by the formatter, or false if an error happens. */ public function getPattern () {} /** * Get formatter locale * @link http://www.php.net/manual/en/numberformatter.getlocale.php * @param type int[optional]* You can choose between valid and actual locale ( * Locale::VALID_LOCALE, * Locale::ACTUAL_LOCALE, * respectively). The default is the actual locale. *
* @return string The locale name used to create the formatter. */ public function getLocale ($type = null) {} /** * Get formatter's last error code. * @link http://www.php.net/manual/en/numberformatter.geterrorcode.php * @return int error code from last formatter call. */ public function getErrorCode () {} /** * Get formatter's last error message. * @link http://www.php.net/manual/en/numberformatter.geterrormessage.php * @return string error message from last formatter call. */ public function getErrorMessage () {} } class Normalizer { const NONE = 1; const FORM_D = 2; const NFD = 2; const FORM_KD = 3; const NFKD = 3; const FORM_C = 4; const NFC = 4; const FORM_KC = 5; const NFKC = 5; /** * Normalizes the input provided and returns the normalized string * @link http://www.php.net/manual/en/normalizer.normalize.php * @param input stringThe input string to normalize
* @param form string[optional]One of the normalization forms.
* @return string The normalized string or &null; if an error occurred. */ public static function normalize ($input, $form = null) {} /** * Checks if the provided string is already in the specified normalization form. * @link http://www.php.net/manual/en/normalizer.isnormalized.php * @param input stringThe input string to normalize
* @param form string[optional]* One of the normalization forms. *
* @return bool true if normalized, false otherwise or if there an error */ public static function isNormalized ($input, $form = null) {} } class Locale { const ACTUAL_LOCALE = 0; const VALID_LOCALE = 1; const DEFAULT_LOCALE = null; const LANG_TAG = "language"; const EXTLANG_TAG = "extlang"; const SCRIPT_TAG = "script"; const REGION_TAG = "region"; const VARIANT_TAG = "variant"; const GRANDFATHERED_LANG_TAG = "grandfathered"; const PRIVATE_TAG = "private"; /** * Gets the default locale value from the INTL global 'default_locale' * @link http://www.php.net/manual/en/locale.getdefault.php * @return string The current runtime locale */ public static function getDefault () {} /** * sets the default runtime locale * @link http://www.php.net/manual/en/locale.setdefault.php * @param locale string* Is a BCP 47 compliant language tag containing the *
* @return bool Returns true on success, false on failure. */ public static function setDefault ($locale) {} /** * Gets the primary language for the input locale * @link http://www.php.net/manual/en/locale.getprimarylanguage.php * @param locale string* The locale to extract the primary language code from *
* @return string The language code associated with the language or &null; in case of error. */ public static function getPrimaryLanguage ($locale) {} /** * Gets the script for the input locale * @link http://www.php.net/manual/en/locale.getscript.php * @param locale string* The locale to extract the script code from *
* @return string The script subtag for the locale or &null; if not present */ public static function getScript ($locale) {} /** * Gets the region for the input locale * @link http://www.php.net/manual/en/locale.getregion.php * @param locale string* The locale to extract the region code from *
* @return string The region subtag for the locale or &null; if not present */ public static function getRegion ($locale) {} /** * Gets the keywords for the input locale * @link http://www.php.net/manual/en/locale.getkeywords.php * @param locale string* The locale to extract the keywords from *
* @return array Associative array containing the keyword-value pairs for this locale */ public static function getKeywords ($locale) {} /** * Returns an appropriately localized display name for script of the input locale * @link http://www.php.net/manual/en/locale.getdisplayscript.php * @param locale string* The locale to return a display script for *
* @param in_locale string[optional]* Optional format locale to use to display the script name *
* @return string Display name of the script for the $locale in the format appropriate for * $in_locale. */ public static function getDisplayScript ($locale, $in_locale = null) {} /** * Returns an appropriately localized display name for region of the input locale * @link http://www.php.net/manual/en/locale.getdisplayregion.php * @param locale string* The locale to return a display region for. *
* @param in_locale string[optional]* Optional format locale to use to display the region name *
* @return string display name of the region for the $locale in the format appropriate for * $in_locale. */ public static function getDisplayRegion ($locale, $in_locale = null) {} /** * Returns an appropriately localized display name for the input locale * @link http://www.php.net/manual/en/locale.getdisplayname.php * @param locale string* The locale to return a display name for. *
* @param in_locale string[optional]optional format locale
* @return string Display name of the locale in the format appropriate for $in_locale. */ public static function getDisplayName ($locale, $in_locale = null) {} /** * Returns an appropriately localized display name for language of the inputlocale * @link http://www.php.net/manual/en/locale.getdisplaylanguage.php * @param locale string* The locale to return a display language for *
* @param in_locale string[optional]* Optional format locale to use to display the language name *
* @return string display name of the language for the $locale in the format appropriate for * $in_locale. */ public static function getDisplayLanguage ($locale, $in_locale = null) {} /** * Returns an appropriately localized display name for variants of the input locale * @link http://www.php.net/manual/en/locale.getdisplayvariant.php * @param locale string* The locale to return a display variant for *
* @param in_locale string[optional]* Optional format locale to use to display the variant name *
* @return string Display name of the variant for the $locale in the format appropriate for * $in_locale. */ public static function getDisplayVariant ($locale, $in_locale = null) {} /** * Returns a correctly ordered and delimited locale ID * @link http://www.php.net/manual/en/locale.composelocale.php * @param subtags array* an array containing a list of key-value pairs, where the keys identify * the particular locale ID subtags, and the values are the associated * subtag values. * *
* The 'variant' and 'private' subtags can take maximum 15 values * whereas 'extlang' can take maximum 3 values.e.g. Variants are allowed * with the suffix ranging from 0-14. Hence the keys for the input array * can be variant0, variant1, ...,variant14. In the returned locale id, * the subtag is ordered by suffix resulting in variant0 followed by * variant1 followed by variant2 and so on. *
** The 'variant', 'private' and 'extlang' multiple values can be specified both * as array under specific key (e.g. 'variant') and as multiple numbered keys * (e.g. 'variant0', 'variant1', etc.). *
* * * @return string The corresponding locale identifier. */ public static function composeLocale (array $subtags) {} /** * Returns a key-value array of locale ID subtag elements. * @link http://www.php.net/manual/en/locale.parselocale.php * @param locale string* The locale to extract the subtag array from. Note: The 'variant' and * 'private' subtags can take maximum 15 values whereas 'extlang' can take * maximum 3 values. *
* @return array an array containing a list of key-value pairs, where the keys * identify the particular locale ID subtags, and the values are the * associated subtag values. The array will be ordered as the locale id * subtags e.g. in the locale id if variants are '-varX-varY-varZ' then the * returned array will have variant0=>varX , variant1=>varY , * variant2=>varZ */ public static function parseLocale ($locale) {} /** * Gets the variants for the input locale * @link http://www.php.net/manual/en/locale.getallvariants.php * @param locale string* The locale to extract the variants from *
* @return array The array containing the list of all variants subtag for the locale * or &null; if not present */ public static function getAllVariants ($locale) {} /** * Checks if a language tag filter matches with locale * @link http://www.php.net/manual/en/locale.filtermatches.php * @param langtag string* The language tag to check *
* @param locale string* The language range to check against *
* @param canonicalize bool[optional]* If true, the arguments will be converted to canonical form before * matching. *
* @return bool true if $locale matches $langtag false otherwise. */ public static function filterMatches ($langtag, $locale, $canonicalize = null) {} /** * Searches the language tag list for the best match to the language * @link http://www.php.net/manual/en/locale.lookup.php * @param langtag array* An array containing a list of language tags to compare to * locale. Maximum 100 items allowed. *
* @param locale string* The locale to use as the language range when matching. *
* @param canonicalize bool[optional]* If true, the arguments will be converted to canonical form before * matching. *
* @param default string[optional]* The locale to use if no match is found. *
* @return string The closest matching language tag or default value. */ public static function lookup (array $langtag, $locale, $canonicalize = null, $default = null) {} /** * Canonicalize the locale string * @link http://www.php.net/manual/en/locale.canonicalize.php * @param locale string* *
* @return string */ public static function canonicalize ($locale) {} /** * Tries to find out best available locale based on HTTP "Accept-Language" header * @link http://www.php.net/manual/en/locale.acceptfromhttp.php * @param header string* The string containing the "Accept-Language" header according to format in RFC 2616. *
* @return string The corresponding locale identifier. */ public static function acceptFromHttp ($header) {} } class MessageFormatter { /** * @param locale * @param pattern */ public function __construct ($locale, $pattern) {} /** * Constructs a new Message Formatter * @link http://www.php.net/manual/en/messageformatter.create.php * @param locale string* The locale to use when formatting arguments *
* @param pattern string* The pattern string to stick arguments into. * The pattern uses an 'apostrophe-friendly' syntax; it is run through * umsg_autoQuoteApostrophe * before being interpreted. *
* @return MessageFormatter The formatter object */ public static function create ($locale, $pattern) {} /** * Format the message * @link http://www.php.net/manual/en/messageformatter.format.php * @param args array* Arguments to insert into the format string *
* @return string The formatted string, or false if an error occurred */ public function format (array $args) {} /** * Quick format message * @link http://www.php.net/manual/en/messageformatter.formatmessage.php * @param locale string* The locale to use for formatting locale-dependent parts *
* @param pattern string* The pattern string to insert things into. * The pattern uses an 'apostrophe-friendly' syntax; it is run through * umsg_autoQuoteApostrophe * before being interpreted. *
* @param args array* The array of values to insert into the format string *
* @return string The formatted pattern string or false if an error occurred */ public static function formatMessage ($locale, $pattern, array $args) {} /** * Parse input string according to pattern * @link http://www.php.net/manual/en/messageformatter.parse.php * @param value string* The string to parse *
* @return array An array containing the items extracted, or false on error */ public function parse ($value) {} /** * Quick parse input string * @link http://www.php.net/manual/en/messageformatter.parsemessage.php * @param locale string* The locale to use for parsing locale-dependent parts *
* @param pattern string* The pattern with which to parse the value. *
* @param source string* The string to parse, conforming to the pattern. *
* @return array An array containing items extracted, or false on error */ public static function parseMessage ($locale, $pattern, $source) {} /** * Set the pattern used by the formatter * @link http://www.php.net/manual/en/messageformatter.setpattern.php * @param pattern string* The pattern string to use in this message formatter. * The pattern uses an 'apostrophe-friendly' syntax; it is run through * umsg_autoQuoteApostrophe * before being interpreted. *
* @return bool Returns true on success, false on failure. */ public function setPattern ($pattern) {} /** * Get the pattern used by the formatter * @link http://www.php.net/manual/en/messageformatter.getpattern.php * @return string The pattern string for this message formatter */ public function getPattern () {} /** * Get the locale for which the formatter was created. * @link http://www.php.net/manual/en/messageformatter.getlocale.php * @return string The locale name */ public function getLocale () {} /** * Get the error code from last operation * @link http://www.php.net/manual/en/messageformatter.geterrorcode.php * @return int The error code, one of UErrorCode values. Initial value is U_ZERO_ERROR. */ public function getErrorCode () {} /** * Get the error text from the last operation * @link http://www.php.net/manual/en/messageformatter.geterrormessage.php * @return string Description of the last error. */ public function getErrorMessage () {} } class IntlDateFormatter { const FULL = 0; const LONG = 1; const MEDIUM = 2; const SHORT = 3; const NONE = -1; const GREGORIAN = 1; const TRADITIONAL = 0; /** * @param locale * @param datetype * @param timetype * @param timezone[optional] * @param calendar[optional] * @param pattern[optional] */ public function __construct ($locale, $datetype, $timetype, $timezone, $calendar, $pattern) {} /** * Create a date formatter * @link http://www.php.net/manual/en/intldateformatter.create.php * @param locale string* Locale to use when formatting or parsing or &null; to use the value * specified in the ini setting intl.default_locale. *
* @param datetype int* Date type to use (none, short, * medium, long, * full). This is one of the IntlDateFormatter * constants. It can also be &null;, in which case ICUʼs default * date type will be used. *
* @param timetype int* Time type to use (none, short, * medium, long, * full). This is one of the IntlDateFormatter * constants. It can also be &null;, in which case ICUʼs default * time type will be used. *
* @param timezone mixed[optional]* Time zone ID. The default (and the one used if &null; is given) is the * one returned by date_default_timezone_get or, if * applicable, that of the IntlCalendar object passed * for the calendar parameter. This ID must be a * valid identifier on ICUʼs database or an ID representing an * explicit offset, such as GMT-05:30. *
** This can also be an IntlTimeZone or a * DateTimeZone object. *
* @param calendar mixed[optional]* Calendar to use for formatting or parsing. The default value is &null;, * which corresponds to IntlDateFormatter::GREGORIAN. * This can either be one of the * IntlDateFormatter * calendar constants or an IntlCalendar. Any * IntlCalendar object passed will be clone; it will * not be changed by the IntlDateFormatter. This will * determine the calendar type used (gregorian, islamic, persian, etc.) and, * if &null; is given for the timezone parameter, * also the timezone used. *
* @param pattern string[optional]* Optional pattern to use when formatting or parsing. * Possible patterns are documented at &url.icu.datepattern;. *
* @return IntlDateFormatter The created IntlDateFormatter or false in case of * failure. */ public static function create ($locale, $datetype, $timetype, $timezone = null, $calendar = null, $pattern = null) {} /** * Get the datetype used for the IntlDateFormatter * @link http://www.php.net/manual/en/intldateformatter.getdatetype.php * @return int The current date type value of the formatter. */ public function getDateType () {} /** * Get the timetype used for the IntlDateFormatter * @link http://www.php.net/manual/en/intldateformatter.gettimetype.php * @return int The current date type value of the formatter. */ public function getTimeType () {} /** * Get the calendar type used for the IntlDateFormatter * @link http://www.php.net/manual/en/intldateformatter.getcalendar.php * @return int The calendar * type being used by the formatter. Either * IntlDateFormatter::TRADITIONAL or * IntlDateFormatter::GREGORIAN. */ public function getCalendar () {} /** * Get copy of formatterʼs calendar object * @link http://www.php.net/manual/en/intldateformatter.getcalendarobject.php * @return IntlCalendar A copy of the internal calendar object used by this formatter. */ public function getCalendarObject () {} /** * Sets the calendar type used by the formatter * @link http://www.php.net/manual/en/intldateformatter.setcalendar.php * @param which mixed* This can either be: the calendar * type to use (default is * IntlDateFormatter::GREGORIAN, which is also used if * &null; is specified) or an * IntlCalendar object. *
** Any IntlCalendar object passed in will be cloned; * no modifications will be made to the argument object. *
** The timezone of the formatter will only be kept if an * IntlCalendar object is not passed, otherwise the * new timezone will be that of the passed object. *
* @return bool Returns true on success, false on failure. */ public function setCalendar ($which) {} /** * Get the timezone-id used for the IntlDateFormatter * @link http://www.php.net/manual/en/intldateformatter.gettimezoneid.php * @return string ID string for the time zone used by this formatter. */ public function getTimeZoneId () {} /** * Sets the time zone to use * @link http://www.php.net/manual/en/intldateformatter.settimezoneid.php * @param zone string* The time zone ID string of the time zone to use. * If &null; or the empty string, the default time zone for the runtime is used. *
* @return bool Returns true on success, false on failure. */ public function setTimeZoneId ($zone) {} /** * Get formatterʼs timezone * @link http://www.php.net/manual/en/intldateformatter.gettimezone.php * @return IntlTimeZone The associated IntlTimeZone * object&return.falseforfailure;. */ public function getTimeZone () {} /** * Sets formatterʼs timezone * @link http://www.php.net/manual/en/intldateformatter.settimezone.php * @param zone mixed* The timezone to use for this formatter. This can be specified in the * following forms: *
* &reference.intl.inctimezoneparam; * @return boolean true on success and false on failure. */ public function setTimeZone ($zone) {} /** * Set the pattern used for the IntlDateFormatter * @link http://www.php.net/manual/en/intldateformatter.setpattern.php * @param pattern string* New pattern string to use. * Possible patterns are documented at &url.icu.datepattern;. *
* @return bool Returns true on success, false on failure. * Bad formatstrings are usually the cause of the failure. */ public function setPattern ($pattern) {} /** * Get the pattern used for the IntlDateFormatter * @link http://www.php.net/manual/en/intldateformatter.getpattern.php * @return string The pattern string being used to format/parse. */ public function getPattern () {} /** * Get the locale used by formatter * @link http://www.php.net/manual/en/intldateformatter.getlocale.php * @param which int[optional] * @return string the locale of this formatter or 'false' if error */ public function getLocale ($which = null) {} /** * Set the leniency of the parser * @link http://www.php.net/manual/en/intldateformatter.setlenient.php * @param lenient bool* Sets whether the parser is lenient or not, default is true (lenient). *
* @return bool Returns true on success, false on failure. */ public function setLenient ($lenient) {} /** * Get the lenient used for the IntlDateFormatter * @link http://www.php.net/manual/en/intldateformatter.islenient.php * @return bool true if parser is lenient, false if parser is strict. By default the parser is lenient. */ public function isLenient () {} /** * Format the date/time value as a string * @link http://www.php.net/manual/en/intldateformatter.format.php * @param value mixed* Value to format. This may be a DateTime object, an * IntlCalendar object, a numeric type * representing a (possibly fractional) number of seconds since epoch or an * array in the format output by * localtime. *
** If a DateTime or an * IntlCalendar object is passed, its timezone is not * considered. The object will be formatted using the formaterʼs configured * timezone. If one wants to use the timezone of the object to be formatted, * IntlDateFormatter::setTimeZone must be called before * with the objectʼs timezone. Alternatively, the static function * IntlDateFormatter::formatObject may be used instead. *
* @return string The formatted string or, if an error occurred, false. */ public function format ($value) {} /** * Formats an object * @link http://www.php.net/manual/en/intldateformatter.formatobject.php * @param object object* An object of type IntlCalendar or * DateTime. The timezone information in the object * will be used. *
* @param format mixed[optional]* How to format the date/time. This can either be an array with * two elements (first the date style, then the time style, these being one * of the constants IntlDateFormatter::NONE, * IntlDateFormatter::SHORT, * IntlDateFormatter::MEDIUM, * IntlDateFormatter::LONG, * IntlDateFormatter::FULL), a long with * the value of one of these constants (in which case it will be used both * for the time and the date) or a string with the format * described in the ICU * documentation. If &null;, the default style will be used. *
* @param locale string[optional]* The locale to use, or &null; to use the default one. *
* @return string A string with result&return.falseforfailure;. */ public static function formatObject ($object, $format = null, $locale = null) {} /** * Parse string to a timestamp value * @link http://www.php.net/manual/en/intldateformatter.parse.php * @param value string* string to convert to a time *
* @param position int[optional]* Position at which to start the parsing in $value (zero-based). * If no error occurs before $value is consumed, $parse_pos will contain -1 * otherwise it will contain the position at which parsing ended (and the error occurred). * This variable will contain the end position if the parse fails. * If $parse_pos > strlen($value), the parse fails immediately. *
* @return int timestamp parsed value, or false if value can't be parsed. */ public function parse ($value, &$position = null) {} /** * Parse string to a field-based time value * @link http://www.php.net/manual/en/intldateformatter.localtime.php * @param value string* string to convert to a time *
* @param position int[optional]* Position at which to start the parsing in $value (zero-based). * If no error occurs before $value is consumed, $parse_pos will contain -1 * otherwise it will contain the position at which parsing ended . * If $parse_pos > strlen($value), the parse fails immediately. *
* @return array Localtime compatible array of integers : contains 24 hour clock value in tm_hour field */ public function localtime ($value, &$position = null) {} /** * Get the error code from last operation * @link http://www.php.net/manual/en/intldateformatter.geterrorcode.php * @return int The error code, one of UErrorCode values. Initial value is U_ZERO_ERROR. */ public function getErrorCode () {} /** * Get the error text from the last operation. * @link http://www.php.net/manual/en/intldateformatter.geterrormessage.php * @return string Description of the last error. */ public function getErrorMessage () {} } class ResourceBundle implements Traversable { /** * @param locale * @param bundlename * @param fallback[optional] */ public function __construct ($locale, $bundlename, $fallback) {} /** * Create a resource bundle * @link http://www.php.net/manual/en/resourcebundle.create.php * @param locale string* Locale for which the resources should be loaded (locale name, e.g. en_CA). *
* @param bundlename string* The directory where the data is stored or the name of the .dat file. *
* @param fallback bool[optional]* Whether locale should match exactly or fallback to parent locale is allowed. *
* @return ResourceBundle ResourceBundle object or &null; on error. */ public static function create ($locale, $bundlename, $fallback = null) {} /** * Get data from the bundle * @link http://www.php.net/manual/en/resourcebundle.get.php * @param index string|int* Data index, must be string or integer. *
* @return mixed the data located at the index or &null; on error. Strings, integers and binary data strings * are returned as corresponding PHP types, integer array is returned as PHP array. Complex types are * returned as ResourceBundle object. */ public function get ($index) {} /** * Get number of elements in the bundle * @link http://www.php.net/manual/en/resourcebundle.count.php * @return int number of elements in the bundle. */ public function count () {} /** * Get supported locales * @link http://www.php.net/manual/en/resourcebundle.locales.php * @param bundlename string* Path of ResourceBundle for which to get available locales, or * empty string for default locales list. *
* @return array the list of locales supported by the bundle. */ public static function getLocales ($bundlename) {} /** * Get bundle's last error code. * @link http://www.php.net/manual/en/resourcebundle.geterrorcode.php * @return int error code from last bundle object call. */ public function getErrorCode () {} /** * Get bundle's last error message. * @link http://www.php.net/manual/en/resourcebundle.geterrormessage.php * @return string error message from last bundle object's call. */ public function getErrorMessage () {} } class Transliterator { const FORWARD = 0; const REVERSE = 1; public $id; /** * Private constructor to deny instantiation * @link http://www.php.net/manual/en/transliterator.construct.php */ final private function __construct () {} /** * Create a transliterator * @link http://www.php.net/manual/en/transliterator.create.php * @param id string* The id. *
* @param direction int[optional]* The direction, defaults to * >Transliterator::FORWARD. * May also be set to * Transliterator::REVERSE. *
* @return Transliterator a Transliterator object on success, * or &null; on failure. */ public static function create ($id, $direction = null) {} /** * Create transliterator from rules * @link http://www.php.net/manual/en/transliterator.createfromrules.php * @param rules string* The rules. *
* @param direction string[optional]* The direction, defaults to * >Transliterator::FORWARD. * May also be set to * Transliterator::REVERSE. *
* @return Transliterator a Transliterator object on success, * or &null; on failure. */ public static function createFromRules ($rules, $direction = null) {} /** * Create an inverse transliterator * @link http://www.php.net/manual/en/transliterator.createinverse.php * @return Transliterator a Transliterator object on success, * or &null; on failure */ public function createInverse () {} /** * Get transliterator IDs * @link http://www.php.net/manual/en/transliterator.listids.php * @return array An array of registered transliterator IDs on success, * &return.falseforfailure;. */ public static function listIDs () {} /** * Transliterate a string * @link http://www.php.net/manual/en/transliterator.transliterate.php * @param subject string* The string to be transformed. *
* @param start int[optional]* The start index (in UTF-16 code units) from which the string will start * to be transformed, inclusive. Indexing starts at 0. The text before will * be left as is. *
* @param end int[optional]* The end index (in UTF-16 code units) until which the string will be * transformed, exclusive. Indexing starts at 0. The text after will be * left as is. *
* @return string The transfomed string on success, &return.falseforfailure;. */ public function transliterate ($subject, $start = null, $end = null) {} /** * Get last error code * @link http://www.php.net/manual/en/transliterator.geterrorcode.php * @return int The error code on success, * or false if none exists, or on failure. */ public function getErrorCode () {} /** * Get last error message * @link http://www.php.net/manual/en/transliterator.geterrormessage.php * @return string The error code on success, * or false if none exists, or on failure. */ public function getErrorMessage () {} } class IntlTimeZone { const DISPLAY_SHORT = 1; const DISPLAY_LONG = 2; const DISPLAY_SHORT_GENERIC = 3; const DISPLAY_LONG_GENERIC = 4; const DISPLAY_SHORT_GMT = 5; const DISPLAY_LONG_GMT = 6; const DISPLAY_SHORT_COMMONLY_USED = 7; const DISPLAY_GENERIC_LOCATION = 8; private function __construct () {} /** * Create a timezone object for the given ID * @link http://www.php.net/manual/en/intltimezone.createtimezone.php * @param zoneId string* *
* @return IntlTimeZone */ public static function createTimeZone ($zoneId) {} /** * Create a timezone object from* *
* @return IntlTimeZone */ public static function fromDateTimeZone (DateTimeZone $zoneId) {} /** * Create a new copy of the default timezone for this host * @link http://www.php.net/manual/en/intltimezone.createdefault.php * @return IntlTimeZone */ public static function createDefault () {} /** * Create GMT (UTC) timezone * @link http://www.php.net/manual/en/intltimezone.getgmt.php * @return IntlTimeZone */ public static function getGMT () {} /** * Get an enumeration over time zone IDs associated with the given country or offset * @link http://www.php.net/manual/en/intltimezone.createenumeration.php * @param countryOrRawOffset mixed[optional]* *
* @return IntlIterator */ public static function createEnumeration ($countryOrRawOffset = null) {} /** * Get the number of IDs in the equivalency group that includes the given ID * @link http://www.php.net/manual/en/intltimezone.countequivalentids.php * @param zoneId string* *
* @return integer */ public static function countEquivalentIDs ($zoneId) {} /** * Get the canonical system timezone ID or the normalized custom time zone ID for the given time zone ID * @link http://www.php.net/manual/en/intltimezone.getcanonicalid.php * @param zoneId string* *
* @param isSystemID bool[optional]* *
* @return string */ public static function getCanonicalID ($zoneId, &$isSystemID = null) {} /** * Get the timezone data version currently used by ICU * @link http://www.php.net/manual/en/intltimezone.gettzdataversion.php * @return string */ public static function getTZDataVersion () {} /** * Get an ID in the equivalency group that includes the given ID * @link http://www.php.net/manual/en/intltimezone.getequivalentid.php * @param zoneId string* *
* @param index integer* *
* @return string */ public static function getEquivalentID ($zoneId, $index) {} /** * Get timezone ID * @link http://www.php.net/manual/en/intltimezone.getid.php * @return string */ public function getID () {} /** * Check if this time zone uses daylight savings time * @link http://www.php.net/manual/en/intltimezone.usedaylighttime.php * @return bool */ public function useDaylightTime () {} /** * Get the time zone raw and GMT offset for the given moment in time * @link http://www.php.net/manual/en/intltimezone.getoffset.php * @param date float* *
* @param local bool* *
* @param rawOffset integer* *
* @param dstOffset integer* *
* @return integer */ public function getOffset ($date, $local, &$rawOffset, &$dstOffset) {} /** * Get the raw GMT offset (before taking daylight savings time into account * @link http://www.php.net/manual/en/intltimezone.getrawoffset.php * @return integer */ public function getRawOffset () {} /** * Check if this zone has the same rules and offset as another zone * @link http://www.php.net/manual/en/intltimezone.hassamerules.php * @param otherTimeZone IntlTimeZone* *
* @return bool */ public function hasSameRules (IntlTimeZone $otherTimeZone) {} /** * Get a name of this time zone suitable for presentation to the user * @link http://www.php.net/manual/en/intltimezone.getdisplayname.php * @param isDaylight bool[optional]* *
* @param style integer[optional]* *
* @param locale string[optional]* *
* @return string */ public function getDisplayName ($isDaylight = null, $style = null, $locale = null) {} /** * Get the amount of time to be added to local standard time to get local wall clock time * @link http://www.php.net/manual/en/intltimezone.getdstsavings.php * @return integer */ public function getDSTSavings () {} /** * Convert to* The timezone to use. *
* &reference.intl.inctimezoneparam; * @param locale string[optional]* A locale to use or &null; to use the default locale. *
* @return IntlCalendar The created IntlCalendar instance or &null; on * failure. */ public static function createInstance ($timeZone = null, $locale = null) {} /** * Get set of locale keyword values * @link http://www.php.net/manual/en/intlcalendar.getkeywordvaluesforlocale.php * @param key string* The locale keyword for which relevant values are to be queried. Only * 'calendar' is supported. *
* @param locale string* The locale onto which the keyword/value pair are to be appended. *
* @param commonlyUsed boolean* Whether to show only the values commonly used for the specified locale. *
* @return Iterator An iterator that yields strings with the locale keyword * values&return.falseforfailure;. */ public static function getKeywordValuesForLocale ($key, $locale, $commonlyUsed) {} /** * Get number representing the current time * @link http://www.php.net/manual/en/intlcalendar.getnow.php * @return float A float representing a number of milliseconds since the epoch, * not counting leap seconds. */ public static function getNow () {} /** * Get array of locales for which there is data * @link http://www.php.net/manual/en/intlcalendar.getavailablelocales.php * @return array An array of strings, one for which locale. */ public static function getAvailableLocales () {} /** * Get the value for a field * @link http://www.php.net/manual/en/intlcalendar.get.php * @param field int &reference.intl.incfieldparam; * @return int An integer with the value of the time field. */ public function get ($field) {} /** * Get time currently represented by the object * @link http://www.php.net/manual/en/intlcalendar.gettime.php * @return float A float representing the number of milliseconds elapsed since the * reference time (1 Jan 1970 00:00:00 UTC). */ public function getTime () {} /** * Set the calendar time in milliseconds since the epoch * @link http://www.php.net/manual/en/intlcalendar.settime.php * @param date float* An instant represented by the number of number of milliseconds between * such instant and the epoch, ignoring leap seconds. *
* @return bool true on success and false on failure. */ public function setTime ($date) {} /** * Add a (signed) amount of time to a field * @link http://www.php.net/manual/en/intlcalendar.add.php * @param field int &reference.intl.incfieldparam; * @param amount int* The signed amount to add to the current field. If the amount is positive, * the instant will be moved forward; if it is negative, the instant wil be * moved into the past. The unit is implicit to the field type. For instance, * hours for IntlCalendar::FIELD_HOUR_OF_DAY. *
* @return bool true on success&return.falseforfailure;. */ public function add ($field, $amount) {} /** * Set the timezone used by this calendar * @link http://www.php.net/manual/en/intlcalendar.settimezone.php * @param timeZone mixed* The new timezone to be used by this calendar. It can be specified in the * following ways: * &reference.intl.inctimezoneparam; *
* @return bool true on success and false on failure. */ public function setTimeZone ($timeZone) {} /** * Whether this objectʼs time is after that of the passed object * @link http://www.php.net/manual/en/intlcalendar.after.php * @param other IntlCalendar* The calendar whose time will be checked against the primary objectʼs time. *
* @return bool true if this objectʼs current time is after that of the * calendar argumentʼs time. Returns false otherwise. * Also returns false on failure. You can use exceptions or * intl_get_error_code to detect error conditions. */ public function after (IntlCalendar $other) {} /** * Whether this objectʼs time is before that of the passed object * @link http://www.php.net/manual/en/intlcalendar.before.php * @param other IntlCalendar* The calendar whose time will be checked against the primary objectʼs time. *
* @return bool true if this objectʼs current time is before that of the * calendar argumentʼs time. Returns false otherwise. * Also returns false on failure. You can use exceptions or * intl_get_error_code to detect error conditions. */ public function before (IntlCalendar $other) {} /** * Set a time field or several common fields at once * @link http://www.php.net/manual/en/intlcalendar.set.php * @param field int &reference.intl.incfieldparam; * @param value int* The new value of the given field. *
* @return bool true on success and false on failure. */ public function set ($field, $value) {} /** * Add value to field without carrying into more significant fields * @link http://www.php.net/manual/en/intlcalendar.roll.php * @param field int &reference.intl.incfieldparam; * @param amountOrUpOrDown mixed* The (signed) amount to add to the field, true for rolling up (adding * 1), or false for rolling down (subtracting * 1). *
* @return bool true on success or false on failure. */ public function roll ($field, $amountOrUpOrDown) {} /** * Clear a field or all fields * @link http://www.php.net/manual/en/intlcalendar.clear.php * @param field int[optional] &reference.intl.incfieldparam; * @return bool true on success&return.falseforfailure;. Failure can only occur is * invalid arguments are provided. */ public function clear ($field = null) {} /** * Calculate difference between given time and this objectʼs time * @link http://www.php.net/manual/en/intlcalendar.fielddifference.php * @param when float* The time against which to compare the quantity represented by the * field. For the result to be positive, the time * given for this parameter must be ahead of the time of the object the * method is being invoked on. *
* @param field int* The field that represents the quantity being compared. *
* &reference.intl.incfieldparam; * @return int a (signed) difference of time in the unit associated with the * specified field&return.falseforfailure;. */ public function fieldDifference ($when, $field) {} /** * The maximum value for a field, considering the objectʼs current time * @link http://www.php.net/manual/en/intlcalendar.getactualmaximum.php * @param field int &reference.intl.incfieldparam; * @return int An int representing the maximum value in the units associated * with the given field&return.falseforfailure;. */ public function getActualMaximum ($field) {} /** * The minimum value for a field, considering the objectʼs current time * @link http://www.php.net/manual/en/intlcalendar.getactualminimum.php * @param field int &reference.intl.incfieldparam; * @return int An int representing the minimum value in the fieldʼs * unit&return.falseforfailure;. */ public function getActualMinimum ($field) {} /** * Tell whether a day is a weekday, weekend or a day that has a transition between the two * @link http://www.php.net/manual/en/intlcalendar.getdayofweektype.php * @param dayOfWeek int* One of the constants IntlCalendar::DOW_SUNDAY, * IntlCalendar::DOW_MONDAY, …, * IntlCalendar::DOW_SATURDAY. *
* @return int one of the constants * IntlCalendar::DOW_TYPE_WEEKDAY, * IntlCalendar::DOW_TYPE_WEEKEND, * IntlCalendar::DOW_TYPE_WEEKEND_OFFSET or * IntlCalendar::DOW_TYPE_WEEKEND_CEASE&return.falseforfailure;. */ public function getDayOfWeekType ($dayOfWeek) {} /** * Get the first day of the week for the calendarʼs locale * @link http://www.php.net/manual/en/intlcalendar.getfirstdayofweek.php * @return int One of the constants IntlCalendar::DOW_SUNDAY, * IntlCalendar::DOW_MONDAY, …, * IntlCalendar::DOW_SATURDAY&return.falseforfailure;. */ public function getFirstDayOfWeek () {} /** * Get the largest local minimum value for a field * @link http://www.php.net/manual/en/intlcalendar.getgreatestminimum.php * @param field int &reference.intl.incfieldparam; * @return int An int representing a field value, in the fieldʼs * unit,&return.falseforfailure;. */ public function getGreatestMinimum ($field) {} /** * Get the smallest local maximum for a field * @link http://www.php.net/manual/en/intlcalendar.getleastmaximum.php * @param field int &reference.intl.incfieldparam; * @return int An int representing a field value in the fieldʼs * unit&return.falseforfailure;. */ public function getLeastMaximum ($field) {} /** * Get the locale associated with the object * @link http://www.php.net/manual/en/intlcalendar.getlocale.php * @param localeType int* Whether to fetch the actual locale (the locale from which the calendar * data originates, with Locale::ACTUAL_LOCALE) or the * valid locale, i.e., the most specific locale supported by ICU relatively * to the requested locale – see Locale::VALID_LOCALE. * From the most general to the most specific, the locales are ordered in * this fashion – actual locale, valid locale, requested locale. *
* @return string A locale string&return.falseforfailure;. */ public function getLocale ($localeType) {} /** * Get the global maximum value for a field * @link http://www.php.net/manual/en/intlcalendar.getmaximum.php * @param field int &reference.intl.incfieldparam; * @return int An int representing a field value in the fieldʼs * unit&return.falseforfailure;. */ public function getMaximum ($field) {} /** * Get minimal number of days the first week in a year or month can have * @link http://www.php.net/manual/en/intlcalendar.getminimaldaysinfirstweek.php * @return int An int representing a number of days&return.falseforfailure;. */ public function getMinimalDaysInFirstWeek () {} /** * Get the global minimum value for a field * @link http://www.php.net/manual/en/intlcalendar.getminimum.php * @param field int &reference.intl.incfieldparam; * @return int An int representing a value for the given * field in the fieldʼs unit&return.falseforfailure;. */ public function getMinimum ($field) {} /** * Get the objectʼs timezone * @link http://www.php.net/manual/en/intlcalendar.gettimezone.php * @return IntlTimeZone An IntlTimeZone object corresponding to the one used * internally in this object. */ public function getTimeZone () {} /** * Get the calendar type * @link http://www.php.net/manual/en/intlcalendar.gettype.php * @return string A string representing the calendar type, such as * 'gregorian', 'islamic', etc. */ public function getType () {} /** * Get time of the day at which weekend begins or ends * @link http://www.php.net/manual/en/intlcalendar.getweekendtransition.php * @param dayOfWeek string* One of the constants IntlCalendar::DOW_SUNDAY, * IntlCalendar::DOW_MONDAY, …, * IntlCalendar::DOW_SATURDAY. *
* @return int The number of milliseconds into the day at which the weekend begins or * ends&return.falseforfailure;. */ public function getWeekendTransition ($dayOfWeek) {} /** * Whether the objectʼs time is in Daylight Savings Time * @link http://www.php.net/manual/en/intlcalendar.indaylighttime.php * @return bool true if the date is in Daylight Savings Time, false otherwise. * The value false may also be returned on failure, for instance after * specifying invalid field values on non-lenient mode; use exceptions or query * intl_get_error_code to disambiguate. */ public function inDaylightTime () {} /** * Whether another calendar is equal but for a different time * @link http://www.php.net/manual/en/intlcalendar.isequivalentto.php * @param other IntlCalendar* The other calendar against which the comparison is to be made. *
* @return bool Assuming there are no argument errors, returns true iif the calendars are * equivalent except possibly for their set time. */ public function isEquivalentTo (IntlCalendar $other) {} /** * Whether date/time interpretation is in lenient mode * @link http://www.php.net/manual/en/intlcalendar.islenient.php * @return bool A bool representing whether the calendar is set to lenient mode. */ public function isLenient () {} /** * Whether a field is set * @link http://www.php.net/manual/en/intlcalendar.isset.php * @param field int &reference.intl.incfieldparam; * @return bool Assuming there are no argument errors, returns true iif the field is set. */ public function isSet ($field) {} /** * Whether a certain date/time is in the weekend * @link http://www.php.net/manual/en/intlcalendar.isweekend.php * @param date float[optional]* An optional timestamp representing the number of milliseconds since the * epoch, excluding leap seconds. If &null;, this objectʼs current time is * used instead. *
* @return bool A bool indicating whether the given or this objectʼs time occurs * in a weekend. * ** The value false may also be returned on failure, for instance after giving * a date out of bounds on non-lenient mode; use exceptions or query * intl_get_error_code to disambiguate. */ public function isWeekend ($date = null) {} /** * Set the day on which the week is deemed to start * @link http://www.php.net/manual/en/intlcalendar.setfirstdayofweek.php * @param dayOfWeek int
* One of the constants IntlCalendar::DOW_SUNDAY, * IntlCalendar::DOW_MONDAY, …, * IntlCalendar::DOW_SATURDAY. *
* @return bool true on success. Failure can only happen due to invalid parameters. */ public function setFirstDayOfWeek ($dayOfWeek) {} /** * Set whether date/time interpretation is to be lenient * @link http://www.php.net/manual/en/intlcalendar.setlenient.php * @param isLenient string* Use true to activate the lenient mode; false otherwise. *
* @return ReturnType true on success. Failure can only happen due to invalid parameters. */ public function setLenient ($isLenient) {} /** * Set minimal number of days the first week in a year or month can have * @link http://www.php.net/manual/en/intlcalendar.setminimaldaysinfirstweek.php * @param minimalDays int* The number of minimal days to set. *
* @return bool true on success, false on failure. */ public function setMinimalDaysInFirstWeek ($minimalDays) {} /** * Compare time of two IntlCalendar objects for equality * @link http://www.php.net/manual/en/intlcalendar.equals.php * @param other IntlCalendar* The calendar to compare with the primary object. *
* @return bool true if the current time of both this and the passed in * IntlCalendar object are the same, or false * otherwise. The value false can also be returned on failure. This can only * happen if bad arguments are passed in. In any case, the two cases can be * distinguished by calling intl_get_error_code. */ public function equals (IntlCalendar $other) {} /** * Create an IntlCalendar from a DateTime object or string * @link http://www.php.net/manual/en/intlcalendar.fromdatetime.php * @param dateTime mixed* A DateTime object or a string that * can be passed to DateTime::__construct. *
* @return IntlCalendar The created IntlCalendar object or &null; in case of * failure. If a string is passed, any exception that occurs * inside the DateTime constructor is propagated. */ public static function fromDateTime ($dateTime) {} /** * Convert an IntlCalendar into a DateTime object * @link http://www.php.net/manual/en/intlcalendar.todatetime.php * @return DateTime A DateTime object with the same timezone as this * object (though using PHPʼs database instead of ICUʼs) and the same time, * except for the smaller precision (second precision instead of millisecond). * Returns false on failure. */ public function toDateTime () {} /** * Get last error code on the object * @link http://www.php.net/manual/en/intlcalendar.geterrorcode.php * @return int An ICU error code indicating either success, failure or a warning. */ public function getErrorCode () {} /** * Get last error message on the object * @link http://www.php.net/manual/en/intlcalendar.geterrormessage.php * @return string The error message associated with last error that occurred in a function call * on this object, or a string indicating the non-existance of an error. */ public function getErrorMessage () {} } class IntlGregorianCalendar extends IntlCalendar { /** * @param timeZoneOrYear[optional] * @param localeOrMonth[optional] * @param dayOfMonth[optional] * @param hour[optional] * @param minute[optional] * @param second[optional] */ public function __construct ($timeZoneOrYear, $localeOrMonth, $dayOfMonth, $hour, $minute, $second) {} /** * @param date */ public function setGregorianChange ($date) {} public function getGregorianChange () {} /** * @param year */ public function isLeapYear ($year) {} /** * Create a new IntlCalendar * @link http://www.php.net/manual/en/intlcalendar.createinstance.php * @param timeZone mixed[optional]* The timezone to use. *
* &reference.intl.inctimezoneparam; * @param locale string[optional]* A locale to use or &null; to use the default locale. *
* @return IntlCalendar The created IntlCalendar instance or &null; on * failure. */ public static function createInstance ($timeZone = null, $locale = null) {} /** * Get set of locale keyword values * @link http://www.php.net/manual/en/intlcalendar.getkeywordvaluesforlocale.php * @param key string* The locale keyword for which relevant values are to be queried. Only * 'calendar' is supported. *
* @param locale string* The locale onto which the keyword/value pair are to be appended. *
* @param commonlyUsed boolean* Whether to show only the values commonly used for the specified locale. *
* @return Iterator An iterator that yields strings with the locale keyword * values&return.falseforfailure;. */ public static function getKeywordValuesForLocale ($key, $locale, $commonlyUsed) {} /** * Get number representing the current time * @link http://www.php.net/manual/en/intlcalendar.getnow.php * @return float A float representing a number of milliseconds since the epoch, * not counting leap seconds. */ public static function getNow () {} /** * Get array of locales for which there is data * @link http://www.php.net/manual/en/intlcalendar.getavailablelocales.php * @return array An array of strings, one for which locale. */ public static function getAvailableLocales () {} /** * Get the value for a field * @link http://www.php.net/manual/en/intlcalendar.get.php * @param field int &reference.intl.incfieldparam; * @return int An integer with the value of the time field. */ public function get ($field) {} /** * Get time currently represented by the object * @link http://www.php.net/manual/en/intlcalendar.gettime.php * @return float A float representing the number of milliseconds elapsed since the * reference time (1 Jan 1970 00:00:00 UTC). */ public function getTime () {} /** * Set the calendar time in milliseconds since the epoch * @link http://www.php.net/manual/en/intlcalendar.settime.php * @param date float* An instant represented by the number of number of milliseconds between * such instant and the epoch, ignoring leap seconds. *
* @return bool true on success and false on failure. */ public function setTime ($date) {} /** * Add a (signed) amount of time to a field * @link http://www.php.net/manual/en/intlcalendar.add.php * @param field int &reference.intl.incfieldparam; * @param amount int* The signed amount to add to the current field. If the amount is positive, * the instant will be moved forward; if it is negative, the instant wil be * moved into the past. The unit is implicit to the field type. For instance, * hours for IntlCalendar::FIELD_HOUR_OF_DAY. *
* @return bool true on success&return.falseforfailure;. */ public function add ($field, $amount) {} /** * Set the timezone used by this calendar * @link http://www.php.net/manual/en/intlcalendar.settimezone.php * @param timeZone mixed* The new timezone to be used by this calendar. It can be specified in the * following ways: * &reference.intl.inctimezoneparam; *
* @return bool true on success and false on failure. */ public function setTimeZone ($timeZone) {} /** * Whether this objectʼs time is after that of the passed object * @link http://www.php.net/manual/en/intlcalendar.after.php * @param other IntlCalendar* The calendar whose time will be checked against the primary objectʼs time. *
* @return bool true if this objectʼs current time is after that of the * calendar argumentʼs time. Returns false otherwise. * Also returns false on failure. You can use exceptions or * intl_get_error_code to detect error conditions. */ public function after (IntlCalendar $other) {} /** * Whether this objectʼs time is before that of the passed object * @link http://www.php.net/manual/en/intlcalendar.before.php * @param other IntlCalendar* The calendar whose time will be checked against the primary objectʼs time. *
* @return bool true if this objectʼs current time is before that of the * calendar argumentʼs time. Returns false otherwise. * Also returns false on failure. You can use exceptions or * intl_get_error_code to detect error conditions. */ public function before (IntlCalendar $other) {} /** * Set a time field or several common fields at once * @link http://www.php.net/manual/en/intlcalendar.set.php * @param field int &reference.intl.incfieldparam; * @param value int* The new value of the given field. *
* @return bool true on success and false on failure. */ public function set ($field, $value) {} /** * Add value to field without carrying into more significant fields * @link http://www.php.net/manual/en/intlcalendar.roll.php * @param field int &reference.intl.incfieldparam; * @param amountOrUpOrDown mixed* The (signed) amount to add to the field, true for rolling up (adding * 1), or false for rolling down (subtracting * 1). *
* @return bool true on success or false on failure. */ public function roll ($field, $amountOrUpOrDown) {} /** * Clear a field or all fields * @link http://www.php.net/manual/en/intlcalendar.clear.php * @param field int[optional] &reference.intl.incfieldparam; * @return bool true on success&return.falseforfailure;. Failure can only occur is * invalid arguments are provided. */ public function clear ($field = null) {} /** * Calculate difference between given time and this objectʼs time * @link http://www.php.net/manual/en/intlcalendar.fielddifference.php * @param when float* The time against which to compare the quantity represented by the * field. For the result to be positive, the time * given for this parameter must be ahead of the time of the object the * method is being invoked on. *
* @param field int* The field that represents the quantity being compared. *
* &reference.intl.incfieldparam; * @return int a (signed) difference of time in the unit associated with the * specified field&return.falseforfailure;. */ public function fieldDifference ($when, $field) {} /** * The maximum value for a field, considering the objectʼs current time * @link http://www.php.net/manual/en/intlcalendar.getactualmaximum.php * @param field int &reference.intl.incfieldparam; * @return int An int representing the maximum value in the units associated * with the given field&return.falseforfailure;. */ public function getActualMaximum ($field) {} /** * The minimum value for a field, considering the objectʼs current time * @link http://www.php.net/manual/en/intlcalendar.getactualminimum.php * @param field int &reference.intl.incfieldparam; * @return int An int representing the minimum value in the fieldʼs * unit&return.falseforfailure;. */ public function getActualMinimum ($field) {} /** * Tell whether a day is a weekday, weekend or a day that has a transition between the two * @link http://www.php.net/manual/en/intlcalendar.getdayofweektype.php * @param dayOfWeek int* One of the constants IntlCalendar::DOW_SUNDAY, * IntlCalendar::DOW_MONDAY, …, * IntlCalendar::DOW_SATURDAY. *
* @return int one of the constants * IntlCalendar::DOW_TYPE_WEEKDAY, * IntlCalendar::DOW_TYPE_WEEKEND, * IntlCalendar::DOW_TYPE_WEEKEND_OFFSET or * IntlCalendar::DOW_TYPE_WEEKEND_CEASE&return.falseforfailure;. */ public function getDayOfWeekType ($dayOfWeek) {} /** * Get the first day of the week for the calendarʼs locale * @link http://www.php.net/manual/en/intlcalendar.getfirstdayofweek.php * @return int One of the constants IntlCalendar::DOW_SUNDAY, * IntlCalendar::DOW_MONDAY, …, * IntlCalendar::DOW_SATURDAY&return.falseforfailure;. */ public function getFirstDayOfWeek () {} /** * Get the largest local minimum value for a field * @link http://www.php.net/manual/en/intlcalendar.getgreatestminimum.php * @param field int &reference.intl.incfieldparam; * @return int An int representing a field value, in the fieldʼs * unit,&return.falseforfailure;. */ public function getGreatestMinimum ($field) {} /** * Get the smallest local maximum for a field * @link http://www.php.net/manual/en/intlcalendar.getleastmaximum.php * @param field int &reference.intl.incfieldparam; * @return int An int representing a field value in the fieldʼs * unit&return.falseforfailure;. */ public function getLeastMaximum ($field) {} /** * Get the locale associated with the object * @link http://www.php.net/manual/en/intlcalendar.getlocale.php * @param localeType int* Whether to fetch the actual locale (the locale from which the calendar * data originates, with Locale::ACTUAL_LOCALE) or the * valid locale, i.e., the most specific locale supported by ICU relatively * to the requested locale – see Locale::VALID_LOCALE. * From the most general to the most specific, the locales are ordered in * this fashion – actual locale, valid locale, requested locale. *
* @return string A locale string&return.falseforfailure;. */ public function getLocale ($localeType) {} /** * Get the global maximum value for a field * @link http://www.php.net/manual/en/intlcalendar.getmaximum.php * @param field int &reference.intl.incfieldparam; * @return int An int representing a field value in the fieldʼs * unit&return.falseforfailure;. */ public function getMaximum ($field) {} /** * Get minimal number of days the first week in a year or month can have * @link http://www.php.net/manual/en/intlcalendar.getminimaldaysinfirstweek.php * @return int An int representing a number of days&return.falseforfailure;. */ public function getMinimalDaysInFirstWeek () {} /** * Get the global minimum value for a field * @link http://www.php.net/manual/en/intlcalendar.getminimum.php * @param field int &reference.intl.incfieldparam; * @return int An int representing a value for the given * field in the fieldʼs unit&return.falseforfailure;. */ public function getMinimum ($field) {} /** * Get the objectʼs timezone * @link http://www.php.net/manual/en/intlcalendar.gettimezone.php * @return IntlTimeZone An IntlTimeZone object corresponding to the one used * internally in this object. */ public function getTimeZone () {} /** * Get the calendar type * @link http://www.php.net/manual/en/intlcalendar.gettype.php * @return string A string representing the calendar type, such as * 'gregorian', 'islamic', etc. */ public function getType () {} /** * Get time of the day at which weekend begins or ends * @link http://www.php.net/manual/en/intlcalendar.getweekendtransition.php * @param dayOfWeek string* One of the constants IntlCalendar::DOW_SUNDAY, * IntlCalendar::DOW_MONDAY, …, * IntlCalendar::DOW_SATURDAY. *
* @return int The number of milliseconds into the day at which the weekend begins or * ends&return.falseforfailure;. */ public function getWeekendTransition ($dayOfWeek) {} /** * Whether the objectʼs time is in Daylight Savings Time * @link http://www.php.net/manual/en/intlcalendar.indaylighttime.php * @return bool true if the date is in Daylight Savings Time, false otherwise. * The value false may also be returned on failure, for instance after * specifying invalid field values on non-lenient mode; use exceptions or query * intl_get_error_code to disambiguate. */ public function inDaylightTime () {} /** * Whether another calendar is equal but for a different time * @link http://www.php.net/manual/en/intlcalendar.isequivalentto.php * @param other IntlCalendar* The other calendar against which the comparison is to be made. *
* @return bool Assuming there are no argument errors, returns true iif the calendars are * equivalent except possibly for their set time. */ public function isEquivalentTo (IntlCalendar $other) {} /** * Whether date/time interpretation is in lenient mode * @link http://www.php.net/manual/en/intlcalendar.islenient.php * @return bool A bool representing whether the calendar is set to lenient mode. */ public function isLenient () {} /** * Whether a field is set * @link http://www.php.net/manual/en/intlcalendar.isset.php * @param field int &reference.intl.incfieldparam; * @return bool Assuming there are no argument errors, returns true iif the field is set. */ public function isSet ($field) {} /** * Whether a certain date/time is in the weekend * @link http://www.php.net/manual/en/intlcalendar.isweekend.php * @param date float[optional]* An optional timestamp representing the number of milliseconds since the * epoch, excluding leap seconds. If &null;, this objectʼs current time is * used instead. *
* @return bool A bool indicating whether the given or this objectʼs time occurs * in a weekend. * ** The value false may also be returned on failure, for instance after giving * a date out of bounds on non-lenient mode; use exceptions or query * intl_get_error_code to disambiguate. */ public function isWeekend ($date = null) {} /** * Set the day on which the week is deemed to start * @link http://www.php.net/manual/en/intlcalendar.setfirstdayofweek.php * @param dayOfWeek int
* One of the constants IntlCalendar::DOW_SUNDAY, * IntlCalendar::DOW_MONDAY, …, * IntlCalendar::DOW_SATURDAY. *
* @return bool true on success. Failure can only happen due to invalid parameters. */ public function setFirstDayOfWeek ($dayOfWeek) {} /** * Set whether date/time interpretation is to be lenient * @link http://www.php.net/manual/en/intlcalendar.setlenient.php * @param isLenient string* Use true to activate the lenient mode; false otherwise. *
* @return ReturnType true on success. Failure can only happen due to invalid parameters. */ public function setLenient ($isLenient) {} /** * Set minimal number of days the first week in a year or month can have * @link http://www.php.net/manual/en/intlcalendar.setminimaldaysinfirstweek.php * @param minimalDays int* The number of minimal days to set. *
* @return bool true on success, false on failure. */ public function setMinimalDaysInFirstWeek ($minimalDays) {} /** * Compare time of two IntlCalendar objects for equality * @link http://www.php.net/manual/en/intlcalendar.equals.php * @param other IntlCalendar* The calendar to compare with the primary object. *
* @return bool true if the current time of both this and the passed in * IntlCalendar object are the same, or false * otherwise. The value false can also be returned on failure. This can only * happen if bad arguments are passed in. In any case, the two cases can be * distinguished by calling intl_get_error_code. */ public function equals (IntlCalendar $other) {} /** * Create an IntlCalendar from a DateTime object or string * @link http://www.php.net/manual/en/intlcalendar.fromdatetime.php * @param dateTime mixed* A DateTime object or a string that * can be passed to DateTime::__construct. *
* @return IntlCalendar The created IntlCalendar object or &null; in case of * failure. If a string is passed, any exception that occurs * inside the DateTime constructor is propagated. */ public static function fromDateTime ($dateTime) {} /** * Convert an IntlCalendar into a DateTime object * @link http://www.php.net/manual/en/intlcalendar.todatetime.php * @return DateTime A DateTime object with the same timezone as this * object (though using PHPʼs database instead of ICUʼs) and the same time, * except for the smaller precision (second precision instead of millisecond). * Returns false on failure. */ public function toDateTime () {} /** * Get last error code on the object * @link http://www.php.net/manual/en/intlcalendar.geterrorcode.php * @return int An ICU error code indicating either success, failure or a warning. */ public function getErrorCode () {} /** * Get last error message on the object * @link http://www.php.net/manual/en/intlcalendar.geterrormessage.php * @return string The error message associated with last error that occurred in a function call * on this object, or a string indicating the non-existance of an error. */ public function getErrorMessage () {} } class Spoofchecker { const SINGLE_SCRIPT_CONFUSABLE = 1; const MIXED_SCRIPT_CONFUSABLE = 2; const WHOLE_SCRIPT_CONFUSABLE = 4; const ANY_CASE = 8; const SINGLE_SCRIPT = 16; const INVISIBLE = 32; const CHAR_LIMIT = 64; /** * Constructor * @link http://www.php.net/manual/en/spoofchecker.construct.php */ public function __construct () {} /** * Checks if a given text contains any suspicious characters * @link http://www.php.net/manual/en/spoofchecker.issuspicious.php * @param text string* *
* @param error string[optional]* *
* @return bool */ public function isSuspicious ($text, &$error = null) {} /** * Checks if a given text contains any confusable characters * @link http://www.php.net/manual/en/spoofchecker.areconfusable.php * @param s1 string* *
* @param s2 string* *
* @param error string[optional]* *
* @return bool */ public function areConfusable ($s1, $s2, &$error = null) {} /** * Locales to use when running checks * @link http://www.php.net/manual/en/spoofchecker.setallowedlocales.php * @param locale_list string* *
* @return void */ public function setAllowedLocales ($locale_list) {} /** * Set the checks to run * @link http://www.php.net/manual/en/spoofchecker.setchecks.php * @param checks long* *
* @return void */ public function setChecks ($checks) {} } class IntlException extends Exception { protected $message; protected $code; protected $file; protected $line; final private function __clone () {} /** * @param message[optional] * @param code[optional] * @param previous[optional] */ public function __construct ($message, $code, $previous) {} final public function getMessage () {} final public function getCode () {} final public function getFile () {} final public function getLine () {} final public function getTrace () {} final public function getPrevious () {} final public function getTraceAsString () {} public function __toString () {} } class IntlIterator implements Iterator, Traversable { /** * Get the current element * @link http://www.php.net/manual/en/intliterator.current.php * @return ReturnType */ public function current () {} /** * Get the current key * @link http://www.php.net/manual/en/intliterator.key.php * @return ReturnType */ public function key () {} /** * Move forward to the next element * @link http://www.php.net/manual/en/intliterator.next.php * @return ReturnType */ public function next () {} /** * Rewind the iterator to the first element * @link http://www.php.net/manual/en/intliterator.rewind.php * @return ReturnType */ public function rewind () {} /** * Check if current position is valid * @link http://www.php.net/manual/en/intliterator.valid.php * @return ReturnType */ public function valid () {} } class IntlBreakIterator implements Traversable { const DONE = -1; const WORD_NONE = 0; const WORD_NONE_LIMIT = 100; const WORD_NUMBER = 100; const WORD_NUMBER_LIMIT = 200; const WORD_LETTER = 200; const WORD_LETTER_LIMIT = 300; const WORD_KANA = 300; const WORD_KANA_LIMIT = 400; const WORD_IDEO = 400; const WORD_IDEO_LIMIT = 500; const LINE_SOFT = 0; const LINE_SOFT_LIMIT = 100; const LINE_HARD = 100; const LINE_HARD_LIMIT = 200; const SENTENCE_TERM = 0; const SENTENCE_TERM_LIMIT = 100; const SENTENCE_SEP = 100; const SENTENCE_SEP_LIMIT = 200; /** * Private constructor for disallowing instantiation * @link http://www.php.net/manual/en/intlbreakiterator.construct.php */ private function __construct () {} /** * Create break iterator for word breaks * @link http://www.php.net/manual/en/intlbreakiterator.createwordinstance.php * @param _locale_ string[optional] * @return ReturnType */ public static function createWordInstance ($_locale_ = null) {} /** * Create break iterator for logically possible line breaks * @link http://www.php.net/manual/en/intlbreakiterator.createlineinstance.php * @param _locale_ string[optional] * @return ReturnType */ public static function createLineInstance ($_locale_ = null) {} /** * Create break iterator for boundaries of combining character sequences * @link http://www.php.net/manual/en/intlbreakiterator.createcharacterinstance.php * @param _locale_ string[optional] * @return ReturnType */ public static function createCharacterInstance ($_locale_ = null) {} /** * Create break iterator for sentence breaks * @link http://www.php.net/manual/en/intlbreakiterator.createsentenceinstance.php * @param _locale_ string[optional] * @return ReturnType */ public static function createSentenceInstance ($_locale_ = null) {} /** * Create break iterator for title-casing breaks * @link http://www.php.net/manual/en/intlbreakiterator.createtitleinstance.php * @param _locale_ string[optional] * @return ReturnType */ public static function createTitleInstance ($_locale_ = null) {} /** * Create break iterator for boundaries of code points * @link http://www.php.net/manual/en/intlbreakiterator.createcodepointinstance.php * @return ReturnType */ public static function createCodePointInstance () {} /** * Get the text being scanned * @link http://www.php.net/manual/en/intlbreakiterator.gettext.php * @return ReturnType */ public function getText () {} /** * Set the text being scanned * @link http://www.php.net/manual/en/intlbreakiterator.settext.php * @param _text_ string * @return ReturnType */ public function setText ($_text_) {} /** * Set position to the first character in the text * @link http://www.php.net/manual/en/intlbreakiterator.first.php * @return ReturnType */ public function first () {} /** * Set the iterator position to index beyond the last character * @link http://www.php.net/manual/en/intlbreakiterator.last.php * @return ReturnType */ public function last () {} /** * Set the iterator position to the boundary immediately before the current * @link http://www.php.net/manual/en/intlbreakiterator.previous.php * @return ReturnType */ public function previous () {} /** * Advance the iterator the next boundary * @link http://www.php.net/manual/en/intlbreakiterator.next.php * @param _offset_ string[optional] * @return ReturnType */ public function next ($_offset_ = null) {} /** * Get index of current position * @link http://www.php.net/manual/en/intlbreakiterator.current.php * @return ReturnType */ public function current () {} /** * Advance the iterator to the first boundary following specified offset * @link http://www.php.net/manual/en/intlbreakiterator.following.php * @param _offset_ string * @return ReturnType */ public function following ($_offset_) {} /** * Set the iterator position to the first boundary before an offset * @link http://www.php.net/manual/en/intlbreakiterator.preceding.php * @param _offset_ string * @return ReturnType */ public function preceding ($_offset_) {} /** * Tell whether an offset is a boundaryʼs offset * @link http://www.php.net/manual/en/intlbreakiterator.isboundary.php * @param _offset_ string * @return ReturnType */ public function isBoundary ($_offset_) {} /** * Get the locale associated with the object * @link http://www.php.net/manual/en/intlbreakiterator.getlocale.php * @param _locale_type_ string * @return ReturnType */ public function getLocale ($_locale_type_) {} /** * Create iterator for navigating fragments between boundaries * @link http://www.php.net/manual/en/intlbreakiterator.getpartsiterator.php * @param _key_type_ string[optional] * @return ReturnType */ public function getPartsIterator ($_key_type_ = null) {} /** * Get last error code on the object * @link http://www.php.net/manual/en/intlbreakiterator.geterrorcode.php * @return ReturnType */ public function getErrorCode () {} /** * Get last error message on the object * @link http://www.php.net/manual/en/intlbreakiterator.geterrormessage.php * @return ReturnType */ public function getErrorMessage () {} } class IntlRuleBasedBreakIterator extends IntlBreakIterator implements Traversable { const DONE = -1; const WORD_NONE = 0; const WORD_NONE_LIMIT = 100; const WORD_NUMBER = 100; const WORD_NUMBER_LIMIT = 200; const WORD_LETTER = 200; const WORD_LETTER_LIMIT = 300; const WORD_KANA = 300; const WORD_KANA_LIMIT = 400; const WORD_IDEO = 400; const WORD_IDEO_LIMIT = 500; const LINE_SOFT = 0; const LINE_SOFT_LIMIT = 100; const LINE_HARD = 100; const LINE_HARD_LIMIT = 200; const SENTENCE_TERM = 0; const SENTENCE_TERM_LIMIT = 100; const SENTENCE_SEP = 100; const SENTENCE_SEP_LIMIT = 200; /** * Create iterator from ruleset * @link http://www.php.net/manual/en/intlrulebasedbreakiterator.construct.php * @param rules * @param areCompiled[optional] */ public function __construct ($rules, $areCompiled) {} /** * Get the rule set used to create this object * @link http://www.php.net/manual/en/intlrulebasedbreakiterator.getrules.php * @return ReturnType */ public function getRules () {} /** * Get the largest status value from the break rules that determined the current break position * @link http://www.php.net/manual/en/intlrulebasedbreakiterator.getrulestatus.php * @return ReturnType */ public function getRuleStatus () {} /** * Get the status values from the break rules that determined the current break position * @link http://www.php.net/manual/en/intlrulebasedbreakiterator.getrulestatusvec.php * @return ReturnType */ public function getRuleStatusVec () {} /** * Create break iterator for word breaks * @link http://www.php.net/manual/en/intlbreakiterator.createwordinstance.php * @param _locale_ string[optional] * @return ReturnType */ public static function createWordInstance ($_locale_ = null) {} /** * Create break iterator for logically possible line breaks * @link http://www.php.net/manual/en/intlbreakiterator.createlineinstance.php * @param _locale_ string[optional] * @return ReturnType */ public static function createLineInstance ($_locale_ = null) {} /** * Create break iterator for boundaries of combining character sequences * @link http://www.php.net/manual/en/intlbreakiterator.createcharacterinstance.php * @param _locale_ string[optional] * @return ReturnType */ public static function createCharacterInstance ($_locale_ = null) {} /** * Create break iterator for sentence breaks * @link http://www.php.net/manual/en/intlbreakiterator.createsentenceinstance.php * @param _locale_ string[optional] * @return ReturnType */ public static function createSentenceInstance ($_locale_ = null) {} /** * Create break iterator for title-casing breaks * @link http://www.php.net/manual/en/intlbreakiterator.createtitleinstance.php * @param _locale_ string[optional] * @return ReturnType */ public static function createTitleInstance ($_locale_ = null) {} /** * Create break iterator for boundaries of code points * @link http://www.php.net/manual/en/intlbreakiterator.createcodepointinstance.php * @return ReturnType */ public static function createCodePointInstance () {} /** * Get the text being scanned * @link http://www.php.net/manual/en/intlbreakiterator.gettext.php * @return ReturnType */ public function getText () {} /** * Set the text being scanned * @link http://www.php.net/manual/en/intlbreakiterator.settext.php * @param _text_ string * @return ReturnType */ public function setText ($_text_) {} /** * Set position to the first character in the text * @link http://www.php.net/manual/en/intlbreakiterator.first.php * @return ReturnType */ public function first () {} /** * Set the iterator position to index beyond the last character * @link http://www.php.net/manual/en/intlbreakiterator.last.php * @return ReturnType */ public function last () {} /** * Set the iterator position to the boundary immediately before the current * @link http://www.php.net/manual/en/intlbreakiterator.previous.php * @return ReturnType */ public function previous () {} /** * Advance the iterator the next boundary * @link http://www.php.net/manual/en/intlbreakiterator.next.php * @param _offset_ string[optional] * @return ReturnType */ public function next ($_offset_ = null) {} /** * Get index of current position * @link http://www.php.net/manual/en/intlbreakiterator.current.php * @return ReturnType */ public function current () {} /** * Advance the iterator to the first boundary following specified offset * @link http://www.php.net/manual/en/intlbreakiterator.following.php * @param _offset_ string * @return ReturnType */ public function following ($_offset_) {} /** * Set the iterator position to the first boundary before an offset * @link http://www.php.net/manual/en/intlbreakiterator.preceding.php * @param _offset_ string * @return ReturnType */ public function preceding ($_offset_) {} /** * Tell whether an offset is a boundaryʼs offset * @link http://www.php.net/manual/en/intlbreakiterator.isboundary.php * @param _offset_ string * @return ReturnType */ public function isBoundary ($_offset_) {} /** * Get the locale associated with the object * @link http://www.php.net/manual/en/intlbreakiterator.getlocale.php * @param _locale_type_ string * @return ReturnType */ public function getLocale ($_locale_type_) {} /** * Create iterator for navigating fragments between boundaries * @link http://www.php.net/manual/en/intlbreakiterator.getpartsiterator.php * @param _key_type_ string[optional] * @return ReturnType */ public function getPartsIterator ($_key_type_ = null) {} /** * Get last error code on the object * @link http://www.php.net/manual/en/intlbreakiterator.geterrorcode.php * @return ReturnType */ public function getErrorCode () {} /** * Get last error message on the object * @link http://www.php.net/manual/en/intlbreakiterator.geterrormessage.php * @return ReturnType */ public function getErrorMessage () {} } class IntlCodePointBreakIterator extends IntlBreakIterator implements Traversable { const DONE = -1; const WORD_NONE = 0; const WORD_NONE_LIMIT = 100; const WORD_NUMBER = 100; const WORD_NUMBER_LIMIT = 200; const WORD_LETTER = 200; const WORD_LETTER_LIMIT = 300; const WORD_KANA = 300; const WORD_KANA_LIMIT = 400; const WORD_IDEO = 400; const WORD_IDEO_LIMIT = 500; const LINE_SOFT = 0; const LINE_SOFT_LIMIT = 100; const LINE_HARD = 100; const LINE_HARD_LIMIT = 200; const SENTENCE_TERM = 0; const SENTENCE_TERM_LIMIT = 100; const SENTENCE_SEP = 100; const SENTENCE_SEP_LIMIT = 200; /** * Get last code point passed over after advancing or receding the iterator * @link http://www.php.net/manual/en/intlcodepointbreakiterator.getlastcodepoint.php * @return ReturnType */ public function getLastCodePoint () {} /** * Private constructor for disallowing instantiation * @link http://www.php.net/manual/en/intlbreakiterator.construct.php */ private function __construct () {} /** * Create break iterator for word breaks * @link http://www.php.net/manual/en/intlbreakiterator.createwordinstance.php * @param _locale_ string[optional] * @return ReturnType */ public static function createWordInstance ($_locale_ = null) {} /** * Create break iterator for logically possible line breaks * @link http://www.php.net/manual/en/intlbreakiterator.createlineinstance.php * @param _locale_ string[optional] * @return ReturnType */ public static function createLineInstance ($_locale_ = null) {} /** * Create break iterator for boundaries of combining character sequences * @link http://www.php.net/manual/en/intlbreakiterator.createcharacterinstance.php * @param _locale_ string[optional] * @return ReturnType */ public static function createCharacterInstance ($_locale_ = null) {} /** * Create break iterator for sentence breaks * @link http://www.php.net/manual/en/intlbreakiterator.createsentenceinstance.php * @param _locale_ string[optional] * @return ReturnType */ public static function createSentenceInstance ($_locale_ = null) {} /** * Create break iterator for title-casing breaks * @link http://www.php.net/manual/en/intlbreakiterator.createtitleinstance.php * @param _locale_ string[optional] * @return ReturnType */ public static function createTitleInstance ($_locale_ = null) {} /** * Create break iterator for boundaries of code points * @link http://www.php.net/manual/en/intlbreakiterator.createcodepointinstance.php * @return ReturnType */ public static function createCodePointInstance () {} /** * Get the text being scanned * @link http://www.php.net/manual/en/intlbreakiterator.gettext.php * @return ReturnType */ public function getText () {} /** * Set the text being scanned * @link http://www.php.net/manual/en/intlbreakiterator.settext.php * @param _text_ string * @return ReturnType */ public function setText ($_text_) {} /** * Set position to the first character in the text * @link http://www.php.net/manual/en/intlbreakiterator.first.php * @return ReturnType */ public function first () {} /** * Set the iterator position to index beyond the last character * @link http://www.php.net/manual/en/intlbreakiterator.last.php * @return ReturnType */ public function last () {} /** * Set the iterator position to the boundary immediately before the current * @link http://www.php.net/manual/en/intlbreakiterator.previous.php * @return ReturnType */ public function previous () {} /** * Advance the iterator the next boundary * @link http://www.php.net/manual/en/intlbreakiterator.next.php * @param _offset_ string[optional] * @return ReturnType */ public function next ($_offset_ = null) {} /** * Get index of current position * @link http://www.php.net/manual/en/intlbreakiterator.current.php * @return ReturnType */ public function current () {} /** * Advance the iterator to the first boundary following specified offset * @link http://www.php.net/manual/en/intlbreakiterator.following.php * @param _offset_ string * @return ReturnType */ public function following ($_offset_) {} /** * Set the iterator position to the first boundary before an offset * @link http://www.php.net/manual/en/intlbreakiterator.preceding.php * @param _offset_ string * @return ReturnType */ public function preceding ($_offset_) {} /** * Tell whether an offset is a boundaryʼs offset * @link http://www.php.net/manual/en/intlbreakiterator.isboundary.php * @param _offset_ string * @return ReturnType */ public function isBoundary ($_offset_) {} /** * Get the locale associated with the object * @link http://www.php.net/manual/en/intlbreakiterator.getlocale.php * @param _locale_type_ string * @return ReturnType */ public function getLocale ($_locale_type_) {} /** * Create iterator for navigating fragments between boundaries * @link http://www.php.net/manual/en/intlbreakiterator.getpartsiterator.php * @param _key_type_ string[optional] * @return ReturnType */ public function getPartsIterator ($_key_type_ = null) {} /** * Get last error code on the object * @link http://www.php.net/manual/en/intlbreakiterator.geterrorcode.php * @return ReturnType */ public function getErrorCode () {} /** * Get last error message on the object * @link http://www.php.net/manual/en/intlbreakiterator.geterrormessage.php * @return ReturnType */ public function getErrorMessage () {} } class IntlPartsIterator extends IntlIterator implements Traversable, Iterator { const KEY_SEQUENTIAL = 0; const KEY_LEFT = 1; const KEY_RIGHT = 2; /** * Get IntlBreakIterator backing this parts iterator * @link http://www.php.net/manual/en/intlpartsiterator.getbreakiterator.php * @return ReturnType */ public function getBreakIterator () {} /** * Get the current element * @link http://www.php.net/manual/en/intliterator.current.php * @return ReturnType */ public function current () {} /** * Get the current key * @link http://www.php.net/manual/en/intliterator.key.php * @return ReturnType */ public function key () {} /** * Move forward to the next element * @link http://www.php.net/manual/en/intliterator.next.php * @return ReturnType */ public function next () {} /** * Rewind the iterator to the first element * @link http://www.php.net/manual/en/intliterator.rewind.php * @return ReturnType */ public function rewind () {} /** * Check if current position is valid * @link http://www.php.net/manual/en/intliterator.valid.php * @return ReturnType */ public function valid () {} } class UConverter { const REASON_UNASSIGNED = 0; const REASON_ILLEGAL = 1; const REASON_IRREGULAR = 2; const REASON_RESET = 3; const REASON_CLOSE = 4; const REASON_CLONE = 5; const UNSUPPORTED_CONVERTER = -1; const SBCS = 0; const DBCS = 1; const MBCS = 2; const LATIN_1 = 3; const UTF8 = 4; const UTF16_BigEndian = 5; const UTF16_LittleEndian = 6; const UTF32_BigEndian = 7; const UTF32_LittleEndian = 8; const EBCDIC_STATEFUL = 9; const ISO_2022 = 10; const LMBCS_1 = 11; const LMBCS_2 = 12; const LMBCS_3 = 13; const LMBCS_4 = 14; const LMBCS_5 = 15; const LMBCS_6 = 16; const LMBCS_8 = 17; const LMBCS_11 = 18; const LMBCS_16 = 19; const LMBCS_17 = 20; const LMBCS_18 = 21; const LMBCS_19 = 22; const LMBCS_LAST = 22; const HZ = 23; const SCSU = 24; const ISCII = 25; const US_ASCII = 26; const UTF7 = 27; const BOCU1 = 28; const UTF16 = 29; const UTF32 = 30; const CESU8 = 31; const IMAP_MAILBOX = 32; /** * Create UConverter object * @link http://www.php.net/manual/en/uconverter.construct.php * @param destination_encoding[optional] * @param source_encoding[optional] */ public function __construct ($destination_encoding, $source_encoding) {} /** * Set the source encoding * @link http://www.php.net/manual/en/uconverter.setsourceencoding.php * @param encoding string* *
* @return void */ public function setSourceEncoding ($encoding) {} /** * Set the destination encoding * @link http://www.php.net/manual/en/uconverter.setdestinationencoding.php * @param encoding string* *
* @return void */ public function setDestinationEncoding ($encoding) {} /** * Get the source encoding * @link http://www.php.net/manual/en/uconverter.getsourceencoding.php * @return string */ public function getSourceEncoding () {} /** * Get the destination encoding * @link http://www.php.net/manual/en/uconverter.getdestinationencoding.php * @return string */ public function getDestinationEncoding () {} /** * Get the source convertor type * @link http://www.php.net/manual/en/uconverter.getsourcetype.php * @return integer */ public function getSourceType () {} /** * Get the destination converter type * @link http://www.php.net/manual/en/uconverter.getdestinationtype.php * @return integer */ public function getDestinationType () {} /** * Get substitution chars * @link http://www.php.net/manual/en/uconverter.getsubstchars.php * @return string */ public function getSubstChars () {} /** * Set the substitution chars * @link http://www.php.net/manual/en/uconverter.setsubstchars.php * @param chars string* *
* @return void */ public function setSubstChars ($chars) {} /** * Default "to" callback function * @link http://www.php.net/manual/en/uconverter.toucallback.php * @param reason integer* *
* @param source string* *
* @param codeUnits string* *
* @param error integer* *
* @return mixed */ public function toUCallback ($reason, $source, $codeUnits, &$error) {} /** * Default "from" callback function * @link http://www.php.net/manual/en/uconverter.fromucallback.php * @param reason integer* *
* @param source string* *
* @param codePoint string* *
* @param error integer* *
* @return mixed */ public function fromUCallback ($reason, $source, $codePoint, &$error) {} /** * Convert string from one charset to another * @link http://www.php.net/manual/en/uconverter.convert.php * @param str string* *
* @param reverse bool[optional]* *
* @return string */ public function convert ($str, $reverse = null) {} /** * Convert string from one charset to another * @link http://www.php.net/manual/en/uconverter.transcode.php * @param str string* *
* @param toEncoding string* *
* @param fromEncoding string* *
* @param options array[optional]* *
* @return string */ public static function transcode ($str, $toEncoding, $fromEncoding, array $options = null) {} /** * Get last error code on the object * @link http://www.php.net/manual/en/uconverter.geterrorcode.php * @return integer */ public function getErrorCode () {} /** * Get last error message on the object * @link http://www.php.net/manual/en/uconverter.geterrormessage.php * @return string */ public function getErrorMessage () {} /** * Get string representation of the callback reason * @link http://www.php.net/manual/en/uconverter.reasontext.php * @param reason integer[optional]* *
* @return string */ public static function reasonText ($reason = null) {} /** * Get the available canonical converter names * @link http://www.php.net/manual/en/uconverter.getavailable.php * @return array */ public static function getAvailable () {} /** * Get the aliases of the given name * @link http://www.php.net/manual/en/uconverter.getaliases.php * @param name string[optional]* *
* @return array */ public static function getAliases ($name = null) {} /** * Get standards associated to converter names * @link http://www.php.net/manual/en/uconverter.getstandards.php * @return array */ public static function getStandards () {} } /** * @param arg1 */ function collator_create ($arg1) {} /** * @param object Collator * @param arg1 * @param arg2 */ function collator_compare (Collator $object, $arg1, $arg2) {} /** * @param object Collator * @param arg1 */ function collator_get_attribute (Collator $object, $arg1) {} /** * @param object Collator * @param arg1 * @param arg2 */ function collator_set_attribute (Collator $object, $arg1, $arg2) {} /** * @param object Collator */ function collator_get_strength (Collator $object) {} /** * @param object Collator * @param arg1 */ function collator_set_strength (Collator $object, $arg1) {} /** * @param object Collator * @param arr * @param sort_flags[optional] */ function collator_sort (Collator $objectarray , &$arr, $sort_flags) {} /** * @param object Collator * @param arr * @param sort_flags[optional] */ function collator_sort_with_sort_keys (Collator $objectarray , &$arr, $sort_flags) {} /** * @param object Collator * @param arr * @param sort_flags[optional] */ function collator_asort (Collator $objectarray , &$arr, $sort_flags) {} /** * @param object Collator * @param arg1 */ function collator_get_locale (Collator $object, $arg1) {} /** * @param object Collator */ function collator_get_error_code (Collator $object) {} /** * @param object Collator */ function collator_get_error_message (Collator $object) {} /** * @param object Collator * @param arg1 * @param arg2 */ function collator_get_sort_key (Collator $object, $arg1, $arg2) {} /** * @param locale * @param style * @param pattern[optional] */ function numfmt_create ($locale, $style, $pattern) {} /** * @param nf * @param num * @param type[optional] */ function numfmt_format ($nf, $num, $type) {} /** * @param formatter * @param string * @param type[optional] * @param position[optional] */ function numfmt_parse ($formatter, $string, $type, &$position) {} /** * @param nf * @param num * @param currency */ function numfmt_format_currency ($nf, $num, $currency) {} /** * @param formatter * @param string * @param currency * @param position[optional] */ function numfmt_parse_currency ($formatter, $string, &$currency, &$position) {} /** * @param nf * @param attr * @param value */ function numfmt_set_attribute ($nf, $attr, $value) {} /** * @param nf * @param attr */ function numfmt_get_attribute ($nf, $attr) {} /** * @param nf * @param attr * @param value */ function numfmt_set_text_attribute ($nf, $attr, $value) {} /** * @param nf * @param attr */ function numfmt_get_text_attribute ($nf, $attr) {} /** * @param nf * @param attr * @param symbol */ function numfmt_set_symbol ($nf, $attr, $symbol) {} /** * @param nf * @param attr */ function numfmt_get_symbol ($nf, $attr) {} /** * @param nf * @param pattern */ function numfmt_set_pattern ($nf, $pattern) {} /** * @param nf */ function numfmt_get_pattern ($nf) {} /** * @param nf * @param type[optional] */ function numfmt_get_locale ($nf, $type) {} /** * @param nf */ function numfmt_get_error_code ($nf) {} /** * @param nf */ function numfmt_get_error_message ($nf) {} /** * @param input * @param form[optional] */ function normalizer_normalize ($input, $form) {} /** * @param input * @param form[optional] */ function normalizer_is_normalized ($input, $form) {} function locale_get_default () {} /** * @param arg1 */ function locale_set_default ($arg1) {} /** * @param arg1 */ function locale_get_primary_language ($arg1) {} /** * @param arg1 */ function locale_get_script ($arg1) {} /** * @param arg1 */ function locale_get_region ($arg1) {} /** * @param arg1 */ function locale_get_keywords ($arg1) {} /** * @param arg1 * @param arg2 */ function locale_get_display_script ($arg1, $arg2) {} /** * @param arg1 * @param arg2 */ function locale_get_display_region ($arg1, $arg2) {} /** * @param arg1 * @param arg2 */ function locale_get_display_name ($arg1, $arg2) {} /** * @param arg1 * @param arg2 */ function locale_get_display_language ($arg1, $arg2) {} /** * @param arg1 * @param arg2 */ function locale_get_display_variant ($arg1, $arg2) {} /** * @param arg1 */ function locale_compose ($arg1) {} /** * @param arg1 */ function locale_parse ($arg1) {} /** * @param arg1 */ function locale_get_all_variants ($arg1) {} /** * @param arg1 * @param arg2 * @param arg3 */ function locale_filter_matches ($arg1, $arg2, $arg3) {} /** * @param arg1 */ function locale_canonicalize ($arg1) {} /** * @param arg1 * @param arg2 * @param arg3 * @param arg4 */ function locale_lookup ($arg1, $arg2, $arg3, $arg4) {} /** * @param arg1 */ function locale_accept_from_http ($arg1) {} /** * @param locale * @param pattern */ function msgfmt_create ($locale, $pattern) {} /** * @param nf * @param args */ function msgfmt_format ($nf, $args) {} /** * @param locale * @param pattern * @param args */ function msgfmt_format_message ($locale, $pattern, $args) {} /** * @param nf * @param source */ function msgfmt_parse ($nf, $source) {} /** * @param locale * @param pattern * @param source */ function msgfmt_parse_message ($locale, $pattern, $source) {} /** * @param mf * @param pattern */ function msgfmt_set_pattern ($mf, $pattern) {} /** * @param mf */ function msgfmt_get_pattern ($mf) {} /** * @param mf */ function msgfmt_get_locale ($mf) {} /** * @param nf */ function msgfmt_get_error_code ($nf) {} /** * @param coll */ function msgfmt_get_error_message ($coll) {} /** * @param locale * @param date_type * @param time_type * @param timezone_str[optional] * @param calendar[optional] * @param pattern[optional] */ function datefmt_create ($locale, $date_type, $time_type, $timezone_str, $calendar, $pattern) {} /** * @param mf */ function datefmt_get_datetype ($mf) {} /** * @param mf */ function datefmt_get_timetype ($mf) {} /** * @param mf */ function datefmt_get_calendar ($mf) {} /** * @param mf */ function datefmt_get_calendar_object ($mf) {} /** * @param mf * @param calendar */ function datefmt_set_calendar ($mf, $calendar) {} /** * @param mf */ function datefmt_get_locale ($mf) {} /** * @param mf */ function datefmt_get_timezone_id ($mf) {} /** * @param mf * @param timezone */ function datefmt_set_timezone_id ($mf, $timezone) {} /** * @param mf */ function datefmt_get_timezone ($mf) {} /** * @param mf * @param timezone */ function datefmt_set_timezone ($mf, $timezone) {} /** * @param mf */ function datefmt_get_pattern ($mf) {} /** * @param mf * @param pattern */ function datefmt_set_pattern ($mf, $pattern) {} /** * @param mf */ function datefmt_is_lenient ($mf) {} /** * @param mf */ function datefmt_set_lenient ($mf) {} /** * @param args[optional] * @param array[optional] */ function datefmt_format ($args, $array) {} /** * @param object * @param format[optional] * @param locale[optional] */ function datefmt_format_object ($object, $format, $locale) {} /** * @param formatter * @param string * @param position[optional] */ function datefmt_parse ($formatter, $string, &$position) {} /** * @param formatter * @param string * @param position[optional] */ function datefmt_localtime ($formatter, $string, &$position) {} /** * @param nf */ function datefmt_get_error_code ($nf) {} /** * @param coll */ function datefmt_get_error_message ($coll) {} /** * Get string length in grapheme units * @link http://www.php.net/manual/en/function.grapheme-strlen.php * @param input string* The string being measured for length. It must be a valid UTF-8 string. *
* @return int The length of the string on success, and 0 if the string is empty. */ function grapheme_strlen ($input) {} /** * Find position (in grapheme units) of first occurrence of a string * @link http://www.php.net/manual/en/function.grapheme-strpos.php * @param haystack string* The string to look in. Must be valid UTF-8. *
* @param needle string* The string to look for. Must be valid UTF-8. *
* @param offset int[optional]* The optional $offset parameter allows you to specify where in $haystack to * start searching as an offset in grapheme units (not bytes or characters). * The position returned is still relative to the beginning of haystack * regardless of the value of $offset. *
* @return int the position as an integer. If needle is not found, strpos() will return boolean FALSE. */ function grapheme_strpos ($haystack, $needle, $offset = null) {} /** * Find position (in grapheme units) of first occurrence of a case-insensitive string * @link http://www.php.net/manual/en/function.grapheme-stripos.php * @param haystack string* The string to look in. Must be valid UTF-8. *
* @param needle string* The string to look for. Must be valid UTF-8. *
* @param offset int[optional]* The optional $offset parameter allows you to specify where in haystack to * start searching as an offset in grapheme units (not bytes or characters). * The position returned is still relative to the beginning of haystack * regardless of the value of $offset. *
* @return int the position as an integer. If needle is not found, grapheme_stripos() will return boolean FALSE. */ function grapheme_stripos ($haystack, $needle, $offset = null) {} /** * Find position (in grapheme units) of last occurrence of a string * @link http://www.php.net/manual/en/function.grapheme-strrpos.php * @param haystack string* The string to look in. Must be valid UTF-8. *
* @param needle string* The string to look for. Must be valid UTF-8. *
* @param offset int[optional]* The optional $offset parameter allows you to specify where in $haystack to * start searching as an offset in grapheme units (not bytes or characters). * The position returned is still relative to the beginning of haystack * regardless of the value of $offset. *
* @return int the position as an integer. If needle is not found, grapheme_strrpos() will return boolean FALSE. */ function grapheme_strrpos ($haystack, $needle, $offset = null) {} /** * Find position (in grapheme units) of last occurrence of a case-insensitive string * @link http://www.php.net/manual/en/function.grapheme-strripos.php * @param haystack string* The string to look in. Must be valid UTF-8. *
* @param needle string* The string to look for. Must be valid UTF-8. *
* @param offset int[optional]* The optional $offset parameter allows you to specify where in $haystack to * start searching as an offset in grapheme units (not bytes or characters). * The position returned is still relative to the beginning of haystack * regardless of the value of $offset. *
* @return int the position as an integer. If needle is not found, grapheme_strripos() will return boolean FALSE. */ function grapheme_strripos ($haystack, $needle, $offset = null) {} /** * Return part of a string * @link http://www.php.net/manual/en/function.grapheme-substr.php * @param string string* The input string. Must be valid UTF-8. *
* @param start int* Start position in default grapheme units. * If $start is non-negative, the returned string will start at the * $start'th position in $string, counting from zero. If $start is negative, * the returned string will start at the $start'th grapheme unit from the * end of string. *
* @param length int[optional]* Length in grapheme units. * If $length is given and is positive, the string returned will contain * at most $length grapheme units beginning from $start (depending on the * length of string). If $length is given and is negative, then * that many grapheme units will be omitted from the end of string (after the * start position has been calculated when a start is negative). If $start * denotes a position beyond this truncation, false will be returned. *
* @return int the extracted part of $string. */ function grapheme_substr ($string, $start, $length = null) {} /** * Returns part of haystack string from the first occurrence of needle to the end of haystack. * @link http://www.php.net/manual/en/function.grapheme-strstr.php * @param haystack string* The input string. Must be valid UTF-8. *
* @param needle string* The string to look for. Must be valid UTF-8. *
* @param before_needle bool[optional]* If true, grapheme_strstr() returns the part of the * haystack before the first occurrence of the needle (excluding the needle). *
* @return string the portion of string, or FALSE if needle is not found. */ function grapheme_strstr ($haystack, $needle, $before_needle = null) {} /** * Returns part of haystack string from the first occurrence of case-insensitive needle to the end of haystack. * @link http://www.php.net/manual/en/function.grapheme-stristr.php * @param haystack string* The input string. Must be valid UTF-8. *
* @param needle string* The string to look for. Must be valid UTF-8. *
* @param before_needle bool[optional]* If true, grapheme_strstr() returns the part of the * haystack before the first occurrence of the needle (excluding needle). *
* @return string the portion of $haystack, or FALSE if $needle is not found. */ function grapheme_stristr ($haystack, $needle, $before_needle = null) {} /** * Function to extract a sequence of default grapheme clusters from a text buffer, which must be encoded in UTF-8. * @link http://www.php.net/manual/en/function.grapheme-extract.php * @param haystack string* String to search. *
* @param size int* Maximum number items - based on the $extract_type - to return. *
* @param extract_type int[optional]* Defines the type of units referred to by the $size parameter: *
** * GRAPHEME_EXTR_COUNT (default) - $size is the number of default * grapheme clusters to extract. * GRAPHEME_EXTR_MAXBYTES - $size is the maximum number of bytes * returned. * GRAPHEME_EXTR_MAXCHARS - $size is the maximum number of UTF-8 * characters returned. * *
* @param start int[optional]* Starting position in $haystack in bytes - if given, it must be zero or a * positive value that is less than or equal to the length of $haystack in * bytes. If $start does not point to the first byte of a UTF-8 * character, the start position is moved to the next character boundary. *
* @param next int[optional]* Reference to a value that will be set to the next starting position. * When the call returns, this may point to the first byte position past the end of the string. *
* @return string A string starting at offset $start and ending on a default grapheme cluster * boundary that conforms to the $size and $extract_type specified. */ function grapheme_extract ($haystack, $size, $extract_type = null, $start = null, &$next = null) {} /** * Convert domain name to IDNA ASCII form. * @link http://www.php.net/manual/en/function.idn-to-ascii.php * @param utf8_domain string* The UTF-8 encoded domain name. * *
* If e.g. an ISO-8859-1 (aka Western Europe latin1) encoded string is * passed it will be converted into an ACE encoded "xn--" string. * It will not be the one you expected though! *
* * * @param errorcode int[optional]* Will be set to the IDNA error code. *
* @param domain string* Domain to convert. In PHP 5 must be UTF-8 encoded. *
* @param options int[optional]* Conversion options - combination of IDNA_* constants * (except IDNA_ERROR_* constants). *
* @param variant int[optional]* Either INTL_IDNA_VARIANT_2003 for IDNA 2003 or * INTL_IDNA_VARIANT_UTS46 for UTS #46. *
* @param idna_info array[optional]* This parameter can be used only if * INTL_IDNA_VARIANT_UTS46 was used for * variant. In that case, it will be filled with an * array with the keys 'result', the possibly illegal * result of the transformation, * 'isTransitionalDifferent', a boolean indicating * whether the usage of the transitional mechanisms of UTS #46 either has * or would have changed the result and 'errors', * which is an int representing a bitset of the error * constants IDNA_ERROR_*. *
* @return string Domain name encoded in ASCII-compatible form. &return.falseforfailure; */ function idn_to_ascii ($utf8_domain, &$errorcode = null, $domain, $options = null, $variant = null, array &$idna_info = null) {} /** * Convert domain name from IDNA ASCII to Unicode. * @link http://www.php.net/manual/en/function.idn-to-utf8.php * @param ascii_domain string* The ASCII encoded domain name. Looks like "xn--..." if the it originally contained non-ASCII characters. *
* @param errorcode int[optional]* Will be set to the IDNA error code. *
* @param domain string* Domain to convert in IDNA ASCII-compatible format. *
* @param options int[optional]* Conversion options - combination of IDNA_* constants * (except IDNA_ERROR_* constants). *
* @param variant int[optional]* Either INTL_IDNA_VARIANT_2003 for IDNA 2003 or * INTL_IDNA_VARIANT_UTS46 for UTS #46. *
* @param idna_info array[optional]* This parameter can be used only if * INTL_IDNA_VARIANT_UTS46 was used for * variant. In that case, it will be filled with an * array with the keys 'result', the possibly illegal * result of the transformation, * 'isTransitionalDifferent', a boolean indicating * whether the usage of the transitional mechanisms of UTS #46 either has * or would have changed the result and 'errors', * which is an int representing a bitset of the error * constants IDNA_ERROR_*. *
* @return string Domain name in Unicode, encoded in UTF-8. &return.falseforfailure; */ function idn_to_utf8 ($ascii_domain, &$errorcode = null, $domain, $options = null, $variant = null, array &$idna_info = null) {} /** * @param locale * @param bundlename * @param fallback[optional] */ function resourcebundle_create ($locale, $bundlename, $fallback) {} /** * @param bundle * @param index * @param fallback[optional] */ function resourcebundle_get ($bundle, $index, $fallback) {} /** * @param bundle */ function resourcebundle_count ($bundle) {} /** * @param bundlename */ function resourcebundle_locales ($bundlename) {} /** * @param bundle */ function resourcebundle_get_error_code ($bundle) {} /** * @param bundle */ function resourcebundle_get_error_message ($bundle) {} /** * @param id * @param direction[optional] */ function transliterator_create ($id, $direction) {} /** * @param rules * @param direction[optional] */ function transliterator_create_from_rules ($rules, $direction) {} function transliterator_list_ids () {} /** * @param orig_trans Transliterator */ function transliterator_create_inverse (Transliterator $orig_trans) {} /** * @param trans * @param subject * @param start[optional] * @param end[optional] */ function transliterator_transliterate ($trans, $subject, $start, $end) {} /** * @param trans Transliterator */ function transliterator_get_error_code (Transliterator $trans) {} /** * @param trans Transliterator */ function transliterator_get_error_message (Transliterator $trans) {} /** * @param zoneId */ function intltz_create_time_zone ($zoneId) {} /** * @param dateTimeZone DateTimeZone */ function intltz_from_date_time_zone (DateTimeZone $dateTimeZone) {} function intltz_create_default () {} /** * @param timeZone IntlTimeZone */ function intltz_get_id (IntlTimeZone $timeZone) {} function intltz_get_gmt () {} /** * @param countryOrRawOffset[optional] */ function intltz_create_enumeration ($countryOrRawOffset) {} /** * @param zoneId */ function intltz_count_equivalent_ids ($zoneId) {} /** * @param zoneId * @param isSystemID[optional] */ function intltz_get_canonical_id ($zoneId, &$isSystemID) {} function intltz_get_tz_data_version () {} /** * @param zoneId * @param index */ function intltz_get_equivalent_id ($zoneId, $index) {} /** * @param timeZone IntlTimeZone */ function intltz_use_daylight_time (IntlTimeZone $timeZone) {} /** * @param timeZone IntlTimeZone * @param date * @param local * @param rawOffset * @param dstOffset */ function intltz_get_offset (IntlTimeZone $timeZone, $date, $local, &$rawOffset, &$dstOffset) {} /** * @param timeZone IntlTimeZone */ function intltz_get_raw_offset (IntlTimeZone $timeZone) {} /** * @param timeZone IntlTimeZone * @param otherTimeZone IntlTimeZone[optional] */ function intltz_has_same_rules (IntlTimeZone $timeZoneIntlTimeZone , $otherTimeZone) {} /** * @param timeZone IntlTimeZone * @param isDaylight[optional] * @param style[optional] * @param locale[optional] */ function intltz_get_display_name (IntlTimeZone $timeZone, $isDaylight, $style, $locale) {} /** * @param timeZone IntlTimeZone */ function intltz_get_dst_savings (IntlTimeZone $timeZone) {} /** * @param timeZone IntlTimeZone */ function intltz_to_date_time_zone (IntlTimeZone $timeZone) {} /** * @param timeZone IntlTimeZone */ function intltz_get_error_code (IntlTimeZone $timeZone) {} /** * @param timeZone IntlTimeZone */ function intltz_get_error_message (IntlTimeZone $timeZone) {} /** * @param timeZone[optional] * @param locale[optional] */ function intlcal_create_instance ($timeZone, $locale) {} /** * @param key * @param locale * @param commonlyUsed */ function intlcal_get_keyword_values_for_locale ($key, $locale, $commonlyUsed) {} function intlcal_get_now () {} function intlcal_get_available_locales () {} /** * @param calendar IntlCalendar * @param field */ function intlcal_get (IntlCalendar $calendar, $field) {} /** * @param calendar IntlCalendar */ function intlcal_get_time (IntlCalendar $calendar) {} /** * @param calendar IntlCalendar * @param date */ function intlcal_set_time (IntlCalendar $calendar, $date) {} /** * @param calendar IntlCalendar * @param field * @param amount */ function intlcal_add (IntlCalendar $calendar, $field, $amount) {} /** * @param calendar IntlCalendar * @param timeZone */ function intlcal_set_time_zone (IntlCalendar $calendar, $timeZone) {} /** * @param calendar IntlCalendar * @param otherCalendar IntlCalendar */ function intlcal_after (IntlCalendar $calendarIntlCalendar , $otherCalendar) {} /** * @param calendar IntlCalendar * @param otherCalendar IntlCalendar */ function intlcal_before (IntlCalendar $calendarIntlCalendar , $otherCalendar) {} /** * @param calendar IntlCalendar * @param fieldOrYear * @param valueOrMonth * @param dayOfMonth[optional] * @param hour[optional] * @param minute[optional] * @param second[optional] */ function intlcal_set (IntlCalendar $calendar, $fieldOrYear, $valueOrMonth, $dayOfMonth, $hour, $minute, $second) {} /** * @param calendar IntlCalendar * @param field * @param amountOrUpOrDown[optional] */ function intlcal_roll (IntlCalendar $calendar, $field, $amountOrUpOrDown) {} /** * @param calendar IntlCalendar * @param field[optional] */ function intlcal_clear (IntlCalendar $calendar, $field) {} /** * @param calendar IntlCalendar * @param when * @param field */ function intlcal_field_difference (IntlCalendar $calendar, $when, $field) {} /** * @param calendar IntlCalendar * @param field */ function intlcal_get_actual_maximum (IntlCalendar $calendar, $field) {} /** * @param calendar IntlCalendar * @param field */ function intlcal_get_actual_minimum (IntlCalendar $calendar, $field) {} /** * @param calendar IntlCalendar * @param dayOfWeek */ function intlcal_get_day_of_week_type (IntlCalendar $calendar, $dayOfWeek) {} /** * @param calendar IntlCalendar */ function intlcal_get_first_day_of_week (IntlCalendar $calendar) {} /** * @param calendar IntlCalendar * @param field */ function intlcal_get_greatest_minimum (IntlCalendar $calendar, $field) {} /** * @param calendar IntlCalendar * @param field */ function intlcal_get_least_maximum (IntlCalendar $calendar, $field) {} /** * @param calendar IntlCalendar * @param localeType */ function intlcal_get_locale (IntlCalendar $calendar, $localeType) {} /** * @param calendar IntlCalendar * @param field */ function intlcal_get_maximum (IntlCalendar $calendar, $field) {} /** * @param calendar IntlCalendar */ function intlcal_get_minimal_days_in_first_week (IntlCalendar $calendar) {} /** * @param calendar IntlCalendar * @param field */ function intlcal_get_minimum (IntlCalendar $calendar, $field) {} /** * @param calendar IntlCalendar */ function intlcal_get_time_zone (IntlCalendar $calendar) {} /** * @param calendar IntlCalendar */ function intlcal_get_type (IntlCalendar $calendar) {} /** * @param calendar IntlCalendar * @param dayOfWeek */ function intlcal_get_weekend_transition (IntlCalendar $calendar, $dayOfWeek) {} /** * @param calendar IntlCalendar */ function intlcal_in_daylight_time (IntlCalendar $calendar) {} /** * @param calendar IntlCalendar * @param otherCalendar IntlCalendar */ function intlcal_is_equivalent_to (IntlCalendar $calendarIntlCalendar , $otherCalendar) {} /** * @param calendar IntlCalendar */ function intlcal_is_lenient (IntlCalendar $calendar) {} /** * @param calendar IntlCalendar * @param field */ function intlcal_is_set (IntlCalendar $calendar, $field) {} /** * @param calendar IntlCalendar * @param date[optional] */ function intlcal_is_weekend (IntlCalendar $calendar, $date) {} /** * @param calendar IntlCalendar * @param dayOfWeek */ function intlcal_set_first_day_of_week (IntlCalendar $calendar, $dayOfWeek) {} /** * @param calendar IntlCalendar * @param isLenient */ function intlcal_set_lenient (IntlCalendar $calendar, $isLenient) {} /** * @param calendar IntlCalendar * @param numberOfDays */ function intlcal_set_minimal_days_in_first_week (IntlCalendar $calendar, $numberOfDays) {} /** * @param calendar IntlCalendar * @param otherCalendar IntlCalendar */ function intlcal_equals (IntlCalendar $calendarIntlCalendar , $otherCalendar) {} /** * @param dateTime */ function intlcal_from_date_time ($dateTime) {} /** * @param calendar IntlCalendar */ function intlcal_to_date_time (IntlCalendar $calendar) {} /** * @param calendar IntlCalendar */ function intlcal_get_error_code (IntlCalendar $calendar) {} /** * @param calendar IntlCalendar */ function intlcal_get_error_message (IntlCalendar $calendar) {} /** * @param timeZoneOrYear[optional] * @param localeOrMonth[optional] * @param dayOfMonth[optional] * @param hour[optional] * @param minute[optional] * @param second[optional] */ function intlgregcal_create_instance ($timeZoneOrYear, $localeOrMonth, $dayOfMonth, $hour, $minute, $second) {} /** * @param calendar IntlGregorianCalendar * @param date */ function intlgregcal_set_gregorian_change (IntlGregorianCalendar $calendar, $date) {} /** * @param calendar IntlGregorianCalendar */ function intlgregcal_get_gregorian_change (IntlGregorianCalendar $calendar) {} /** * @param calendar IntlGregorianCalendar * @param year */ function intlgregcal_is_leap_year (IntlGregorianCalendar $calendar, $year) {} /** * Get the last error code * @link http://www.php.net/manual/en/function.intl-get-error-code.php * @return int Error code returned by the last API function call. */ function intl_get_error_code () {} /** * Get description of the last error * @link http://www.php.net/manual/en/function.intl-get-error-message.php * @return string Description of an error occurred in the last API function call. */ function intl_get_error_message () {} /** * Check whether the given error code indicates failure * @link http://www.php.net/manual/en/function.intl-is-failure.php * @param error_code int* is a value that returned by functions: * intl_get_error_code, * collator_get_error_code . *
* @return bool true if it the code indicates some failure, and false * in case of success or a warning. */ function intl_is_failure ($error_code) {} /** * Get symbolic name for a given error code * @link http://www.php.net/manual/en/function.intl-error-name.php * @param error_code int* ICU error code. *
* @return string The returned string will be the same as the name of the error code * constant. */ function intl_error_name ($error_code) {} /** * Limit on locale length, set to 80 in PHP code. Locale names longer * than this limit will not be accepted. * @link http://www.php.net/manual/en/intl.constants.php */ define ('INTL_MAX_LOCALE_LEN', 80); define ('INTL_ICU_VERSION', "4.4.1"); define ('INTL_ICU_DATA_VERSION', "4.4.0.1"); define ('ULOC_ACTUAL_LOCALE', 0); define ('ULOC_VALID_LOCALE', 1); define ('GRAPHEME_EXTR_COUNT', 0); define ('GRAPHEME_EXTR_MAXBYTES', 1); define ('GRAPHEME_EXTR_MAXCHARS', 2); define ('U_USING_FALLBACK_WARNING', -128); define ('U_ERROR_WARNING_START', -128); define ('U_USING_DEFAULT_WARNING', -127); define ('U_SAFECLONE_ALLOCATED_WARNING', -126); define ('U_STATE_OLD_WARNING', -125); define ('U_STRING_NOT_TERMINATED_WARNING', -124); define ('U_SORT_KEY_TOO_SHORT_WARNING', -123); define ('U_AMBIGUOUS_ALIAS_WARNING', -122); define ('U_DIFFERENT_UCA_VERSION', -121); define ('U_ERROR_WARNING_LIMIT', -119); define ('U_ZERO_ERROR', 0); define ('U_ILLEGAL_ARGUMENT_ERROR', 1); define ('U_MISSING_RESOURCE_ERROR', 2); define ('U_INVALID_FORMAT_ERROR', 3); define ('U_FILE_ACCESS_ERROR', 4); define ('U_INTERNAL_PROGRAM_ERROR', 5); define ('U_MESSAGE_PARSE_ERROR', 6); define ('U_MEMORY_ALLOCATION_ERROR', 7); define ('U_INDEX_OUTOFBOUNDS_ERROR', 8); define ('U_PARSE_ERROR', 9); define ('U_INVALID_CHAR_FOUND', 10); define ('U_TRUNCATED_CHAR_FOUND', 11); define ('U_ILLEGAL_CHAR_FOUND', 12); define ('U_INVALID_TABLE_FORMAT', 13); define ('U_INVALID_TABLE_FILE', 14); define ('U_BUFFER_OVERFLOW_ERROR', 15); define ('U_UNSUPPORTED_ERROR', 16); define ('U_RESOURCE_TYPE_MISMATCH', 17); define ('U_ILLEGAL_ESCAPE_SEQUENCE', 18); define ('U_UNSUPPORTED_ESCAPE_SEQUENCE', 19); define ('U_NO_SPACE_AVAILABLE', 20); define ('U_CE_NOT_FOUND_ERROR', 21); define ('U_PRIMARY_TOO_LONG_ERROR', 22); define ('U_STATE_TOO_OLD_ERROR', 23); define ('U_TOO_MANY_ALIASES_ERROR', 24); define ('U_ENUM_OUT_OF_SYNC_ERROR', 25); define ('U_INVARIANT_CONVERSION_ERROR', 26); define ('U_INVALID_STATE_ERROR', 27); define ('U_COLLATOR_VERSION_MISMATCH', 28); define ('U_USELESS_COLLATOR_ERROR', 29); define ('U_NO_WRITE_PERMISSION', 30); define ('U_STANDARD_ERROR_LIMIT', 31); define ('U_BAD_VARIABLE_DEFINITION', 65536); define ('U_PARSE_ERROR_START', 65536); define ('U_MALFORMED_RULE', 65537); define ('U_MALFORMED_SET', 65538); define ('U_MALFORMED_SYMBOL_REFERENCE', 65539); define ('U_MALFORMED_UNICODE_ESCAPE', 65540); define ('U_MALFORMED_VARIABLE_DEFINITION', 65541); define ('U_MALFORMED_VARIABLE_REFERENCE', 65542); define ('U_MISMATCHED_SEGMENT_DELIMITERS', 65543); define ('U_MISPLACED_ANCHOR_START', 65544); define ('U_MISPLACED_CURSOR_OFFSET', 65545); define ('U_MISPLACED_QUANTIFIER', 65546); define ('U_MISSING_OPERATOR', 65547); define ('U_MISSING_SEGMENT_CLOSE', 65548); define ('U_MULTIPLE_ANTE_CONTEXTS', 65549); define ('U_MULTIPLE_CURSORS', 65550); define ('U_MULTIPLE_POST_CONTEXTS', 65551); define ('U_TRAILING_BACKSLASH', 65552); define ('U_UNDEFINED_SEGMENT_REFERENCE', 65553); define ('U_UNDEFINED_VARIABLE', 65554); define ('U_UNQUOTED_SPECIAL', 65555); define ('U_UNTERMINATED_QUOTE', 65556); define ('U_RULE_MASK_ERROR', 65557); define ('U_MISPLACED_COMPOUND_FILTER', 65558); define ('U_MULTIPLE_COMPOUND_FILTERS', 65559); define ('U_INVALID_RBT_SYNTAX', 65560); define ('U_INVALID_PROPERTY_PATTERN', 65561); define ('U_MALFORMED_PRAGMA', 65562); define ('U_UNCLOSED_SEGMENT', 65563); define ('U_ILLEGAL_CHAR_IN_SEGMENT', 65564); define ('U_VARIABLE_RANGE_EXHAUSTED', 65565); define ('U_VARIABLE_RANGE_OVERLAP', 65566); define ('U_ILLEGAL_CHARACTER', 65567); define ('U_INTERNAL_TRANSLITERATOR_ERROR', 65568); define ('U_INVALID_ID', 65569); define ('U_INVALID_FUNCTION', 65570); define ('U_PARSE_ERROR_LIMIT', 65571); define ('U_UNEXPECTED_TOKEN', 65792); define ('U_FMT_PARSE_ERROR_START', 65792); define ('U_MULTIPLE_DECIMAL_SEPARATORS', 65793); define ('U_MULTIPLE_DECIMAL_SEPERATORS', 65793); define ('U_MULTIPLE_EXPONENTIAL_SYMBOLS', 65794); define ('U_MALFORMED_EXPONENTIAL_PATTERN', 65795); define ('U_MULTIPLE_PERCENT_SYMBOLS', 65796); define ('U_MULTIPLE_PERMILL_SYMBOLS', 65797); define ('U_MULTIPLE_PAD_SPECIFIERS', 65798); define ('U_PATTERN_SYNTAX_ERROR', 65799); define ('U_ILLEGAL_PAD_POSITION', 65800); define ('U_UNMATCHED_BRACES', 65801); define ('U_UNSUPPORTED_PROPERTY', 65802); define ('U_UNSUPPORTED_ATTRIBUTE', 65803); define ('U_FMT_PARSE_ERROR_LIMIT', 65809); define ('U_BRK_INTERNAL_ERROR', 66048); define ('U_BRK_ERROR_START', 66048); define ('U_BRK_HEX_DIGITS_EXPECTED', 66049); define ('U_BRK_SEMICOLON_EXPECTED', 66050); define ('U_BRK_RULE_SYNTAX', 66051); define ('U_BRK_UNCLOSED_SET', 66052); define ('U_BRK_ASSIGN_ERROR', 66053); define ('U_BRK_VARIABLE_REDFINITION', 66054); define ('U_BRK_MISMATCHED_PAREN', 66055); define ('U_BRK_NEW_LINE_IN_QUOTED_STRING', 66056); define ('U_BRK_UNDEFINED_VARIABLE', 66057); define ('U_BRK_INIT_ERROR', 66058); define ('U_BRK_RULE_EMPTY_SET', 66059); define ('U_BRK_UNRECOGNIZED_OPTION', 66060); define ('U_BRK_MALFORMED_RULE_TAG', 66061); define ('U_BRK_ERROR_LIMIT', 66062); define ('U_REGEX_INTERNAL_ERROR', 66304); define ('U_REGEX_ERROR_START', 66304); define ('U_REGEX_RULE_SYNTAX', 66305); define ('U_REGEX_INVALID_STATE', 66306); define ('U_REGEX_BAD_ESCAPE_SEQUENCE', 66307); define ('U_REGEX_PROPERTY_SYNTAX', 66308); define ('U_REGEX_UNIMPLEMENTED', 66309); define ('U_REGEX_MISMATCHED_PAREN', 66310); define ('U_REGEX_NUMBER_TOO_BIG', 66311); define ('U_REGEX_BAD_INTERVAL', 66312); define ('U_REGEX_MAX_LT_MIN', 66313); define ('U_REGEX_INVALID_BACK_REF', 66314); define ('U_REGEX_INVALID_FLAG', 66315); define ('U_REGEX_LOOK_BEHIND_LIMIT', 66316); define ('U_REGEX_SET_CONTAINS_STRING', 66317); define ('U_REGEX_ERROR_LIMIT', 66324); define ('U_IDNA_PROHIBITED_ERROR', 66560); define ('U_IDNA_ERROR_START', 66560); define ('U_IDNA_UNASSIGNED_ERROR', 66561); define ('U_IDNA_CHECK_BIDI_ERROR', 66562); define ('U_IDNA_STD3_ASCII_RULES_ERROR', 66563); define ('U_IDNA_ACE_PREFIX_ERROR', 66564); define ('U_IDNA_VERIFICATION_ERROR', 66565); define ('U_IDNA_LABEL_TOO_LONG_ERROR', 66566); define ('U_IDNA_ZERO_LENGTH_LABEL_ERROR', 66567); define ('U_IDNA_DOMAIN_NAME_TOO_LONG_ERROR', 66568); define ('U_IDNA_ERROR_LIMIT', 66569); define ('U_STRINGPREP_PROHIBITED_ERROR', 66560); define ('U_STRINGPREP_UNASSIGNED_ERROR', 66561); define ('U_STRINGPREP_CHECK_BIDI_ERROR', 66562); define ('U_ERROR_LIMIT', 66818); /** * Prohibit processing of unassigned codepoints in the input for IDN * functions and do not check if the input conforms to domain name ASCII rules. * @link http://www.php.net/manual/en/intl.constants.php */ define ('IDNA_DEFAULT', 0); /** * Allow processing of unassigned codepoints in the input for IDN functions. * @link http://www.php.net/manual/en/intl.constants.php */ define ('IDNA_ALLOW_UNASSIGNED', 1); /** * Check if the input for IDN functions conforms to domain name ASCII rules. * @link http://www.php.net/manual/en/intl.constants.php */ define ('IDNA_USE_STD3_RULES', 2); /** * Use IDNA 2003 algorithm in idn_to_utf8 and * idn_to_ascii. This is the default. * @link http://www.php.net/manual/en/intl.constants.php */ define ('INTL_IDNA_VARIANT_2003', 0); // End of intl v.1.1.0 ?>