3v4l.org

run code in 300+ PHP versions simultaneously
<?php $res = "[]"; if (is_string($data)) { $res = json_decode($data, true); if ($res == NULL) { $res = $data; } } echo $res;

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.0060.00918.55
8.3.50.0070.00718.03
8.3.40.0150.00018.50
8.3.30.0090.00618.71
8.3.20.0040.00419.21
8.3.10.0080.00021.72
8.3.00.0000.00820.64
8.2.180.0120.00318.29
8.2.170.0140.00022.96
8.2.160.0140.00020.79
8.2.150.0000.00724.18
8.2.140.0030.00724.66
8.2.130.0070.00726.16
8.2.120.0080.00021.12
8.2.110.0040.00822.14
8.2.100.0040.01117.64
8.2.90.0060.00317.63
8.2.80.0030.00617.97
8.2.70.0080.00017.80
8.2.60.0040.00418.22
8.2.50.0000.00818.10
8.2.40.0000.00719.30
8.2.30.0030.00619.35
8.2.20.0070.00018.05
8.2.10.0040.00418.05
8.2.00.0000.00917.66
8.1.280.0130.00625.92
8.1.270.0000.00820.68
8.1.260.0090.00926.35
8.1.250.0060.00328.09
8.1.240.0030.00622.25
8.1.230.0090.00322.08
8.1.220.0080.00017.79
8.1.210.0000.00818.77
8.1.200.0090.00017.25
8.1.190.0090.00017.23
8.1.180.0060.00318.10
8.1.170.0040.00418.55
8.1.160.0000.00718.82
8.1.150.0050.00218.87
8.1.140.0000.00722.13
8.1.130.0000.00719.94
8.1.120.0000.00717.39
8.1.110.0030.00617.41
8.1.100.0050.00317.39
8.1.90.0070.00017.33
8.1.80.0050.00217.36
8.1.70.0000.00717.37
8.1.60.0060.00317.42
8.1.50.0040.00417.34
8.1.40.0080.00017.46
8.1.30.0030.00617.45
8.1.20.0040.00417.64
8.1.10.0000.00817.39
8.1.00.0000.00717.45
8.0.300.0040.00418.77
8.0.290.0050.00316.75
8.0.280.0040.00418.39
8.0.270.0070.00017.31
8.0.260.0030.00318.32
8.0.250.0000.00717.02
8.0.240.0000.00716.89
8.0.230.0070.00016.83
8.0.220.0030.00616.84
8.0.210.0040.00416.91
8.0.200.0000.00816.88
8.0.190.0000.00716.93
8.0.180.0000.00816.96
8.0.170.0030.00616.92
8.0.160.0040.00416.84
8.0.150.0000.00816.71
8.0.140.0000.00716.81
8.0.130.0030.00313.26
8.0.120.0050.00216.82
8.0.110.0070.00016.83
8.0.100.0040.00416.87
8.0.90.0030.00316.75
8.0.80.0040.01116.89
8.0.70.0040.00416.75
8.0.60.0050.00317.00
8.0.50.0040.00416.84
8.0.30.0120.00517.05
8.0.20.0160.01017.40
8.0.10.0070.00017.07
8.0.00.0160.00916.81
7.4.330.0000.00515.55
7.4.320.0030.00316.54
7.4.300.0070.00016.52
7.4.290.0040.00416.50
7.4.280.0030.00616.52
7.4.270.0040.00816.43
7.4.260.0030.00316.58
7.4.250.0030.00616.44
7.4.240.0000.00716.45
7.4.230.0070.00016.55
7.4.220.0040.00416.36
7.4.210.0050.00916.52
7.4.200.0030.00316.27
7.4.160.0100.00916.49
7.4.140.0100.01017.86
7.4.130.0080.00816.58
7.4.120.0110.00816.39
7.4.110.0070.01616.47
7.4.100.0100.01416.34
7.4.90.0090.00916.46
7.4.80.0050.01519.39
7.4.70.0090.00616.40
7.4.60.0040.01116.49
7.4.50.0120.00316.57
7.4.40.0000.01616.29
7.4.00.0070.01014.93
7.3.330.0030.00313.25
7.3.320.0000.00613.18
7.3.310.0030.00616.28
7.3.300.0040.00416.25
7.3.290.0020.00516.24
7.3.280.0070.00816.30
7.3.260.0070.01116.42
7.3.240.0090.01116.37
7.3.230.0120.00416.23
7.3.210.0110.00616.37
7.3.200.0050.01016.54
7.3.190.0150.00616.25
7.3.180.0060.00916.22
7.3.170.0140.00416.42
7.3.160.0040.01216.34
7.2.330.0120.00916.41
7.2.320.0150.00916.28
7.2.310.0160.00016.50
7.2.300.0100.01016.55
7.2.290.0060.00916.29
7.2.110.0460.00614.53
7.2.100.0410.00914.60
7.2.90.0420.00314.33
7.2.80.0420.00314.68
7.2.70.0500.01014.54
7.2.60.0400.00914.80
7.2.50.0420.01014.77
7.2.40.0540.01014.68
7.2.30.0440.01314.74
7.2.20.0480.00314.56
7.2.10.0440.01214.87
7.2.00.0390.01215.00
7.1.230.0410.00613.88
7.1.220.0380.00813.77
7.1.210.0380.00613.77
7.1.200.0350.01113.61
7.1.190.0670.00613.84
7.1.180.0600.00313.53
7.1.170.0870.01013.73
7.1.160.0510.01013.60
7.1.150.0430.00913.47
7.1.140.0340.01413.45
7.1.130.0480.00713.61
7.1.120.0520.00013.72
7.1.110.0490.00313.90
7.1.100.0540.00413.52
7.1.90.0410.00913.72
7.1.80.0610.01213.71
7.1.70.0460.00313.98
7.1.60.0670.00431.60
7.1.50.1170.00331.46
7.1.40.0860.00931.39
7.1.30.0850.00331.76
7.1.20.0920.01131.80
7.1.10.0950.00313.25
7.1.00.0510.00713.33
5.6.380.0100.01013.89

preferences:
70.87 ms | 400 KiB | 5 Q