if ($this_is_not_right) {
goto somewhere (error_code => 123, error_msg => 'this is error');
}
do_something();
return;
somewhere:
show_error_page($::error_code, $::error_msg);
Thanks.
In reply to goto with some arguments by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |