[ https://issues.apache.org/jira/browse/NETBEANS-1563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated NETBEANS-1563: ------------------------------------- Labels: pull-request-available (was: ) > 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 > Labels: pull-request-available > 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: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists