php-lock / lock

Lock library to provide serialized execution of PHP code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

php 5.4

solodkiy opened this issue · comments

What features of PHP 5.5 do you use?
Is there any way to downgrade PHP version to 5.4 in composer.json?

What features of PHP 5.5 do you use?

Dunno exactly, in the tests I use ::class. But more important I'm using finally to guarantee that the lock will be released after the critical code.

Is there any way to downgrade PHP version to 5.4 in composer.json?

Well sure, you could fork that and refactor the code to work in PHP-5.4. But let me discourage you from doing so. PHP-5.4 has reached its end of life. Please consider upgrading your PHP version.