which is faster if or switch in laravel 6