code
stringlengths
31
1.39M
docstring
stringlengths
23
16.8k
func_name
stringlengths
1
126
language
stringclasses
1 value
repo
stringlengths
7
63
path
stringlengths
7
166
url
stringlengths
50
220
license
stringclasses
7 values
#[LanguageLevelTypeAware(['8.1' => 'stdClass|false'], default: 'object')] function imap_bodystruct(#[LanguageLevelTypeAware(['8.1' => 'DEPTRAC_INTERNAL\\IMAP\\Connection'], default: 'resource')] $imap, int $message_num, string $section) { }
Read the structure of a specified body section of a specific message @link https://php.net/manual/en/function.imap-bodystruct.php @param resource $imap @param int $message_num <p> The message number </p> @param string $section <p> The body section to read </p> @return object the information in an object, for a detailed description of the object structure and properties see <b>imap_fetchstructure</b>.
imap_bodystruct
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/imap/imap.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/imap/imap.php
MIT
#[LanguageLevelTypeAware(['8.3' => 'true'], default: 'bool')] function imap_gc(#[LanguageLevelTypeAware(['8.1' => 'DEPTRAC_INTERNAL\\IMAP\\Connection'], default: 'resource')] $imap, #[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] int $flags = 0, #[PhpStormStubsElementAvailable(from: '8.0')] int $flags) { }
Clears IMAP cache @link https://php.net/manual/en/function.imap-gc.php @param resource $imap @param int $flags <p> Specifies the cache to purge. It may one or a combination of the following constants: <b>IMAP_GC_ELT</b> (message cache elements), <b>IMAP_GC_ENV</b> (enveloppe and bodies), <b>IMAP_GC_TEXTS</b> (texts). </p>
imap_gc
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/imap/imap.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/imap/imap.php
MIT
#[LanguageLevelTypeAware(['8.3' => 'true'], default: 'bool')] function imap_expunge(#[LanguageLevelTypeAware(['8.1' => 'DEPTRAC_INTERNAL\\IMAP\\Connection'], default: 'resource')] $imap) { }
Delete all messages marked for deletion @link https://php.net/manual/en/function.imap-expunge.php @param resource $imap
imap_expunge
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/imap/imap.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/imap/imap.php
MIT
#[LanguageLevelTypeAware(['8.3' => 'true'], default: 'bool')] function imap_delete(#[LanguageLevelTypeAware(['8.1' => 'DEPTRAC_INTERNAL\\IMAP\\Connection'], default: 'resource')] $imap, string $message_nums, int $flags = 0) { }
Mark a message for deletion from current mailbox @link https://php.net/manual/en/function.imap-delete.php @param resource $imap @param string $message_nums <p> The message number </p> @param int $flags [optional] <p> You can set the <b>FT_UID</b> which tells the function to treat the <i>msg_number</i> argument as an UID. </p>
imap_delete
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/imap/imap.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/imap/imap.php
MIT
#[LanguageLevelTypeAware(['8.3' => 'true'], default: 'bool')] function imap_undelete(#[LanguageLevelTypeAware(['8.1' => 'DEPTRAC_INTERNAL\\IMAP\\Connection'], default: 'resource')] $imap, string $message_nums, int $flags = 0) { }
Unmark the message which is marked deleted @link https://php.net/manual/en/function.imap-undelete.php @param resource $imap @param string $message_nums <p> The message number </p> @param int $flags [optional]
imap_undelete
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/imap/imap.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/imap/imap.php
MIT
#[LanguageLevelTypeAware(['8.1' => 'stdClass|false'], default: 'object')] function imap_status(#[LanguageLevelTypeAware(['8.1' => 'DEPTRAC_INTERNAL\\IMAP\\Connection'], default: 'resource')] $imap, string $mailbox, int $flags) { }
Returns status information on a mailbox @link https://php.net/manual/en/function.imap-status.php @param resource $imap @param string $mailbox <p> The mailbox name, see <b>imap_open</b> for more information </p> @param int $flags <p> Valid flags are: <b>SA_MESSAGES</b> - set $status->messages to the number of messages in the mailbox @return object This function returns an object containing status information. The object has the following properties: messages, recent, unseen, uidnext, and uidvalidity. </p> <p> flags is also set, which contains a bitmask which can be checked against any of the above constants.</p>
imap_status
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/imap/imap.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/imap/imap.php
MIT
#[LanguageLevelTypeAware(['8.3' => 'true'], default: 'bool')] function imap_setflag_full(#[LanguageLevelTypeAware(['8.1' => 'DEPTRAC_INTERNAL\\IMAP\\Connection'], default: 'resource')] $imap, string $sequence, string $flag, int $options = \NIL) { }
Sets flags on messages @link https://php.net/manual/en/function.imap-setflag-full.php @param resource $imap @param string $sequence <p> A sequence of message numbers. You can enumerate desired messages with the X,Y syntax, or retrieve all messages within an interval with the X:Y syntax </p> @param string $flag <p> The flags which you can set are \Seen, \Answered, \Flagged, \Deleted, and \Draft as defined by RFC2060. </p> @param int $options [optional] <p> A bit mask that may contain the single option: <b>ST_UID</b> - The sequence argument contains UIDs instead of sequence numbers</p>
imap_setflag_full
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/imap/imap.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/imap/imap.php
MIT
#[LanguageLevelTypeAware(['8.3' => 'true'], default: 'bool')] function imap_clearflag_full(#[LanguageLevelTypeAware(['8.1' => 'DEPTRAC_INTERNAL\\IMAP\\Connection'], default: 'resource')] $imap, string $sequence, string $flag, int $options = 0) { }
Clears flags on messages @link https://php.net/manual/en/function.imap-clearflag-full.php @param resource $imap @param string $sequence <p> A sequence of message numbers. You can enumerate desired messages with the X,Y syntax, or retrieve all messages within an interval with the X:Y syntax </p> @param string $flag <p> The flags which you can unset are "\\Seen", "\\Answered", "\\Flagged", "\\Deleted", and "\\Draft" (as defined by RFC2060) </p> @param int $options [optional] <p> <i>options</i> are a bit mask and may contain the single option: <b>ST_UID</b> - The sequence argument contains UIDs instead of sequence numbers</p>
imap_clearflag_full
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/imap/imap.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/imap/imap.php
MIT
#[PhpStormStubsElementAvailable(to: '7.4')] function imap_header($stream_id, $msg_no, $from_length = 0, $subject_length = 0, $default_host = null) { }
Alias of <b>imap_headerinfo</b> @link https://php.net/manual/en/function.imap-header.php @param resource $stream_id An IMAP stream returned by imap_open(). @param int $msg_no The message number @param int $from_length [optional] Number of characters for the fetchfrom property. Must be greater than or equal to zero. @param int $subject_length [optional] Number of characters for the fetchsubject property Must be greater than or equal to zero. @param $default_host [optional] @return object Returns the information in an object with following properties: <dl> <dt>toaddress</dt><dd>full to: line, up to 1024 characters</dd> <dt>to</dt><dd>an array of objects from the To: line, with the following properties: personal, adl, mailbox, and host</dd> <dt>fromaddress</dt><dd>full from: line, up to 1024 characters</dd> <dt>from</dt><dd>an array of objects from the From: line, with the following properties: personal, adl, mailbox, and host</dd> <dt>ccaddress</dt><dd>full cc: line, up to 1024 characters</dd> <dt>cc</dt><dd>an array of objects from the Cc: line, with the following properties: personal, adl, mailbox, and host</dd> <dt>bccaddress</dt><dd>full bcc: line, up to 1024 characters</dd> <dt>bcc</dt><dd>an array of objects from the Bcc: line, with the following properties: personal, adl, mailbox, and host</dd> <dt>reply_toaddress</dt><dd>full Reply-To: line, up to 1024 characters</dd> <dt>reply_to</dt><dd>an array of objects from the Reply-To: line, with the following properties: personal, adl, mailbox, and host</dd> <dt>senderaddress</dt><dd>full sender: line, up to 1024 characters</dd> <dt>sender</dt><dd>an array of objects from the Sender: line, with the following properties: personal, adl, mailbox, and host</dd> <dt>return_pathaddress</dt><dd>full Return-Path: line, up to 1024 characters</dd> <dt>return_path</dt><dd>an array of objects from the Return-Path: line, with the following properties: personal, adl, mailbox, and host</dd> <dt>remail -</dt> <dt>date</dt><dd>The message date as found in its headers</dd> <dt>Date</dt><dd>Same as date</dd> <dt>subject</dt><dd>The message subject</dd> <dt>Subject</dt><dd>Same a subject</dd> <dt>in_reply_to -</dt> <dt>message_id -</dt> <dt>newsgroups -</dt> <dt>followup_to -</dt> <dt>references -</dt> <dt>Recent</dt><dd>R if recent and seen, N if recent and not seen, ' ' if not recent.</dd> <dt>Unseen</dt><dd>U if not seen AND not recent, ' ' if seen OR not seen and recent</dd> <dt>Flagged</dt><dd>F if flagged, ' ' if not flagged</dd> <dt>Answered</dt><dd>A if answered, ' ' if unanswered</dd> <dt>Deleted</dt><dd>D if deleted, ' ' if not deleted</dd> <dt>Draft</dt><dd>X if draft, ' ' if not draft</dd> <dt>Msgno</dt><dd>The message number</dd> <dt>MailDate -</dt> <dt>Size</dt><dd>The message size</dd> <dt>udate</dt><dd>mail message date in Unix time</dd> <dt>fetchfrom</dt><dd>from line formatted to fit fromlength characters</dd> <dt>fetchsubject</dt><dd>subject line formatted to fit subjectlength characters</dd> </dl>
imap_header
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/imap/imap.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/imap/imap.php
MIT
#[Pure] public function __construct(#[LanguageAware(['8.0' => 'string'], default: '')] $locale) { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Create a collator @link https://php.net/manual/en/collator.construct.php @param string $locale
__construct
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public static function create(#[LanguageAware(['8.0' => 'string'], default: '')] $locale) : ?\Collator { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Create a collator @link https://php.net/manual/en/collator.create.php @param string $locale <p> 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. </p> @return Collator|null Return new instance of <b>Collator</b> object, or <b>NULL</b> on error.
create
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function compare(#[LanguageAware(['8.0' => 'string'], default: '')] $string1, #[LanguageAware(['8.0' => 'string'], default: '')] $string2) : int|false { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Compare two Unicode strings @link https://php.net/manual/en/collator.compare.php @param string $string1 <p> The first string to compare. </p> @param string $string2 <p> The second string to compare. </p> @return int|false Return comparison result:</p> <p> <p> 1 if <i>str1</i> is greater than <i>str2</i> ; </p> <p> 0 if <i>str1</i> is equal to <i>str2</i>; </p> <p> -1 if <i>str1</i> is less than <i>str2</i> . </p> On error boolean <b>FALSE</b> is returned.
compare
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public function sort(array &$array, #[LanguageAware(['8.0' => 'int'], default: '')] #[EV([\Collator::SORT_REGULAR])] $flags = 0) : bool { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Sort array using specified collator @link https://php.net/manual/en/collator.sort.php @param string[] &$array <p> Array of strings to sort. </p> @param int $flags [optional] <p> Optional sorting type, one of the following: </p> <p> <b>Collator::SORT_REGULAR</b> - compare items normally (don't change types) </p> @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
sort
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public function sortWithSortKeys(array &$array, #[ElementAvailable(from: '5.3', to: '5.6')] $flags = []) : bool { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Sort array using specified collator and sort keys @link https://php.net/manual/en/collator.sortwithsortkeys.php @param string[] &$array <p>Array of strings to sort</p> @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
sortWithSortKeys
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public function asort(array &$array, #[LanguageAware(['8.0' => 'int'], default: '')] #[EV([\Collator::SORT_REGULAR])] $flags = 0) : bool { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Sort array maintaining index association @link https://php.net/manual/en/collator.asort.php @param string[] &$array <p>Array of strings to sort.</p> @param int $flags [optional] <p> Optional sorting type, one of the following: <b>Collator::SORT_REGULAR</b> - compare items normally (don't change types) </p> @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
asort
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function getAttribute(#[LanguageAware(['8.0' => 'int'], default: '')] $attribute) : int|false { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Get collation attribute value @link https://php.net/manual/en/collator.getattribute.php @param int $attribute <p> Attribute to get value for. </p> @return int|false Attribute value, or boolean <b>FALSE</b> on error.
getAttribute
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public function setAttribute(#[LanguageAware(['8.0' => 'int'], default: '')] $attribute, #[LanguageAware(['8.0' => 'int'], default: '')] $value) : bool { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Set collation attribute @link https://php.net/manual/en/collator.setattribute.php @param int $attribute <p>Attribute.</p> @param int $value <p> Attribute value. </p> @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
setAttribute
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function getStrength() : int { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Get current collation strength @link https://php.net/manual/en/collator.getstrength.php @return int current collation strength, or boolean <b>FALSE</b> on error.
getStrength
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function getErrorCode() : int|false { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Get collator's last error code @link https://php.net/manual/en/collator.geterrorcode.php @return int|false Error code returned by the last Collator API function call.
getErrorCode
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function getLocale(#[LanguageAware(['8.0' => 'int'], default: '')] #[EV([\Locale::VALID_LOCALE, \Locale::ACTUAL_LOCALE])] $type) : string|false { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Get the locale name of the collator @link https://php.net/manual/en/collator.getlocale.php @param int $type <p> You can choose between valid and actual locale ( <b>Locale::VALID_LOCALE</b> and <b>Locale::ACTUAL_LOCALE</b>, respectively). </p> @return string|false Real locale name from which the collation data comes. If the collator was instantiated from rules or an error occurred, returns boolean <b>FALSE</b>.
getLocale
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function getErrorMessage() : string|false { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Get text for collator's last error code @link https://php.net/manual/en/collator.geterrormessage.php @return string|false Description of an error occurred in the last Collator API function call.
getErrorMessage
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function getSortKey(#[LanguageAware(['8.0' => 'string'], default: '')] $string, #[ElementAvailable(from: '5.3', to: '5.6')] $arg2) : string|false { }
(PHP 5 &gt;= 5.3.2, PECL intl &gt;= 1.0.3)<br/> Get sorting key for a string @link https://php.net/manual/en/collator.getsortkey.php @param string $string <p> The string to produce the key from. </p> @return string|false the collation key for the string. Collation keys can be compared directly instead of strings.
getSortKey
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] public function __construct(#[LanguageAware(['8.0' => 'string'], default: '')] $locale, #[LanguageAware(['8.0' => 'int'], default: '')] #[EV([\NumberFormatter::PATTERN_DECIMAL, \NumberFormatter::PATTERN_RULEBASED, \NumberFormatter::CURRENCY, \NumberFormatter::PERCENT, \NumberFormatter::SCIENTIFIC, \NumberFormatter::SPELLOUT, \NumberFormatter::ORDINAL, \NumberFormatter::DURATION, \NumberFormatter::PATTERN_RULEBASED, \NumberFormatter::CURRENCY_ACCOUNTING, \NumberFormatter::DEFAULT_STYLE, \NumberFormatter::IGNORE])] $style, #[LanguageAware(['8.0' => 'string|null'], default: '')] $pattern = null) { }
@link https://www.php.net/manual/en/class.numberformatter.php @param string $locale @param int $style @param string $pattern [optional]
__construct
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public static function create(#[LanguageAware(['8.0' => 'string'], default: '')] $locale, #[LanguageAware(['8.0' => 'int'], default: '')] #[EV([\NumberFormatter::PATTERN_DECIMAL, \NumberFormatter::PATTERN_RULEBASED, \NumberFormatter::CURRENCY, \NumberFormatter::PERCENT, \NumberFormatter::SCIENTIFIC, \NumberFormatter::SPELLOUT, \NumberFormatter::ORDINAL, \NumberFormatter::DURATION, \NumberFormatter::PATTERN_RULEBASED, \NumberFormatter::CURRENCY_ACCOUNTING, \NumberFormatter::DEFAULT_STYLE, \NumberFormatter::IGNORE])] $style, #[LanguageAware(['8.0' => 'string|null'], default: '')] $pattern = null) : ?\NumberFormatter { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Create a number formatter @link https://php.net/manual/en/numberformatter.create.php @param string $locale <p> Locale in which the number would be formatted (locale name, e.g. en_CA). </p> @param int $style <p> Style of the formatting, one of the format style constants. If <b>NumberFormatter::PATTERN_DECIMAL</b> or <b>NumberFormatter::PATTERN_RULEBASED</b> 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. </p> @param string $pattern [optional] <p> Pattern string if the chosen style requires a pattern. </p> @return NumberFormatter|false <b>NumberFormatter</b> object or <b>FALSE</b> on error.
create
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function format(#[LanguageAware(['8.0' => 'int|float'], default: '')] $num, #[LanguageAware(['8.0' => 'int'], default: '')] $type = 0) : string|false { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Format a number @link https://php.net/manual/en/numberformatter.format.php @param int|float $num <p> The value to format. Can be integer or float, other values will be converted to a numeric value. </p> @param int $type [optional] <p> The formatting type to use. </p> @return string|false the string containing formatted value, or <b>FALSE</b> on error.
format
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public function parse(#[LanguageAware(['8.0' => 'string'], default: '')] $string, #[LanguageAware(['8.0' => 'int'], default: '')] $type = \NumberFormatter::TYPE_DOUBLE, &$offset = null) : int|float|false { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Parse a number @link https://php.net/manual/en/numberformatter.parse.php @param string $string @param int $type [optional] <p> The formatting type to use. By default, <b>NumberFormatter::TYPE_DOUBLE</b> is used. </p> @param int &$offset [optional] <p> Offset in the string at which to begin parsing. On return, this value will hold the offset at which parsing ended. </p> @return mixed The value of the parsed number or <b>FALSE</b> on error.
parse
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function formatCurrency(#[LanguageAware(['8.0' => 'float'], default: '')] $amount, #[LanguageAware(['8.0' => 'string'], default: '')] $currency) : string|false { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Format a currency value @link https://php.net/manual/en/numberformatter.formatcurrency.php @param float $amount <p> The numeric currency value. </p> @param string $currency <p> The 3-letter ISO 4217 currency code indicating the currency to use. </p> @return string|false String representing the formatted currency value.
formatCurrency
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public function parseCurrency(#[LanguageAware(['8.0' => 'string'], default: '')] $string, &$currency, &$offset = null) : float|false { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Parse a currency number @link https://php.net/manual/en/numberformatter.parsecurrency.php @param string $string @param string &$currency <p> Parameter to receive the currency name (3-letter ISO 4217 currency code). </p> @param int &$offset [optional] <p> Offset in the string at which to begin parsing. On return, this value will hold the offset at which parsing ended. </p> @return float|false The parsed numeric value or <b>FALSE</b> on error.
parseCurrency
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public function setAttribute(#[LanguageAware(['8.0' => 'int'], default: '')] $attribute, #[LanguageAware(['8.0' => 'int|float'], default: '')] $value) : bool { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Set an attribute @link https://php.net/manual/en/numberformatter.setattribute.php @param int $attribute <p> Attribute specifier - one of the numeric attribute constants. </p> @param int $value <p> The attribute value. </p> @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
setAttribute
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function getAttribute(#[LanguageAware(['8.0' => 'int'], default: '')] $attribute) : int|float|false { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Get an attribute @link https://php.net/manual/en/numberformatter.getattribute.php @param int $attribute <p> Attribute specifier - one of the numeric attribute constants. </p> @return int|float|false Return attribute value on success, or <b>FALSE</b> on error.
getAttribute
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public function setTextAttribute(#[LanguageAware(['8.0' => 'int'], default: '')] $attribute, #[LanguageAware(['8.0' => 'string'], default: '')] $value) : bool { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Set a text attribute @link https://php.net/manual/en/numberformatter.settextattribute.php @param int $attribute <p> Attribute specifier - one of the text attribute constants. </p> @param string $value <p> Text for the attribute value. </p> @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
setTextAttribute
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function getTextAttribute(#[LanguageAware(['8.0' => 'int'], default: '')] $attribute) : string|false { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Get a text attribute @link https://php.net/manual/en/numberformatter.gettextattribute.php @param int $attribute <p> Attribute specifier - one of the text attribute constants. </p> @return string|false Return attribute value on success, or <b>FALSE</b> on error.
getTextAttribute
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public function setSymbol(#[LanguageAware(['8.0' => 'int'], default: '')] $symbol, #[LanguageAware(['8.0' => 'string'], default: '')] $value) : bool { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Set a symbol value @link https://php.net/manual/en/numberformatter.setsymbol.php @param int $symbol <p> Symbol specifier, one of the format symbol constants. </p> @param string $value <p> Text for the symbol. </p> @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
setSymbol
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function getSymbol(#[LanguageAware(['8.0' => 'int'], default: '')] $symbol) : string|false { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Get a symbol value @link https://php.net/manual/en/numberformatter.getsymbol.php @param int $symbol <p> Symbol specifier, one of the format symbol constants. </p> @return string|false The symbol string or <b>FALSE</b> on error.
getSymbol
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public function setPattern(#[LanguageAware(['8.0' => 'string'], default: '')] $pattern) : bool { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Set formatter pattern @link https://php.net/manual/en/numberformatter.setpattern.php @param string $pattern <p> Pattern in syntax described in ICU DecimalFormat documentation. </p> @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
setPattern
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function getPattern() : string|false { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Get formatter pattern @link https://php.net/manual/en/numberformatter.getpattern.php @return string|false Pattern string that is used by the formatter, or <b>FALSE</b> if an error happens.
getPattern
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function getLocale(#[LanguageAware(['8.0' => 'int'], default: '')] #[EV([\Locale::VALID_LOCALE, \Locale::ACTUAL_LOCALE])] $type = 0) : string|false { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Get formatter locale @link https://php.net/manual/en/numberformatter.getlocale.php @param int $type [optional] <p> You can choose between valid and actual locale ( <b>Locale::VALID_LOCALE</b>, <b>Locale::ACTUAL_LOCALE</b>, respectively). The default is the actual locale. </p> @return string|false The locale name used to create the formatter.
getLocale
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function getErrorCode() : int { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Get formatter's last error code. @link https://php.net/manual/en/numberformatter.geterrorcode.php @return int error code from last formatter call.
getErrorCode
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function getErrorMessage() : string { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Get formatter's last error message. @link https://php.net/manual/en/numberformatter.geterrormessage.php @return string error message from last formatter call.
getErrorMessage
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public static function normalize(#[LanguageAware(['8.0' => 'string'], default: '')] $string, #[ElementAvailable(from: '5.3', to: '5.6')] $form, #[ElementAvailable(from: '7.0')] #[LanguageAware(['8.0' => 'int'], default: '')] $form = \Normalizer::FORM_C, #[ElementAvailable(from: '5.3', to: '5.6')] $arg3) : string|false { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Normalizes the input provided and returns the normalized string @link https://php.net/manual/en/normalizer.normalize.php @param string $string <p>The input string to normalize</p> @param int $form <p>One of the normalization forms.</p> @return string|false The normalized string or <b>FALSE</b> if an error occurred.
normalize
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public static function isNormalized(#[LanguageAware(['8.0' => 'string'], default: '')] $string, #[ElementAvailable(from: '5.3', to: '5.6')] $form, #[ElementAvailable(from: '7.0')] #[LanguageAware(['8.0' => 'int'], default: '')] $form = \Normalizer::FORM_C, #[ElementAvailable(from: '5.3', to: '5.6')] $arg3) : bool { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Checks if the provided string is already in the specified normalization form. @link https://php.net/manual/en/normalizer.isnormalized.php @param string $string <p>The input string to normalize</p> @param int $form <p> One of the normalization forms. </p> @return bool <b>TRUE</b> if normalized, <b>FALSE</b> otherwise or if there an error
isNormalized
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public static function getRawDecomposition(string $string, #[ElementAvailable(from: '8.0')] int $form = 16) : ?string { }
@param string $string <p>The input string to normalize</p> @param int $form @return string|null <p>Returns a string containing the Decomposition_Mapping property, if present in the UCD. Returns null if there is no Decomposition_Mapping property for the character.</p> @link https://www.php.net/manual/en/normalizer.getrawdecomposition.php @since 7.3
getRawDecomposition
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public static function getDefault() : string { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Gets the default locale value from the INTL global 'default_locale' @link https://php.net/manual/en/locale.getdefault.php @return string The current runtime locale
getDefault
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public static function getPrimaryLanguage(#[LanguageAware(['8.0' => 'string'], default: '')] $locale) : ?string { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Gets the primary language for the input locale @link https://php.net/manual/en/locale.getprimarylanguage.php @param string $locale <p> The locale to extract the primary language code from </p> @return string|null The language code associated with the language or <b>NULL</b> in case of error.
getPrimaryLanguage
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public static function getScript(#[LanguageAware(['8.0' => 'string'], default: '')] $locale) : ?string { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Gets the script for the input locale @link https://php.net/manual/en/locale.getscript.php @param string $locale <p> The locale to extract the script code from </p> @return string|null The script subtag for the locale or <b>NULL</b> if not present
getScript
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public static function getRegion(#[LanguageAware(['8.0' => 'string'], default: '')] $locale) : ?string { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Gets the region for the input locale @link https://php.net/manual/en/locale.getregion.php @param string $locale <p> The locale to extract the region code from </p> @return string|null The region subtag for the locale or <b>NULL</b> if not present
getRegion
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public static function getKeywords(#[LanguageAware(['8.0' => 'string'], default: '')] $locale) : array|false|null { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Gets the keywords for the input locale @link https://php.net/manual/en/locale.getkeywords.php @param string $locale <p> The locale to extract the keywords from </p> @return array|false|null Associative array containing the keyword-value pairs for this locale
getKeywords
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public static function getDisplayScript(#[LanguageAware(['8.0' => 'string'], default: '')] $locale, #[ElementAvailable(from: '5.3', to: '5.6')] $displayLocale, #[ElementAvailable(from: '7.0')] #[LanguageAware(['8.0' => 'string|null'], default: '')] $displayLocale = null) : string|false { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Returns an appropriately localized display name for script of the input locale @link https://php.net/manual/en/locale.getdisplayscript.php @param string $locale <p> The locale to return a display script for </p> @param string $displayLocale <p> Optional format locale to use to display the script name </p> @return string|false Display name of the script for the $locale in the format appropriate for $in_locale.
getDisplayScript
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public static function getDisplayRegion(#[LanguageAware(['8.0' => 'string'], default: '')] $locale, #[ElementAvailable(from: '5.3', to: '5.6')] $displayLocale, #[ElementAvailable(from: '7.0')] #[LanguageAware(['8.0' => 'string|null'], default: '')] $displayLocale = null) : string|false { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Returns an appropriately localized display name for region of the input locale @link https://php.net/manual/en/locale.getdisplayregion.php @param string $locale <p> The locale to return a display region for. </p> @param string $displayLocale <p> Optional format locale to use to display the region name </p> @return string|false display name of the region for the $locale in the format appropriate for $in_locale.
getDisplayRegion
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public static function getDisplayName(#[LanguageAware(['8.0' => 'string'], default: '')] $locale, #[ElementAvailable(from: '5.3', to: '5.6')] $displayLocale, #[ElementAvailable(from: '7.0')] #[LanguageAware(['8.0' => 'string|null'], default: '')] $displayLocale = null) : string|false { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Returns an appropriately localized display name for the input locale @link https://php.net/manual/en/locale.getdisplayname.php @param string $locale <p> The locale to return a display name for. </p> @param string $displayLocale <p>optional format locale</p> @return string|false Display name of the locale in the format appropriate for $in_locale.
getDisplayName
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public static function getDisplayLanguage(#[LanguageAware(['8.0' => 'string'], default: '')] $locale, #[ElementAvailable(from: '5.3', to: '5.6')] $displayLocale, #[ElementAvailable(from: '7.0')] #[LanguageAware(['8.0' => 'string|null'], default: '')] $displayLocale = null) : string|false { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Returns an appropriately localized display name for language of the inputlocale @link https://php.net/manual/en/locale.getdisplaylanguage.php @param string $locale <p> The locale to return a display language for </p> @param string $displayLocale <p> Optional format locale to use to display the language name </p> @return string|false display name of the language for the $locale in the format appropriate for $in_locale.
getDisplayLanguage
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public static function getDisplayVariant(#[LanguageAware(['8.0' => 'string'], default: '')] $locale, #[ElementAvailable(from: '5.3', to: '5.6')] $displayLocale, #[ElementAvailable(from: '7.0')] #[LanguageAware(['8.0' => 'string|null'], default: '')] $displayLocale = null) : string|false { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Returns an appropriately localized display name for variants of the input locale @link https://php.net/manual/en/locale.getdisplayvariant.php @param string $locale <p> The locale to return a display variant for </p> @param string $displayLocale <p> Optional format locale to use to display the variant name </p> @return string|false Display name of the variant for the $locale in the format appropriate for $in_locale.
getDisplayVariant
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public static function parseLocale(#[LanguageAware(['8.0' => 'string'], default: '')] $locale) : ?array { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Returns a key-value array of locale ID subtag elements. @link https://php.net/manual/en/locale.parselocale.php @param string $locale <p> 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. </p> @return array|null 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=&gt;varX , variant1=&gt;varY , variant2=&gt;varZ
parseLocale
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public static function getAllVariants(#[LanguageAware(['8.0' => 'string'], default: '')] $locale) : ?array { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Gets the variants for the input locale @link https://php.net/manual/en/locale.getallvariants.php @param string $locale <p> The locale to extract the variants from </p> @return array|null The array containing the list of all variants subtag for the locale or <b>NULL</b> if not present
getAllVariants
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public static function filterMatches(#[LanguageAware(['8.0' => 'string'], default: '')] $languageTag, #[LanguageAware(['8.0' => 'string'], default: '')] $locale, #[ElementAvailable(from: '5.3', to: '5.6')] $canonicalize, #[ElementAvailable(from: '7.0')] #[LanguageAware(['8.0' => 'bool'], default: '')] $canonicalize = \false) : ?bool { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Checks if a language tag filter matches with locale @link https://php.net/manual/en/locale.filtermatches.php @param string $languageTag <p> The language tag to check </p> @param string $locale <p> The language range to check against </p> @param bool $canonicalize <p> If true, the arguments will be converted to canonical form before matching. </p> @return bool|null <b>TRUE</b> if $locale matches $langtag <b>FALSE</b> otherwise.
filterMatches
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public static function lookup(array $languageTag, #[LanguageAware(['8.0' => 'string'], default: '')] $locale, #[ElementAvailable(from: '5.3', to: '5.6')] $canonicalize, #[ElementAvailable(from: '5.3', to: '5.6')] $defaultLocale, #[ElementAvailable(from: '7.0')] #[LanguageAware(['8.0' => 'bool'], default: '')] $canonicalize = \false, #[ElementAvailable(from: '7.0')] #[LanguageAware(['8.0' => 'string|null'], default: '')] $defaultLocale = null) : ?string { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Searches the language tag list for the best match to the language @link https://php.net/manual/en/locale.lookup.php @param array $languageTag <p> An array containing a list of language tags to compare to <i>locale</i>. Maximum 100 items allowed. </p> @param string $locale <p> The locale to use as the language range when matching. </p> @param bool $canonicalize <p> If true, the arguments will be converted to canonical form before matching. </p> @param string $defaultLocale <p> The locale to use if no match is found. </p> @return string|null The closest matching language tag or default value.
lookup
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public static function canonicalize(#[LanguageAware(['8.0' => 'string'], default: '')] $locale) : ?string { }
@link https://php.net/manual/en/locale.canonicalize.php @param string $locale @return string|null
canonicalize
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public static function acceptFromHttp(#[LanguageAware(['8.0' => 'string'], default: '')] $header) : string|false { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Tries to find out best available locale based on HTTP "Accept-Language" header @link https://php.net/manual/en/locale.acceptfromhttp.php @param string $header <p> The string containing the "Accept-Language" header according to format in RFC 2616. </p> @return string|false The corresponding locale identifier.
acceptFromHttp
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] public function __construct(#[LanguageAware(['8.0' => 'string'], default: '')] $locale, #[LanguageAware(['8.0' => 'string'], default: '')] $pattern) { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Constructs a new Message Formatter @link https://php.net/manual/en/messageformatter.create.php @param string $locale <p> The locale to use when formatting arguments </p> @param string $pattern <p> The pattern string to stick arguments into. The pattern uses an 'apostrophe-friendly' syntax; it is run through umsg_autoQuoteApostrophe before being interpreted. </p> @throws IntlException on failure.
__construct
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public static function create(#[LanguageAware(['8.0' => 'string'], default: '')] $locale, #[LanguageAware(['8.0' => 'string'], default: '')] $pattern) : ?\MessageFormatter { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Constructs a new Message Formatter @link https://php.net/manual/en/messageformatter.create.php @param string $locale <p> The locale to use when formatting arguments </p> @param string $pattern <p> The pattern string to stick arguments into. The pattern uses an 'apostrophe-friendly' syntax; it is run through umsg_autoQuoteApostrophe before being interpreted. </p> @return MessageFormatter|null The formatter object
create
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function format(array $values) : string|false { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Format the message @link https://php.net/manual/en/messageformatter.format.php @param array $values <p> Arguments to insert into the format string </p> @return string|false The formatted string, or <b>FALSE</b> if an error occurred
format
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public static function formatMessage(#[LanguageAware(['8.0' => 'string'], default: '')] $locale, #[LanguageAware(['8.0' => 'string'], default: '')] $pattern, array $values) : string|false { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Quick format message @link https://php.net/manual/en/messageformatter.formatmessage.php @param string $locale <p> The locale to use for formatting locale-dependent parts </p> @param string $pattern <p> The pattern string to insert things into. The pattern uses an 'apostrophe-friendly' syntax; it is run through umsg_autoQuoteApostrophe before being interpreted. </p> @param array $values <p> The array of values to insert into the format string </p> @return string|false The formatted pattern string or <b>FALSE</b> if an error occurred
formatMessage
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function parse(#[LanguageAware(['8.0' => 'string'], default: '')] $string) : array|false { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Parse input string according to pattern @link https://php.net/manual/en/messageformatter.parse.php @param string $string <p> The string to parse </p> @return array|false An array containing the items extracted, or <b>FALSE</b> on error
parse
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public static function parseMessage(#[LanguageAware(['8.0' => 'string'], default: '')] $locale, #[LanguageAware(['8.0' => 'string'], default: '')] $pattern, #[LanguageAware(['8.0' => 'string'], default: '')] $message) : array|false { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Quick parse input string @link https://php.net/manual/en/messageformatter.parsemessage.php @param string $locale <p> The locale to use for parsing locale-dependent parts </p> @param string $pattern <p> The pattern with which to parse the <i>value</i>. </p> @param string $message <p> The string to parse, conforming to the <i>pattern</i>. </p> @return array|false An array containing items extracted, or <b>FALSE</b> on error
parseMessage
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public function setPattern(#[LanguageAware(['8.0' => 'string'], default: '')] $pattern) : bool { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Set the pattern used by the formatter @link https://php.net/manual/en/messageformatter.setpattern.php @param string $pattern <p> 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. </p> @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
setPattern
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function getPattern() : string|false { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Get the pattern used by the formatter @link https://php.net/manual/en/messageformatter.getpattern.php @return string|false The pattern string for this message formatter
getPattern
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function getLocale() : string { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Get the locale for which the formatter was created. @link https://php.net/manual/en/messageformatter.getlocale.php @return string The locale name
getLocale
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function getErrorCode() : int { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Get the error code from last operation @link https://php.net/manual/en/messageformatter.geterrorcode.php @return int The error code, one of UErrorCode values. Initial value is U_ZERO_ERROR.
getErrorCode
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function getErrorMessage() : string { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Get the error text from the last operation @link https://php.net/manual/en/messageformatter.geterrormessage.php @return string Description of the last error.
getErrorMessage
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] public function __construct(#[LanguageAware(['8.0' => 'string|null'], default: '')] $locale, #[ElementAvailable(from: '5.3', to: '8.0')] #[LanguageAware(['8.0' => 'int'], default: '')] $dateType, #[ElementAvailable(from: '5.3', to: '8.0')] #[LanguageAware(['8.0' => 'int'], default: '')] $timeType, #[ElementAvailable(from: '8.1')] int $dateType = 0, #[ElementAvailable(from: '8.1')] int $timeType = 0, $timezone = null, $calendar = null, #[LanguageAware(['8.0' => 'string|null'], default: '')] $pattern = null) { }
@param string|null $locale @param int $dateType @param int $timeType @param mixed|null $timezone [optional] @param mixed|null $calendar [optional] @param string $pattern [optional]
__construct
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public static function create(#[LanguageAware(['8.0' => 'string|null'], default: '')] $locale, #[ElementAvailable(from: '5.3', to: '8.0')] #[LanguageAware(['8.0' => 'int'], default: '')] $dateType, #[ElementAvailable(from: '5.3', to: '8.0')] #[LanguageAware(['8.0' => 'int'], default: '')] $timeType, #[ElementAvailable(from: '8.1')] int $dateType = 0, #[ElementAvailable(from: '8.1')] int $timeType = 0, $timezone = null, #[LanguageAware(['8.0' => 'IntlCalendar|int|null'], default: '')] $calendar = null, #[LanguageAware(['8.0' => 'string|null'], default: '')] $pattern = null) : ?\IntlDateFormatter { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Create a date formatter @link https://php.net/manual/en/intldateformatter.create.php @param string $locale <p> Locale to use when formatting or parsing; default is specified in the ini setting intl.default_locale. </p> @param int $dateType <p> Date type to use (<b>none</b>, <b>short</b>, <b>medium</b>, <b>long</b>, <b>full</b>). This is one of the IntlDateFormatter constants. </p> @param int $timeType <p> Time type to use (<b>none</b>, <b>short</b>, <b>medium</b>, <b>long</b>, <b>full</b>). This is one of the IntlDateFormatter constants. </p> @param string $timezone [optional] <p> Time zone ID, default is system default. </p> @param int $calendar [optional] <p> Calendar to use for formatting or parsing; default is Gregorian. This is one of the IntlDateFormatter calendar constants. </p> @param string $pattern [optional] <p> Optional pattern to use when formatting or parsing. Possible patterns are documented at http://userguide.icu-project.org/formatparse/datetime. </p> @return IntlDateFormatter|null
create
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function getDateType() : int|false { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Get the datetype used for the IntlDateFormatter @link https://php.net/manual/en/intldateformatter.getdatetype.php @return int|false The current date type value of the formatter.
getDateType
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function getTimeType() : int|false { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Get the timetype used for the IntlDateFormatter @link https://php.net/manual/en/intldateformatter.gettimetype.php @return int|false The current date type value of the formatter.
getTimeType
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function getCalendar() : int|false { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Get the calendar used for the IntlDateFormatter @link https://php.net/manual/en/intldateformatter.getcalendar.php @return int|false The calendar being used by the formatter.
getCalendar
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public function setCalendar(#[LanguageAware(['8.0' => 'IntlCalendar|int|null'], default: '')] $calendar) : bool { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> sets the calendar used to the appropriate calendar, which must be @link https://php.net/manual/en/intldateformatter.setcalendar.php @param int $calendar <p> The calendar to use. Default is <b>IntlDateFormatter::GREGORIAN</b>. </p> @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
setCalendar
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function getTimeZoneId() : string|false { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Get the timezone-id used for the IntlDateFormatter @link https://php.net/manual/en/intldateformatter.gettimezoneid.php @return string|false ID string for the time zone used by this formatter.
getTimeZoneId
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function getCalendarObject() : \IntlCalendar|false|null { }
(PHP 5 &gt;= 5.5.0, PECL intl &gt;= 3.0.0)<br/> Get copy of formatter's calendar object @link https://secure.php.net/manual/en/intldateformatter.getcalendarobject.php @return IntlCalendar|false|null A copy of the internal calendar object used by this formatter.
getCalendarObject
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function getTimeZone() : \IntlTimeZone|false { }
(PHP 5 &gt;= 5.5.0, PECL intl &gt;= 3.0.0)<br/> Get formatter's timezone @link https://secure.php.net/manual/en/intldateformatter.gettimezone.php @return IntlTimeZone|false The associated IntlTimeZone object or FALSE on failure.
getTimeZone
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Deprecated(replacement: "%class%->setTimeZone(%parametersList%)", since: "5.5")] public function setTimeZoneId($zone) { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Sets the time zone to use @link https://php.net/manual/en/intldateformatter.settimezoneid.php @param string $zone <p> The time zone ID string of the time zone to use. If <b>NULL</b> or the empty string, the default time zone for the runtime is used. </p> @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure. @removed 7.0 @see IntlDateFormatter::setTimeZone()
setTimeZoneId
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] #[LanguageAware(['8.3' => 'bool'], default: 'bool|null')] public function setTimeZone($timezone) { }
(PHP 5 &gt;= 5.5.0, PECL intl &gt;= 3.0.0)<br/> Sets formatter's timezone @link https://php.net/manual/en/intldateformatter.settimezone.php @param mixed $timezone <p> The timezone to use for this formatter. This can be specified in the following forms: <ul> <li> <p> <b>NULL</b>, in which case the default timezone will be used, as specified in the ini setting {@link "https://secure.php.net/manual/en/datetime.configuration.php#ini.date.timezone" date.timezone} or through the function {@link "https://secure.php.net/manual/en/function.date-default-timezone-set.php" date_default_timezone_set()} and as returned by {@link "https://secure.php.net/manual/en/function.date-default-timezone-get.php" date_default_timezone_get()}. </p> </li> <li> <p> An {@link "https://secure.php.net/manual/en/class.intltimezone.php" IntlTimeZone}, which will be used directly. </p> </li> <li> <p> A {@link "https://secure.php.net/manual/en/class.datetimezone.php" DateTimeZone}. Its identifier will be extracted and an ICU timezone object will be created; the timezone will be backed by ICU's database, not PHP's. </p> </li> <li> <p> A {@link "https://secure.php.net/manual/en/language.types.string.php" string}, which should be a valid ICU timezone identifier. See <b>IntlTimeZone::createTimeZoneIDEnumeration()</b>. Raw offsets such as <em>"GMT+08:30"</em> are also accepted. </p> </li> </ul> </p> @return bool|null <b>TRUE</b> on success or <b>FALSE</b> on failure.
setTimeZone
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public function setPattern(#[LanguageAware(['8.0' => 'string'], default: '')] $pattern) : bool { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Set the pattern used for the IntlDateFormatter @link https://php.net/manual/en/intldateformatter.setpattern.php @param string $pattern <p> New pattern string to use. Possible patterns are documented at http://userguide.icu-project.org/formatparse/datetime. </p> @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure. Bad formatstrings are usually the cause of the failure.
setPattern
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function getPattern() : string|false { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Get the pattern used for the IntlDateFormatter @link https://php.net/manual/en/intldateformatter.getpattern.php @return string|false The pattern string being used to format/parse.
getPattern
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function getLocale(#[ElementAvailable(from: '8.0')] #[LanguageAware(['8.0' => 'int'], default: '')] $type = 0) : string|false { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Get the locale used by formatter @link https://php.net/manual/en/intldateformatter.getlocale.php @param int $type [optional] @return string|false the locale of this formatter or 'false' if error
getLocale
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public function setLenient(#[LanguageAware(['8.0' => 'bool'], default: '')] $lenient) : void { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Set the leniency of the parser @link https://php.net/manual/en/intldateformatter.setlenient.php @param bool $lenient <p> Sets whether the parser is lenient or not, default is <b>TRUE</b> (lenient). </p> @return void
setLenient
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function isLenient() : bool { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Get the lenient used for the IntlDateFormatter @link https://php.net/manual/en/intldateformatter.islenient.php @return bool <b>TRUE</b> if parser is lenient, <b>FALSE</b> if parser is strict. By default the parser is lenient.
isLenient
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public function format(#[ElementAvailable(from: '5.3', to: '7.4')] $datetime = null, #[ElementAvailable(from: '8.0')] $datetime, #[ElementAvailable(from: '5.3', to: '7.4')] $array = null) : string|false { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Format the date/time value as a string @link https://php.net/manual/en/intldateformatter.format.php @param mixed $datetime <p> Value to format. This may be a <b>DateTime</b> object, an integer representing a Unix timestamp value (seconds since epoch, UTC) or an array in the format output by <b>localtime</b>. </p> @return string|false The formatted string or, if an error occurred, <b>FALSE</b>.
format
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public static function formatObject($datetime, $format = null, #[LanguageAware(['8.0' => 'string|null'], default: '')] $locale = null) : string|false { }
(PHP 5 &gt;= 5.5.0, PECL intl &gt;= 3.0.0)<br/> Formats an object @link https://secure.php.net/manual/en/intldateformatter.formatobject.php @param object $datetime <p> An object of type {@link "https://secure.php.net/manual/en/class.intlcalendar.php" IntlCalendar} or {@link "https://secure.php.net/manual/en/class.datetime.php" DateTime}. The timezone information in the object will be used. </p> @param mixed $format [optional] <p> How to format the date/time. This can either be an {@link "https://secure.php.net/manual/en/language.types.array.php" array} with two elements (first the date style, then the time style, these being one of the constants <b>IntlDateFormatter::NONE</b>, <b>IntlDateFormatter::SHORT</b>, <b>IntlDateFormatter::MEDIUM</b>, <b>IntlDateFormatter::LONG</b>, <b>IntlDateFormatter::FULL</b>), 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 {@link "https://secure.php.net/manual/en/language.types.string.php" string} with the format described in {@link "http://www.icu-project.org/apiref/icu4c/classSimpleDateFormat.html#details" the ICU documentation}. If <b>NULL</b>, the default style will be used. </p> @param string|null $locale [optional] <p> The locale to use, or <b>NULL</b> to use the {@link "https://secure.php.net/manual/en/intl.configuration.php#ini.intl.default-locale" default one}.</p> @return string|false A string with result or <b>FALSE</b> on failure.
formatObject
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public function parse(#[LanguageAware(['8.0' => 'string'], default: '')] $string, &$offset = null) : int|float|false { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Parse string to a timestamp value @link https://php.net/manual/en/intldateformatter.parse.php @param string $string <p> string to convert to a time </p> @param int &$offset [optional] <p> 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. </p> @return int|float|false timestamp parsed value
parse
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public function localtime(#[LanguageAware(['8.0' => 'string'], default: '')] $string, &$offset = null) : array|false { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Parse string to a field-based time value @link https://php.net/manual/en/intldateformatter.localtime.php @param string $string <p> string to convert to a time </p> @param int &$offset [optional] <p> 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. </p> @return array|false Localtime compatible array of integers : contains 24 hour clock value in tm_hour field
localtime
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function getErrorCode() : int { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Get the error code from last operation @link https://php.net/manual/en/intldateformatter.geterrorcode.php @return int The error code, one of UErrorCode values. Initial value is U_ZERO_ERROR.
getErrorCode
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function getErrorMessage() : string { }
(PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/> Get the error text from the last operation. @link https://php.net/manual/en/intldateformatter.geterrormessage.php @return string Description of the last error.
getErrorMessage
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] public function __construct(#[LanguageAware(['8.0' => 'string|null'], default: '')] $locale, #[LanguageAware(['8.0' => 'string|null'], default: '')] $bundle, #[LanguageAware(['8.0' => 'bool'], default: '')] $fallback = \true) { }
@link https://www.php.net/manual/en/resourcebundle.create.php @param string $locale <p>Locale for which the resources should be loaded (locale name, e.g. en_CA).</p> @param string $bundle <p>The directory where the data is stored or the name of the .dat file.</p> @param bool $fallback [optional] <p>Whether locale should match exactly or fallback to parent locale is allowed.</p>
__construct
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public static function create(#[LanguageAware(['8.0' => 'string|null'], default: '')] $locale, #[LanguageAware(['8.0' => 'string|null'], default: '')] $bundle, #[LanguageAware(['8.0' => 'bool'], default: '')] $fallback = \true) : ?\ResourceBundle { }
(PHP &gt;= 5.3.2, PECL intl &gt;= 2.0.0)<br/> Create a resource bundle @link https://php.net/manual/en/resourcebundle.create.php @param string $locale <p> Locale for which the resources should be loaded (locale name, e.g. en_CA). </p> @param string $bundle <p> The directory where the data is stored or the name of the .dat file. </p> @param bool $fallback [optional] <p> Whether locale should match exactly or fallback to parent locale is allowed. </p> @return ResourceBundle|null <b>ResourceBundle</b> object or <b>null</b> on error.
create
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function get($index, #[LanguageAware(['8.0' => 'bool'], default: '')] $fallback = \true) : mixed { }
(PHP &gt;= 5.3.2, PECL intl &gt;= 2.0.0)<br/> Get data from the bundle @link https://php.net/manual/en/resourcebundle.get.php @param string|int $index <p> Data index, must be string or integer. </p> @param bool $fallback @return mixed the data located at the index or <b>NULL</b> 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 <b>ResourceBundle</b> object.
get
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function count() : int { }
(PHP &gt;= 5.3.2, PECL intl &gt;= 2.0.0)<br/> Get number of elements in the bundle @link https://php.net/manual/en/resourcebundle.count.php @return int<0,max> number of elements in the bundle.
count
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public static function getLocales(#[LanguageAware(['8.0' => 'string'], default: '')] $bundle) : array|false { }
(PHP &gt;= 5.3.2, PECL intl &gt;= 2.0.0)<br/> Get supported locales @link https://php.net/manual/en/resourcebundle.locales.php @param string $bundle <p> Path of ResourceBundle for which to get available locales, or empty string for default locales list. </p> @return array|false the list of locales supported by the bundle.
getLocales
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function getErrorCode() : int { }
(PHP &gt;= 5.3.2, PECL intl &gt;= 2.0.0)<br/> Get bundle's last error code. @link https://php.net/manual/en/resourcebundle.geterrorcode.php @return int error code from last bundle object call.
getErrorCode
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[Pure] #[TentativeType] public function getErrorMessage() : string { }
(PHP &gt;= 5.3.2, PECL intl &gt;= 2.0.0)<br/> Get bundle's last error message. @link https://php.net/manual/en/resourcebundle.geterrormessage.php @return string error message from last bundle object's call.
getErrorMessage
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public static function create(#[LanguageAware(['8.0' => 'string'], default: '')] $id, #[LanguageAware(['8.0' => 'int'], default: '')] #[EV([\Transliterator::FORWARD, \Transliterator::REVERSE])] $direction = 0) : ?\Transliterator { }
(PHP &gt;= 5.4.0, PECL intl &gt;= 2.0.0)<br/> Create a transliterator @link https://php.net/manual/en/transliterator.create.php @param string $id <p> The id. </p> @param int $direction [optional] <p> The direction, defaults to Transliterator::FORWARD. May also be set to Transliterator::REVERSE. </p> @return Transliterator|null a <b>Transliterator</b> object on success, or <b>NULL</b> on failure.
create
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT
#[TentativeType] public static function createFromRules(#[LanguageAware(['8.0' => 'string'], default: '')] $rules, #[LanguageAware(['8.0' => 'int'], default: '')] #[EV([\Transliterator::FORWARD, \Transliterator::REVERSE])] $direction = 0) : ?\Transliterator { }
(PHP &gt;= 5.4.0, PECL intl &gt;= 2.0.0)<br/> Create transliterator from rules @link https://php.net/manual/en/transliterator.createfromrules.php @param string $rules <p> The rules. </p> @param int $direction [optional] <p> The direction, defaults to {@see Transliterator::FORWARD}. May also be set to {@see Transliterator::REVERSE}. </p> @return Transliterator|null a <b>Transliterator</b> object on success, or <b>NULL</b> on failure.
createFromRules
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/intl/intl.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/intl/intl.php
MIT