3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = array( "sn" => CAS0510000072, "name" => 内网测试环境, "engine" => array( "pkt_uri" => "https://192.168.1.224:7088/engine/fred.tar.gz", "md5" => "e6e21fc448db4a5a57087df0060b8292", "title" => "fred" ), "area" => array( "pkt_uri" => "https://192.168.1.224:7088/area/东南地区_beta.tar.gz", "md5" => "4b6570bdae1fee83ef5ff2ab725eed4e", "title" => "东南地区_beta" ), "account" => array( "pkt_uri" => "https://192.168.1.224:7088/account.conf", "md5" => "481284bd6c5a0481c1f1b32afd7c8aae", "title" => "account" ), "work" => "start" ); $encoded = json_encode($json); var_dump($encoded); $unescaped = preg_replace_callback('/\\\u(\w{4})/', function ($matches) { return html_entity_decode('&#x' . $matches[1] . ';', ENT_COMPAT, 'UTF-8'); }, $encoded); echo $unescaped;
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Undefined constant "CAS0510000072" in /in/hKiNg:4 Stack trace: #0 {main} thrown in /in/hKiNg on line 4
Process exited with code 255.

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