1--TEST--
2Test natsort(): basic functionality
3--FILE--
4<?php
5/*
6* Function is implemented in ext/standard/array.c
7*/
8$array1 = $array2 = array("img12.png", "img10.png", "img2.png", "img1.png");
9sort($array1);
10echo "Standard sorting\n";
11print_r($array1);
12natsort($array2);
13echo "\nNatural order sorting\n";
14print_r($array2);
15?>
16--EXPECT--
17Standard sorting
18Array
19(
20    [0] => img1.png
21    [1] => img10.png
22    [2] => img12.png
23    [3] => img2.png
24)
25
26Natural order sorting
27Array
28(
29    [3] => img1.png
30    [2] => img2.png
31    [1] => img10.png
32    [0] => img12.png
33)
34