Closed fox91 closed 5 years ago
In my opinion limiting to ^7.1 would severely limit the usability of this library. It should support an as wide as possible/reasonable range of versions. It is up to implementers to set more strict limits.
Actually, this library should be seen the same way as a PSR library. They use PHP >=5.3.0 and for good reason: to allow wide adoption of the standard.
I already had issues with this lib requiring at least 5.6, because our application and our third party's implementation of OpenTracing requires 5.5.
@vasseur-bax if you need 5.5 compatibility you can open a PR for that. I don't think we use too much 5.6 features.
José Carlos Chávez
Den tor. 8. nov. 2018 kl. 12:32 skrev vasseur-bax <notifications@github.com
:
In my opinion limiting to ^7.1 would severely limit the usability of this library. It should support an as wide as possible/reasonable range of versions. It is up to implementers to set more strict limits.
Actually, this library should be seen the same way as a PSR library. They use PHP >=5.3.0 and for good reason: to allow wide adoption of the standard.
I already had issues with this lib requiring at least 5.6, because our application and our third party's implementation of OpenTracing requires 5.5.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/opentracing/opentracing-php/issues/74#issuecomment-436964321, or mute the thread https://github.com/notifications/unsubscribe-auth/AC7sAtMisnUPuLlsemBh--Kqu0pK3-y3ks5utBZQgaJpZM4U947k .
Actually, this library should be seen the same way as a PSR library. They use PHP >=5.3.0 and for good reason: to allow wide adoption of the standard.
Newest PSR library (http-client
and http-factory
) only support PHP >= 7.0!
PHP versions before 5.6 are deprecated (I talk about the support, not how many developers are actually using it). Version 5.6 will be deprecated on 31 December 2018. Version 7.0 will be deprecated on 03 December 2018.
Well, distributed tracing is aim to be used also in monoliths being splited and I think keeping 5.6 for a year or so might help them with that. Once the API is stable nothing is stopping us to write a PHP 7.0 version and cut v2 of the library (not the spec).
José Carlos Chávez
Den tor. 8. nov. 2018 kl. 12:46 skrev Andrea Falco <notifications@github.com
:
Actually, this library should be seen the same way as a PSR library. They use PHP >=5.3.0 and for good reason: to allow wide adoption of the standard.
Newest PSR library (http-client and http-factory) only support PHP >= 7.0!
PHP versions before 5.6 are deprecated (I talk about the support, not how many developers are actually using it). Version 5.6 will be deprecated on 31 December 2018. Version 7.0 will be deprecated on 03 December 2018.
https://en.wikipedia.org/wiki/PHP#Release_history
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/opentracing/opentracing-php/issues/74#issuecomment-436967841, or mute the thread https://github.com/notifications/unsubscribe-auth/AC7sAk62qrmHW8K3R6r5B4yISeGgCwkgks5utBmkgaJpZM4U947k .
Hello,
thanks for a good work with develop this project!
Look at the supported PHP versions: http://php.net/supported-versions.php
Currently 7.1 is in the Security Support period. I don't know how you want to maintain this project, but I suggest to make branch with support for versions < 7.1, and make master for >= 7.1 versions. This allow you to backporting fixes into branch, and maintain the latest PHP version in the master.
@jcchavezs this issue can be close.
BTW, there is an ability to close issues using keywords which you could use in your pull request: https://help.github.com/en/articles/closing-issues-using-keywords
Thanks, good to know.
Numerous updated versions of the frameworks are removing support for earlier versions of PHP.
The most up-to-date frameworks (eg. Zend Expressive, etc.) only support PHP
^ 7.1
.Is there a real need to still support PHP 5.6?
How many people will support OpenTracing support in a legacy PHP 5.6 based application instead of a new (or at least updated) one based on
^ 7.1
?