fork(2) download
  1. <?php
  2. $array = array('bio'=>array('info'=>array('cash'=>'50')));
  3. function printFind($item, $key){
  4. if($key == 'cash'){
  5. echo $item;
  6. }
  7. }
  8. array_walk_recursive($array,'printFind');
  9.  
Success #stdin #stdout 0.01s 82880KB
stdin
Standard input is empty
stdout
50