3v4l.org

run code in 300+ PHP versions simultaneously
<?php empty($command['controller']) && $command['controller'] = null; empty($command['action']) && $command['action'] = null; empty($command['data']) && $command['data'] = null; empty($command['id']) && $command['id'] = $key;

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.0140.00716.62
8.3.50.0080.01122.04
8.3.40.0110.00419.02
8.3.30.0110.00719.23
8.3.20.0070.00020.22
8.3.10.0050.00323.67
8.3.00.0050.00319.26
8.2.180.0040.01418.54
8.2.170.0110.00422.96
8.2.160.0030.01020.54
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0100.00726.16
8.2.120.0000.00822.31
8.2.110.0090.00022.27
8.2.100.0080.00418.03
8.2.90.0000.00719.25
8.2.80.0060.00317.97
8.2.70.0040.00417.63
8.2.60.0040.00417.91
8.2.50.0000.00818.07
8.2.40.0060.00318.34
8.2.30.0070.00018.18
8.2.20.0040.00417.80
8.2.10.0050.00217.99
8.2.00.0040.00417.73
8.1.280.0140.00425.92
8.1.270.0040.00422.14
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0060.00323.70
8.1.230.0040.00719.10
8.1.220.0040.00417.78
8.1.210.0000.00818.77
8.1.200.0000.00917.48
8.1.190.0050.00317.41
8.1.180.0040.00418.10
8.1.170.0070.00018.50
8.1.160.0000.00721.88
8.1.150.0040.00418.63
8.1.140.0040.00317.36
8.1.130.0030.00317.74
8.1.120.0070.00017.51
8.1.110.0050.00317.33
8.1.100.0060.00317.40
8.1.90.0040.00417.42
8.1.80.0000.00717.39
8.1.70.0000.00817.35
8.1.60.0030.00617.49
8.1.50.0040.00417.36
8.1.40.0050.00217.34
8.1.30.0060.00317.48
8.1.20.0000.00717.54
8.1.10.0040.00417.46
8.1.00.0040.00417.46
8.0.300.0070.00018.77
8.0.290.0080.00017.05
8.0.280.0030.00318.38
8.0.270.0000.00817.18
8.0.260.0000.00616.66
8.0.250.0030.00317.02
8.0.240.0070.00016.92
8.0.230.0030.00316.91
8.0.220.0000.00716.78
8.0.210.0000.00716.87
8.0.200.0030.00316.98
8.0.190.0080.00016.91
8.0.180.0000.00716.79
8.0.170.0040.00416.98
8.0.160.0070.00016.85
8.0.150.0070.00016.84
8.0.140.0040.00416.71
8.0.130.0060.00013.28
8.0.120.0030.00616.84
8.0.110.0050.00216.86
8.0.100.0000.00816.89
8.0.90.0000.00716.84
8.0.80.0070.00716.86
8.0.70.0030.00416.70
8.0.60.0070.00017.00
8.0.50.0040.00416.68
8.0.30.0120.00816.87
8.0.20.0120.00617.40
8.0.10.0040.00417.02
8.0.00.0090.00916.93
7.4.330.0020.00215.07
7.4.320.0070.00016.55
7.4.300.0000.00616.58
7.4.290.0040.00416.39
7.4.280.0040.00416.47
7.4.270.0000.00716.52
7.4.260.0080.00016.50
7.4.250.0000.00816.47
7.4.240.0050.00216.56
7.4.230.0030.00316.40
7.4.220.0120.01216.57
7.4.210.0110.00716.54
7.4.200.0080.00016.30
7.4.190.0000.00716.74
7.4.160.0090.00616.45
7.4.150.0120.00617.40
7.4.140.0110.01017.86
7.4.130.0070.00916.54
7.4.120.0120.00716.63
7.4.110.0070.01016.57
7.4.100.0060.01516.78
7.4.90.0110.00516.38
7.4.80.0040.01419.39
7.4.70.0100.01016.49
7.4.60.0030.01316.68
7.4.50.0000.00516.32
7.4.40.0080.00422.77
7.4.30.0060.00916.57
7.4.00.0110.00514.89
7.3.330.0000.00613.17
7.3.320.0000.00513.16
7.3.310.0030.00316.18
7.3.300.0000.00716.34
7.3.290.0140.00616.38
7.3.280.0110.00716.29
7.3.270.0150.00517.40
7.3.260.0110.01016.57
7.3.250.0130.00616.40
7.3.240.0080.00816.34
7.3.230.0030.01216.39
7.3.210.0120.00816.40
7.3.200.0100.00719.39
7.3.190.0120.00616.60
7.3.180.0120.00316.56
7.3.170.0040.01216.35
7.3.160.0100.00716.35
7.3.120.0090.00814.81
7.3.110.0030.01314.89
7.3.100.0030.01214.80
7.3.90.0060.00614.97
7.3.80.0100.00314.88
7.3.70.0100.00314.61
7.3.60.0090.00614.54
7.3.50.0040.00714.86
7.3.40.0080.00414.67
7.3.30.0070.00714.92
7.3.20.0000.01116.66
7.3.10.0110.00316.57
7.3.00.0030.01016.43
7.2.330.0120.00616.68
7.2.320.0090.00916.44
7.2.310.0030.01316.60
7.2.300.0100.00716.36
7.2.290.0060.01616.62
7.2.250.0100.01014.60
7.2.240.0040.01514.88
7.2.230.0100.00314.95
7.2.220.0030.01314.95
7.2.210.0030.00914.91
7.2.200.0000.01414.66
7.2.190.0070.00715.00
7.2.180.0060.01015.15
7.2.170.0040.00814.92
7.1.330.0070.00715.77
7.1.320.0040.01115.68
7.1.310.0030.00815.88
7.1.300.0030.01015.74
7.1.290.0030.00715.80
7.1.280.0040.01115.85
7.1.270.0060.00315.92
7.1.260.0080.00415.69
7.1.70.0040.00416.92
7.1.60.0100.01319.33
7.1.50.0070.01416.95
7.1.00.0030.07722.37
7.0.200.0050.00216.82
7.0.140.0030.07022.09
7.0.60.0070.08019.93
7.0.50.0070.08317.88
7.0.40.0130.03720.06
7.0.30.0130.04320.18
7.0.20.0230.04020.30
7.0.10.0000.08020.16
7.0.00.0030.04720.29
5.6.280.0030.07320.77
5.6.210.0030.09320.75
5.6.200.0100.07318.22
5.6.190.0000.05720.39
5.6.180.0200.08020.54
5.6.170.0270.07320.42
5.6.160.0270.05020.46
5.6.150.0030.04718.20
5.6.140.0030.04018.23
5.6.130.0030.04018.18
5.6.120.0130.07021.01
5.6.110.0070.04721.12
5.6.100.0100.04020.87
5.6.90.0070.08021.02
5.6.80.0070.05020.36
5.6.70.4600.04020.36
5.5.350.0070.08320.39
5.5.340.0100.07717.99
5.5.330.0070.04320.07
5.5.320.0270.08320.50
5.5.310.0370.05320.41
5.5.300.0170.07017.91
5.5.290.0030.08018.04
5.5.280.0070.05020.76
5.5.270.0070.07020.83
5.5.260.0100.08720.75
5.5.250.0030.04720.49
5.5.240.0030.04020.25
5.4.450.0200.06719.41
5.4.440.0170.04019.41
5.4.430.0100.04719.57
5.4.420.0170.06719.41
5.4.410.0270.07719.27
5.4.400.0100.06018.91
5.4.390.0200.05319.07
5.4.380.0270.06719.21
5.4.370.0100.04318.77
5.4.360.0270.07019.10
5.4.350.0170.04319.08
5.4.340.0230.04018.93
5.4.320.0270.03718.79
5.4.310.0270.06019.14
5.4.300.0200.06718.82
5.4.290.0200.07319.05
5.4.280.0230.07718.91
5.4.270.0200.05019.08
5.4.260.0030.03718.92
5.4.250.0000.04018.77
5.4.240.0030.06019.08
5.4.230.0900.05319.21
5.4.220.1570.04319.12
5.4.210.1930.03718.82
5.4.200.1870.03719.23
5.4.190.1870.04018.78
5.4.180.1570.04018.88
5.4.170.2030.03719.20
5.4.160.1830.04318.86
5.4.150.1870.03718.79
5.4.140.1630.03316.28
5.4.130.1870.04016.52
5.4.120.1970.03316.18
5.4.110.1670.03716.41
5.4.100.1870.04016.39
5.4.90.1600.03316.18
5.4.80.1870.03716.45
5.4.70.1900.03316.44
5.4.60.1570.03716.33
5.4.50.1630.03016.45
5.4.40.1900.03016.36
5.4.30.2170.03016.04
5.4.20.1870.03316.04
5.4.10.1770.04316.06
5.4.00.1870.03315.82
5.3.290.1870.04714.52
5.3.280.1730.04014.54
5.3.270.1530.04314.45
5.3.260.1830.04714.56
5.3.250.2100.03014.70
5.3.240.2030.04314.70
5.3.230.1870.04314.61
5.3.220.1670.04014.42
5.3.210.1800.04314.50
5.3.200.1570.04314.41
5.3.190.1900.04314.40
5.3.180.1970.04014.51
5.3.170.1630.03314.42
5.3.160.2100.05314.42
5.3.150.1830.05014.65
5.3.140.0100.07014.50
5.3.130.0070.07014.39
5.3.120.0100.03714.55
5.3.110.0830.04014.39
5.3.100.1670.03713.88
5.3.90.1830.04014.05
5.3.80.1600.04013.85
5.3.70.1600.04013.81
5.3.60.1630.03313.96
5.3.50.1600.03713.79
5.3.40.1700.03313.72
5.3.30.1670.03013.68
5.3.20.2070.04013.68
5.3.10.1870.02713.51
5.3.00.1670.03313.46
5.2.170.1600.03011.23
5.2.160.1330.02311.20
5.2.150.1530.02711.08
5.2.140.1670.03010.98
5.2.130.1730.04010.96
5.2.120.1500.02310.95
5.2.110.1470.03310.96
5.2.100.1500.02711.11
5.2.90.1700.03310.96
5.2.80.1800.03010.95
5.2.70.1500.02311.04
5.2.60.1400.03010.89
5.2.50.1630.03310.86
5.2.40.1100.02711.04
5.2.30.0030.03011.13
5.2.20.0030.06010.79
5.2.10.0130.05710.78
5.2.00.0000.06310.78
5.1.60.1170.03310.13
5.1.50.1130.0339.97
5.1.40.1230.03010.02
5.1.30.1330.02310.38
5.1.20.1070.02710.27
5.1.10.1000.03010.11
5.1.00.1200.02310.07
5.0.50.0700.0308.72
5.0.40.0630.0278.72
5.0.30.0600.0308.72
5.0.20.0530.0238.72
5.0.10.0630.0178.72
5.0.00.0600.0438.72
4.4.90.0500.0238.72
4.4.80.0600.0278.72
4.4.70.0470.0178.72
4.4.60.0600.0208.72
4.4.50.0470.0178.72
4.4.40.0470.0238.72
4.4.30.0570.0238.72
4.4.20.0630.0208.72
4.4.10.0630.0278.72
4.4.00.0730.0338.72
4.3.110.0800.0238.72
4.3.100.0830.0238.72
4.3.90.0670.0208.72
4.3.80.0570.0278.72
4.3.70.0600.0178.72
4.3.60.0730.0208.72
4.3.50.0770.0178.72
4.3.40.0570.0308.72
4.3.30.0330.0178.72
4.3.20.0400.0278.72
4.3.10.0330.0208.72
4.3.00.0330.0178.72

preferences:
57.35 ms | 400 KiB | 5 Q