php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  login
Bug #48669 PHP now includes GOTO
Submitted: 2009-06-23 21:46 UTC Modified: 2009-08-04 16:47 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: iwannalive at hotmail dot com Assigned:
Status: Bogus Package: Reproducible crash
PHP Version: 5.3.0RC4 OS: All
 [2009-06-23 21:46 UTC] 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.

Patches

Add a Patch

History

AllCommentsChangesSVN commits
 [2009-06-23 21:56 UTC] 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-08-04 16:47 UTC] andrei@php.net
goto hell;
 [2010-05-07 12:41 UTC] anil at ozselgin dot com
It makes php more buggy and suitable only for small programs. Is there anybody out there like readable code.
 [2010-07-13 23:02 UTC] risto78 at gmail dot com
sounds like a valid bug to me ;)
 
PHP Copyright © 2001-2010 The PHP Group
All rights reserved.
Last updated: Wed Sep 01 21:05:06 2010 UTC