3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(10,1234,144,2,101,231,213); $out = array_map(function ($v) { return implode('/', str_split($v)) . "/$v.txt"; }, $a); print_r($out);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => 1/0/10.txt [1] => 1/2/3/4/1234.txt [2] => 1/4/4/144.txt [3] => 2/2.txt [4] => 1/0/1/101.txt [5] => 2/3/1/231.txt [6] => 2/1/3/213.txt )

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:
26.57 ms | 405 KiB | 5 Q