3v4l.org

run code in 300+ PHP versions simultaneously
<?php $my_array = array(0 =>"Cat", 1=>"Dog", 2=>"Horse"); extract($my_array, EXTR_PREFIX_ALL, "var"); echo $var_0; echo "\n"; echo $var_1; echo "\n"; echo $var_2; echo "\n";
Output for git.master, git.master_jit, rfc.property-hooks
Cat Dog Horse

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
56.5 ms | 1455 KiB | 4 Q