The use of explicit integer keys can be clearer than regular un-keyed <php>list()</php> in the same situations. Compare:
<code php>
$dispatcher = \FastRoute\simpleDispatcher(function(\FastRoute\RouteCollector $r) {
// ...
});
$result = $dispatcher->dispatch($httpMethod, $uri);
switch ($result[0]) {
case \FastRoute\Dispatcher::FOUND:
list(, $handler, $parts) = $result;
// ...
}
</code>
versus:
<code php>
switch ($result[0]) {
case \FastRoute\Dispatcher::FOUND:
list(1 => $handler, 2 => $parts) = $result;