3v4l.org

run code in 300+ PHP versions simultaneously
<?php $j = json_decode('{"0":{"name":"Configuration postes","content":"2 PCs","price":"80"},"1":{"name":"Configuration réseau","content":"","price":"40"}}'); var_dump($j); print_r($j);
Output for git.master, git.master_jit, rfc.property-hooks
object(stdClass)#2 (2) { ["0"]=> object(stdClass)#1 (3) { ["name"]=> string(20) "Configuration postes" ["content"]=> string(5) "2 PCs" ["price"]=> string(2) "80" } ["1"]=> object(stdClass)#3 (3) { ["name"]=> string(21) "Configuration réseau" ["content"]=> string(0) "" ["price"]=> string(2) "40" } } stdClass Object ( [0] => stdClass Object ( [name] => Configuration postes [content] => 2 PCs [price] => 80 ) [1] => stdClass Object ( [name] => Configuration réseau [content] => [price] => 40 ) )

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:
39.78 ms | 402 KiB | 8 Q