ResourceBundle::getresourcebundle_getGet data from the bundle DescriptionObject-oriented style
public mixed ResourceBundle::get(stringint
$index, bool $fallback = true)Procedural style mixed resourcebundle_get(ResourceBundle
$bundle, stringint $index, bool $fallback = true)Get the data from the bundle by index or string key. Parameters
Return Values
Returns the data located at the index or Errors/ExceptionsA TypeError is thrown if the offset type is invalid.
A ValueError is thrown if
if Changelog
ExamplesExample #1 resourcebundle_get example Example #2 OO example The above example will output: ?Hola, mundo! See Also
|