PHP Bugs  
php.net | support | documentation | report a bug | advanced search | search howto | statistics | login

go to bug id or search bugs for  

Bug #48669 PHP now includes GOTO
Submitted:23 Jun 2009 11:46pm UTC Modified: 4 Aug 2009 6:47pm UTC
From:iwannalive at hotmail dot com Assigned to:
Status:Bogus Category:Reproducible crash
Version:5.3.0RC4 OS:All
Votes:1 Avg. Score:5.0 ± 0.0 Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%) Same OS:1 (100.0%)
View/Vote Developer Edit Submission

[23 Jun 2009 11:46pm 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.
[23 Jun 2009 11:56pm 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

.
[4 Aug 2009 6:47pm UTC] andrei@php.net
goto hell;

RSS feed | show source 

PHP Copyright © 2001-2009 The PHP Group
All rights reserved.
Last updated: Sat Nov 21 10:30:49 2009 UTC