3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public static $bar = 1; } $f = new Foo; var_dump($f::$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.0150.00016.50
8.3.50.0110.00718.23
8.3.40.0080.00618.52
8.3.30.0110.00418.72
8.3.20.0040.00418.78
8.3.10.0030.00620.36
8.3.00.0080.00019.26
8.2.180.0180.00318.16
8.2.170.0110.00422.96
8.2.160.0130.00320.35
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0000.00726.16
8.2.120.0000.00820.46
8.2.110.0090.00021.07
8.2.100.0030.01017.91
8.2.90.0030.00621.12
8.2.80.0030.00619.27
8.2.70.0080.00017.59
8.2.60.0050.00318.04
8.2.50.0040.00418.07
8.2.40.0030.00618.22
8.2.30.0040.00418.09
8.2.20.0060.00319.30
8.2.10.0000.00717.53
8.2.00.0060.00317.75
8.1.280.0130.00325.92
8.1.270.0030.00524.66
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00323.81
8.1.230.0070.00420.98
8.1.220.0060.00317.74
8.1.210.0080.00018.92
8.1.200.0060.00317.13
8.1.190.0060.00317.51
8.1.180.0080.00018.10
8.1.170.0080.00018.61
8.1.160.0000.00718.77
8.1.150.0040.00418.63
8.1.140.0000.00817.34
8.1.130.0000.00717.83
8.1.120.0000.00717.41
8.1.110.0000.00817.46
8.1.100.0040.00417.40
8.1.90.0070.00017.40
8.1.80.0040.00317.45
8.1.70.0030.00317.38
8.1.60.0030.00617.40
8.1.50.0080.00017.35
8.1.40.0000.00817.52
8.1.30.0000.00717.47
8.1.20.0070.00017.55
8.1.10.0000.00817.45
8.1.00.0000.00817.58
8.0.300.0050.00220.02
8.0.290.0070.00016.63
8.0.280.0030.00318.36
8.0.270.0000.00717.09
8.0.260.0000.00816.70
8.0.250.0050.00316.96
8.0.240.0070.00016.91
8.0.230.0000.00816.94
8.0.220.0000.00716.88
8.0.210.0000.00716.84
8.0.200.0000.00816.78
8.0.190.0040.00416.85
8.0.180.0030.00616.74
8.0.170.0030.00516.70
8.0.160.0000.00716.86
8.0.150.0030.00616.66
8.0.140.0050.00216.78
8.0.130.0000.00513.30
8.0.120.0000.00816.86
8.0.110.0060.00316.62
8.0.100.0030.00516.72
8.0.90.0050.00316.88
8.0.80.0060.01016.82
8.0.70.0030.00516.73
8.0.60.0040.00416.81
8.0.50.0000.00716.82
8.0.30.0030.01517.17
8.0.20.0110.00816.82
8.0.10.0030.00316.77
8.0.00.0090.01516.71
7.4.330.0000.00512.93
7.4.320.0060.00016.39
7.4.300.0030.00316.59
7.4.290.0000.00716.34
7.4.280.0060.00316.37
7.4.270.0070.00016.34
7.4.260.0000.00513.24
7.4.250.0040.00416.42
7.4.240.0030.00316.34
7.4.230.0030.00316.42
7.4.220.0060.01216.39
7.4.210.0080.00616.45
7.4.200.0000.00716.32
7.4.190.0000.00716.50
7.4.160.0030.01316.56
7.4.150.0180.00716.52
7.4.140.0070.01416.33
7.4.130.0040.01116.51
7.4.120.0170.00016.37
7.4.110.0160.00616.44
7.4.100.0080.01016.61
7.4.90.0110.01116.50
7.4.80.0110.00916.64
7.4.70.0060.01016.46
7.4.60.0110.00616.49
7.4.50.0040.00416.41
7.4.40.0080.00416.24
7.4.30.0100.01016.50
7.4.00.0000.01314.74
7.3.330.0030.00313.11
7.3.320.0000.00713.29
7.3.310.0040.00416.26
7.3.300.0030.00316.16
7.3.290.0060.00916.30
7.3.280.0130.00516.26
7.3.270.0110.00716.68
7.3.260.0040.01316.50
7.3.250.0090.00816.32
7.3.240.0090.00916.43
7.3.230.0100.00716.52
7.3.210.0080.00816.44
7.3.200.0140.00619.39
7.3.190.0000.01616.55
7.3.180.0070.01416.52
7.3.170.0100.00616.62
7.3.160.0110.00416.21
7.3.120.0060.00914.89
7.3.10.0070.00516.55
7.3.00.0030.00916.46
7.2.330.0060.01016.64
7.2.320.0070.01016.35
7.2.310.0090.00916.71
7.2.300.0060.01216.67
7.2.290.0060.01216.68
7.2.130.0050.00816.48
7.2.120.0050.00816.72
7.2.110.0050.01016.73
7.2.100.0040.01116.80
7.2.90.0080.00616.56
7.2.80.0110.00216.58
7.2.70.0120.00716.39
7.2.60.0020.01016.71
7.2.50.0060.00716.55
7.2.40.0090.00416.87
7.2.30.0080.00716.72
7.2.20.0080.00616.78
7.2.10.0070.01316.85
7.2.00.0090.00516.90
7.1.250.0070.00715.68
7.1.70.0000.01016.82
7.1.60.0070.01519.31
7.1.50.0160.00616.90
7.1.00.0100.06022.36
7.0.200.0100.00714.73
7.0.140.0100.06321.99
7.0.120.0070.07022.11
7.0.60.0070.03719.84
7.0.50.0100.08017.74
7.0.40.0030.04320.20
7.0.30.0170.05020.23
7.0.20.0300.05320.26
7.0.10.0070.08320.33
7.0.00.0070.05720.20
5.6.280.0130.06321.13
5.6.210.0030.06320.53
5.6.200.0130.03018.22
5.6.190.0070.05020.48
5.6.180.0270.03320.48
5.6.170.0170.04320.55
5.6.160.0100.04320.43
5.6.150.0000.06318.18
5.6.140.0000.04018.15
5.6.130.0100.03718.26
5.6.120.0130.07720.96
5.6.110.0130.08021.11
5.6.100.0070.08321.13
5.6.90.0070.06721.10
5.6.80.0070.06320.40
5.5.350.0300.07020.30
5.5.340.0000.04017.91
5.5.330.0000.04720.54
5.5.320.0300.08320.30
5.5.310.0370.07020.50
5.5.300.0030.08318.00
5.5.290.0030.05717.96
5.5.280.0070.08020.84
5.5.270.0070.07720.81
5.5.260.0030.08320.86
5.5.250.0070.03720.46
5.5.240.0070.06320.12
5.4.450.0030.04319.33
5.4.440.0070.03719.60
5.4.430.0030.03719.48
5.4.420.0000.04019.39
5.4.410.0100.04019.27
5.4.400.0100.03019.14
5.4.390.0030.03719.14
5.4.380.0030.03719.14
5.4.370.0070.03319.24
5.4.360.0170.03719.16
5.4.350.0100.07718.85
5.4.340.0070.06318.87
5.4.320.0030.04018.87
5.4.310.0000.04319.15
5.4.300.0070.04019.14
5.4.290.0000.04019.12
5.4.280.0100.07318.95
5.4.270.0070.07719.21
5.4.260.0000.07719.14
5.4.250.0000.04319.11
5.4.240.0230.05719.13
5.4.230.0070.07719.13
5.4.220.0170.06718.86
5.4.210.0030.04019.19
5.4.200.0130.06719.07
5.4.190.0030.08318.86
5.4.180.0070.08019.24
5.4.170.0130.05018.97
5.4.160.0130.04019.09
5.4.150.0070.07718.83
5.4.140.0100.05016.34
5.4.130.0070.06716.42
5.4.120.0200.03316.41
5.4.110.0070.06716.46
5.4.100.0030.07716.45
5.4.90.0030.06716.39
5.4.80.0030.04716.40
5.4.70.0100.04316.52
5.4.60.0130.07016.27
5.4.50.0170.05016.66
5.4.40.0100.07016.50
5.4.30.0070.04316.40
5.4.20.0070.05016.41
5.4.10.0030.08016.36
5.4.00.0070.03315.71
5.3.290.0000.08314.54
5.3.280.0100.06314.59
5.3.270.0100.07314.51
5.3.260.0030.08314.59
5.3.250.0100.04314.62
5.3.240.0030.07314.63
5.3.230.0030.05314.64
5.3.220.0070.05714.71
5.3.210.0030.04314.55
5.3.200.0130.07714.59
5.3.190.0130.07014.59
5.3.180.0070.07714.61
5.3.170.0100.07314.70
5.3.160.0000.08314.73
5.3.150.0130.07314.55
5.3.140.0100.07314.69
5.3.130.0170.06714.57
5.3.120.0070.04314.59
5.3.110.0030.04014.61
5.3.100.0070.04014.08
5.3.90.0000.08014.06
5.3.80.0030.03714.07
5.3.70.0130.07014.02
5.3.60.0070.07014.05
5.3.50.0070.07313.91
5.3.40.0030.03713.89
5.3.30.0030.03713.93
5.3.20.0030.03713.64
5.3.10.0030.04013.70
5.3.00.0070.03313.67
5.2.170.0130.04011.09
5.2.160.0030.03711.14
5.2.150.0030.04011.19
5.2.140.0000.03311.11
5.2.130.0000.03011.26
5.2.120.0070.03311.14
5.2.110.0070.02711.09
5.2.100.0000.04010.98
5.2.90.0070.05011.16
5.2.80.0000.06011.10
5.2.70.0070.05711.24
5.2.60.0000.04711.13
5.2.50.0070.04711.18
5.2.40.0030.05710.91
5.2.30.0000.05310.91
5.2.20.0030.04010.98
5.2.10.0030.06311.02
5.2.00.0000.04010.68
5.1.60.0030.0309.96
5.1.50.0070.0509.97
5.1.40.0070.0409.88
5.1.30.0070.05710.37
5.1.20.0030.03310.40
5.1.10.0130.04310.09
5.1.00.0000.04010.12
5.0.50.0030.0408.56
5.0.40.0000.0338.36
5.0.30.0030.0478.21
5.0.20.0000.0378.26
5.0.10.0000.0208.14
5.0.00.0070.0338.11
4.4.90.0030.0338.08
4.4.80.0000.0408.08
4.4.70.0000.0208.08
4.4.60.0030.0338.08
4.4.50.0030.0278.08
4.4.40.0030.0508.08
4.4.30.0100.0238.08
4.4.20.0000.0178.08
4.4.10.0000.0308.08
4.4.00.0030.0538.08
4.3.110.0000.0378.08
4.3.100.0030.0378.08
4.3.90.0000.0178.08
4.3.80.0000.0508.08
4.3.70.0030.0308.08
4.3.60.0030.0238.08
4.3.50.0070.0278.08
4.3.40.0030.0308.08
4.3.30.0000.0208.08
4.3.20.0000.0208.08
4.3.10.0030.0338.08
4.3.00.0000.0378.08

preferences:
55.19 ms | 401 KiB | 5 Q