3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = [ 'application/ld+json', 'application/json', 'text/html', ]; if ($accept = preg_grep('~(?i)^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$~', $a)) { var_dump(implode(',', $accept)); }

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.5.30.0120.00717.41
8.5.20.0100.00819.55
8.5.10.0150.00518.89
8.5.00.0120.00920.17
8.4.180.0110.01125.74
8.4.170.0150.00723.98
8.4.160.0100.01124.07
8.4.150.0030.00014.05
8.4.140.0110.01017.70
8.4.130.0130.00818.23
8.4.120.0100.00620.75
8.4.110.0110.01022.52
8.4.100.0060.01117.79
8.4.90.0110.01118.82
8.4.80.0080.01217.82
8.4.70.0040.00418.23
8.4.60.0120.00818.82
8.4.50.0040.00417.96
8.4.40.0110.01119.78
8.4.30.0120.00620.50
8.4.20.0080.00318.33
8.4.10.0000.00819.82
8.3.300.0120.00922.89
8.3.290.0130.00818.55
8.3.280.0020.00014.05
8.3.270.0110.00816.54
8.3.260.0100.00616.98
8.3.250.0070.00718.98
8.3.240.0130.00616.86
8.3.230.0100.00916.59
8.3.220.0120.00717.32
8.3.210.0120.00916.69
8.3.200.0040.00516.67
8.3.190.0120.00717.36
8.3.180.0090.01016.98
8.3.170.0070.01120.64
8.3.160.0070.01018.42
8.3.150.0120.00618.76
8.3.140.0060.00318.88
8.3.130.0040.00416.83
8.3.120.0130.00018.90
8.3.110.0040.01120.94
8.3.100.0040.00424.06
8.3.90.0040.00726.77
8.3.80.0040.00417.00
8.3.70.0080.00816.88
8.3.60.0180.00318.68
8.3.50.0070.00623.78
8.3.40.0040.01519.02
8.3.30.0090.00618.92
8.3.20.0040.00420.65
8.3.10.0000.00820.16
8.3.00.0000.00821.90
8.2.300.0090.01218.18
8.2.290.0140.00620.25
8.2.280.0040.00518.48
8.2.270.0040.01517.44
8.2.260.0180.00018.24
8.2.250.0110.00716.59
8.2.240.0000.00918.86
8.2.230.0050.00322.58
8.2.220.0060.00337.54
8.2.210.0080.00026.77
8.2.200.0060.00317.00
8.2.190.0120.00616.58
8.2.180.0090.00618.66
8.2.170.0070.00722.96
8.2.160.0070.00720.44
8.2.150.0030.00724.18
8.2.140.0000.00824.66
8.2.130.0000.00726.16
8.2.120.0030.00626.16
8.2.110.0100.00020.52
8.2.100.0030.00917.84
8.2.90.0030.00617.88
8.2.80.0070.00418.78
8.2.70.0040.00417.75
8.2.60.0060.00617.91
8.2.50.0080.00017.80
8.2.40.0040.00421.12
8.2.30.0020.00517.71
8.2.20.0000.00818.08
8.2.10.0000.00719.40
8.2.00.0090.00019.33
8.1.340.0140.00717.94
8.1.330.0070.01321.80
8.1.320.0060.00216.36
8.1.310.0150.00316.58
8.1.300.0100.01018.14
8.1.290.0060.00318.88
8.1.280.0130.00925.92
8.1.270.0080.00020.73
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0060.00319.18
8.1.230.0000.01217.80
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0060.00317.25
8.1.190.0050.00317.36
8.1.180.0030.00618.10
8.1.170.0040.00417.62
8.1.160.0000.00820.75
8.1.150.0000.00718.84
8.1.140.0040.00422.21
8.1.130.0030.00320.05
8.1.120.0030.00717.46
8.1.110.0070.00017.44
8.1.100.0000.00817.39
8.1.90.0000.00717.57
8.1.80.0000.00717.44
8.1.70.0040.00417.52
8.1.60.0030.00517.59
8.1.50.0000.00717.48
8.1.40.0030.00517.64
8.1.30.0000.00817.63
8.1.20.0040.00417.58
8.1.10.0040.00417.54
8.1.00.0000.01017.60
8.0.300.0000.00818.77
8.0.290.0030.00516.88
8.0.280.0070.00018.41
8.0.270.0040.00417.99
8.0.260.0000.00620.09
8.0.250.0030.00317.00
8.0.240.0030.00316.96
8.0.230.0070.00016.98
8.0.220.0030.00317.02
8.0.210.0080.00017.00
8.0.200.0030.00316.94
8.0.190.0070.00016.90
8.0.180.0040.00416.99
8.0.170.0030.00616.96
8.0.160.0040.00416.97
8.0.150.0070.00016.96
8.0.140.0070.00016.79
8.0.130.0060.00313.34
8.0.120.0000.00816.96
8.0.110.0080.00016.96
8.0.100.0040.00416.91
8.0.90.0050.00316.92
8.0.80.0060.00917.10
8.0.70.0000.00717.10
8.0.60.0070.00017.03
8.0.50.0000.00817.10
8.0.30.0130.01317.27
8.0.20.0130.00417.25
8.0.10.0000.00717.18
8.0.00.0090.00916.79
7.4.330.0030.00315.55
7.4.320.0030.00316.58
7.4.300.0030.00316.70
7.4.290.0040.00416.73
7.4.280.0080.00016.61
7.4.270.0040.00416.68
7.4.260.0030.00313.54
7.4.250.0030.00316.71
7.4.240.0060.00316.71
7.4.230.0040.00416.79
7.4.220.0020.00516.63
7.4.210.0090.00716.86
7.4.200.0000.00716.82
7.4.140.0080.00817.86
7.4.130.0060.01316.69
7.4.120.0130.01016.68
7.4.110.0060.01216.45
7.4.100.0100.00716.81
7.4.90.0080.01216.71
7.4.80.0110.00819.39
7.4.70.0030.01316.35
7.4.60.0070.01016.64
7.4.50.0090.00516.42
7.4.40.0070.01016.63
7.4.10.0070.01014.92
7.4.00.0060.00914.94
7.3.330.0000.00716.21
7.3.320.0050.00013.04
7.3.310.0030.00316.28
7.3.300.0030.00316.18
7.3.290.0000.00716.34
7.3.280.0120.00916.22
7.3.260.0170.00016.37
7.3.240.0100.00716.43
7.3.230.0120.00616.58
7.3.210.0070.01016.66
7.3.200.0070.01016.26
7.3.190.0110.01216.49
7.3.180.0070.01416.51
7.3.170.0030.01316.40
7.3.160.0130.00616.60
7.3.130.0090.00914.85
7.3.120.0120.00714.73
7.3.110.0050.01014.60
7.3.100.0080.00514.61
7.3.90.0070.00914.74
7.3.80.0130.00714.73
7.3.70.0080.00414.85
7.3.60.0120.00214.75
7.3.50.0060.00514.78
7.3.40.0060.00614.72
7.3.30.0090.00614.67
7.3.20.0120.00615.73
7.3.10.0110.00815.70
7.3.00.0090.00515.66
7.2.330.0150.00916.73
7.2.320.0070.01016.54
7.2.310.0090.00916.54
7.2.300.0060.01216.49
7.2.290.0060.00916.64
7.2.260.0030.01615.01
7.2.250.0050.01115.02
7.2.240.0050.01114.99
7.2.230.0060.00914.94
7.2.220.0070.00714.99
7.2.210.0080.00715.06
7.2.200.0050.01015.02
7.2.190.0060.00715.01
7.2.180.0060.00915.05
7.2.170.0120.00314.93
7.2.160.0040.01115.01
7.2.150.0040.01117.17
7.2.140.0060.01217.10
7.2.130.0060.00616.71
7.2.120.0040.01217.09
7.2.110.0000.00916.96
7.2.100.0070.00716.93
7.2.90.0060.00917.02
7.2.80.0070.00716.75
7.2.70.0040.01116.88
7.2.60.0040.00716.69
7.2.50.0040.01516.86
7.2.40.0070.00316.93
7.2.30.0060.01016.98
7.2.20.0080.00417.05
7.2.10.0060.00616.99
7.2.00.0080.00617.05
7.1.330.0150.00014.18
7.1.320.0050.01013.83
7.1.310.0050.01114.04
7.1.300.0150.00314.02
7.1.290.0110.00314.06
7.1.280.0000.01514.06
7.1.270.0120.00413.92
7.1.260.0090.00613.80

preferences:
30.94 ms | 403 KiB | 5 Q