3v4l.org

run code in 300+ PHP versions simultaneously
<?php class MyInterface {} class MyClass extends MyInterface {} // This will fail on 5.3.8 and earlier, this has been fixed // in #53727, but doc does not reflect that. echo (is_subclass_of('MyClass', 'MyInterface') ? 'true' : 'false');

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.70.0120.00816.63
8.3.60.0130.00618.40
8.3.50.0140.00621.98
8.3.40.0040.01118.85
8.3.30.0110.00318.59
8.3.20.0040.00418.63
8.3.10.0080.00020.35
8.3.00.0070.00023.62
8.2.180.0150.00416.38
8.2.170.0090.00922.96
8.2.160.0160.00320.39
8.2.150.0040.01224.18
8.2.140.0070.00024.66
8.2.130.0030.00526.16
8.2.120.0000.00819.23
8.2.110.0030.00621.12
8.2.100.0090.00317.59
8.2.90.0000.00719.05
8.2.80.0000.00817.97
8.2.70.0040.00417.50
8.2.60.0000.00717.93
8.2.50.0030.00518.07
8.2.40.0030.00617.91
8.2.30.0060.00317.93
8.2.20.0040.00417.49
8.2.10.0040.00417.46
8.2.00.0000.00717.60
8.1.280.0100.01025.92
8.1.270.0050.00223.99
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0070.00420.74
8.1.230.0070.00420.95
8.1.220.0050.00318.77
8.1.210.0040.00418.84
8.1.200.0060.00617.23
8.1.190.0000.00817.40
8.1.180.0000.00818.10
8.1.170.0030.00518.77
8.1.160.0040.00418.69
8.1.150.0000.00718.50
8.1.140.0040.00417.33
8.1.130.0000.00617.63
8.1.120.0000.00717.38
8.1.110.0040.00417.37
8.1.100.0020.00517.27
8.1.90.0070.00017.20
8.1.80.0000.00717.29
8.1.70.0000.00717.28
8.1.60.0030.00517.40
8.1.50.0000.00817.25
8.1.40.0040.00417.26
8.1.30.0000.00817.41
8.1.20.0000.00817.48
8.1.10.0040.00417.30
8.1.00.0000.00917.38
8.0.300.0060.00319.79
8.0.290.0030.00616.63
8.0.280.0070.00018.37
8.0.270.0030.00317.18
8.0.260.0030.00316.74
8.0.250.0000.00816.88
8.0.240.0030.00516.75
8.0.230.0000.00716.88
8.0.220.0000.00716.75
8.0.210.0020.00516.75
8.0.200.0000.00716.79
8.0.190.0070.00016.88
8.0.180.0050.00316.67
8.0.170.0040.00416.66
8.0.160.0000.00816.72
8.0.150.0070.00316.63
8.0.140.0000.01016.71
8.0.130.0050.00013.24
8.0.120.0000.00716.65
8.0.110.0030.00416.70
8.0.100.0030.00616.63
8.0.90.0040.00416.65
8.0.80.0140.00316.68
8.0.70.0050.00216.79
8.0.60.0050.00516.67
8.0.50.0040.00416.77
8.0.30.0080.01116.87
8.0.20.0150.00417.40
8.0.10.0000.00716.92
8.0.00.0090.01116.66
7.4.330.0030.00313.43
7.4.320.0000.00716.37
7.4.300.0040.00416.46
7.4.290.0040.00416.45
7.4.280.0030.00516.37
7.4.270.0030.00316.48
7.4.260.0030.00313.17
7.4.250.0050.00316.33
7.4.240.0040.00416.50
7.4.230.0070.00016.55
7.4.220.0040.01216.28
7.4.210.0100.00416.45
7.4.200.0060.00316.25
7.4.190.0030.00316.59
7.4.160.0150.00716.32
7.4.150.0040.02117.40
7.4.140.0090.01217.86
7.4.130.0090.00716.37
7.4.120.0110.00816.41
7.4.110.0070.01016.34
7.4.100.0110.00716.48
7.4.90.0030.02016.51
7.4.80.0100.00619.04
7.4.70.0100.00716.50
7.4.60.0100.00616.20
7.4.50.0090.00016.56
7.4.40.0100.00322.27
7.4.30.0100.01016.50
7.4.00.0070.01015.03
7.3.330.0000.00512.96
7.3.320.0080.00013.07
7.3.310.0030.00316.19
7.3.300.0000.00616.00
7.3.290.0090.00616.16
7.3.280.0100.00616.17
7.3.270.0070.01017.40
7.3.260.0080.00918.24
7.3.250.0130.00516.36
7.3.240.0090.01316.21
7.3.230.0030.01416.39
7.3.210.0130.00316.31
7.3.200.0060.01219.39
7.3.190.0110.00516.28
7.3.180.0100.00616.47
7.3.170.0070.01016.52
7.3.160.0110.00416.38
7.3.120.0040.01114.59
7.3.00.0030.00716.34
7.2.330.0030.01316.42
7.2.320.0090.00616.48
7.2.310.0030.01416.28
7.2.300.0090.00616.31
7.2.290.0040.01316.51
7.2.130.0090.00316.40
7.2.120.0060.01016.58
7.2.110.0040.01116.30
7.2.100.0110.00416.81
7.2.90.0110.00416.66
7.2.80.0040.00816.90
7.2.70.0130.00316.86
7.2.60.0070.00716.75
7.2.50.0090.00316.87
7.2.40.0080.00316.60
7.2.30.0060.00616.85
7.2.20.0080.00316.61
7.2.10.0030.01016.59
7.2.00.0050.00817.78
7.1.250.0070.00415.34
7.1.240.0090.00015.55
7.1.230.0060.00915.41
7.1.220.0060.01215.63
7.1.210.0030.00715.46
7.1.200.0090.00315.70
7.1.190.0040.01115.77
7.1.180.0030.01015.57
7.1.170.0070.00715.53
7.1.160.0000.01415.57
7.1.150.0070.00715.32
7.1.140.0070.00715.70
7.1.130.0000.01015.32
7.1.120.0070.00715.45
7.1.110.0030.00615.30
7.1.100.0050.00816.85
7.1.90.0030.01015.57
7.1.80.0100.00315.59
7.1.70.0070.00516.39
7.1.60.0050.01317.37
7.1.50.0080.00716.29
7.1.40.0030.00915.55
7.1.30.0000.01115.61
7.1.20.0030.00615.58
7.1.10.0090.00915.61
7.1.00.0030.02318.91
7.0.330.0130.00315.15
7.0.320.0040.00815.15
7.0.310.0040.00815.18
7.0.300.0060.00615.27
7.0.290.0030.01215.40
7.0.280.0100.00315.08
7.0.270.0030.00715.36
7.0.260.0080.00615.13
7.0.250.0080.00415.27
7.0.240.0090.00615.40
7.0.230.0060.00615.14
7.0.220.0000.01315.32
7.0.210.0090.00314.99
7.0.200.0020.00716.08
7.0.190.0040.00714.99
7.0.180.0060.00615.55
7.0.170.0070.00715.19
7.0.160.0060.00615.43
7.0.150.0030.00615.25
7.0.140.0010.04418.65
7.0.130.0030.00915.02
7.0.120.0000.00715.42
7.0.110.0090.00315.38
7.0.100.0070.00315.41
7.0.90.0030.00615.16
7.0.80.0070.00314.98
7.0.70.0000.01015.41
7.0.60.0130.03717.69
7.0.50.0170.03316.60
7.0.40.0030.04516.71
7.0.30.0070.03516.61
7.0.20.0030.05016.73
7.0.10.0020.04716.67
7.0.00.0030.04816.66
5.6.380.0070.00713.88
5.6.370.0040.00713.75
5.6.360.0030.00614.06
5.6.350.0030.00813.91
5.6.340.0000.01514.01
5.6.330.0030.01014.07
5.6.320.0070.00714.16
5.6.310.0000.01314.50
5.6.300.0060.00614.05
5.6.290.0060.00614.08
5.6.280.0040.04117.78
5.6.270.0040.00814.14
5.6.260.0070.01014.03
5.6.250.0030.01014.00
5.6.240.0000.01213.69
5.6.230.0080.00613.91
5.6.220.0090.00613.99
5.6.210.0030.02717.42
5.6.200.0070.04516.09
5.6.190.0050.04517.38
5.6.180.0090.03717.30
5.6.170.0080.04017.27
5.6.160.0050.04717.40
5.6.150.0080.04317.21
5.6.140.0070.04417.12
5.6.130.0050.03517.16
5.6.120.0020.04517.27
5.6.110.0060.02117.06
5.6.100.0020.03017.08
5.6.90.0080.04417.24
5.6.80.0050.04516.80
5.6.70.0050.03216.85
5.6.60.0020.04816.93
5.6.50.0020.04716.85
5.6.40.0050.02616.77
5.6.30.0080.02816.83
5.6.20.0060.04317.00
5.6.10.0060.03416.98
5.6.00.0010.03116.83
5.5.380.0080.00410.98
5.5.370.0000.00711.11
5.5.360.0050.00311.00
5.5.350.2080.02715.71
5.5.340.0030.03814.51
5.5.330.0070.03815.59
5.5.320.0020.02815.49
5.5.310.0140.03415.81
5.5.300.0070.04515.55
5.5.290.0040.03515.44
5.5.280.0070.04215.44
5.5.270.0070.03115.57
5.5.260.0030.03815.61
5.5.250.0060.04115.36
5.5.240.0080.04015.27
5.5.230.0060.04115.18
5.5.220.0070.03215.31
5.5.210.0070.03715.26
5.5.200.0050.03615.19
5.5.190.0060.03415.28
5.5.180.0080.03815.01
5.5.170.0040.00411.14
5.5.160.0040.04115.17
5.5.150.0000.03815.13
5.5.140.0020.03515.36
5.5.130.0030.04315.22
5.5.120.0020.03815.28
5.5.110.0030.03315.15
5.5.100.0010.04315.00
5.5.90.0000.04415.19
5.5.80.0030.02815.25
5.5.70.0040.02715.35
5.5.60.0020.02215.07
5.5.50.0000.03715.24
5.5.40.0060.03615.13
5.5.30.0050.03315.27
5.5.20.0020.04215.14
5.5.10.0070.03515.05
5.5.00.0020.03415.12
5.4.450.0060.03815.03
5.4.440.0020.02715.23
5.4.430.0050.03814.97
5.4.420.0050.04015.09
5.4.410.0000.02815.12
5.4.400.0050.04214.88
5.4.390.0020.03215.12
5.4.380.0050.04314.86
5.4.370.0060.03514.76
5.4.360.0050.04114.99
5.4.350.0040.03614.77
5.4.340.0020.03615.03
5.4.330.0080.00410.92
5.4.320.0050.04214.87
5.4.310.0070.04015.07
5.4.300.0000.03215.05
5.4.290.0120.03214.93
5.4.280.0060.03815.11
5.4.270.0130.03015.08
5.4.260.0050.03914.95
5.4.250.0020.04014.78
5.4.240.0080.03714.84
5.4.230.0070.02514.89
5.4.220.0030.04114.97
5.4.210.0050.03714.89
5.4.200.0030.03514.97
5.4.190.0030.03514.98
5.4.180.0030.04014.78
5.4.170.0050.02714.79
5.4.160.0040.02514.71
5.4.150.0030.03814.96
5.4.140.0030.03513.57
5.4.130.0030.04013.69
5.4.120.0070.03213.67
5.4.110.0070.03213.54
5.4.100.0030.02813.73
5.4.90.0050.02513.58
5.4.80.0020.02713.56
5.4.70.0030.03813.63
5.4.60.0060.03613.50
5.4.50.0050.03013.69
5.4.40.0040.03413.66
5.4.30.0000.03213.58
5.4.20.0060.02313.67
5.4.10.0050.03813.61
5.4.00.0040.02913.34
5.3.290.0030.04212.68
5.3.280.0050.03812.62
5.3.270.0050.03212.64
5.3.260.0020.04512.63
5.3.250.0080.03112.51
5.3.240.0020.03412.54
5.3.230.0050.03212.47
5.3.220.0040.03912.41
5.3.210.0080.02812.43
5.3.200.0020.03012.46
5.3.190.0020.02212.50
5.3.180.0020.02312.53
5.3.170.0050.03512.41
5.3.160.0050.04012.35
5.3.150.0030.04112.54
5.3.140.0030.04112.41
5.3.130.0060.03612.39
5.3.120.0020.04012.54
5.3.110.0030.02812.47
5.3.100.0050.03312.29
5.3.90.0000.04312.27
5.3.80.0000.04112.32
5.3.70.0020.03812.16
5.3.60.0030.02812.21
5.3.50.0050.03912.28
5.3.40.0020.03212.17
5.3.30.0050.03512.19
5.3.20.0030.03012.03
5.3.10.0040.02811.95
5.3.00.0050.03311.94
5.2.170.0030.02311.42
5.2.160.0020.02211.42
5.2.150.0020.03511.42
5.2.140.0000.03911.42
5.2.130.0040.02511.42
5.2.120.0040.02711.42
5.2.110.0000.03311.42
5.2.100.0030.02211.42
5.2.90.0100.01911.42
5.2.80.0030.03111.42
5.2.70.0020.03211.42
5.2.60.0000.03411.42
5.2.50.0030.03211.42
5.2.40.0070.03011.42
5.2.30.0010.01611.42
5.2.20.0020.02811.42
5.2.10.0010.02511.42
5.2.00.0050.03311.42
5.1.60.0010.02311.42
5.1.50.0030.02611.42
5.1.40.0020.02811.42
5.1.30.0010.03111.42
5.1.20.0050.03011.42
5.1.10.0020.02111.42
5.1.00.0020.02811.42
5.0.50.0010.02311.42
5.0.40.0000.02611.42
5.0.30.0000.03311.42
5.0.20.0020.01711.42
5.0.10.0030.01311.42
5.0.00.0000.03611.42
4.4.90.0020.01011.42
4.4.80.0000.01811.42
4.4.70.0000.01311.42
4.4.60.0020.01811.42
4.4.50.0020.01511.42
4.4.40.0050.01511.42
4.4.30.0030.01411.42
4.4.20.0030.01811.42
4.4.10.0010.01311.42
4.4.00.0020.01811.42
4.3.110.0000.02111.42
4.3.100.0000.01611.42
4.3.90.0040.00811.42
4.3.80.0020.02711.42
4.3.70.0020.01811.42
4.3.60.0030.01611.42
4.3.50.0030.02011.42
4.3.40.0030.02611.42
4.3.30.0020.01711.42
4.3.20.0020.01211.42
4.3.10.0020.01911.42
4.3.00.0000.01711.42

preferences:
68.45 ms | 401 KiB | 5 Q