3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public static function bar() { return sTatIC::class; } } var_dump(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.40.0140.00718.57
8.3.30.0030.01219.02
8.3.20.0030.00520.22
8.3.10.0020.00521.79
8.3.00.0000.00817.68
8.2.170.0060.00922.96
8.2.160.0070.00720.39
8.2.150.0070.00024.18
8.2.140.0000.00824.66
8.2.130.0110.00726.16
8.2.120.0060.00321.03
8.2.110.0030.00622.14
8.2.100.0060.00621.04
8.2.90.0030.00618.95
8.2.80.0080.00017.97
8.2.70.0060.00317.38
8.2.60.0050.00317.68
8.2.50.0000.00818.07
8.2.40.0000.00917.91
8.2.30.0040.00417.96
8.2.20.0040.00417.44
8.2.10.0000.00718.03
8.2.00.0070.00017.55
8.1.270.0030.00523.87
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0030.00623.97
8.1.230.0000.01019.16
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0040.00717.10
8.1.190.0000.00817.10
8.1.180.0040.00418.10
8.1.170.0060.00318.59
8.1.160.0070.00021.95
8.1.150.0050.00318.70
8.1.140.0030.00617.32
8.1.130.0000.00717.70
8.1.120.0040.00417.38
8.1.110.0040.00417.37
8.1.100.0040.00417.36
8.1.90.0000.00717.38
8.1.80.0070.00017.38
8.1.70.0030.00317.27
8.1.60.0040.00417.53
8.1.50.0030.00617.43
8.1.40.0110.00017.46
8.1.30.0040.00417.49
8.1.20.0060.00317.60
8.1.10.0020.00517.37
8.1.00.0040.00417.35
8.0.300.0070.00018.77
8.0.290.0040.00416.63
8.0.280.0050.00318.32
8.0.270.0050.00217.18
8.0.260.0060.00017.07
8.0.250.0070.00016.79
8.0.240.0000.00716.87
8.0.230.0000.00816.90
8.0.220.0000.00716.71
8.0.210.0030.00316.71
8.0.200.0030.00316.75
8.0.190.0040.00416.93
8.0.180.0040.00416.75
8.0.170.0040.00416.78
8.0.160.0000.00816.76
8.0.150.0040.00416.78
8.0.140.0000.00816.73
8.0.130.0000.00913.23
8.0.120.0080.00016.76
8.0.110.0000.00816.68
8.0.100.0000.00716.70
8.0.90.0000.00716.57
8.0.80.0120.00916.71
8.0.70.0040.00416.66
8.0.60.0020.00516.77
8.0.50.0000.00716.65
8.0.30.0110.00816.98
8.0.20.0100.00917.40
8.0.10.0000.00716.68
8.0.00.0110.00816.65
7.4.330.0000.00515.00
7.4.320.0000.00716.45
7.4.300.0060.00016.53
7.4.290.0000.00716.50
7.4.280.0000.00816.39
7.4.270.0030.00316.45
7.4.260.0030.00616.41
7.4.250.0000.00716.38
7.4.240.0020.00516.42
7.4.230.0030.00316.50
7.4.220.0040.01516.50
7.4.210.0100.00316.45
7.4.200.0000.00716.43
7.4.160.0140.00016.24
7.4.150.0070.01717.40
7.4.140.0090.00817.86
7.4.130.0080.00816.53
7.4.120.0140.00616.43
7.4.110.0080.00816.28
7.4.100.0120.00616.54
7.4.90.0110.00516.43
7.4.80.0090.00919.39
7.4.70.0070.01116.29
7.4.60.0130.01016.31
7.4.50.0000.00916.02
7.4.40.0060.01016.48
7.4.30.0040.01416.16
7.4.00.0030.01315.07
7.3.330.0050.00013.00
7.3.320.0000.00513.17
7.3.310.0030.00316.29
7.3.300.0070.00016.25
7.3.290.0070.01116.25
7.3.280.0080.00616.22
7.3.270.0140.00517.40
7.3.260.0080.00816.23
7.3.250.0090.00716.39
7.3.240.0090.01316.21
7.3.230.0100.00616.39
7.3.210.0120.00616.34
7.3.200.0060.00919.39
7.3.190.0090.00616.46
7.3.180.0070.01016.39
7.3.170.0040.01116.27
7.3.160.0090.00616.25
7.3.120.0060.00914.75
7.2.330.0090.00916.41
7.2.320.0000.01716.47
7.2.310.0160.00616.59
7.2.300.0000.01616.55
7.2.290.0130.00316.63
7.2.60.0070.00716.86
7.2.00.0000.00919.20
7.1.200.0000.01115.63
7.1.100.0640.01315.76
7.1.70.0030.00616.75
7.1.60.0100.01619.25
7.1.50.0170.00716.89
7.1.00.0100.07022.28
7.0.200.0100.00716.78
7.0.140.0000.07721.95
7.0.60.0100.06719.93
7.0.50.0030.06017.87
7.0.40.0070.07720.20
7.0.30.0330.08720.16
7.0.20.0370.07020.12
7.0.10.0070.05320.15
7.0.00.0070.08020.18
5.6.280.0070.07021.00
5.6.210.0000.04320.57
5.6.200.0030.04018.16
5.6.190.0030.06720.41
5.6.180.0330.06720.77
5.6.170.0170.04320.39
5.6.160.0070.04020.57
5.6.150.0030.04018.19
5.6.140.0070.06018.15
5.6.130.0070.05318.24
5.6.120.0000.05021.02
5.6.110.0170.07720.97
5.6.100.0030.05320.98
5.6.90.0070.08321.00
5.6.80.0030.06720.38
5.5.350.0230.07020.42
5.5.340.0000.04318.07
5.5.330.0030.06720.41
5.5.320.0370.06720.34
5.5.310.0300.04020.19
5.5.300.0030.04018.04
5.5.290.0130.07018.09
5.5.280.0100.05020.89
5.5.270.0000.08320.89
5.5.260.0100.04320.71
5.5.250.0170.05720.70
5.5.240.0030.06320.15
5.4.450.0730.05319.34
5.4.440.0770.05319.36
5.4.430.0200.05019.52
5.4.420.0730.06019.35
5.4.410.0130.04719.08
5.4.400.0400.05019.23
5.4.390.0700.05719.13
5.4.380.0170.05018.84
5.4.370.0230.05018.72
5.4.360.0300.03718.77
5.4.350.0180.06712.04
5.4.340.0070.03912.03
5.4.320.0090.03912.52
5.4.310.0070.03812.51
5.4.300.0080.03712.51
5.4.290.0070.04412.51
5.4.280.0050.03912.41
5.4.270.0070.03512.41
5.4.260.0060.03912.41
5.4.250.0060.03712.41
5.4.240.0100.04612.41
5.4.230.0110.03912.40
5.4.220.0070.03812.40
5.4.210.0060.03712.40
5.4.200.0070.03912.40
5.4.190.0040.03712.40
5.4.180.0040.03612.40
5.4.170.0040.04012.41
5.4.160.0110.03412.40
5.4.150.0080.03812.39
5.4.140.0040.03912.09
5.4.130.0030.03812.07
5.4.120.0110.04012.04
5.4.110.0060.03412.04
5.4.100.0060.03412.04
5.4.90.0060.03612.03
5.4.80.0060.03612.03
5.4.70.0100.03012.03
5.4.60.0050.03512.02
5.4.50.0030.03712.02
5.4.40.0030.03712.02
5.4.30.0050.03512.01
5.4.20.0070.03712.01
5.4.10.0110.04012.01
5.4.00.0050.03611.50
5.3.290.0120.05212.80
5.3.280.0080.03612.71
5.3.270.0090.03812.72
5.3.260.0050.03912.71
5.3.250.0040.04212.72
5.3.240.0070.03812.72
5.3.230.0100.04312.71
5.3.220.0090.03912.68
5.3.210.0040.04012.68
5.3.200.0080.03612.68
5.3.190.0030.03812.67
5.3.180.0080.03312.67
5.3.170.0080.03412.67
5.3.160.0050.03912.68
5.3.150.0050.03712.68
5.3.140.0050.04212.66
5.3.130.0080.04212.66
5.3.120.0060.03812.66
5.3.110.0050.04412.66
5.3.100.0030.04112.12
5.3.90.0030.03912.11
5.3.80.0030.03812.10
5.3.70.0080.03312.10
5.3.60.0070.03412.08
5.3.50.0050.03612.02
5.3.40.0040.03812.02
5.3.30.0020.03711.98
5.3.20.0070.03811.76
5.3.10.0090.03511.73
5.3.00.0110.03511.72
5.2.170.0050.0309.22
5.2.160.0030.0369.21
5.2.150.0070.0319.21
5.2.140.0040.0319.21
5.2.130.0010.0319.18
5.2.120.0040.0319.17
5.2.110.0050.0309.18
5.2.100.0040.0279.18
5.2.90.0060.0269.18
5.2.80.0070.0279.17
5.2.70.0030.0319.18
5.2.60.0030.0319.13
5.2.50.0070.0279.10
5.2.40.0080.0309.08
5.2.30.0040.0289.05
5.2.20.0030.0289.04
5.2.10.0060.0318.94
5.2.00.0070.0298.81
5.1.60.0040.0298.09
5.1.50.0040.0248.09
5.1.40.0040.0248.07
5.1.30.0040.0318.42
5.1.20.0110.0258.43
5.1.10.0060.0268.16
5.1.00.0050.0278.17
5.0.50.0050.0196.64
5.0.40.0090.0236.50
5.0.30.0030.0316.31
5.0.20.0030.0196.28
5.0.10.0000.0226.26
5.0.00.0010.0326.25
4.4.90.0060.0114.78
4.4.80.0050.0184.76
4.4.70.0020.0204.75
4.4.60.0020.0194.76
4.4.50.0020.0164.77
4.4.40.0020.0264.71
4.4.30.0030.0154.76
4.4.20.0030.0154.85
4.4.10.0030.0164.85
4.4.00.0050.0234.76
4.3.110.0020.0164.67
4.3.100.0040.0134.66
4.3.90.0020.0154.63
4.3.80.0010.0264.58
4.3.70.0040.0144.63
4.3.60.0020.0154.63
4.3.50.0000.0184.63
4.3.40.0030.0244.53
4.3.30.0020.0163.30
4.3.20.0010.0203.28
4.3.10.0030.0153.23
4.3.00.0130.0207.21

preferences:
41.38 ms | 400 KiB | 5 Q