PHP 5.3 will have GOTO statements??

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • StuartD
    Sofa King Band
    • Jul 2002
    • 29903

    #1

    PHP 5.3 will have GOTO statements??

    Talk about going back to "basic"s!!

    http://www.ibm.com/developerworks/op...MP=grsitebtw01
    This is me on facebook
    This is me on twitter
  • dial
    Confirmed User
    • May 2006
    • 1225

    #2
    20 goto 10
    boom chicka wah wah

    Comment

    • fris
      I have to go potty
      • Aug 2002
      • 55907

      #3
      c64 days here we come
      Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


      My Newest Theme

      Comment

      • 2012
        So Fucking What
        • Jul 2006
        • 17189

        #4
        wow, i'm glad they're focusing on the really important stuff ... i'd rather have goto then something useful like constructor overloading ... pfft quack asssssssssss
        best host: Webair | best sponsor: Kink | best coder: 688218966 | Go Fuck Yourself

        Comment

        • camgirlshide
          Confirmed User
          • Jan 2005
          • 1558

          #5
          sometimes a properly placed goto statement is the most efficient way to code.
          Useful adult webmaster links -
          Alphabetical list of solo models with webcam
          Stats on my best converting affiliate programs - camgirlshide webmaster blog
          complete list of affiliate programs I use.

          Comment

          • $5 submissions
            I help you SUCCEED
            • Nov 2003
            • 32189

            #6
            Hahahahaha My 8th Grade computer class teach Mr. Navrides would be laughing right now.

            Comment

            • Angry Jew Cat - Banned for Life
              (felis madjewicus)
              • Jul 2006
              • 20368

              #7
              fuck do i miss a good goto line

              Comment

              • V_RocKs
                Damn Right I Kiss Ass!
                • Nov 2003
                • 32467

                #8
                About fucking time!

                Comment

                • Sosa
                  In Tushy Land
                  • Oct 2002
                  • 40149

                  #9
                  I remember having to do that with some snaked deal trying to see how long you could make it go without hitting it's tail type things. Too bad that was about as far as that 8th grade class went back then.

                  Comment

                  • HomerSimpson
                    Too lazy to set a custom title
                    • Sep 2005
                    • 13826

                    #10
                    I remember gotos from c64, but who the fuck would need such thing in 20 years later...
                    Make a bank with Chaturbate - the best selling webcam program
                    Ads that can't be block with AdBlockers !!! /// Best paying popup program (Bitcoin payouts) !!!

                    PHP, MySql, Smarty, CodeIgniter, Laravel, WordPress, NATS... fixing stuff, server migrations & optimizations... My ICQ: 27429884 | Email:

                    Comment

                    • Young
                      Bland for life
                      • Nov 2004
                      • 10468

                      #11
                      Reminds me of QBasic...my favorite basic editor.
                      ★★★

                      Comment

                      • WiredGuy
                        Pounding Googlebot
                        • Aug 2002
                        • 34517

                        #12
                        What until if/then comes out. It'll revolutionize coding.
                        WG
                        I play with Google.

                        Comment

                        • brandonstills
                          Confirmed User
                          • Dec 2007
                          • 1964

                          #13
                          what, no GOSUB?

                          Brandon Stills
                          Industry and programming veteran
                          [email protected] | skype: brandonstills | ICQ #495-171-318

                          Comment

                          • doridori
                            So Fucking Banned
                            • Jul 2008
                            • 2222

                            #14
                            look at all these posers.

                            Comment

                            • Varius
                              Confirmed User
                              • Jun 2004
                              • 6890

                              #15
                              Coincidentally I wrote a quick script earlier today where I could have saved a few lines using GOTO - nothing ground-breaking but useful here and there for sure
                              Skype variuscr - Email varius AT gmail

                              Comment

                              • Iron Fist
                                Too lazy to set a custom title
                                • Dec 2006
                                • 23400

                                #16
                                10 goto 40
                                20 print "and"
                                30 goto 60
                                40 print "To infinity"
                                50 goto 20
                                60 print "beyond."
                                70 goto 10

                                i like waffles

                                Comment

                                • ExLust
                                  Confirmed User
                                  • Aug 2008
                                  • 3223

                                  #17
                                  Cool script.

                                  BE A PARTNER

                                  Comment

                                  • okok
                                    Confirmed User
                                    • Jan 2003
                                    • 502

                                    #18
                                    Calm down, goto haters.

                                    Anytime you use a switch statement, you're following a goto pattern without actually using the word goto.

                                    Remember that a knife is dangerous in an idiot's hands but indispensable in a master chef's.

                                    Comment

                                    • Miguel T
                                      ♦ Web Developer ♦
                                      • May 2005
                                      • 12472

                                      #19
                                      Pretty cool news!

                                      Full Stack Webdeveloper: HTML5/CSS3, jQuery, AJAX, ElevatedX, NATS, MechBunny, Wordpress

                                      Comment

                                      • StuartD
                                        Sofa King Band
                                        • Jul 2002
                                        • 29903

                                        #20
                                        Originally posted by okok
                                        Calm down, goto haters.

                                        Anytime you use a switch statement, you're following a goto pattern without actually using the word goto.
                                        I never said I hate it, I just think they kinda missed the boat by 20 years.
                                        If you can perform goto statements in basic, this should have been an option in PHP in version 1.

                                        This would be like blue ray announcing that the next wave of players will play beta max.

                                        Originally posted by okok
                                        Remember that a knife is dangerous in an idiot's hands but indispensable in a Master Chief's.
                                        I fixed this statement to reflect current times as well
                                        This is me on facebook
                                        This is me on twitter

                                        Comment

                                        • HorseShit
                                          Too lazy to set a custom title
                                          • Dec 2004
                                          • 17513

                                          #21
                                          Originally posted by okok
                                          Calm down, goto haters.

                                          Anytime you use a switch statement, you're following a goto pattern without actually using the word goto.

                                          Remember that a knife is dangerous in an idiot's hands but indispensable in a master chef's.

                                          Comment

                                          • seeandsee
                                            Check SIG!
                                            • Mar 2006
                                            • 50945

                                            #22
                                            i like GOTO!
                                            BUY MY SIG - 50$/Year

                                            Contact here

                                            Comment

                                            • ianlester
                                              Confirmed User
                                              • Sep 2007
                                              • 207

                                              #23
                                              rofl this will actually be a useful feature for once.
                                              Adnium - CPMv Adnetwork

                                              Comment

                                              • Varius
                                                Confirmed User
                                                • Jun 2004
                                                • 6890

                                                #24
                                                Originally posted by StuartD
                                                This would be like blue ray announcing that the next wave of players will play beta max.
                                                That would actually be a feature all those people hanging on to their old beta max tapes who currently own a Blu Ray player would probably enjoy though
                                                Skype variuscr - Email varius AT gmail

                                                Comment

                                                • leek
                                                  Confirmed User
                                                  • May 2008
                                                  • 342

                                                  #25
                                                  Time for me to switch to Python for good.

                                                  Comment

                                                  • Tom_PM
                                                    Porn Meister
                                                    • Feb 2005
                                                    • 16443

                                                    #26
                                                    if (lol && wtf) then
                                                    rofl else goto whatever

                                                    NOP
                                                    43-922-863 Shut up and play your guitar.

                                                    Comment

                                                    • Cyandin
                                                      Confirmed User
                                                      • Aug 2008
                                                      • 1723

                                                      #27
                                                      total QBASIC style.

                                                      I wrote my first and only piece of malware in QBASIC when i was 13. It ran a dummy program, then in the background added a "deltree c:\*.* -y" to autoexec.bat, and another line which i cannot recall, to make the text color in DOS black on black. LOL

                                                      The other thing i wrote took advantage of our first schoolwide ethernet network. Back then, the school used all 3com switches, and had no subenetting - totally flat network. In addition, there were no access permissions either. So I just wrote an app to write x iterations of x filename with x content in the file x number of times to every system on x subnet. I lol'd - the administrators didn't. All in gangsta QBASIC.

                                                      I'm not even going to get into Novell...haha. Man, those were the days.
                                                      Last edited by Cyandin; 02-25-2009, 07:55 AM.

                                                      Comment

                                                      Working...