Re: GOTO replacement statements
| From: | Stanislav Malyshev | Date: | Wed, 30 Nov 2005 17:27:12 +0000 |
| Subject: | Re: GOTO replacement statements | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-20904@lists.php.net to get a copy of this message | ||
TG>>replacing the functionality of a 'goto' statement with
TG>>two or maybe three statements.
TG>>
TG>>'break_to' 'advance_to' and maybe even 'change_state_to'
And maybe even to
please_change_current_executing_opcode_number_to_the_opcode_that_corresponds_to_label
after all, we don't want to have any place for misunderstaning and we
definitely don't want to be rude... If we want to limit it to
forward-jump, we might add also
_but_only_if_it_does_not_mean_jumping_backwards. Then nobody would say it
is not intuitive, at least.
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115