Function __global->jlex__strlen_sort

Definitions

sources/webstandards_js_lex.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 string required parameter N/A N/A The first string to compare
$b string required parameter N/A N/A The second string to compare

Return

  • The comparison result
  • Type: integer
  • Set: N/A
  • Range: N/A