fixed switch in php level