Convert arrays to different format php
Is there is simple and quick way to convert php array from 
 
    Array ( [visits-visit] => Array ( [0] => index [1] => edit [2] => add [3] => delete [4] 
=> search ) ) 

 to 

    Array ( [visits-visit] => Array ( index ,edit ,add ,delete, search ) ) 
?/
Convert arrays to different format php
===

Is there is simple and quick way to convert php array from 
 
    Array ( [visits-visit] => Array ( [0] => index [1] => edit [2] => add [3] => delete [4] 
=> search ) ) 

 to 

    Array ( [visits-visit] => Array ( index ,edit ,add ,delete, search ) ) 
?/