PHP gets goto command

PHP is a widely-used general-purpose scripting language that is especially suited for Web development. The PHP language is very widely used on web sites. Many parts of ePanorama.net site are built using PHP programming language.

PHP programming language finally gets goto command. The goto operator is available as of PHP 5.3. I am not really sure if adding the goto command was a good or bad thing for PHP language. Many programmers think that goto command is potentially dangerous and there is a funny xkcd comic strip warning of the potential dangers of goto command included in official PHP goto command manual page.

PHP logo

6 Comments

  1. Custom PHP says:

    The goto command gives the ability to create some really bad spaghetti code. About 20 years ago I was debugging some such code – what a mess.

    I’m not sure why one would want or need a goto command in a modern language using modern methodologies.

    Reply
  2. Lalkdamn says:

    yoo… love this post!

    Reply
  3. Force Fem says:

    any more posts coming ?

    Reply

Leave a Comment

Your email address will not be published. Required fields are marked *

*

*