3v4l.org

run code in 300+ PHP versions simultaneously
<?php $Seen = "µ4~456456446µ"; echo print_r($Seen)."\r\n"; $Seen = explode("µµ", mb_substr($Seen, 1, -1, "UTF-8")); echo print_r($Seen)."\r\n"; foreach($Seen as &$Entr) { echo print_r($Entr)."\r\n"; $Temp = explode("~", $Entr); echo print_r($Temp)."\r\n"; $Entr = array('UserID' => intval($Temp[0]), 'Timestamp' => intval($Temp[1])); echo print_r($Entr)."\r\n"; } echo print_r($Seen)."\r\n";
Output for git.master, git.master_jit, rfc.property-hooks
µ4~456456446µ1 Array ( [0] => 4~456456446 ) 1 4~4564564461 Array ( [0] => 4 [1] => 456456446 ) 1 Array ( [UserID] => 4 [Timestamp] => 456456446 ) 1 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:
40.67 ms | 401 KiB | 8 Q