3v4l.org

run code in 300+ PHP versions simultaneously
<?php $Seen = "µ4~456456446µ"; if(preg_match("/^(µ[0-9]*~[0-9]*µ)*$/i", $Seen)) { $Seen = explode("µµ", mb_substr($Seen, 1, -1, "UTF-8")); foreach($Seen as &$Entr) { $Temp = explode("~", $Entr); $Entr = array('UserID' => intval($Temp[0]), 'Timestamp' => intval($Temp[1])); } } echo print_r($Seen)."\n";
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => Array ( [UserID] => 4 [Timestamp] => 456456446 ) ) 1

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.66 ms | 401 KiB | 8 Q