3v4l.org

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