Bug 379499 - Missing support for PHP7 features
Summary: Missing support for PHP7 features
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: PHP (show other bugs)
Version: 5.1.0
Platform: unspecified Unspecified
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
: 383133 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-05-04 07:28 UTC by Jan Pavlicek
Modified: 2021-02-18 07:10 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
How PHP7 features are treated now (32.92 KB, image/png)
2017-05-04 07:28 UTC, Jan Pavlicek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Pavlicek 2017-05-04 07:28:27 UTC
Created attachment 105335 [details]
How PHP7 features are treated now

Hello,

please add support for PHP7 features to kdevelop-php. The most important (from my point of view, which is not objective) are the return type specification for methods and scalar type definition for method arguments. There are also multiple other new language constructs which would also be great, but these two prevent from developing PHP7 applications in kdevelop.

http://php.net/manual/en/migration70.new-features.php

Thank you!
Comment 1 Kevin Funk 2017-08-07 07:29:31 UTC
Related tickets:

Ticket for PHP7 IIFE: https://bugs.kde.org/show_bug.cgi?id=370515
Ticket for PHP7 coalesce operator: https://bugs.kde.org/show_bug.cgi?id=383133
Comment 2 Anon 2017-08-07 09:57:39 UTC
*** Bug 383133 has been marked as a duplicate of this bug. ***
Comment 3 Anon 2017-09-05 11:42:41 UTC
I understand that the pressures do not help, but I've spent a lot of time using kdevelop for php developments and the lack of support for php7 is a big problem.

The last time I programmed in C++ was in 1995, if I could contribute something, I would get myself involved in the project.

Thank you.
Comment 4 Kevin Funk 2017-09-05 11:57:56 UTC
Did you try the KDevelop 5.2 AppImage from the nightly build section as suggested?

KDevelop 5.2 will have better PHP7 support, but it's not yet released.

See: 
  https://www.kdevelop.org/download -- section 'nightly builds'
Comment 5 Anon 2017-09-06 09:51:07 UTC
I use this repository that is updated monthly:
https://bugs.launchpad.net/~blaze/+archive/ubuntu/kf5

I'll try the AppImage. Thank you.
Comment 6 Anon 2017-09-06 18:00:17 UTC
This bug: https://bugs.kde.org/show_bug.cgi?id=383133
Is solved in current nightly build appimage.

Is there a release date for version 5.2?
Comment 7 Alexander Opitz 2019-11-21 12:56:13 UTC
IMHO this issue can be closed as resolved, as the mentioned PHP7 features are working for me with KDevelop 5.4.4