[
https://issues.apache.org/jira/browse/NETBEANS-1563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16665355#comment-16665355
]
Los Vitaly edited comment on NETBEANS-1563 at 10/26/18 4:10 PM:
----------------------------------------------------------------
I add new screenshot mytest.png
My netbeans 10 display error on first example too
was (Author: vitalykk1983):
I add new screenshot mytest.png
My netbeans 10 display error on this example too
> Error while parsing HEREDOC
> ---------------------------
>
> Key: NETBEANS-1563
> URL: https://issues.apache.org/jira/browse/NETBEANS-1563
> Project: NetBeans
> Issue Type: Bug
> Components: php - Editor
> Affects Versions: 10.0
> Reporter: Los Vitaly
> Assignee: Junichi Yamamoto
> Priority: Blocker
> Attachments: heredoc.png, heredoc1.png, mytest.png
>
>
> Reproducible code:
> {code:java}
> <?php
> $code = <<<EOF
> if(!isset(\$routes[\$pathinfo])) { // Syntax error unexpected: String
> after: ]
> break;
> }
> EOF;
> {code}
> Same error in Laravel project in vendor directory. Full path
>
> /var/www/html/laravel/vendor/symfony/routing/Matcher/Dumper/PhpMatcherDumper.php
> And the same errors in Composer library
> {code:java}
> $code .= <<<EOF
> default:
> \$routes = array(
> {$this->indent($default, 4)} );
> if (!isset(\$routes[\$pathinfo])) { // Syntax error unexpected: String
> after: ]
> break;
> }
> list(\$ret, \$requiredHost, \$requiredMethods, \$requiredSchemes) =
> \$routes[\$pathinfo];
> {$this->compileSwitchDefault(false, $matchHost)
> }
> EOF;
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists