PHP code example of eznio / ar

1. Go to this page and download the library: Download eznio/ar library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

eznio / ar example snippets


function get(array $array, string $path);
function each(array $array, callable $callback)
function filter(array $array, callable $callback)
function reject(array $array, callable $callback)
function map(array $array, callable $callback)
function reduce(array $array, callable $callback, mixed $initialValue)
function sort(array $array, string $elementPath)
function is1d(array $array)
function is2d(array $array)