I needed to convert array values into variables using an extract function. I have an array with numeric keys as shown:
$my_array = array(0 =>"Cat", 1=>"Dog", 2=>"Horse");
extract($my_array);
How can I use numeric keys as variable names to access values?