Bug 104939

Summary: Classes Tab and Function Menubar Pulldown doesn't understand PHP5 features
Product: [Applications] kdevelop Reporter: Richard Fujimoto <rfujimoto>
Component: Language Support: PHPAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Richard Fujimoto 2005-05-02 00:45:34 UTC
Version:           3.2.0 (using KDE 3.4.0, Gentoo)
Compiler:          gcc version 3.4.3-20050110 (Gentoo Linux 3.4.3.20050110-r2, ssp-3.4.3.20050110-0, pie-8.7.7)
OS:                Linux (i686) release 2.6.11-ck4

When working on a PHP project, KDevelop does not recognize PHP5's new options.

Steps to Reproduce:

1. Create a new PHP project.
2. Create a new file with the following code:
<?php
class MyClass
{
    private $myPrivateVar;
    var $myvar;
    function __construct() {}
    public function someVar() {}
    private function getSomeVar() {}
}
?>
3. click on the tab "Classes" on the left side.
4. Expand the class named MyClass

You will only see one function (__construct) and one member (myvar) but not anything prefixed with public, private or protected.  If you try to use the function pulldown menu in the menubar, the problem is there as well.

This problem is also seen with abstract classes and interfaces.

For more PHP5 information, please see this page: http://www.php.net/manual/en/language.oop5.php
Comment 1 Jens Dagerbo 2005-05-04 12:42:38 UTC
KDevelop doesn't support PHP5 yet. There is an open wish for it, which makes this a dupe.

*** This bug has been marked as a duplicate of 74118 ***