PHP code example of dcwq / array-helper
1. Go to this page and download the library: Download dcwq/array-helper 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/ */
dcwq / array-helper example snippets
use dcwq\ArrayHelper;
$flattenArray = ArrayHelper::flatten([1, [2, [3], 4], 5], 1);
bash