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 "<pre>".print_r($Seen, true)."</pre>"; foreach($Seen as &$Entr) { echo "<pre>".print_r($Entr, true)."</pre>"; $Temp = explode("~", $Entr); echo "<pre>".print_r($Temp, true)."</pre>"; $Entr = array('UserID' => intval($Temp[0]), 'Timestamp' => intval($Temp[1])); echo "<pre>".print_r($Entr, true)."</pre>"; } echo "<pre>".print_r($Seen, true)."</pre>";
Output for git.master, git.master_jit, rfc.property-hooks
µ4~456456446µ1 <pre>Array ( [0] => 4~456456446 ) </pre><pre>4~456456446</pre><pre>Array ( [0] => 4 [1] => 456456446 ) </pre><pre>Array ( [UserID] => 4 [Timestamp] => 456456446 ) </pre><pre>Array ( [0] => Array ( [UserID] => 4 [Timestamp] => 456456446 ) ) </pre>

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:
37.7 ms | 401 KiB | 8 Q