3v4l.org

run code in 300+ PHP versions simultaneously
<?php $results = []; $results[] = ['topic' => 'Command Line']; $results[] = ['topic' => 'Symfony General']; $results[] = ['topic' => 'Dependency Injection']; $results[] = ['topic' => 'Validation']; $results[] = ['topic' => 'Cache']; $results[] = ['topic' => 'Form']; $results[] = ['topic' => 'Doctrine']; var_dump(array_column($results, 'topic'));

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.0070.00718.43
8.3.50.0040.01118.00
8.3.40.0140.00418.70
8.3.30.0030.01419.08
8.3.20.0050.00320.20
8.3.10.0040.00423.70
8.3.00.0080.00019.08
8.2.180.0150.00318.18
8.2.170.0070.00722.96
8.2.160.0090.00921.88
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0000.00721.03
8.2.110.0000.01122.05
8.2.100.0070.00417.78
8.2.90.0000.00917.75
8.2.80.0080.00018.78
8.2.70.0030.00617.91
8.2.60.0040.00418.03
8.2.50.0050.00318.10
8.2.40.0020.00519.29
8.2.30.0000.00719.27
8.2.20.0000.00817.73
8.2.10.0060.00317.90
8.2.00.0040.00417.61
8.1.280.0160.00025.92
8.1.270.0090.00018.83
8.1.260.0040.00426.35
8.1.250.0020.00528.09
8.1.240.0000.00924.02
8.1.230.0040.00817.83
8.1.220.0030.00617.74
8.1.210.0000.00818.77
8.1.200.0030.00617.23
8.1.190.0000.00817.23
8.1.180.0000.00819.02
8.1.170.0030.00718.59
8.1.160.0030.00518.92
8.1.150.0000.00718.89
8.1.140.0040.00417.38
8.1.130.0080.00017.74
8.1.120.0000.00717.32
8.1.110.0000.00817.32
8.1.100.0000.00817.28
8.1.90.0000.00817.27
8.1.80.0040.00417.39
8.1.70.0030.00517.36
8.1.60.0000.00817.54
8.1.50.0060.00317.41
8.1.40.0030.00617.36
8.1.30.0090.00017.44
8.1.20.0030.00517.62
8.1.10.0030.00517.47
8.1.00.0030.00617.46
8.0.300.0000.00718.77
8.0.290.0090.00016.58
8.0.280.0030.00518.32
8.0.270.0100.00017.11
8.0.260.0030.00317.23
8.0.250.0030.00316.93
8.0.240.0000.00716.76
8.0.230.0030.00316.78
8.0.220.0040.00416.71
8.0.210.0050.00316.84
8.0.200.0060.00016.91
8.0.190.0070.00016.84
8.0.180.0070.00016.81
8.0.170.0000.00816.73
8.0.160.0000.00716.71
8.0.150.0080.00016.80
8.0.140.0030.00616.71
8.0.130.0000.00613.31
8.0.120.0040.00416.81
8.0.110.0000.00716.86
8.0.100.0040.00416.66
8.0.90.0000.00716.82
8.0.80.0100.00616.75
8.0.70.0000.00716.69
8.0.60.0000.00716.81
8.0.50.0070.00016.72
8.0.30.0120.00916.98
8.0.20.0180.00417.40
8.0.10.0040.00416.86
8.0.00.0070.01216.64
7.4.330.0000.00515.03
7.4.320.0030.00316.54
7.4.300.0000.00616.51
7.4.290.0000.00716.45
7.4.280.0080.00016.54
7.4.270.0030.00516.45
7.4.260.0000.00716.47
7.4.250.0000.00716.42
7.4.240.0000.00716.46
7.4.230.0070.00016.52
7.4.220.0100.00716.47
7.4.210.0100.00616.47
7.4.200.0030.00316.58
7.4.160.0110.00616.43
7.4.150.0100.01017.40
7.4.140.0100.00717.86
7.4.130.0130.00716.33
7.4.120.0090.01216.54
7.4.110.0090.00916.30
7.4.100.0040.01616.32
7.4.90.0060.01816.46
7.4.80.0120.00619.39
7.4.70.0120.00416.34
7.4.60.0060.01016.43
7.4.50.0000.00816.46
7.4.40.0040.01216.31
7.4.30.0170.00716.46
7.4.00.0040.01114.84
7.3.330.0000.00613.18
7.3.320.0020.00213.11
7.3.310.0070.00016.25
7.3.300.0070.00016.09
7.3.290.0100.00716.21
7.3.280.0060.01016.22
7.3.270.0100.00717.40
7.3.260.0060.01216.25
7.3.250.0080.01316.29
7.3.240.0090.00816.45
7.3.230.0210.00316.39
7.3.210.0130.00416.23
7.3.200.0090.00919.39
7.3.190.0120.00616.24
7.3.180.0100.00816.35
7.3.170.0130.00716.36
7.3.160.0030.01216.48
7.3.10.0140.00316.27
7.3.00.0130.00316.33
7.2.330.0140.00416.32
7.2.320.0150.00816.60
7.2.310.0100.01316.45
7.2.300.0030.01716.34
7.2.290.0100.00716.32
7.2.130.0110.00716.33
7.2.120.0110.00916.25
7.2.110.0120.00316.61
7.2.100.0070.01016.34
7.2.90.0110.00716.39
7.2.80.0060.00616.55
7.2.70.0110.00616.89
7.2.60.0120.00316.25
7.2.50.0120.00616.32
7.2.40.0080.00416.64
7.2.30.0070.00716.45
7.2.20.0070.00716.52
7.2.10.0030.01016.39
7.2.00.0060.00417.91
7.1.250.0050.00515.53
7.1.100.0110.00318.19
7.1.70.0060.00916.96
7.1.60.0090.01619.22
7.1.50.0130.01016.84
7.1.00.0030.07722.33
7.0.200.0090.00316.68
7.0.140.0070.04322.09
7.0.60.0070.04719.75
7.0.50.0030.08317.89
7.0.40.0130.06720.09
7.0.30.0230.05020.04
7.0.20.0200.04320.10
7.0.10.0100.05020.04
7.0.00.0070.04020.16
5.6.210.0030.07720.76
5.6.200.0030.04018.12
5.6.190.0000.05020.36
5.6.180.0300.07020.48
5.6.170.0170.09320.52
5.6.160.0070.08720.36
5.6.150.0100.07718.15
5.6.140.0230.07018.10
5.6.130.0030.08318.18
5.6.120.0030.04321.14
5.6.110.0030.08721.13
5.6.100.0070.06321.11
5.6.90.0130.06721.13
5.6.80.0200.05720.35
5.5.350.0070.05320.30
5.5.340.0130.04018.02
5.5.330.0100.08320.37
5.5.320.0230.06320.29
5.5.310.0270.08020.16
5.5.300.0100.03317.92
5.5.290.0070.04317.98
5.5.280.0130.07020.79
5.5.270.0000.06320.75
5.5.260.0070.08720.89
5.5.250.0070.05720.61
5.5.240.0030.08020.15
5.4.450.0200.06019.52
5.4.440.0670.06319.19
5.4.430.0570.06319.61
5.4.420.0630.06019.13
5.4.410.0930.06719.47
5.4.400.0770.04718.93
5.4.390.0430.06718.61
5.4.380.0230.06318.59
5.4.370.0230.06718.72
5.4.360.0430.05718.74
5.4.350.0430.07018.50
5.4.340.0370.05318.53
5.4.320.0330.06318.46
5.4.310.0270.05718.65
5.4.300.0270.05718.64
5.4.290.0370.04718.66
5.4.280.0370.05018.67
5.4.270.0200.05718.50
5.4.260.0270.05718.45
5.4.250.0230.06018.48
5.4.240.0270.06018.48
5.4.230.0300.05018.67
5.4.220.0300.05018.57
5.4.210.0300.06018.73
5.4.200.0270.06316.55
5.4.190.0430.06718.66
5.4.180.0300.07018.61
5.4.170.0470.07018.69
5.4.160.0500.06018.61
5.4.150.0270.07318.60
5.4.140.0230.08016.20
5.4.130.0430.06016.29
5.4.120.0400.04716.30
5.4.110.0230.05016.13
5.4.100.0330.04716.16
5.4.90.0300.05016.15
5.4.80.0330.06015.99
5.4.70.0370.07716.20
5.4.60.0530.07016.14
5.4.50.0300.07316.05
5.4.40.0500.06316.14
5.4.30.0370.06316.19
5.4.20.0370.05316.16
5.4.10.0400.06016.22
5.4.00.0370.07015.62
5.3.290.0570.06014.66
5.3.280.0430.06314.51
5.3.270.0470.06714.50
5.3.260.0230.05714.55
5.3.250.0300.05014.61
5.3.240.0270.06314.54
5.3.230.0300.05014.69
5.3.220.0470.04714.55
5.3.210.0400.05314.57
5.3.200.0170.06714.66
5.3.190.0430.04714.66
5.3.180.0300.05714.62
5.3.170.0430.04714.51
5.3.160.0270.05714.56
5.3.150.0430.06714.48
5.3.140.0430.06714.61
5.3.130.0330.07314.54
5.3.120.0430.06314.45
5.3.110.0270.05314.55
5.3.100.0330.04714.14
5.3.90.0330.05013.93
5.3.80.0230.06313.99
5.3.70.0270.05014.09
5.3.60.0230.05014.04
5.3.50.0230.05013.91
5.3.40.0330.05713.92
5.3.30.0200.05314.02
5.3.20.0330.05013.64
5.3.10.0400.05313.59
5.3.00.0370.05013.61
5.2.170.0200.04311.18
5.2.160.0300.03711.20
5.2.150.0200.05011.11
5.2.140.0230.04311.11
5.2.130.0200.04311.03
5.2.120.0200.04711.14
5.2.110.0200.04711.08
5.2.100.0230.04011.02
5.2.90.0230.04011.15
5.2.80.0300.03711.25
5.2.70.0330.03311.04
5.2.60.0270.04311.09
5.2.50.0300.04311.05
5.2.40.0200.04311.02
5.2.30.0270.03711.03
5.2.20.0230.04710.91
5.2.10.0230.03710.91
5.2.00.0170.04310.73
5.1.60.0200.03010.13
5.1.50.0200.03710.02
5.1.40.0070.04010.09
5.1.30.0300.03010.36
5.1.20.0270.03710.49
5.1.10.0230.03710.08
5.1.00.0230.03710.04
5.0.50.0200.0238.53
5.0.40.0130.0238.46
5.0.30.0030.0478.19
5.0.20.0070.0308.23
5.0.10.0100.0308.29
5.0.00.0030.0508.35
4.4.90.0030.0276.47
4.4.80.0230.0206.47
4.4.70.0130.0206.47
4.4.60.0200.0176.47
4.4.50.0130.0206.47
4.4.40.0130.0336.47
4.4.30.0100.0236.47
4.4.20.0170.0176.47
4.4.10.0030.0236.47
4.4.00.0100.0336.47
4.3.110.0100.0206.47
4.3.100.0100.0236.47
4.3.90.0100.0206.47
4.3.80.0100.0336.47
4.3.70.0070.0236.47
4.3.60.0100.0206.47
4.3.50.0170.0236.47
4.3.40.0170.0276.47
4.3.30.0070.0236.47
4.3.20.0030.0236.47
4.3.10.0030.0236.47
4.3.00.0100.0237.24

preferences:
67.28 ms | 400 KiB | 5 Q