[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 284875] New: php syntax highlighting is missing "nowdoc" syntax
From:       H.H. <cyberbeat () gmx ! de>
Date:       2011-10-24 15:34:34
Message-ID: bug-284875-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=284875

           Summary: php syntax highlighting is missing "nowdoc" syntax
           Product: kdevelop
           Version: 4.2.60
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: cyberbeat@gmx.de


Version:           4.2.60 (using KDE 4.7.2) 
OS:                Linux

for nowdoc syntax please see

http://www.php.net/manual/de/language.types.string.php#language.types.string.syntax.nowdoc

Reproducible: Always

Steps to Reproduce:
example from above page

<?php
$str = <<<'EOD'
Example of string
spanning multiple lines
using nowdoc syntax.
EOD;

/* More complex example, with variables. */
class foo
{
    var $foo;
    var $bar;

    function foo()
    {
        $this->foo = 'Foo';
        $this->bar = array('Bar1', 'Bar2', 'Bar3');
    }
}

$foo = new foo();
$name = 'MyName';

echo <<<'EOT'
My name is "$name". I am printing some $foo->foo.
Now, I am printing some {$foo->bar[1]}.
This should not print a capital 'A': \x41
EOT;
?>

Actual Results:  
syntax highlighting is wrong

Expected Results:  
syntax highlighting should be correct

OS: Linux (x86_64) release 2.6.37.1-1.2-desktop
Compiler: gcc

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic