3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(unserialize('a:2:{s:13:"batchcomplete";s:0:"";s:5:"query";a:1:{s:5:"pages";a:1:{i:15580374;a:3:{s:6:"pageid";i:15580374;s:2:"ns";i:0;s:5:"title";s:9:"Main Page";}}}}')); var_dump(json_decode('{ "batchcomplete": "", "query": { "pages": { "15580374": { "pageid": 15580374, "ns": 0, "title": "Main Page" } } } }'));
Output for git.master, git.master_jit, rfc.property-hooks
array(2) { ["batchcomplete"]=> string(0) "" ["query"]=> array(1) { ["pages"]=> array(1) { [15580374]=> array(3) { ["pageid"]=> int(15580374) ["ns"]=> int(0) ["title"]=> string(9) "Main Page" } } } } object(stdClass)#1 (2) { ["batchcomplete"]=> string(0) "" ["query"]=> object(stdClass)#4 (1) { ["pages"]=> object(stdClass)#3 (1) { ["15580374"]=> object(stdClass)#2 (3) { ["pageid"]=> int(15580374) ["ns"]=> int(0) ["title"]=> string(9) "Main Page" } } } }

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