Remove php ext from array