there is an old trick that can do something similar:
<?
do {
if(something==true) {
break;
}
do_stuff();
if(something_else==true) {
do_more_stuff();
break;
}
} while(0)
// 'the end'
?>
or something like that. it lets you skip to 'the end' if a condition is met. ive never had to use this, and hope i never will 🙂
paul
http://xhawk.net