by Example
Показать выпадающий список
Configuration of count()
Эта страница доступна только на английском языке.
<?php
/**
* PHP By Example
*
* @copyright 2014 Michel Corne
* @license http://www.opensource.org/licenses/gpl-3.0.html GNU GPL v3
*/
require_once 'models/function_core.php';
/**
* Function configuration
*
* Changes to this class may affect other classes.
*
* @see docs/function-configuration.txt
*/
class count extends function_core
{
public $examples = [
[
[1, 3, 5],
],
[
[
0 => 7,
5 => 9,
10 => 11,
],
],
[
null
],
[
false
],
[
[
'fruits' => ['orange', 'banana', 'apple'],
'veggie' => ['carrot', 'collard', 'pea']
],
'COUNT_RECURSIVE'
],
[
[
'fruits' => ['orange', 'banana', 'apple'],
'veggie' => ['carrot', 'collard', 'pea']
],
],
];
public $synopsis = 'int count ( mixed $array_or_countable [, int $mode = COUNT_NORMAL ] )';
}
Powered by
PHP 7.1.33 (0.01 s)
2014-2017 Michel Corne