Hi, On Tuesday 07 March 2006 19:14, Robert Cummings wrote: > I don't remember, but I think Sarah Golemon allowed for it in one of her > patches way back: > > <?php > > $map = array > ( > 1 => 'bad', > 2 => 'good', > 3 => 'bad', > 4 => 'acceptable', > ); > > goto $map[$choice];
NOOO - If we add goto only with static labels. Everything else is a total mess. johannes -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php