title: replace all keys in php array
body: <p>This is my array:</p>
  
  <pre><code>['apple']['some code'] 
  ['beta']['other code']
  ['cat']['other code 2 ']
  </code></pre>
  
  <p>how can I replace all the "e" letters with "!" in the key name and keep the values
  so that I will get something like that</p>
  
  <pre><code>['appl!']['some code'] 
  ['b!ta']['other code']
  ['cat']['other code 2 ']
  </code></pre>
  
  <p>I found this but because I don't have the same name for all keys I can't use It</p>
  
  <pre><code>$tags = array_map(function($tag) {
      return array(
          'name' =&gt; $tag['name'],
          'value' =&gt; $tag['url']
      );
  }, $tags);
  </code></pre>