3v4l.org

run code in 300+ PHP versions simultaneously
<?php $topic = "/topics/foo-bar"; $g_topic= array( 'to' => $topic ); echo json_encode($g_topic); echo PHP_EOL; echo json_encode($g_topic, JSON_UNESCAPED_SLASHES);
Output for rfc.property-hooks, git.master, git.master_jit
{"to":"\/topics\/foo-bar"} {"to":"/topics/foo-bar"}

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:
55.16 ms | 2179 KiB | 4 Q