symfony/symfony — comment on commit 8cc3158d8901b8aefadde7f24be92fd9ed2b07e7
File: src/Symfony/Bundle/FrameworkBundle/Command/RouterMatchCommand.php line 68
By stof:

I see an issue with such a setup: ``getRouteCollection`` calls the loader (it is intended to do so) so running the command in the prod (non-debug) environment may produce a different result than the routing of a request because the request will use the cache. A common issue according to what I see on IRC is forgetting to clear the prod cache after changing the routing. It could be a good idea to have a command doing the matching with the cached router.