Function __global->_strlen_sort

Definitions

sources/global3.php

  • Helper function for usort to sort a list by string length.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: int

Parameters

Name Type Default Set Range Description
$a mixed required parameter N/A N/A The first string or array of strings to compare
$b mixed required parameter N/A N/A The second string or array of strings to compare

Return

  • The comparison result (0 for equal, -1 for less, 1 for more)
  • Type: integer
  • Set: N/A
  • Range: N/A