Around line 55:
uksort($sub, function($a, $b)
{
return strlen($a) < strlen($b);
});
The callback function should return an integer: -1, 0, or 1 for less than, equal to, or greater than, respectively. As far as I'm aware, returning a boolean has never been officially supported and will likely...