NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
PHP 8.1 support


Joined: 01 Aug 2014
Posts: 37
Reply with quote
hi,

do you think PHPEd will support PHP 8.1 debugging immediately upon its final release, or there will be some sort of delay before PHPEd is compatible with 8.1?

Thanks!
View user's profileFind all posts by temuri416-v2Send private message
Site Admin

Joined: 13 Jul 2003
Posts: 8246
Reply with quote
php-8.1 is already supported by next version beta, so if php developers don't break something in the binary API before the release, there won't be any delays on our side.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 01 Aug 2014
Posts: 37
Reply with quote
Thanks, dmitri. so how does it look - can we expect an update soon?
View user's profileFind all posts by temuri416-v2Send private message
Site Admin

Joined: 13 Jul 2003
Posts: 8246
Reply with quote
php-8.1 failed to build on some platforms. Turning off fiber-asm resulted in yet another error. Probably we'd better wait for 8.1.1 or 8.1.2.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Site Admin

Joined: 13 Jul 2003
Posts: 8246
Reply with quote
UPDATE -- still no luck with 8.1.1RC1 version made available for testing on Dec 3
Also we have to make some changes in the IDE to provide better support for enums introduced in php-8.1 -- they are like classes rather than just C-style enums

Code:
enum HTTPStatus: int {
    case OK = 200;
    case ACCESS_DENIED = 403;
    case NOT_FOUND = 404;

    public function label(): string {
        return static::getLabel($this);
    }

    public static function getLabel(self $value): string {
        return match ($value) {
            HTTPStatus::OK => 'OK',
            HTTPStatus::ACCESS_DENIED => 'Access Denied',
            HTTPStatus::NOT_FOUND => 'Page Not Found',
        };
    }
}

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 09 Feb 2017
Posts: 18
Reply with quote
Good luck with attuning.
Really hope for a release soon, PHP 8.1 improvements are SO good that porting some projects to be totally 8.1+ only seems a good thing.
View user's profileFind all posts by Alex/ATSend private message


Joined: 01 Aug 2014
Posts: 37
Reply with quote
hi dmitri,

is there any estimate on when 8.1 support becomes available?

thanks!
View user's profileFind all posts by temuri416-v2Send private message
Site Admin

Joined: 13 Jul 2003
Posts: 8246
Reply with quote
I'm sorry for delay. Next version is going to support something more than just php-8.1. This is why we need a little bit more time to finish. If you use built-in Terminals, DB Client or Browser, you will appreciate new features we're developing. Also there are some updates related to built-in browser and supported php framework versions. Stay tuned.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 01 Aug 2014
Posts: 37
Reply with quote
great, thanks for an update.

I tried hard to like PHPStorm - it's just an overcomplicated pile of features. Makes me appreciate PHPEd even more.

looking forward to the new release.
View user's profileFind all posts by temuri416-v2Send private message
Site Admin

Joined: 13 Jul 2003
Posts: 8246
Reply with quote
Thank you. Recently I myself have been working in some other IDE to code Java in another project and I have to say I don't like it at all. Nevertheless, I found some features that I think would make PhpED better.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 01 Aug 2014
Posts: 37
Reply with quote
ahhh, dmitri...

you just have to ask us about the features that would make PHPEd better.
View user's profileFind all posts by temuri416-v2Send private message


Joined: 30 May 2006
Posts: 80
Reply with quote
temuri416-v2 wrote:
ahhh, dmitri...
you just have to ask us about the features that would make PHPEd better.

Good idea.
Some companies collect ideas from users (poll) and depending on available resources over time they implement most upvoted, like this hosting https: //www.vas-hosting.cz/ideas/
View user's profileFind all posts by lubosdzSend private message
PHP 8.1 support
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 3  

  
  
 Reply to topic