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 122015 - [verification] 'if' operator without action
Summary: [verification] 'if' operator without action
Status: RESOLVED INVALID
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomasz Slota
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-15 14:56 UTC by kozlov
Modified: 2008-08-08 09:01 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 kozlov 2007-11-15 14:56:56 UTC
Reproduced in build071115.

This code is valid from the php interpreter  point of view.

<?php

            if ($sdf==1)

?>
Comment 1 Denis Anisimov 2007-11-21 09:59:09 UTC
This is very corner case and looks like bug in original PHP parser.
So it can be postponed.
Too risky to fix now.
Comment 2 kozlov 2007-12-04 15:30:14 UTC
So we open it.
Comment 3 Tomasz Slota 2008-06-10 12:43:17 UTC
This issue is still valid. If the parser is not able to detect it it could be implemented in the verification component. 
Comment 4 polan 2008-08-08 09:01:39 UTC
This is valid PHP code. No need to fix anything.