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
No.
But how about:
$a="test"; if("test"==$a) { if ($someOtherCondition) { echo "yes"; } } echo "finish";