1. Go to this page and download the library: Download funkatron/inspekt 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/ */
/**
* Demonstration of:
* - use of static filter methods on arrays
* - creating a cage on an arbitrary array
* - accessing a deep key in a multidim array with the "Array Query" approach
*/
'meet at the bar at 7:30 pm',
'ultimate' => '<strong>hi there!</strong>',
);
$d['lemon'][][][][][][][][][][][][][][] = 'far';
$d_cage = Cage::Factory($d);
var_dump($d_cage->getAlpha('/x/woot/ultimate'));
var_dump($d_cage->getAlpha('lemon/0/0/0/0/0/0/0/0/0/0/0/0/0'));
$x = $d_cage->getAlpha('x');
var_dump($x);
$x = $d_cage->getAlpha('input');
var_dump($x);