aldas / modbus-tcp-client

PHP client for Modbus TCP and Modbus RTU over TCP (can be used for serial)
Apache License 2.0
191 stars 55 forks source link

TODO: after php 7.4 moves off active support, refactor library to PHP 8.0 features and drop 7.x support. #97

Closed aldas closed 2 years ago

aldas commented 3 years ago

PHP 7.4 active support will end 28 Nov 2021 (security releases by 28 Nov 2022) and next/only active support release is 8.0. After 2021.11 refactor this library to use 8.0 features (mostly for stricter return types) and tag a v3.0 and drop PHP 7.x support.

This should be OK as we have not had new features for a long time so v2 and v3 would be pretty much the same. After that PHP 7.X users will be on v2 and PHP 8+ on v3

https://www.php.net/supported-versions.php