if($choice == 1) {
        goto bad;
} else if ($choice == 2) {
        goto good;
} else if ($choice == 3) {
        goto bad;
} else if ($choice == 4) {
        goto good;
}

good:
        $vote++;
bad:
        return;

On Tue, 2006-03-07 at 12:50 -0500, Robert Cummings wrote:
> On Tue, 2006-03-07 at 04:28, Dmitry Stogov wrote:
> > Hi,
> > 
> > Because of some confused people I reverted "break label" patch and post it
> > for discussion once again together with GOTO patch.
> > 
> > Please reviw and vote.
> > 
> > 1) goto and break label
> > 2) goto only (like C)
> > 3) break label only (like Java)
> > 4) nothing
> 
> 2) +1
> 
> What's the policy on voting btw? Am I allowed?
> 
> Cheers,
> Rob.
> -- 
> .------------------------------------------------------------.
> | InterJinn Application Framework - http://www.interjinn.com |
> :------------------------------------------------------------:
> | An application and templating framework for PHP. Boasting  |
> | a powerful, scalable system for accessing system services  |
> | such as forms, properties, sessions, and caches. InterJinn |
> | also provides an extremely flexible architecture for       |
> | creating re-usable components quickly and easily.          |
> `------------------------------------------------------------'
> 

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to