3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ 'currentMissionId' => 1, 'currentMissionInitTs' => 123123, 'quests' => [ [ 'id' => 1, 'points' => 5, 'claimed' => false ] ], 'currentSubmissions' => [ [ 'id' => 1, 'purchasedPoints' => 1, 'points' => 5, 'currentPoolSize' => 40, 'lastProgressAddedAt' => 143576344 ], [ 'id' => 2, 'purchasedPoints' => 1, 'points' => 5, 'currentPoolSize' => 40, 'lastProgressAddedAt' => 143576344 ], [ 'id' => 3, 'purchasedPoints' => 1, 'points' => 5, 'currentPoolSize' => 40, 'lastProgressAddedAt' => 143576344 ] ] ]; var_dump(json_decode(json_encode($array)));
Output for git.master, git.master_jit, rfc.property-hooks
object(stdClass)#1 (4) { ["currentMissionId"]=> int(1) ["currentMissionInitTs"]=> int(123123) ["quests"]=> array(1) { [0]=> object(stdClass)#2 (3) { ["id"]=> int(1) ["points"]=> int(5) ["claimed"]=> bool(false) } } ["currentSubmissions"]=> array(3) { [0]=> object(stdClass)#3 (5) { ["id"]=> int(1) ["purchasedPoints"]=> int(1) ["points"]=> int(5) ["currentPoolSize"]=> int(40) ["lastProgressAddedAt"]=> int(143576344) } [1]=> object(stdClass)#4 (5) { ["id"]=> int(2) ["purchasedPoints"]=> int(1) ["points"]=> int(5) ["currentPoolSize"]=> int(40) ["lastProgressAddedAt"]=> int(143576344) } [2]=> object(stdClass)#5 (5) { ["id"]=> int(3) ["purchasedPoints"]=> int(1) ["points"]=> int(5) ["currentPoolSize"]=> int(40) ["lastProgressAddedAt"]=> int(143576344) } } }

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:
49.73 ms | 403 KiB | 8 Q