3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface I { static function className(); } class A implements I { static function className() { echo "A"; } } class B implements I { static function className() { echo "B"; } } $a = new A(); $b = new B(); $a::className(); $b::className(); ?>

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.0100.00716.75
8.3.50.0120.01021.98
8.3.40.0070.00718.84
8.3.30.0100.00319.05
8.3.20.0040.00420.01
8.3.10.0070.00021.73
8.3.00.0030.00519.38
8.2.180.0120.00618.30
8.2.170.0090.00622.96
8.2.160.0070.00720.35
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0040.00422.30
8.2.110.0060.00322.26
8.2.100.0040.00817.78
8.2.90.0040.00419.26
8.2.80.0040.00417.97
8.2.70.0030.00617.63
8.2.60.0040.00417.93
8.2.50.0080.00018.07
8.2.40.0050.00319.94
8.2.30.0000.01017.98
8.2.20.0050.00317.64
8.2.10.0000.00717.95
8.2.00.0070.00017.63
8.1.280.0070.01025.92
8.1.270.0060.00323.92
8.1.260.0040.00426.35
8.1.250.0030.00528.09
8.1.240.0090.00018.68
8.1.230.0080.00419.15
8.1.220.0060.00317.74
8.1.210.0030.00518.77
8.1.200.0070.00317.13
8.1.190.0000.00817.25
8.1.180.0080.00018.10
8.1.170.0060.00318.59
8.1.160.0000.00721.98
8.1.150.0030.00518.62
8.1.140.0030.00617.45
8.1.130.0000.00717.54
8.1.120.0050.00317.48
8.1.110.0050.00317.47
8.1.100.0030.00617.42
8.1.90.0040.00417.42
8.1.80.0040.00417.48
8.1.70.0030.00317.33
8.1.60.0030.00617.58
8.1.50.0040.00417.47
8.1.40.0040.00417.51
8.1.30.0040.00417.45
8.1.20.0030.00517.58
8.1.10.0000.00717.44
8.1.00.0030.00517.38
8.0.300.0040.00418.77
8.0.290.0070.00017.18
8.0.280.0070.00018.44
8.0.270.0000.00717.34
8.0.260.0030.00316.75
8.0.250.0030.00316.98
8.0.240.0070.00016.85
8.0.230.0000.00816.95
8.0.220.0030.00316.88
8.0.210.0040.00416.96
8.0.200.0030.00716.94
8.0.190.0060.00316.99
8.0.180.0000.00916.86
8.0.170.0040.00416.82
8.0.160.0000.00716.92
8.0.150.0040.00416.76
8.0.140.0000.00716.87
8.0.130.0030.00313.38
8.0.120.0050.00316.91
8.0.110.0080.00016.97
8.0.100.0040.00416.78
8.0.90.0000.00816.89
8.0.80.0090.00616.90
8.0.70.0040.00416.73
8.0.60.0050.00216.97
8.0.50.0000.00716.79
8.0.30.0100.01217.06
8.0.20.0100.00817.40
8.0.10.0040.00416.93
8.0.00.0080.01016.70
7.4.330.0000.00515.00
7.4.320.0030.00316.51
7.4.300.0030.00316.44
7.4.290.0070.00016.62
7.4.280.0060.00316.52
7.4.270.0040.00416.63
7.4.260.0080.00016.62
7.4.250.0040.00416.43
7.4.240.0000.00716.50
7.4.230.0000.00716.68
7.4.220.0090.00916.65
7.4.210.0040.01016.64
7.4.200.0080.00016.73
7.4.190.0030.00316.58
7.4.160.0060.00916.49
7.4.150.0100.00717.40
7.4.140.0120.00617.86
7.4.130.0130.00716.68
7.4.120.0090.00916.66
7.4.110.0070.01016.44
7.4.100.0120.00916.59
7.4.90.0100.00716.45
7.4.80.0170.00319.39
7.4.70.0170.01316.61
7.4.60.0030.01716.34
7.4.50.0030.00516.65
7.4.40.0140.00316.66
7.4.30.0100.00716.54
7.4.00.0070.00715.04
7.3.330.0050.00213.30
7.3.320.0000.00513.27
7.3.310.0000.00716.31
7.3.300.0000.00716.13
7.3.290.0120.00316.35
7.3.280.0080.00916.32
7.3.270.0100.00617.40
7.3.260.0090.00916.70
7.3.250.0050.01216.35
7.3.240.0120.00616.46
7.3.230.0100.00716.52
7.3.210.0160.00316.50
7.3.200.0170.00619.39
7.3.190.0160.00316.48
7.3.180.0150.00016.48
7.3.170.0030.01216.27
7.3.160.0060.00916.50
7.3.120.0160.00014.91
7.3.110.0000.01414.91
7.3.100.0030.01015.06
7.3.90.0100.00714.67
7.3.80.0040.01114.90
7.3.70.0070.01014.91
7.3.60.0030.01014.83
7.3.50.0030.00715.00
7.3.40.0060.00614.57
7.3.30.0130.00314.83
7.3.20.0030.00716.45
7.3.10.0140.00216.60
7.3.00.0070.00816.53
7.2.330.0140.00316.43
7.2.320.0080.01716.71
7.2.310.0060.01216.68
7.2.300.0080.01516.59
7.2.290.0210.00316.75
7.2.240.0090.00015.17
7.2.230.0100.00714.94
7.2.220.0040.01414.95
7.2.210.0060.01014.59
7.2.200.0090.00614.82
7.2.190.0040.01415.12
7.2.180.0140.00015.13
7.2.170.0100.00714.93
7.2.160.0060.01015.11
7.2.150.0000.01616.68
7.2.140.0000.01216.94
7.2.130.0090.00816.82
7.2.120.0040.01116.88
7.2.110.0080.00516.81
7.2.100.0060.00816.74
7.2.90.0040.00816.81
7.2.80.0090.00716.77
7.2.70.0070.00716.73
7.2.60.0050.00616.69
7.2.50.0050.00816.87
7.2.40.0050.00716.86
7.2.30.0050.00716.91
7.2.20.0070.00616.86
7.2.10.0070.00716.77
7.2.00.0090.00617.48
7.1.330.0040.01415.62
7.1.320.0100.00615.72
7.1.310.0070.01015.86
7.1.300.0000.01115.65
7.1.290.0070.01115.75
7.1.280.0080.00815.89
7.1.270.0080.00615.77
7.1.260.0030.01415.80
7.1.250.0060.00915.75
7.1.240.0080.00315.52
7.1.230.0060.00615.88
7.1.220.0090.00415.71
7.1.210.0000.01115.46
7.1.200.0020.00915.79
7.1.190.0030.01015.73
7.1.180.0050.00315.85
7.1.170.0100.00615.79
7.1.160.0070.00315.88
7.1.150.0040.00715.73
7.1.140.0030.00715.61
7.1.130.0090.00615.80
7.1.120.0060.00615.53
7.1.110.0070.00715.54
7.1.100.0050.00416.79
7.1.90.0070.00715.48
7.1.80.0070.00415.86
7.1.70.0040.00616.46
7.1.60.0060.01117.69
7.1.50.0110.00616.41
7.1.40.0000.01215.43
7.1.30.0080.00315.67
7.1.20.0060.00815.39
7.1.10.0040.00815.52
7.1.00.0070.04019.13
7.0.330.0060.00915.06
7.0.320.0000.00915.51
7.0.310.0090.00315.08
7.0.300.0000.00815.48
7.0.290.0100.00315.52
7.0.280.0080.00315.42
7.0.270.0030.01015.46
7.0.260.0000.01015.27
7.0.250.0070.00715.41
7.0.240.0100.00315.20
7.0.230.0060.00815.52
7.0.220.0040.01015.23
7.0.210.0070.00415.20
7.0.200.0070.00516.04
7.0.190.0060.00615.14
7.0.180.0080.00515.14
7.0.170.0040.01115.08
7.0.160.0090.00915.55
7.0.150.0030.00915.45
7.0.140.0040.03818.55
7.0.130.0030.00715.29
7.0.120.0150.00015.62
7.0.110.0090.03417.79
7.0.100.0050.02817.73
7.0.90.0090.02417.66
7.0.80.0080.03117.60
7.0.70.0020.02817.43
7.0.60.0050.03917.70
7.0.50.0110.04217.68
7.0.40.0030.02716.55
7.0.30.0050.03716.62
7.0.20.0020.03216.55
7.0.10.0080.04116.56
7.0.00.0050.04916.52
5.6.380.0080.00314.65
5.6.370.0000.01014.57
5.6.360.0000.01014.44
5.6.350.0040.00714.20
5.6.340.0090.00314.66
5.6.330.0090.00614.09
5.6.320.0060.00614.24
5.6.310.0040.01114.39
5.6.300.0060.00614.09
5.6.290.0080.00014.18
5.6.280.0070.03817.85
5.6.270.0030.01214.49
5.6.260.0100.03317.44
5.6.250.0030.02517.48
5.6.240.0020.04417.38
5.6.230.0050.03217.47
5.6.220.0030.02817.50
5.6.210.0030.02517.54
5.6.200.0100.04017.49
5.6.190.0050.04017.53
5.6.180.0080.02717.44
5.6.170.0140.04017.29
5.6.160.0030.03817.49
5.6.150.0100.02117.49
5.6.140.0080.03517.45
5.6.130.0100.02317.44
5.6.120.0090.02817.49
5.6.110.0070.04217.33
5.6.100.0050.03417.40
5.6.90.0040.03317.54
5.6.80.0050.02817.13
5.6.70.0030.03117.24
5.6.60.0050.02617.09
5.6.50.0030.04316.94
5.6.40.0080.02217.04
5.6.30.0080.03317.14
5.6.20.0030.02716.99
5.6.10.0070.02316.99
5.6.00.0060.03017.04
5.5.380.0100.04114.47
5.5.370.0020.02914.41
5.5.360.0070.02514.35
5.5.350.0030.02914.38
5.5.340.0050.02314.63
5.5.330.0030.04214.70
5.5.320.0080.04014.59
5.5.310.0070.03214.60
5.5.300.0030.05014.78
5.5.290.0000.02514.65
5.5.280.0050.03814.57
5.5.270.0070.02114.65
5.5.260.0020.05014.74
5.5.250.0070.03514.50
5.5.240.0050.02014.44
5.5.230.0070.01814.34
5.5.220.0050.03614.34
5.5.210.0000.03214.24
5.5.200.0070.03914.38
5.5.190.0060.03514.38
5.5.180.0050.04214.42
5.5.170.0000.00911.18
5.5.160.0070.04014.29
5.5.150.0090.03714.18
5.5.140.0070.02714.44
5.5.130.0030.04214.31
5.5.120.0070.03314.32
5.5.110.0020.03814.44
5.5.100.0070.04014.29
5.5.90.0050.03514.28
5.5.80.0030.03514.27
5.5.70.0110.02214.27
5.5.60.0040.03314.26
5.5.50.0060.02014.27
5.5.40.0030.02314.26
5.5.30.0030.02414.28
5.5.20.0030.02814.35
5.5.10.0070.01914.25
5.5.00.0030.02214.27
5.4.450.0100.03815.37
5.4.440.0030.02415.20
5.4.430.0130.03015.34
5.4.420.0030.02515.45
5.4.410.0070.02815.28
5.4.400.0000.02515.17
5.4.390.0020.02515.09
5.4.380.0050.02715.10
5.4.370.0050.01915.09
5.4.360.0110.02015.26
5.4.350.0050.03515.11
5.4.340.0030.04315.24
5.4.330.0100.00311.18
5.4.320.0030.02715.24
5.4.310.0030.02615.12
5.4.300.0080.03715.24
5.4.290.0100.02015.10
5.4.280.0030.03615.11
5.4.270.0070.02215.24
5.4.260.0070.02315.25
5.4.250.0030.04015.24
5.4.240.0060.02815.21
5.4.230.0020.04315.09
5.4.220.0040.04015.07
5.4.210.0050.02015.06
5.4.200.0030.02215.21
5.4.190.0030.02215.24
5.4.180.0000.02315.09
5.4.170.0000.02715.09
5.4.160.0040.02115.08
5.4.150.0050.02015.23
5.4.140.0030.02313.96
5.4.130.0030.02213.91
5.4.120.0010.02113.83
5.4.110.0030.02313.93
5.4.100.0050.01713.89
5.4.90.0080.01713.90
5.4.80.0020.02213.81
5.4.70.0020.01713.84
5.4.60.0050.02713.79
5.4.50.0050.02413.78
5.4.40.0050.01513.83
5.4.30.0040.01913.73
5.4.20.0030.01713.78
5.4.10.0020.02013.79
5.4.00.0030.02013.63
5.3.290.0060.03812.92
5.3.280.0030.03912.87
5.3.270.0030.02012.92
5.3.260.0030.02313.01
5.3.250.0020.02712.90
5.3.240.0020.02212.91
5.3.230.0030.02112.93
5.3.220.0000.02212.86
5.3.210.0050.03612.94
5.3.200.0050.02212.88
5.3.190.0020.02312.85
5.3.180.0030.02212.93
5.3.170.0020.02812.87
5.3.160.0050.02212.89
5.3.150.0000.02112.88
5.3.140.0000.02212.91
5.3.130.0040.02312.79
5.3.120.0020.02212.93
5.3.110.0020.02012.79
5.3.100.0070.01912.54
5.3.90.0030.02412.61
5.3.80.0050.02012.60
5.3.70.0030.02212.67
5.3.60.0040.02212.52
5.3.50.0040.01812.68
5.3.40.0050.01612.67
5.3.30.0030.01712.54
5.3.20.0030.02312.43
5.3.10.0050.02512.49
5.3.00.0010.02212.42
5.2.170.0020.01611.55
5.2.160.0020.01411.55
5.2.150.0020.01711.55
5.2.140.0030.01711.55
5.2.130.0040.01511.55
5.2.120.0040.01311.55
5.2.110.0020.01711.55
5.2.100.0060.01311.55
5.2.90.0020.01711.55
5.2.80.0050.01411.55
5.2.70.0000.01711.55
5.2.60.0020.01711.55
5.2.50.0040.01411.55
5.2.40.0030.01711.55
5.2.30.0060.01311.55
5.2.20.0000.02211.55
5.2.10.0030.01511.55
5.2.00.0030.01711.55
5.1.60.0020.01911.55
5.1.50.0060.01111.55
5.1.40.0020.01211.55
5.1.30.0030.01611.55
5.1.20.0040.01111.55
5.1.10.0030.01311.55
5.1.00.0060.00811.55
5.0.50.0060.01811.55
5.0.40.0010.01111.55
5.0.30.0030.02211.55
5.0.20.0050.00811.55
5.0.10.0030.02011.55
5.0.00.0020.02311.55
4.4.90.0010.01011.55
4.4.80.0030.00811.55
4.4.70.0020.00811.55
4.4.60.0050.00511.55
4.4.50.0020.00911.55
4.4.40.0000.01711.55
4.4.30.0030.00811.55
4.4.20.0000.01511.55
4.4.10.0000.00911.55
4.4.00.0030.01611.55
4.3.110.0020.01711.55
4.3.100.0030.01011.55
4.3.90.0030.01611.55
4.3.80.0020.01811.55
4.3.70.0030.01011.55
4.3.60.0000.01511.55
4.3.50.0060.01511.55
4.3.40.0020.01311.55
4.3.30.0020.01511.55
4.3.20.0010.01411.55
4.3.10.0040.00511.55
4.3.00.0020.01011.55

preferences:
49.96 ms | 401 KiB | 5 Q