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
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php