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.
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
RTFM => http://php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc