lag / array-utils
PHP array utils functions
Installs: 3 888
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 0
Open Issues: 1
Requires
- php: >=5.4
Requires (Dev)
- phpunit/phpunit: 4.7.*
This package is not auto-updated.
Last update: 2024-10-26 19:21:31 UTC
README
PHP array utils functions
This component provide a PHP static class for array utils functions and expose these as regular PHP functions.
Static class usage:
use
...
$array = [1, 2, [1, 2, 3, 4]];
$arrayAsString = ArrayUtils::recursiveImplode(', ', $array);
// 1, 2, 1, 2, 3, 4
...
Regular function usage:
$array = [1, 2, [1, 2, 3, 4]];
$arrayAsString = recursiveImplode(', ', $array);
// 1, 2, 1, 2, 3, 4