exit in if statement php code example
Example: if certain condition is met exit if block php
if($bla){do{
$bla = get_bla();
if(empty($bla)) break;
do($bla);
}while(false);}
if($bla){do{
$bla = get_bla();
if(empty($bla)) break;
do($bla);
}while(false);}