Is there any command in PHP to stop executing the current or parent if statement, same as break or break(1) for switch/
if
break
break(1)
switch
You could use a do-while(false):
as described in http://php.net/manual/en/control-structures.if.php#90073