change something in array recusively


/ Published in: PHP
Save to your folder(s)

change something in array recusively


Copy this code and paste it in your HTML
  1. function myFunc($item, $key) {
  2. if ($key == 'something')
  3. {
  4. $item = // do what you want with $item;
  5. return $item ;
  6. }
  7. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.