Currently, not all hosting companies support PHP7.3, let alone PHP7.4
I think we need to look into the future to be sure that at the time of release most hosts will supported PHP7.4
I think there is no reason to use not supported version as a requirement. PHP 7.3 will be the oldest version that is still actively supported when Yii 3 will be released. I suggest to use 7.3 as a minimal requirement.
And on the other hand we have some features of php 7.4 like typed properties which will accelerate framework development and reduce bugs. And it is the reason to use 7.4 as a minimal requirement.
As a conclusion I suggest to use 7.4 as a requirement because the most of projects built on top of Yii 3 will be new projects not limited with old php versions.
I’m now moving to the company with php 7.1 and monolith with Yii2. They want to update php version, and I’ll suggest to use php 7.4 and to separate some functionality into services built with Yii3.
I am for raising requirements to php 7.4. Yii 3 is still in development and until it becomes stable, the latest version of php will be used everywhere. It will not be like with yii 2 when the framework has become stable, the minimum supported version of php 5.4 is out of date.
Up to 7.4 for what? I think nobody wants to rewrite the whole codebase introducing typed properties and return types and debug the whole thing afterwards. Dude, Yii3 was making good progress. OK well, let’s start again from scratch.
OK, that would mean rather small changes.
But introducing strict data types is no easy task. I did this one time for a bigger Groovy program. I had to fix runtime errors for month. I regret starting the whole refactoring project in the first place. Runtime improvements were reather small. You never know when a type mismatch error will be introduced, especially when supporting mudules and extentions that access the framework’s API.
Most of the db stuff and some older files are not in strict type mode or show typed properties / typed properties 2.0. Will all these remaining files be updated and Yii3 will than become 100% strict typed?