#51164 [Opn->Bgs]: goto parser error
| From: | rasmus@php.net | Date: | Sat, 27 Feb 2010 08:11:17 +0000 |
| Subject: | #51164 [Opn->Bgs]: goto parser error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-148106@lists.php.net to get a copy of this message | ||
ID: 51164
Updated by: rasmus@php.net
Reported By: vijayaragunathan at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: *General Issues
Operating System: xp
PHP Version: 5.2SVN-2010-02-27 (SVN)
New Comment:
goto was introduced in 5.3. You are using 5.2.
Previous Comments:
------------------------------------------------------------------------
[2010-02-27 07:29:08] vijayaragunathan at gmail dot com
Description:
------------
<?php
goto a;
echo 'Foo';
a:
echo 'Bar';
?>
Reproduce code:
---------------
---
From manual page: http://www.php.net/control-structures.goto
---
Expected result:
----------------
The above example will output:
Bar
Actual result:
--------------
Parse error: parse error
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=51164&edit=1