This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Does Kdevelop Support PHP7?

Tags: None
(comma "," separated)
User avatar
nshiell
Registered Member
Posts
18
Karma
0

Does Kdevelop Support PHP7?

Mon Sep 04, 2017 3:46 pm
I just wrote the following code in KDevelop:

Code: Select all
<?php

function function_with_return_deceleration(): int
{
    return 1;
}

var_dump(function_with_return_deceleration());


It is good PHP 7, however Kdevelop's parser doesn't work with it.
Kdevelop 5.0.4 doesn't seem to know about PHP 7?

Is this something that is known. should I file a bug report or something?
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS

Re: Does Kdevelop Support PHP7?

Tue Sep 12, 2017 3:09 pm
KDevelop 5.0.4 is quite old. Try with 5.1.2, or master / nightly. Looking at the kdev-php log, it seems like some PHP7 features have been implemented since.

That said, kdev-php does not have a huge lot of manpower, and help in keeping it up-to-date is always welcome :)


I'm working on the KDevelop IDE.


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]