* Thus wrote Nitin ([EMAIL PROTECTED]):
> Hi all,
> 
> I was wondering, if there's any way to achieve 'goto "label":' using PHP

The closest you'll get to label's in php is the break statement.


while (loop) {

  while (loop) {
    break 2; // leave 2 loops
  }

  while (loop) {
    break; // leave this loop
  }

}



Curt
-- 
If eval() is the answer, you're almost certainly asking the
wrong question. -- Rasmus Lerdorf, BDFL of PHP

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to