title: PHP - array key within array value
body: <p>I have a PHP array like this:</p>
  
  <pre><code>$arr = array(
    'id'     =&gt; 'app.settings.value.id',
    'title'  =&gt; 'app.settings.value.title',
    'user'   =&gt; 'app.settings.value.user'
  );
  </code></pre>
  
  <p>I want to remove '.id', '.title' and '.user' in the array values. I want to insert the key of this array at the end of the value. I know, that I can get an array key by passing an array and a value to 'array_search', but I want the key within this one array definition - at the end of it's value. Is this possible?</p>