Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
PHP 8.1.25 (php.net)
58 points by ms7892 on Oct 28, 2023 | hide | past | favorite | 17 comments


Is there something i am supposed to be looking at here? Seems like a pretty minor bugfix release.


>Seems like a pretty minor bugfix release

It is. PHP 8.1 enters security support phase in about a month, so it's likely the final release of active support era.

I run a multi-version PHP + Nginx server for a CMS project I'm involved with, which involves obtaining & compiling from source on a regular basis. This is just another scheduled (every 4 weeks) patch release.


I guess there will be one last release towards Nov 23, because I'm already seeing some activity (https://github.com/php/php-src/commits/PHP-8.1/).


Yes, you're right. I stand corrected! It'll be tagged on Nov 21 and released Nov 23, if the current schedule doesn't change.

I assume the security changes will use the branch you linked above, so there will likely be more activity until EOL in late Nov 2024.


Trying FrankenPHP now instead of nginx + phpfpm for the first time for a new project, since its being pushed hard as hell by the Symfony guys, especially Kevin Dunglas. Fingers crossed!


Interesting. I hadn’t seen this before. What are your experiences?


Does anyone have recommendations for dev environments (linting, formatting, type checking), frameworks, etc for modern php development?

I used it a lot a decade ago and want to get back into it. My project is essentially styling/rendering the contents of a database to the page. I'd like to make it SPA-ish, so I'm not sure if php still makes sense. Do people use react or any other component based front end framework on top of a pho backend?


I’m on (neo)vim forever - Mason makes installing LSP, linting, etc very easy. Most devs I’ve worked with have been VSCode these days.

As for frameworks, I’ve found that Laravel+Inertia works really well for a PHP web app with a dynamic frontend. My experience was with Vue, and I really enjoyed it. Laravel is a solid backend framework and Intertia does a great job of gluing it to Vue


Im currently using Symfony backends with Vue as frontend, works pretty well.

As IDE i used VSCode but now I switched to IntelliJ Idea 2 months ago in order to try out a more “serious” IDE. The code completion and code navigation are much better but some things like quick search are slower but overall it feels more solid.


I'd look into AppSmith, Budibase or any other low-code tools. IMO, they hit a sweet spot for me.


Mildly relevant, PHP 8.3 to be released on November 23rd.


Some interesting changes in this release, too:

https://php.watch/versions/8.3


This is one of the weakest releases in like a decade. It’s disappointing that they delayed class getters and setters for another year. Php is my favorite language and would love to see more and more features.

What I want the most is scalar data types as objects (like calling string and array functions as instance methods) but no one seems to be talking about this.



I wonder when they will add a fallback value as a second param to getenv()


Friendly reminder that none of the PHP 4,5, AND 7 series receive active security support, and are EOL.

PHP 7.4 still receives some updates from LTS vendors, and PHP 8.0 reaches EOL Nov 23rd.


Php/fi !!! ;)




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

Search: