1--TEST-- 2Optimization of constant switch expression 3--FILE-- 4<?php 5try { 6 switch ("1" . (int)2) { 7 case 12: 8 throw new Exception(); 9 } 10} catch (Exception $e) { 11 echo "exception\n"; 12} 13?> 14--EXPECT-- 15exception 16