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

List:       kde-bugs-dist
Subject:    [Bug 276603] New: $this in foreach value is parse error.
From:       jay <jay () jay ! cz>
Date:       2011-06-27 11:43:49
Message-ID: bug-276603-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

           Summary: $this in foreach value is parse error.
           Product: kdevelop
           Version: git master
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Language Support: PHP
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: jay@jay.cz


Version:           git master (using KDE 4.6.2) 
OS:                Linux

foreach( $a as $this->_b ){}

Expected token ")" after $this.


Reproducible: Always

Steps to Reproduce:
<?php
$a = Array( 1, 2);
foreach( $a as $this->_b ){}
?>


Expected Results:  
No error :)

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

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