by Example
Показать выпадающий список
Configuration of min()
Эта страница доступна только на английском языке.
<?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
*
* @see docs/function-configuration.txt
*/
class min extends function_core
{
public $examples = [
[1, 6, 7],
[
[2, 4, 5]
],
[0, 'hello'],
['hello', 0],
['hello', -1],
[
[2, 4, 8],
[2, 5, 7]
],
[
'string',
[2, 5, 7],
42
],
[-100,-10, NULL],
[-100,-10, FALSE],
];
public $synopsis = 'mixed min ( mixed $value1 , mixed $value2 [, mixed $... ] )';
public $synopsis_fixed = 'mixed min ( mixed $value1 , mixed $value2 , mixed $value3 [, mixed $... ] )';
}
Powered by
PHP 7.1.33 (0.01 s)
2014-2017 Michel Corne