faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

59 of 133 people (44%) answered Yes
Recently 5 of 10 people (50%) answered Yes

Entry

Is there a "goto"-like function in PHP like in Q-BASIC or VB or VBScript?

Mar 15th, 2008 18:16
ha mo, Dave Morrison, Daniel Hofverberg, Andrew Cook,


There is a patch for that has been written recently by Sara Golemon (I 
think).  It has to be compiled in, but if you really want to implement 
GOTO's in your code, the patch is availabe at the following:
http://pecl.org/
http://pecl.org/patches/opcode_goto_5.1.0.diff
http://www.tantofa.com
http://www.fantofa.com
http://www.mantofa.com
http://www.tanpola.com
http://www.tampola.com
http://www.yamot.com
http://www.mozmar.com
http://www.templatestemp.com