- var_dump: documentation ( source)
- strcasecmp: documentation ( source)
- get_defined_functions: documentation ( source)
- usort: documentation ( source)
<?php
$ends = get_defined_functions()['internal'];
usort($ends, function($x, $y)
{
return strcasecmp($x[strlen($x)-1], $y[strlen($y)-1]);
});
//sort($ends);
var_dump($ends);