3v4l.org

run code in 300+ PHP versions simultaneously
<?php $int = 84739173848113; $string = (string)$int; $stringParts = str_split($string); rsort($stringParts); print_r($stringParts); echo implode('', $stringParts);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => 9 [1] => 8 [2] => 8 [3] => 8 [4] => 7 [5] => 7 [6] => 4 [7] => 4 [8] => 3 [9] => 3 [10] => 3 [11] => 1 [12] => 1 [13] => 1 ) 98887744333111

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