logic - Is break; required after die() php -
i've been thinking much... in area of switch case break; required after die() example: switch($i){ case 0: die('case without break;'); case 1: die('case break;'); break; } die() alias exit() , exit() terminate program flow immediately. (shutdown functions , object destructors still executed after exit() ) and no, not syntax error omit break , on contrary there many useful cases omitting break . check manual page of switch statement examples.