3v4l.org

run code in 300+ PHP versions simultaneously
<?php $txt = "nmzdmfn,456,789~012,345~678!!!901~234!!!567~890!!!1234~5678, hbkj,m,"; foreach(explode(",",$txt) AS $key => $subarray) { $array[$key] = explode("\n",$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~012 ) [3] => Array ( [0] => 345~678!!!901~234!!!567~890!!!1234~5678 ) [4] => Array ( [0] => [1] => hbkj ) [5] => Array ( [0] => m ) [6] => Array ( [0] => ) )

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