Convert large switch statement to a constant lookup table
Convert large switch statement to a constant lookup table

PHP 7.1 loops through all of the case statements instead of using a
lookup table. PHP 7.2 will be slighly faster.

This change speeds up phan by around 3%
(decreased from 6.34 seconds to 6.16 seconds for me)

etsy/phan,etsy/phan