Un motore di ricerca WordPress per sviluppatori e autori di temi



_usort_by_first_member ›

Da2.9.0
Deprecaton/a
_usort_by_first_member ( $a, $b )
Accedi:
  • private
Parametri: (2)
  • (array) $a
    Richiesto:
  • (array) $b
    Richiesto:
Ritorna:
  • (int)
Definito a:
Codex:

Sorts a multidimensional array by first member of each top level member

Used by uasort() as a callback, should not be used directly.



Sorgenti

function _usort_by_first_member( $a, $b ) {
	return strnatcasecmp( $a[0], $b[0] );
}