3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{"Confirmation":"200710035843DH4","Message":"success","Status":"success"}'; $arr = json_decode($json, true); list('Confirmation' => $conf, 'Message' => $msg, 'Status' => $status) = $arr; echo $conf . PHP_EOL; echo $msg . PHP_EOL; echo $status . PHP_EOL;

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.4.20.0060.00918.89
8.4.10.0030.00620.66
8.3.150.0040.00417.20
8.3.140.0080.00018.98
8.3.130.0040.00418.53
8.3.120.0040.00420.59
8.3.110.0060.00620.94
8.3.100.0100.00724.06
8.3.90.0030.00626.77
8.3.80.0030.00619.36
8.3.70.0070.00716.63
8.3.60.0070.01118.11
8.3.50.0250.00723.67
8.3.40.0040.01118.89
8.3.30.0130.00918.71
8.3.20.0150.00324.18
8.3.10.0090.00924.66
8.3.00.0040.01226.16
8.2.270.0070.01118.99
8.2.260.0090.00916.88
8.2.250.0000.00816.52
8.2.240.0060.00317.05
8.2.230.0040.00422.58
8.2.220.0090.00637.54
8.2.210.0150.00326.77
8.2.200.0030.00618.88
8.2.190.0200.00316.75
8.2.180.0040.01225.92
8.2.170.0120.00318.95
8.2.160.0000.01522.96
8.2.150.0000.00925.66
8.2.140.0030.00524.66
8.2.130.0080.00026.16
8.2.120.0000.00826.35
8.2.110.0060.00321.00
8.2.100.0120.00017.63
8.2.90.0060.00317.63
8.2.80.0040.00418.91
8.2.70.0040.00417.50
8.2.60.0090.00017.63
8.2.50.0000.00817.63
8.2.40.0050.00319.25
8.2.30.0040.00418.00
8.2.20.0000.00718.11
8.2.10.0070.00019.36
8.2.00.0000.00719.33
8.1.310.0080.00016.65
8.1.300.0040.00417.80
8.1.290.0030.00730.84
8.1.280.0210.00025.92
8.1.270.0100.00023.99
8.1.260.0070.00028.09
8.1.250.0030.01028.09
8.1.240.0030.00619.09
8.1.230.0040.00717.57
8.1.220.0000.00817.74
8.1.210.0030.00618.77
8.1.200.0060.00317.35
8.1.190.0000.00817.10
8.1.180.0000.00818.10
8.1.170.0000.00718.86
8.1.160.0030.00518.73
8.1.150.0000.00718.82
8.1.140.0040.00418.86
8.1.130.0030.00320.06
8.1.120.0080.00017.41
8.1.110.0000.00817.31
8.1.100.0000.00817.36
8.1.90.0040.00417.43
8.1.80.0060.00317.40
8.1.70.0070.00017.34
8.1.60.0080.00017.54
8.1.50.0040.00417.31
8.1.40.0080.00017.42
8.1.30.0050.00517.54
8.1.20.0040.00417.59
8.1.10.0080.00017.62
8.1.00.0080.00017.50
8.0.300.0040.00418.77
8.0.290.0070.00016.63
8.0.280.0060.00318.43
8.0.270.0070.00018.00
8.0.260.0000.00618.42
8.0.250.0070.00016.98
8.0.240.0030.00316.96
8.0.230.0070.00016.92
8.0.220.0000.00716.94
8.0.210.0040.00416.85
8.0.200.0000.00716.94
8.0.190.0000.00716.81
8.0.180.0000.00716.79
8.0.170.0030.00616.93
8.0.160.0000.00716.98
8.0.150.0000.00716.87
8.0.140.0000.00816.80
8.0.130.0000.00513.33
8.0.120.0060.00316.89
8.0.110.0040.00416.82
8.0.100.0000.00716.82
8.0.90.0080.00016.75
8.0.80.0080.00616.85
8.0.70.0070.00016.79
8.0.60.0040.00416.73
8.0.50.0040.00416.73
8.0.30.0030.01316.97
8.0.20.0090.01417.27
8.0.10.0000.00916.98
8.0.00.0110.01516.54
7.4.330.0000.00615.55
7.4.320.0000.00716.40
7.4.300.0000.00616.49
7.4.290.0030.00316.36
7.4.280.0000.00816.43
7.4.270.0030.00316.43
7.4.260.0000.00613.13
7.4.250.0000.00716.31
7.4.240.0070.00016.44
7.4.230.0000.00716.34
7.4.220.0030.00316.23
7.4.210.0070.00916.60
7.4.200.0000.00716.55
7.4.130.0100.00816.51
7.4.120.0070.01416.47
7.4.110.0110.00516.52
7.4.100.0140.00716.48
7.4.90.0100.00716.36
7.4.80.0140.00616.45
7.4.70.0150.00416.30
7.4.60.0130.00716.24
7.4.50.0160.00316.36
7.4.40.0110.01116.31
7.4.30.0070.01416.24
7.4.20.0100.00916.22
7.4.10.0090.01216.30
7.4.00.0120.01216.41
7.3.330.0070.00016.13
7.3.320.0050.00013.10
7.3.310.0070.00016.34
7.3.300.0030.00316.14
7.3.290.0060.01016.24
7.3.280.0000.01516.25
7.3.260.0100.01016.56
7.3.240.0070.01116.42
7.3.230.0070.01316.22
7.3.210.0130.00916.52
7.3.200.0110.00916.30
7.3.190.0050.01516.48
7.3.180.0080.01116.39
7.3.170.0170.00316.48
7.3.160.0100.01316.43
7.3.150.0090.01316.56
7.3.140.0140.00516.35
7.3.130.0140.01016.42
7.3.120.0030.01716.39
7.3.110.0120.00916.39
7.3.100.0130.00616.11
7.3.90.0140.01016.33
7.3.80.0060.01716.33
7.3.70.0100.01016.38
7.3.60.0110.00816.48
7.3.50.0140.00616.32
7.3.40.0090.01216.42
7.3.30.0120.00616.43
7.3.20.0110.01116.46
7.3.10.0100.01016.44
7.3.00.0190.00316.19
7.2.330.0130.01016.84
7.2.320.0150.00616.27
7.2.310.0020.01816.72
7.2.300.0100.01016.64
7.2.290.0160.00716.62
7.2.280.0150.00916.61
7.2.270.0120.00916.42
7.2.260.0090.01216.48
7.2.250.0100.01716.61
7.2.240.0060.01316.57
7.2.230.0090.01316.67
7.2.220.0140.01116.61
7.2.210.0200.00016.56
7.2.200.0120.00916.64
7.2.190.0140.00816.53
7.2.180.0110.01116.37
7.2.170.0130.00616.43
7.2.160.0160.00316.48
7.2.150.0070.01316.47
7.2.140.0160.00616.33
7.2.130.0030.02016.59
7.2.120.0130.01016.58
7.2.110.0130.01016.62
7.2.100.0250.01516.50
7.2.90.0130.01016.55
7.2.80.0140.01116.54
7.2.70.0100.01416.49
7.2.60.0130.00716.66
7.2.50.0140.00616.53
7.2.40.0150.00616.40
7.2.30.0120.00916.57
7.2.20.0090.01016.59
7.2.10.0160.00816.67
7.2.00.0080.01616.50

preferences:
28.82 ms | 403 KiB | 5 Q