PHP » GoLang |
login |
register |
about
|
GoLang ResourceBundle::create
request it (357)
GoLang replacement for PHP's ResourceBundle::create
[edit | history]
ResourceBundle::createresourcebundle_createResourceBundle::__construct(PHP 5 >= 5.3.2, PHP 7, PECL intl >= 2.0.0) ResourceBundle::create -- resourcebundle_create -- ResourceBundle::__construct — Create a resource bundle DescriptionObject oriented style (method)
public
static
ResourceBundle
ResourceBundle::create
( string
$locale
, string $bundlename
[, bool $fallback
] )Procedural style Object oriented style (constructor):
public
ResourceBundle::__construct
( string
$locale
, string $bundlename
[, bool $fallback
] )Creates a resource bundle. Parameters
Return Values
Returns ResourceBundle object or ExamplesExample #1 resourcebundle_create() example
<?php Example #2 ResourceBundle::create() example
<?php The above example will output: ¡Hola, mundo! |
more
Recently updated
more
Most requested
more
Last requests
|