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
Just move the code that is not supposed to be executed to else/elseif branch. I don't really see why would you want to do what you're trying to do.
else/elseif