3v4l.org

run code in 500+ PHP versions simultaneously
<?php var_dump(json_encode(['a' => 1, 'b' => ['a' => 'b']], JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE));
Output for rfc.property-hooks, git.master, git.master_jit
string(49) "{ "a": 1, "b": { "a": "b" } }"

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:
44.51 ms | 2269 KiB | 4 Q