|
ArrayObject::uksortSort the entries by keys using a user-defined comparison function Beschreibung
public void ArrayObject::uksort
( callable
$cmp_function
)This function sorts the keys of the entries using a user-supplied comparison function. The key to entry correlations will be maintained. Parameter-Liste
RückgabewerteEs wird kein Wert zurückgegeben. Beispiele
Beispiel #1 ArrayObject::uksort example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: an apple: 3 a banana: 4 the Earth: 2 John: 1 Siehe auch
|