Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 332776

Summary: Fails on a goto
Product: z_Archived Reporter: woffy613
Component: PDTAssignee: PHP Debug <php.debug-inbox>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P2 CC: klwemu, silviya, zulus
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description woffy613 CLA 2010-12-16 13:05:25 EST
Build Identifier: 20100617-1415

here is a code example:

<?php
goto foo;
.
.
.
foo: //gives error" unexpected :"

Reproducible: Always

Steps to Reproduce:
1.Any program with a goto will give this error.  The programs will run in a browser.
2.I have tried "Run as PHP script" and "Run as PHP Web Page".
3.
Comment 1 Klaus Muckenhuber CLA 2012-03-07 02:49:35 EST
That is also on Win PC.
Comment 2 Klaus Muckenhuber CLA 2012-03-21 06:39:12 EDT
eclipse does not support php comnplete. Failed to handle "goto"

Better: use Netbeans
Comment 3 Dawid Pakula CLA 2014-05-04 12:20:24 EDT
As I see, current PDT version (3.3) haven't this error.
Comment 4 Sylvia Tancheva CLA 2015-06-02 10:35:12 EDT
Verified. Looks OK in current 3.5. Closing