title: Changing value of an Array
body: <p>I want to change the value of an array without loop-</p>
  
  <p>Example code:</p>
  
  <pre><code>&lt;?php
      //current array
      $ids = array('1113_1', '1156_6', '1342_16', '1132_3', '1165_2');
  
      //result should be looks like this
      $ids = array('1113', '1156', '1342', '1132', '1165');
  ?&gt;
  </code></pre>
  
  <p>is it possible to do it without any loop?</p>