PHP » GoLang |
login |
register |
about
|
GoLang MessageFormatter::create
request it (395)
GoLang replacement for PHP's MessageFormatter::create
[edit | history]
MessageFormatter::createMessageFormatter::__constructmsgfmt_create(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) MessageFormatter::create -- MessageFormatter::__construct -- msgfmt_create — Constructs a new Message Formatter DescriptionObject oriented style (method) Object oriented style (constructor):
public
MessageFormatter::__construct
( string
$locale
, string $pattern
)Procedural style Constructs a new Message Formatter Parameters
Return ValuesThe formatter object ExamplesExample #1 msgfmt_create() example
<?php Example #2 OO example
<?php The above example will output: 4,560 monkeys on 123 trees make 37.073 monkeys per tree 4.560 Affen auf 123 Bäumen sind 37,073 Affen pro Baum See Also
|
more
Recently updated
more
Most requested
more
Last requests
|