Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Port it to a modern language so PHP can finally die, add support for PostgreSQL and MS SQL


Some of us like PHP. I'd even go so far to say there are dozens of us... DOZENS!


If all you're worried about is Core: https://apps.peachpie.io/Item?id=PeachPied.WordPress.AspNetC...

> All of WordPress as a .NET Standard assembly, without PHP.

Mentions both performance and security benefits.


I've not played with it yet but I've heard good things about the newest version of PHP, could anyone confirm?


There is a bunch of relatively new stuff in place that really help: Enums, match, readonly (classes), attributes for metadata, union types in function signatures (very useful), improved destructuring. Also some issues with traits and interfaces have been resolved since a while.

Those kind of changes are good for PHP, because they give you more tools to write compact, simple code that plays nicely with some of the legacy builtins/libraries and so on. It's remarkable how much it has been improving.

However, it's still a clunky language, because almost every feature has its weird caveats and limits that a more modern, well designed language just doesn't have.


not a fan of php either but I wouldn't go that far. I'd love to see it reimplemented with modern conventions over Laravel. As much as i dislike php in general, I have to admit the laravel guys have done some amazing stuff.


Absolutely love Laravel!!


Care to point out what bothers you in the latest versions of PHP?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: