You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
<?php
|
|
$colors = array(
|
|
"color1", "color20", "color3", "color2"
|
|
);
|
|
sort($colors, SORT_NATURAL | SORT_FLAG_CASE);
|
|
foreach ($colors as $key => $val) {
|
|
echo "Colors[" . $key . "] = " . $val . "\n";
|
|
}
|
|
?>
|