php-internal-docs
8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
msgformat.stub.php
Go to the documentation of this file.
1
<?php
2
4
6
class
MessageFormatter
7
{
8
public
function
__construct
(
string
$locale,
string
$pattern
) {}
9
14
public
static
function
create
(
string
$locale,
string
$pattern
): ?
MessageFormatter
{}
15
20
public
function
format
(array $values): string|false {}
21
26
public static
function
formatMessage
(string $locale, string
$pattern
, array $values): string|false {}
27
33
public
function
parse
(string $string): array|false {}
34
40
public static
function
parseMessage
(string $locale, string
$pattern
, string $message): array|false {}
41
46
public
function
setPattern
(string
$pattern
): bool {}
47
52
public
function
getPattern
(): string|false {}
53
58
public
function
getLocale
(): string {}
59
64
public
function
getErrorCode
(): int {}
65
70
public
function
getErrorMessage
(): string {}
71
}
MessageFormatter
Definition
msgformat.stub.php:7
MessageFormatter\getErrorMessage
getErrorMessage()
Definition
msgformat.stub.php:70
MessageFormatter\setPattern
setPattern(string $pattern)
Definition
msgformat.stub.php:46
MessageFormatter\__construct
__construct(string $locale, string $pattern)
Definition
msgformat.stub.php:8
MessageFormatter\format
format(array $values)
Definition
msgformat.stub.php:20
MessageFormatter\formatMessage
static formatMessage(string $locale, string $pattern, array $values)
Definition
msgformat.stub.php:26
MessageFormatter\getErrorCode
getErrorCode()
Definition
msgformat.stub.php:64
MessageFormatter\parseMessage
static parseMessage(string $locale, string $pattern, string $message)
Definition
msgformat.stub.php:40
MessageFormatter\create
static create(string $locale, string $pattern)
Definition
msgformat.stub.php:14
MessageFormatter\parse
parse(string $string)
Definition
msgformat.stub.php:33
MessageFormatter\getPattern
getPattern()
Definition
msgformat.stub.php:52
MessageFormatter\getLocale
getLocale()
Definition
msgformat.stub.php:58
$pattern
$pattern
Definition
generate_name_perfect_hash_table.php:92
function
function(EX_VAR(opline->result.var))
ext
intl
msgformat
msgformat.stub.php
Generated on Sat Aug 23 2025 01:46:08 for php-internal-docs by
1.13.2