1. Go to this page and download the library: Download yuseferi/zhilify 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/ */
yuseferi / zhilify example snippets
$arr = array(
'first' => 'Ali',
'last' => 'Tajikofsky',
'skills' => array('tabaify','RPG-7','django','linux'),
'hobbies' => array('game' => 'cod4', 'instrument' => 'electric-guitar'),
);
// Dump out the array, short and long versions
zh($arr);
zhilify($arr);
// Output the array and then exit();
zhd($arr);
// Output the Expanded array and then exit();
zhd($arr,'e'); // or zhd($arr,'expand');
// Output the array with all nodes expanded
zh($arr, 'e'); // or zh($arr, 'expand');
// Output sorted the array with all nodes expanded
zhs($arr); // s stand for sorted
// The object based method
$zhilify = new Zhilify;
$zhilify->dump($arr);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.