📅  最后修改于: 2022-03-11 14:54:11.782000             🧑  作者: Mango
// SORT ARRAY ALPHABETICALLY
$frutas = array("limón", "naranja", "banana", "albaricoque");
sort($frutas);
foreach ($frutas as $clave => $valor) {
echo "frutas[" . $clave . "] = " . $valor . "\n";
}