I discovered some time ago that the GOTO control keyword was introduced in PHP 5.3.0.http://php.net/manual/en/control-structures.goto.phpWhy did it happen? What are the language design goals behind this? Did the PHP developers community asked for it?
Why was GOTO included in PHP 5?
php;language design;control structures;goto;structured programming
The person responsible gives the reason for adding it in this blog post.[T]he project I was working on (and may pick back up someday) was a  workflow based site builder [] for making dynamic websites without  knowing a programming language. You build up all the meta-information  about how your site should run, then the site-builder compiles that  into PHP code thatll run on the actual server.It can be done without GOTO, but the resulting logic for the  particularly complex bits of business logic become much simpler with  it.In PHP's defence, it only lets you jump to labels within a limited scope, which limits the harm that can be done.(You might also argue that given the way PHP has apparently absorbed every construct from every programming language ever invented, the addition of goto was simply inevitable)