Bug 104939 - Classes Tab and Function Menubar Pulldown doesn't understand PHP5 features
Summary: Classes Tab and Function Menubar Pulldown doesn't understand PHP5 features
Status: RESOLVED DUPLICATE of bug 74118
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: PHP (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-02 00:45 UTC by Richard Fujimoto
Modified: 2013-03-31 01:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***