Re: GOTO operator

From: Date: Fri, 30 Jul 2004 00:41:09 +0000
Subject: Re: GOTO operator
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-11632@lists.php.net to get a copy of this message
Robert Cummings wrote:
Unmaintainable because of the ability to write cryptic code. There's nothing cryptic about:
    ...code
    goto cleanup:
    ...code
    cleanup:
do {
.....code... if (something) break; ...code.... } while (0); ...cleanup code... Similar example in the PHP documentation. I think I implemented once, just for the fun, a code similar to the exceptions without the need of the goto and by just using do{}while loop;
Cheers, Rob.
thanks, andrey

« previous php.internals (#11632) next »