3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo {static function bar() {var_dump(1);}} 'foo::bar'();

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.00716.75
8.3.50.0100.00822.03
8.3.40.0090.00618.59
8.3.30.0090.00618.46
8.3.20.0000.00820.16
8.3.10.0000.00723.61
8.3.00.0080.00019.13
8.2.180.0090.00618.16
8.2.170.0090.00622.96
8.2.160.0090.00620.57
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0080.00417.13
8.2.120.0040.00426.35
8.2.110.0080.00321.05
8.2.100.0080.00317.72
8.2.90.0050.00319.13
8.2.80.0080.00017.97
8.2.70.0000.00817.38
8.2.60.0040.00417.91
8.2.50.0000.00818.10
8.2.40.0020.00520.55
8.2.30.0000.00820.52
8.2.20.0000.00717.46
8.2.10.0080.00017.90
8.2.00.0040.00417.79
8.1.280.0040.01525.92
8.1.270.0000.00822.06
8.1.260.0040.00428.09
8.1.250.0000.01428.09
8.1.240.0030.00621.17
8.1.230.0040.00819.11
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0030.00617.00
8.1.190.0030.00517.10
8.1.180.0040.00418.10
8.1.170.0000.00818.50
8.1.160.0000.00821.96
8.1.150.0040.00418.66
8.1.140.0040.00419.44
8.1.130.0030.00317.57
8.1.120.0030.00317.22
8.1.110.0070.00017.33
8.1.100.0000.00817.28
8.1.90.0000.00717.39
8.1.80.0050.00317.23
8.1.70.0030.00517.27
8.1.60.0000.00717.41
8.1.50.0060.00617.48
8.1.40.0050.00917.43
8.1.30.0090.00017.48
8.1.20.0000.00717.46
8.1.10.0040.00417.35
8.1.00.0050.00217.32
8.0.300.0000.00818.77
8.0.290.0040.00416.63
8.0.280.0020.00518.42
8.0.270.0040.00317.16
8.0.260.0000.00717.18
8.0.250.0040.00416.78
8.0.240.0060.00316.86
8.0.230.0030.00316.79
8.0.220.0030.00316.80
8.0.210.0050.00316.84
8.0.200.0070.00016.93
8.0.190.0080.00016.90
8.0.180.0050.00316.84
8.0.170.0040.00416.74
8.0.160.0000.00716.80
8.0.150.0000.00816.75
8.0.140.0030.00716.72
8.0.130.0000.00513.22
8.0.120.0050.00316.67
8.0.110.0040.00416.73
8.0.100.0050.00316.71
8.0.90.0000.00716.66
8.0.80.0070.01116.75
8.0.70.0050.00216.82
8.0.60.0000.00816.57
8.0.50.0060.00316.75
8.0.30.0130.00616.98
8.0.20.0130.00617.40
8.0.10.0030.00616.92
8.0.00.0100.00716.60
7.4.330.0000.00515.08
7.4.320.0030.00316.37
7.4.300.0030.00316.36
7.4.290.0030.00316.50
7.4.280.0080.00016.56
7.4.270.0070.00016.44
7.4.260.0000.00716.40
7.4.250.0000.00816.49
7.4.240.0010.00616.51
7.4.230.0070.00016.51
7.4.220.0090.00916.59
7.4.210.0060.00916.49
7.4.200.0030.00316.51
7.4.160.0110.00816.27
7.4.150.0000.01717.40
7.4.140.0130.00517.86
7.4.130.0120.00616.64
7.4.120.0080.00916.35
7.4.110.0000.01616.35
7.4.100.0150.00716.43
7.4.90.0100.00716.43
7.4.80.0180.00019.39
7.4.70.0100.00616.55
7.4.60.0060.01016.29
7.4.50.0000.00416.28
7.4.40.0100.00716.28
7.4.30.0180.00316.47
7.4.00.0060.01014.81
7.3.330.0000.00613.09
7.3.320.0060.00013.19
7.3.310.0040.00416.28
7.3.300.0040.00416.27
7.3.290.0000.00716.18
7.3.280.0080.00616.21
7.3.270.0100.00617.40
7.3.260.0050.01816.23
7.3.250.0110.00616.39
7.3.240.0090.01016.39
7.3.230.0070.01016.48
7.3.210.0140.00716.38
7.3.200.0070.01016.31
7.3.190.0090.00916.20
7.3.180.0070.01016.13
7.3.170.0130.00316.41
7.3.160.0040.01216.25
7.3.120.0070.01014.54
7.3.110.0110.00414.72
7.3.100.0060.00914.79
7.3.90.0050.00514.80
7.3.80.0070.00714.37
7.3.70.0030.01314.74
7.3.60.0100.00714.74
7.3.50.0030.01014.65
7.3.40.0030.01014.65
7.3.30.0080.00614.52
7.3.20.0070.00716.43
7.3.10.0060.00916.56
7.3.00.0030.00916.40
7.2.330.0070.01016.48
7.2.320.0120.00616.54
7.2.310.0060.00916.66
7.2.300.0140.00316.50
7.2.290.0150.00316.32
7.2.250.0030.01714.83
7.2.240.0100.00314.86
7.2.230.0060.00314.76
7.2.220.0070.01314.97
7.2.210.0000.01014.91
7.2.200.0090.00614.69
7.2.190.0030.00714.50
7.2.180.0090.00314.98
7.2.170.0060.00914.84
7.2.130.0030.00616.84
7.2.120.0070.00416.91
7.2.110.0030.00616.72
7.2.100.0000.01016.68
7.2.90.0030.01116.72
7.2.80.0070.00316.62
7.2.70.0030.01316.56
7.2.60.0070.00716.79
7.2.50.0110.00316.88
7.2.40.0060.00616.89
7.2.30.0060.00316.38
7.2.20.0030.00616.45
7.2.10.0030.01016.44
7.2.00.0080.00617.99
7.1.330.0040.01115.59
7.1.320.0000.00915.59
7.1.310.0000.01615.56
7.1.300.0040.01115.61
7.1.290.0090.00015.70
7.1.280.0090.00615.65
7.1.270.0000.01215.52
7.1.260.0030.00615.75
7.1.250.0040.00415.41
7.1.200.0030.00915.73
7.1.100.0040.01117.63
7.1.70.0030.00517.08
7.1.60.0110.01419.48
7.1.50.0090.01216.59
7.1.00.0000.08022.44
7.0.200.0340.00014.75
7.0.100.0100.08319.89
7.0.90.0100.08719.88
7.0.80.0070.05719.85
7.0.70.0130.06019.80
7.0.60.0070.08320.03
7.0.50.0100.08020.31
7.0.40.0130.07020.08
7.0.30.0100.08020.18
7.0.20.0030.07020.08
7.0.10.0130.07020.16
7.0.00.0100.07720.13
5.6.280.0000.04321.10
5.6.250.0130.07720.60
5.6.240.0070.05720.67
5.6.230.0070.08020.61
5.6.220.0070.08320.62
5.6.210.0030.08320.68
5.6.200.0170.06321.14
5.6.190.0070.08320.95
5.6.180.0100.06021.11
5.6.170.0070.08321.08
5.6.160.0100.08321.02
5.6.150.0100.06321.14
5.6.140.0100.08321.00
5.6.130.0000.08721.05
5.6.120.0030.08721.17
5.6.110.0070.07720.94
5.6.100.0170.05020.95
5.6.90.0070.08721.09
5.6.80.0030.08320.50
5.6.70.0030.08320.42
5.6.60.0130.07320.46
5.6.50.0070.08020.49
5.6.40.0130.07720.31
5.6.30.0030.07320.38
5.6.20.0000.07720.46
5.6.10.0200.04720.33
5.6.00.0200.07320.46
5.5.380.0030.05320.43
5.5.370.0030.07720.50
5.5.360.0030.05720.36
5.5.350.0070.06720.39
5.5.340.0030.05720.84
5.5.330.0070.08720.83
5.5.320.0030.07720.78
5.5.310.0030.04320.88
5.5.300.0030.04320.89
5.5.290.0100.08320.82
5.5.280.0130.08020.90
5.5.270.0070.05020.79
5.5.260.0130.05320.89
5.5.250.0070.07720.65
5.5.240.0030.08320.32
5.5.230.0130.07320.29
5.5.220.0030.08020.23
5.5.210.0030.07720.02
5.5.200.0100.08020.24
5.5.190.0000.08320.24
5.5.180.0100.04720.16
5.5.160.0070.07720.13
5.5.150.0070.07320.19
5.5.140.0100.07320.12
5.5.130.0170.07019.98
5.5.120.0070.05320.12
5.5.110.0100.04320.23
5.5.100.0170.07320.12
5.5.90.0170.06720.10
5.5.80.0200.06320.16
5.5.70.0130.07020.06
5.5.60.0100.07020.08
5.5.50.0100.08020.06
5.5.40.0100.06319.96
5.5.30.0130.07720.14
5.5.20.0070.07319.90
5.5.10.0070.07319.98
5.5.00.0000.08720.04

preferences:
54.33 ms | 401 KiB | 5 Q