1. Go to this page and download the library: Download antikirra/array-shuffle 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/ */
antikirra / array-shuffle example snippets
ly if the function has not been defined in the global scope
array_shuffle($array, 100500);
// if the function could not be defined globally
\Antikirra\array_shuffle($array, 100500);
// under the hood
\Antikirra\ArrayShuffle\ArrayShuffle::shuffle($array, 100500);