Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 332776 - Fails on a goto
Summary: Fails on a goto
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P2 major with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: PHP Debug CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-16 13:05 EST by woffy613 CLA
Modified: 2020-05-14 11:08 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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