by Example
显示下拉菜单
Configuration of sort()
本页面仅提供英文版本。
<?php
/**
* PHP By Example
*
* @copyright 2014 Michel Corne
* @license http://www.opensource.org/licenses/gpl-3.0.html GNU GPL v3
*/
require_once 'functions/a/array_pop.php';
/**
* Function configuration
*
* Changes to this class may affect other classes.
*
* @see docs/function-configuration.txt
*/
class sort extends array_pop
{
public $examples = [
[
'__array' => [
"lemon",
"orange",
"banana",
"apple",
],
'$array',
],
[
'__array' => [
"Orange1",
"orange2",
"Orange3",
"orange20",
],
'$array',
'SORT_NATURAL | SORT_FLAG_CASE',
],
// used in translations_in_action.php
[
'__array' => [
"lemon",
],
[123],
],
];
public $synopsis = 'bool sort ( array &$array [, int $sort_flags = SORT_REGULAR ] )';
}
帮助
杂项
配置
测试
单元测试
Powered by
PHP 7.1.33 (0.002 s)
2014-2017 Michel Corne