This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 167384 - Control structure goto
Summary: Control structure goto
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@php
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-19 17:57 UTC by lneme
Modified: 2010-09-17 05:30 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lneme 2009-06-19 17:57:14 UTC
Netbeans cannot recognize control structure goto.
Comment 1 Filip Zamboj 2009-06-22 15:33:04 UTC
Could you more specify, please? Thanks
Comment 2 lneme 2009-06-23 17:17:49 UTC
http://php.net/manual/en/control-structures.goto.php
Example:

<?php
goto a; // Netbeans thinks that this is syntax error
echo 'Foo';
 
a: // and this is syntax error too
echo 'Bar';
?>
Comment 3 rmatous 2009-06-23 19:40:42 UTC
The goto operator is available as of PHP 5.3.
1. PHP 5.3. isn't released yet
2. NB 6.7 doesn't support PHP 5.3
3. NB 6.8 plan includes PHP 5.3 as its top priority

So, if you wish to play with PHP 5.3 preview, then you can use daily builds of 6.8 (but note its still in process of
development far from final release yet), we will wait for your feedback 


http://bertram.netbeans.org/hudson/job/PHP-build/ 
Comment 4 Filip Zamboj 2010-09-15 12:29:15 UTC
batch reassigning