![]() According to, PHP 5.5 market share is currently (May 28, 2015) only 9.2%.Requiring PHP 5.5 now would be less disruptive than requiring it later on.īenefits to requiring PHP 5.5 after 8.0.0’s release.PHP 5.5 includes a new password_hash() function we could use to replace our custom phpass fork: #1845004: Replace custom password hashing library with PHP password_hash().Drupal throwing its weight behind this move would be good for the PHP ecosystem. There are also indicators of other developer frameworks outside of our immediate purview adopting PHP 5.5, for example Zend Framework 3, due out in Q3 of this year.An issue has been filed upstream to enquire about the feasibility of lowering the minimum requirement in Guzzle 6 to PHP 5.4. Because of the BC breaks Guzzle 6 introduces, would not be able to upgrade from Guzzle 5 to 6 in a minor release of D8 without breaking our backwards-compatibility policy.Note that we are currently blocked on supporting Guzzle 6 because Goutte (used by Behat/Mink) does not support it.Drupal 8 currently ships with Guzzle 5, which has a lifespan of "At least a year, but happy to continue to merge PRs and tag releases after that as long as v5 is used or needed." according to the author. The author also anticipates this to be the last major version of Guzzle (BC breaks were required due to PSR-7 support). Guzzle 6 ( already released) requires PHP 5.5.We are, however, doing everything in our power to ensure that D8 is forward-compatible by eliminating use of deprecated APIs. Note that Drupal 8.0.0 will not ship with Symfony 3, per #2395443: Follow symfony 2.7 or 3.0., this is the question.Symfony 3.0 ( slated for release in November 2015) will require PHP 5.5.PHP 5.5 includes some nice language features such as try-catch-finally" and being able to use expressions inside of empty(), as well as a built-in opcode cache.By requiring PHP 5.5, we ensure that users cannot install on unsupported versions of PHP that could contain security holes.Benefits to requiring PHP 5.5 before 8.0.0’s release While we can (and will) raise the minimum PHP requirement after 8.0.0's release (ref: #2301501: Explicitly decide and document that mininum requirements for major versions might get raised in minor versions), the question is whether it's worth doing this before 8.0.0 or after, to strike the right balance between minimizing disruption post-8.0.0 and adversely affecting Drupal 8's adoption in the shorter term. If we keep going with the 3-4 year release cycle for major Drupal versions, this will probably be 2021 - 2023. PHP 5.4 (Drupal 8's current minimum requirement) becomes end of life 14 September 2015.ĭrupal 8 will be supported until Drupal 10. PHP 5.5, released June 20 2013, is now 2 years old. It is anticipated that Drupal 8 will come out in 2015.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |