No cache version.

Caching disabled. Default setting for this page:enabled (code LNG204)
If the display is too slow, you can disable the user mode to view the cached version.

Rechercher une fonction PHP

ResourceBundle::count

resourcebundle_count

(PHP 5 >= 5.3.2, PHP 7, PECL intl >= 2.0.0)

ResourceBundle::count -- resourcebundle_countGet number of elements in the bundle

PHP: ResourceBundle::count - Manual Home of Manuel PHP  Contents Haut

Description

Object oriented style

public ResourceBundle::count ( void ) : int

Procedural style

resourcebundle_count ( ResourceBundle $r ) : int

Get the number of elements in the bundle.

PHP: ResourceBundle::count - Manual Home of Manuel PHP  Contents Haut

Return Values

Returns number of elements in the bundle.

PHP: ResourceBundle::count - Manual Home of Manuel PHP  Contents Haut

Examples

Example #1 resourcebundle_count() example

<?php
$r 
resourcebundle_create'es'"/usr/share/data/myapp");
echo 
resourcebundle_count($r);
?>

Example #2 OO example

<?php
$r 
= new ResourceBundle'es'"/usr/share/data/myapp");
echo 
$r->count();
?>

The above example will output:

42
Find a PHP function
Error Infobrol

Can not display this page of the Infobrol website

Type of error (18-01)

Unknown format specifier "&"

Please try again in a few minutes…

Return to the home page




Steph