by Example
Exibir a lista drop-down
Configuration of natsort()
Esta página está disponível apenas em inglês.
<?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
*
* @see docs/function-configuration.txt
*/
class natsort extends array_pop
{
public $examples = [
[
'__array' => ["img12.png", "img10.png", "img2.png", "img1.png"],
'$array',
],
[
'__array' => ['-5','3','-2','0','-1000','9','1'],
'$array',
],
[
'__array' => ['09', '8', '10', '009', '011', '0'],
'$array',
],
[
'__array' => ['image_1.jpg','image_12.jpg', 'image_21.jpg', 'image_4.jpg'],
'$array',
],
[
'__array' => ['orange' => 1, 'apple' => 1, 'yogurt' => 4, 'banana' => 4],
'$array',
],
];
public $synopsis = 'bool natsort ( array &$array )';
}
Powered by
PHP 7.1.33 (0.002 s)
2014-2017 Michel Corne