3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '{"Confirmation":"200710035843DH4","Message":"success","Status":"success"}'; list('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.0120.00618.72
8.4.10.0040.01120.77
8.3.150.0070.01118.77
8.3.140.0110.00717.20
8.3.130.0050.00318.29
8.3.120.0060.00618.82
8.3.110.0000.00916.37
8.3.100.0070.00316.66
8.3.90.0050.00226.77
8.3.80.0060.00319.36
8.3.70.0040.01416.75
8.3.60.0070.01318.05
8.3.50.0140.00323.53
8.3.40.0120.00618.71
8.3.30.0110.00418.71
8.3.20.0050.00324.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.270.0080.01117.25
8.2.260.0080.00816.77
8.2.250.0040.00416.48
8.2.240.0080.00816.94
8.2.230.0030.00720.94
8.2.220.0060.00337.54
8.2.210.0060.01326.77
8.2.200.0000.00818.88
8.2.190.0140.00316.58
8.2.180.0110.00425.92
8.2.170.0070.01522.96
8.2.160.0100.00322.96
8.2.150.0070.00025.66
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0060.00320.64
8.2.110.0030.00620.89
8.2.100.0100.00017.84
8.2.90.0040.00420.07
8.2.80.0000.00820.54
8.2.70.0050.00317.93
8.2.60.0090.00020.07
8.2.50.0050.00318.10
8.2.40.0000.00719.47
8.2.30.0000.00819.35
8.2.20.0040.00418.04
8.2.10.0000.00719.29
8.2.00.0030.00319.27
8.1.310.0040.00416.50
8.1.300.0110.00718.53
8.1.290.0100.00030.84
8.1.280.0070.00725.92
8.1.270.0040.00423.99
8.1.260.0060.00326.35
8.1.250.0030.00628.09
8.1.240.0060.00322.21
8.1.230.0040.00820.90
8.1.220.0080.00017.79
8.1.210.0060.00318.89
8.1.200.0060.00317.23
8.1.190.0100.00017.13
8.1.180.0080.00018.10
8.1.170.0040.00418.55
8.1.160.0030.00518.96
8.1.150.0040.00418.77
8.1.140.0050.00318.83
8.1.130.0000.00719.96
8.1.120.0030.00417.23
8.1.110.0080.00017.40
8.1.100.0000.00717.32
8.1.90.0000.00717.36
8.1.80.0000.00817.28
8.1.70.0000.00817.25
8.1.60.0030.00617.43
8.1.50.0040.00417.47
8.1.40.0000.00817.32
8.1.30.0050.00217.48
8.1.20.0050.00317.52
8.1.10.0000.00717.47
8.1.00.0040.00717.47
8.0.300.0060.00320.07
8.0.290.0060.00316.75
8.0.280.0030.00318.43
8.0.270.0040.00416.84
8.0.260.0000.00618.43
8.0.250.0030.00316.91
8.0.240.0040.00416.80
8.0.230.0000.00716.77
8.0.220.0070.00016.77
8.0.210.0070.00016.72
8.0.200.0000.00616.84
8.0.190.0040.00416.88
8.0.180.0040.00416.74
8.0.170.0060.00316.69
8.0.160.0080.00016.70
8.0.150.0030.00316.68
8.0.140.0040.00316.75
8.0.130.0030.00313.12
8.0.120.0000.00816.82
8.0.110.0070.00016.67
8.0.100.0030.00616.70
8.0.90.0050.00316.87
8.0.80.0100.00416.79
8.0.70.0000.00716.61
8.0.60.0030.00416.90
8.0.50.0040.00416.87
8.0.30.0110.00616.88
8.0.20.0160.00316.87
8.0.10.0070.00016.92
8.0.00.0090.00916.46
7.4.330.0000.00415.55
7.4.320.0050.00316.34
7.4.300.0030.00316.40
7.4.290.0030.00316.30
7.4.280.0000.00816.38
7.4.270.0070.00016.53
7.4.260.0000.00513.23
7.4.250.0030.00516.39
7.4.240.0040.00416.41
7.4.230.0030.00316.53
7.4.220.0040.00416.43
7.4.210.0120.00816.48
7.4.200.0030.00316.54
7.4.130.0160.00616.54
7.4.120.0090.00916.43
7.4.110.0030.01316.32
7.4.100.0030.01316.50
7.4.90.0090.00916.43
7.4.80.0080.01016.20
7.4.70.0090.00916.24
7.4.60.0100.01016.41
7.4.50.0110.00916.16
7.4.40.0080.01216.27
7.4.30.0120.00816.37
7.4.20.0090.00916.46
7.4.10.0110.00716.35
7.4.00.0100.01016.16
7.3.330.0020.00516.17
7.3.320.0000.00513.13
7.3.310.0030.00316.26
7.3.300.0070.00016.30
7.3.290.0040.01216.20
7.3.260.0140.01016.37
7.3.230.0150.00416.14
7.3.210.0120.00616.45
7.3.200.0090.01216.16
7.3.190.0000.01916.48
7.3.180.0100.01016.14
7.3.170.0130.00816.28
7.3.160.0040.01416.26
7.3.150.0040.01516.16
7.3.140.0100.00716.37
7.3.130.0130.01016.27
7.3.120.0090.00916.39
7.3.110.0080.01216.21
7.3.100.0170.00716.38
7.3.90.0130.00616.53
7.3.80.0120.00616.50
7.3.70.0110.00816.07
7.3.60.0160.00416.25
7.3.50.0110.01216.26
7.3.40.0070.01016.28
7.3.30.0060.01216.16
7.3.20.0120.00616.15
7.3.10.0110.00816.15
7.3.00.0000.01916.18
7.2.330.0090.00916.67
7.2.320.0060.01216.30
7.2.310.0080.01116.22
7.2.300.0090.01316.41
7.2.290.0110.00816.34
7.2.280.0130.00916.11
7.2.270.0160.00316.52
7.2.260.0160.00416.36
7.2.250.0040.01416.34
7.2.240.0000.02016.46
7.2.230.0100.01216.17
7.2.220.0090.01316.39
7.2.210.0130.00816.30
7.2.200.0040.01716.57
7.2.190.0130.00716.35
7.2.180.0140.00616.50
7.2.170.0050.01416.38
7.2.160.0140.00716.32
7.2.150.0090.01016.21
7.2.140.0130.00816.41
7.2.130.0100.01016.38
7.2.120.0090.00916.33
7.2.110.0090.00916.48
7.2.100.0150.00416.43
7.2.90.0090.00916.35
7.2.80.0130.01316.40
7.2.70.0120.00616.11
7.2.60.0180.00316.46
7.2.50.0040.01516.14
7.2.40.0430.01316.52
7.2.30.0110.00916.43
7.2.20.0080.01116.36
7.2.10.0130.01016.26
7.2.00.0120.00616.21

preferences:
28.95 ms | 403 KiB | 5 Q