3v4l.org

run code in 300+ PHP versions simultaneously
<?php $txt = "nmzdmfn,456,789~012,345~678!!!901~234!!!567~890!!!1234~5678"; foreach(explode(",",$txt) AS $key => $subarray) { $array[$key] = explode("~",$subarray); } print_r($array);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => Array ( [0] => nmzdmfn ) [1] => Array ( [0] => 456 ) [2] => Array ( [0] => 789 [1] => 012 ) [3] => Array ( [0] => 345 [1] => 678!!!901 [2] => 234!!!567 [3] => 890!!!1234 [4] => 5678 ) )

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:
54.95 ms | 402 KiB | 8 Q