Hey,
Nice write up. If the applications can work on 5.3, there will not be much problems to upgrade to the latest versions of PHP.
May be all library owners should consider upgrading the php versions of libraries and force people to update the apps to latest versions. Then there is a question of how to overcome the legacy applications. We should provide an alternative library which works with the latest version.
Eg : we have password_ functions for less than 5.5. Like that we should replace other functions which can make use of the 5.5 functionality .
Thoughts ?
Hey @iansltx ,
Just wanted to comment if we are not missing each other. I wasn't saying to make use of something like https://github.com/igorw/galapagos . Trait already supported ( igorw/galapagos#6 ) .
What I was trying to express was many of the users don't move to latest versions because some of the functions in 5.2 may be deprecated in 5.3 and later being removed. As an eg: http://php.net/manual/en/function.ereg-replace.php this is a simple function which can be build with http://php.net/manual/en/function.preg-replace.php
There are many other functions probably cannot be addressed properly like this. So if there is a library which can provide the functionality probably the transmission can be much easier and they could eventually update the code.