3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d = array('C:\Windows/F"o"\'o', '€ 55.-', "new \\n line \x01"); var_dump(json_encode($d)); var_dump(json_encode($d, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE));
Output for git.master, git.master_jit, rfc.property-hooks
string(61) "["C:\\Windows\/F\"o\"'o","\u20ac 55.-","new \\n line \u0001"]" string(57) "["C:\\Windows/F\"o\"'o","€ 55.-","new \\n line \u0001"]"

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:
50.8 ms | 401 KiB | 8 Q