3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '{"Confirmation":"200710035843DH4","Message":"success","Status":"success"}'; ['Confirmation'=>$confirmation, 'Message'=>$message, 'Status'=>$status] = json_decode($str,true); echo $confirmation; ?>

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.0170.00318.82
8.4.10.0160.00020.40
8.3.150.0110.00717.00
8.3.140.0070.00316.95
8.3.130.0050.00318.09
8.3.120.0060.01218.73
8.3.110.0000.00920.94
8.3.100.0030.00624.06
8.3.90.0000.00826.77
8.3.80.0090.00016.38
8.3.70.0180.00316.58
8.3.60.0110.00418.30
8.3.50.0120.00723.59
8.3.40.0160.00318.61
8.3.30.0120.00618.77
8.3.20.0000.00724.18
8.3.10.0040.00424.66
8.3.00.0050.00326.16
8.2.270.0040.00417.17
8.2.260.0080.00018.33
8.2.250.0080.00618.83
8.2.240.0100.01017.04
8.2.230.0030.00522.58
8.2.220.0060.00337.54
8.2.210.0160.00026.77
8.2.200.0040.00416.75
8.2.190.0150.00316.75
8.2.180.0150.00625.92
8.2.170.0070.01018.91
8.2.160.0030.01022.96
8.2.150.0000.00825.66
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0040.00426.35
8.2.110.0030.00721.05
8.2.100.0030.00717.84
8.2.90.0040.00419.21
8.2.80.0000.00817.97
8.2.70.0000.00817.50
8.2.60.0040.00417.93
8.2.50.0000.00918.07
8.2.40.0070.00518.15
8.2.30.0040.00418.13
8.2.20.0000.00718.11
8.2.10.0000.00719.36
8.2.00.0000.00719.20
8.1.310.0040.00418.23
8.1.300.0060.00315.99
8.1.290.0090.00018.88
8.1.280.0090.00625.92
8.1.270.0040.00424.02
8.1.260.0040.00428.09
8.1.250.0070.00028.09
8.1.240.0050.00323.97
8.1.230.0000.01220.32
8.1.220.0080.00017.74
8.1.210.0080.00018.77
8.1.200.0000.00917.36
8.1.190.0030.00617.23
8.1.180.0030.00518.10
8.1.170.0050.00318.44
8.1.160.0030.00518.80
8.1.150.0040.00418.79
8.1.140.0040.00418.82
8.1.130.0000.00719.96
8.1.120.0020.00517.34
8.1.110.0050.00317.26
8.1.100.0050.00317.27
8.1.90.0050.00217.34
8.1.80.0000.00717.41
8.1.70.0050.00217.30
8.1.60.0060.00317.49
8.1.50.0050.00317.32
8.1.40.0000.00817.32
8.1.30.0040.00417.59
8.1.20.0040.00417.48
8.1.10.0000.00817.65
8.1.00.0040.00717.49
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0030.00318.43
8.0.270.0040.00418.00
8.0.260.0030.00318.43
8.0.250.0070.00016.97
8.0.240.0040.00416.96
8.0.230.0030.00316.79
8.0.220.0040.00416.77
8.0.210.0030.00316.78
8.0.200.0000.00616.75
8.0.190.0040.00416.77
8.0.180.0040.00416.77
8.0.170.0000.00916.88
8.0.160.0080.00016.81
8.0.150.0000.00716.80
8.0.140.0040.00416.78
8.0.130.0030.00313.16
8.0.120.0070.00016.67
8.0.110.0050.00216.71
8.0.100.0040.00416.84
8.0.90.0040.00316.90
8.0.80.0120.00316.78
8.0.70.0000.00816.84
8.0.60.0000.00716.69
8.0.50.0000.00816.63
8.0.30.0140.00416.84
8.0.20.0100.00717.25
8.0.10.0030.00516.88
8.0.00.0180.00016.82
7.4.330.0050.00015.55
7.4.320.0040.00416.39
7.4.300.0030.00316.47
7.4.290.0040.00416.50
7.4.280.0050.00216.46
7.4.270.0000.00816.50
7.4.260.0030.00313.31
7.4.250.0000.00716.34
7.4.240.0040.00416.32
7.4.230.0070.00016.31
7.4.220.0040.00316.44
7.4.210.0080.00916.47
7.4.200.0000.00716.29
7.4.130.0080.01016.34
7.4.120.0240.00416.39
7.4.110.0130.00316.36
7.4.100.0170.00416.53
7.4.90.0090.00916.68
7.4.80.0100.00616.23
7.4.70.0070.01016.34
7.4.60.0040.01416.31
7.4.50.0070.01016.35
7.4.40.0070.01316.30
7.4.30.0070.01016.34
7.4.20.0090.00916.10
7.4.10.0060.01016.18
7.4.00.0080.00816.22
7.3.330.0000.00716.39
7.3.320.0030.00313.05
7.3.310.0000.00716.30
7.3.300.0000.00716.24
7.3.290.0040.01216.32
7.3.260.0090.01016.19
7.3.230.0000.01616.27
7.3.210.0060.01216.28
7.3.200.0100.00716.26
7.3.190.0090.00616.03
7.3.180.0070.01116.09
7.3.170.0100.00716.25
7.3.160.0060.01216.14
7.3.150.0070.01016.44
7.3.140.0080.00716.36
7.3.130.0110.01116.14
7.3.120.0080.00816.13
7.3.110.0150.00616.20
7.3.100.0090.00616.21
7.3.90.0120.01416.23
7.3.80.0120.00616.23
7.3.70.0100.00916.04
7.3.60.0030.01316.38
7.3.50.0170.00016.22
7.3.40.0130.00316.23
7.3.30.0110.01116.29
7.3.20.0130.01016.16
7.3.10.0040.01716.16
7.3.00.0120.00816.19
7.2.330.0150.00316.46
7.2.320.0140.00416.02
7.2.310.0090.00916.46
7.2.300.0080.01216.25
7.2.290.0070.01116.11
7.2.280.0030.01316.38
7.2.270.0060.01016.41
7.2.260.0030.01716.46
7.2.250.0130.00416.30
7.2.240.0100.01016.49
7.2.230.0090.00916.34
7.2.220.0090.01216.34
7.2.210.0100.01016.19
7.2.200.0090.00916.29
7.2.190.0070.01016.56
7.2.180.0140.00316.21
7.2.170.0090.01216.35
7.2.160.0090.00916.32
7.2.150.0130.01016.29
7.2.140.0100.01116.19
7.2.130.0070.01016.49
7.2.120.0030.02016.64
7.2.110.0080.01916.32
7.2.100.0140.00716.25
7.2.90.0130.00616.34
7.2.80.0160.01016.26
7.2.70.0040.01616.13
7.2.60.0070.01516.13
7.2.50.0140.01116.56
7.2.40.0110.01116.59
7.2.30.0070.01616.31
7.2.20.0100.01316.51
7.2.10.0160.00616.31
7.2.00.0150.00916.19

preferences:
28.04 ms | 403 KiB | 5 Q