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;

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0150.00716.63
8.3.50.0090.00918.04
8.3.40.0180.00418.84
8.3.30.0090.00618.87
8.3.20.0040.00420.39
8.3.10.0050.00323.52
8.3.00.0090.00019.26
8.2.180.0110.01118.66
8.2.170.0140.00022.96
8.2.160.0070.00720.41
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00017.63
8.2.120.0050.00326.35
8.2.110.0030.00620.36
8.2.100.0070.00417.72
8.2.90.0040.00418.22
8.2.80.0040.00817.97
8.2.70.0040.00417.75
8.2.60.0000.00918.04
8.2.50.0050.00318.07
8.2.40.0000.00819.41
8.2.30.0050.00220.68
8.2.20.0100.00017.62
8.2.10.0000.00717.97
8.2.00.0050.00217.93
8.1.280.0080.00825.92
8.1.270.0030.00623.84
8.1.260.0050.00228.09
8.1.250.0040.00428.09
8.1.240.0060.00322.19
8.1.230.0060.00621.04
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0040.00417.35
8.1.190.0050.00317.22
8.1.180.0000.00718.10
8.1.170.0040.00418.83
8.1.160.0000.00722.02
8.1.150.0040.00418.79
8.1.140.0030.00619.55
8.1.130.0030.00317.55
8.1.120.0050.00317.29
8.1.110.0070.00017.45
8.1.100.0000.00717.28
8.1.90.0030.00617.46
8.1.80.0060.00317.42
8.1.70.0000.00717.38
8.1.60.0080.00317.52
8.1.50.0000.00817.49
8.1.40.0090.00017.47
8.1.30.0080.00017.61
8.1.20.0000.00717.58
8.1.10.0040.00417.38
8.1.00.0030.00617.45
8.0.300.0090.00020.09
8.0.290.0050.00216.88
8.0.280.0030.00318.44
8.0.270.0030.00517.25
8.0.260.0030.00317.25
8.0.250.0030.00317.02
8.0.240.0000.00817.02
8.0.230.0040.00417.03
8.0.220.0070.00016.95
8.0.210.0000.00716.95
8.0.200.0080.00017.00
8.0.190.0040.00416.91
8.0.180.0000.00717.00
8.0.170.0030.00517.03
8.0.160.0000.00716.93
8.0.150.0000.00716.88
8.0.140.0000.00716.88
8.0.130.0000.00513.34
8.0.120.0000.00816.84
8.0.110.0040.00417.00
8.0.100.0050.00316.94
8.0.90.0000.00716.87
8.0.80.0000.01816.98
8.0.70.0070.00017.01
8.0.60.0080.00016.75
8.0.50.0050.00216.80
8.0.30.0120.00717.20
8.0.20.0130.00517.40
8.0.10.0000.00716.90
8.0.00.0090.00916.59
7.4.330.0000.00516.68
7.4.320.0000.00716.71
7.4.300.0030.00316.82
7.4.290.0070.00016.64
7.4.280.0030.00616.61
7.4.270.0070.00016.80
7.4.260.0070.00016.67
7.4.250.0100.00016.66
7.4.240.0060.00216.72
7.4.230.0000.00716.62
7.4.220.0120.00616.71
7.4.210.0030.01216.68
7.4.200.0070.00016.63
7.4.160.0100.00616.77
7.4.150.0150.00317.40
7.4.140.0100.01217.86
7.4.130.0130.00816.97
7.4.120.0080.01016.75
7.4.110.0070.01116.75
7.4.100.0120.00616.78
7.4.90.0090.00916.70
7.4.80.0100.01119.39
7.4.70.0090.00916.76
7.4.60.0100.00616.53
7.4.50.0060.01016.70
7.4.40.0070.01016.64
7.4.30.0060.01216.60
7.4.00.0060.00914.98
7.3.330.0060.00013.55
7.3.320.0030.00313.57
7.3.310.0030.00316.47
7.3.300.0000.00716.57
7.3.290.0120.00616.49
7.3.280.0090.00716.51
7.3.270.0090.00917.40
7.3.260.0100.01616.79
7.3.250.0120.00816.68
7.3.240.0130.00616.85
7.3.230.0110.00616.48
7.3.210.0040.01316.69
7.3.200.0150.00616.45
7.3.190.0100.01016.73
7.3.180.0100.00716.51
7.3.170.0130.00716.70
7.3.160.0120.00416.62
7.2.330.0100.00716.91
7.2.320.0120.00616.96
7.2.310.0100.00716.82
7.2.300.0090.01216.74
7.2.290.0060.01317.04
7.2.60.0090.00316.98
7.2.00.0040.01119.75
7.1.200.0070.00715.92
7.1.100.0110.00418.38
7.1.70.0040.00417.46
7.1.60.0120.01219.36
7.1.50.0040.01917.17
7.1.00.0000.08022.38
7.0.200.0030.00716.60
7.0.90.0130.07020.03
7.0.80.0100.05019.90
7.0.70.0130.07019.98
7.0.60.0000.07019.91
7.0.50.0200.08720.33
7.0.40.0030.05320.09
7.0.30.0070.04020.08
7.0.20.0000.08020.08
7.0.10.0070.08320.00
7.0.00.0030.08319.95
5.6.280.0070.05721.05
5.6.240.0070.06720.60
5.6.230.0170.07320.75
5.6.220.0100.07320.61
5.6.210.0100.05020.65
5.6.200.0130.07721.09
5.6.190.0070.08320.94
5.6.180.0030.04721.06
5.6.170.0070.08021.04
5.6.160.0070.08321.11
5.6.150.0130.08321.01
5.6.140.0100.06321.03
5.6.130.0100.06720.99
5.6.120.0130.07721.02
5.6.110.0000.05021.13
5.6.100.0100.07720.92
5.6.90.0170.07720.92
5.6.80.0100.06720.34
5.6.70.0130.06720.32
5.6.60.0130.07720.48
5.6.50.0170.06720.39
5.6.40.0030.05020.49
5.6.30.0070.04320.38
5.6.20.0070.08720.36
5.6.10.0100.07020.31
5.6.00.0130.06720.39
5.5.380.0070.08320.56
5.5.370.0130.04720.36
5.5.360.0030.08720.51
5.5.350.0100.08020.45
5.5.340.0000.09320.74
5.5.330.0230.07020.91
5.5.320.0070.04020.91
5.5.310.0030.05720.84
5.5.300.0000.06720.90
5.5.290.0000.08320.81
5.5.280.0070.05020.83
5.5.270.0070.08320.73
5.5.260.0030.09020.64
5.5.250.0030.08020.65
5.5.240.0030.04720.16
5.5.230.0100.04320.11
5.5.220.0100.07020.21
5.5.210.0070.08020.28
5.5.200.0070.05020.18
5.5.190.0070.08320.08
5.5.180.0030.06720.20
5.5.160.0070.08020.18
5.5.150.0030.04320.25
5.5.140.0070.04320.21
5.5.130.0030.08020.18
5.5.120.0070.07720.08
5.5.110.0070.04320.27
5.5.100.0000.07720.11
5.5.90.0100.06720.16
5.5.80.0070.08020.07
5.5.70.0070.05019.97
5.5.60.0070.06319.98
5.5.50.0070.04720.13
5.5.40.0030.04319.96
5.5.30.0000.08320.03
5.5.20.0030.08320.14
5.5.10.0100.06720.08
5.5.00.0070.07320.07

preferences:
51.02 ms | 400 KiB | 5 Q