3v4l.org

run code in 300+ PHP versions simultaneously
<?php $textData = <<<_TEXT 192.168.0.1 192.168.0.2 192.168.0.3 192.168.0.4 192.168.0.5 192.168.0.6 192.168.0.7 192.168.0.8 192.168.0.9 _TEXT; $json = json_encode(explode(PHP_EOL, $textData), JSON_FORCE_OBJECT | JSON_PRETTY_PRINT); echo $json;
Output for git.master, git.master_jit, rfc.property-hooks
{ "0": "192.168.0.1", "1": "192.168.0.2", "2": "192.168.0.3", "3": "192.168.0.4", "4": "192.168.0.5", "5": "192.168.0.6", "6": "192.168.0.7", "7": "192.168.0.8", "8": "192.168.0.9" }

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:
129.29 ms | 406 KiB | 5 Q