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
To completely stop the rest of the script from running you can just do
exit; //In place of break. The rest of the code will not execute