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 268145 - Nowdoc - unexpected: End of File
Summary: Nowdoc - unexpected: End of File
Status: RESOLVED INVALID
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: Dev
Hardware: PC Windows 10 x64
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-22 03:02 UTC by amobilia
Modified: 2016-09-22 03:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Example code (179 bytes, application/octet-stream)
2016-09-22 03:02 UTC, amobilia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description amobilia 2016-09-22 03:02:59 UTC
Created attachment 162165 [details]
Example code

Product Version = NetBeans IDE Dev (Build 201609210002)
Operating System = Windows 10 version 10.0 running on amd64
Java; VM; Vendor = 1.8.0_101
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.101-b13


Add a content to a var using the nowdoc style.
Don't add a new line after the closure tag.

An error is displayed Syntax error : unexpected:	End of File

Add a new line after the nowdoc closure, error disappears