-
Notifications
You must be signed in to change notification settings - Fork 801
PHP-functions each() and create_function() have been deprecated #747
Comments
|
@shaneiseminger Have same issue |
setDirectives() in Zend\Cache\Backend.php have to be modified too: foreach ($directives as $name => $value) { |
What is the goal on this ticket? Has anyone created a 7.2 public forked project that these can be contributed to? Or is it just for everyone to maintain their own forks? |
Never mind, just saw the discussion on discourse. |
Please take a look at https://github.com/zf1s - a “composeable” zf1 with some fixes added. All components are available on packagist.org with zf1s/ namespace and we are still keeping php 7.2+ compatibility. |
@unhawkable https://github.com/zf1s is a fork of https://github.com/zf1 Is / will it be (better) maintained? Is @deadbeef84 involved in this as well? Mmm, seems I already asked this, 🤓 zf1/zend-application#2 (comment) |
Sorry guys, I'm no longer involved in the PHP community; also I never intended to maintain this fork apart from mirroring the official library. Since zf1 reached its EOL more than 1½ year ago, I think it's about time to look for other frameworks 😁. If there's anyone willing to take over and maintain this repo, let me know and I'll consider it. |
The PHP-functions each() and create_function() have been deprecated as of PHP 7.2.0, but are still used in ZF1:
So each() should be replaced by foreach() which is also 10 times faster or key()/current()/next().
Note
As ZF1 reached its End of Life, please note it here, if you forked ZF1 with PHP 7.2 Support.
The text was updated successfully, but these errors were encountered: