Miscellaneous polyfills for older PHP versions
Miscellaneous polyfills for older PHP versions. This library should run on any PHP5 versions or later. At the time being it contains some polyfills for PHP5.4 and PHP5.5. However it is being actively developed and new polyfills will be added from time to time.
composer require adhocore/php-polyfills
Please see the native counterpart (linked below) for the documentation and usage.
- array_column - native
and more to come by
The tests for this library runs with latest PHP version and asserts against the native implementation to ensure that the polyfills this library provides are compatible as much as possible.
To run the tests: