Re: GOTO operator

From: Date: Tue, 03 Aug 2004 02:33:25 +0000
Subject: Re: GOTO operator
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-11838@lists.php.net to get a copy of this message
My point still remains.. Goto is powerful, even if not needed.. There's about one time I would use goto, which could easily be done with two do..while().. The funny thing is, that I didn't do it that way, cause I though it looked ugly. -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Steph" <steph@zend.com> skrev i meddelandet news:NGBBLHCLELOKOAFANNABEEBPEJAA.steph@zend.com... > > My opinion would be that goto isn't needed with the do..while() > > statement.. > > But on the other hand.. Neither for(), while() or do..while() would be > > needed with goto, would they? > > I learned a language called PHP. It contains for(), while() and > do..while(). I've been writing scripts that contain those expressions for > some years now.

« previous php.internals (#11838) next »