The evil PHP array functions give developers the pain of:
- Some functions requires array first, but some functions require array last...
- Some functions returns result, but some functions modify referenced variables...
- Code was line-break because since it is a function...
- Each function has different parameters to the callback function...
- No modern functions using arrays. Such as
every,some
I created this library to solve these problems and make code flow like js-array
For a detailed description, Click here (GitBook)
You can use this library with composer.
- Go to Packagist
You can run the performance benchmarks using the following commands:
.\vendor\bin\phpbench run --report=expression --output=json > .\tests\benchmarks_result.json
php .\tests\benchmarks_result_to_markdown.phpYou can check out the full license here
This project is licensed under the terms of the MIT license