Posted By

onefastsnail on 05/24/12


Tagged


Versions (?)

delete from array


 / Published in: Other
 

  1. #an reorder index too
  2.  
  3. $arr = array_merge(array_diff($arr, array("yellow", "red")));
  4.  

Report this snippet  

You need to login to post a comment.