#48669 [Bgs]: PHP now includes GOTO

From: Date: Tue, 04 Aug 2009 18:47:50 +0000
Subject: #48669 [Bgs]: PHP now includes GOTO
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-140657@lists.php.net to get a copy of this message
 ID:               48669
 Updated by:       andrei@php.net
 Reported By:      iwannalive at hotmail dot com
 Status:           Bogus
 Bug Type:         Reproducible crash
 Operating System: All
 PHP Version:      5.3.0RC4
 New Comment:

goto hell;


Previous Comments:
------------------------------------------------------------------------

[2009-06-23 23:56:29] derick@php.net

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php

.

------------------------------------------------------------------------

[2009-06-23 23:46:57] iwannalive at hotmail dot com

Description:
------------
PHP 5.3 includes goto. This is a problem. Seriously, PHP has made it
this far without goto, why turn the language into a public menace?

Reproduce code:
---------------
<?php
goto a;
echo 'Foo';
 
a:
echo 'Bar';
?>


Expected result:
----------------
The world will end.

Actual result:
--------------
The world ended.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=48669&edit=1



Thread (8 messages)

« previous php.bugs (#140657) next »