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 132736 - Syntax error after <?php//
Summary: Syntax error after <?php//
Status: CLOSED INVALID
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: issues@php
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-14 12:31 UTC by Victoria Zhukovskaya
Modified: 2008-04-17 12:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victoria Zhukovskaya 2008-04-14 12:31:46 UTC
Build #2021 (Apr 14, 2008 7:34:35 AM)

Src:

        <?php//
echo "111";  

Result
There is message about  string with echo  has syntax error
Comment 1 Petr Pisl 2008-04-16 16:09:32 UTC
Yes, but there is really the error. Try to run such page. Sure you have to close the php block:). If I try to run such
page I get "Parse error: syntax error, unexpected T_ECHO in /var/www/PhpProject28/test.php on line 2 ". Which means that
our parser reflects the runtime correctly. 

Comment 2 Petr Pisl 2008-04-16 16:11:03 UTC
I'm closing this issue as invalid. Please reopen the bug if I miss something.
Comment 3 Victoria Zhukovskaya 2008-04-17 12:57:56 UTC
Build 2008-04-17_09-24-42

Yes
I see that it is Parse error
I agee with invalid status. 
I close the issue