3v4l.org

run code in 300+ PHP versions simultaneously
<?php print_r(json_decode('[ null, "\u0000\u0000\u0000", "0", "a\u0000\u0012bc\u0008d", 0, {"b":""} ]', true)); echo "\n\n---------- Versus ----------\n\n"; var_dump(json_decode('[ null, "\u0000\u0000\u0000", "0", "a\u0000\u0012bc\u0008d", 0, {"b":""} ]', true));
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => [1] => [2] => 0 [3] => abcd [4] => 0 [5] => Array ( [b] => ) ) ---------- Versus ---------- array(6) { [0]=> NULL [1]=> string(3) "" [2]=> string(1) "0" [3]=> string(7) "abcd" [4]=> int(0) [5]=> array(1) { ["b"]=> string(0) "" } }

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