3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Foo {} class Bar implements Foo {} $bar = new Bar(); var_dump(is_a($bar, 'Foo')); var_dump(is_a($bar, '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.70.0150.00016.36
8.3.60.0040.01116.63
8.3.50.0120.00821.92
8.3.40.0140.00718.77
8.3.30.0110.00419.00
8.3.20.0100.00020.39
8.3.10.0080.00023.61
8.3.00.0080.00019.24
8.2.180.0090.01316.63
8.2.170.0180.00322.96
8.2.160.0140.00020.35
8.2.150.0070.00024.18
8.2.140.0000.00724.66
8.2.130.0080.00026.16
8.2.120.0070.01022.15
8.2.110.0080.00021.95
8.2.100.0040.00817.59
8.2.90.0000.00719.08
8.2.80.0050.00317.97
8.2.70.0000.00817.50
8.2.60.0040.00417.80
8.2.50.0030.00518.07
8.2.40.0050.00319.94
8.2.30.0000.00718.32
8.2.20.0000.00817.67
8.2.10.0020.00518.11
8.2.00.0040.00717.66
8.1.280.0150.00325.92
8.1.270.0070.01122.14
8.1.260.0110.00326.35
8.1.250.0100.00328.09
8.1.240.0090.00023.82
8.1.230.0060.00618.92
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0060.00317.47
8.1.190.0040.00417.23
8.1.180.0000.00718.10
8.1.170.0040.00418.43
8.1.160.0040.00422.07
8.1.150.0000.00718.59
8.1.140.0040.00417.49
8.1.130.0000.00717.69
8.1.120.0000.00717.43
8.1.110.0030.00617.46
8.1.100.0040.00417.47
8.1.90.0040.00417.54
8.1.80.0070.00017.45
8.1.70.0100.00017.36
8.1.60.0050.00317.53
8.1.50.0040.00417.34
8.1.40.0000.01017.42
8.1.30.0000.00817.59
8.1.20.0040.00417.61
8.1.10.0000.00817.52
8.1.00.0000.00717.32
8.0.300.0000.00718.77
8.0.290.0050.00317.18
8.0.280.0070.00018.45
8.0.270.0000.00717.28
8.0.260.0030.00317.26
8.0.250.0080.00016.99
8.0.240.0000.00616.94
8.0.230.0030.00316.84
8.0.220.0050.00216.91
8.0.210.0000.00716.93
8.0.200.0000.00616.92
8.0.190.0000.00716.93
8.0.180.0050.00316.89
8.0.170.0080.00016.94
8.0.160.0000.00716.77
8.0.150.0040.00416.82
8.0.140.0090.00016.86
8.0.130.0000.00613.38
8.0.120.0040.00416.77
8.0.110.0000.00716.92
8.0.100.0030.00616.92
8.0.90.0020.00516.92
8.0.80.0090.00616.94
8.0.70.0000.00916.84
8.0.60.0000.00717.00
8.0.50.0070.00016.92
8.0.30.0080.01316.96
8.0.20.0130.00517.40
8.0.10.0070.00017.07
8.0.00.0100.00816.76
7.4.330.0000.00515.00
7.4.320.0060.00016.45
7.4.300.0030.00316.60
7.4.290.0000.01016.60
7.4.280.0000.00716.50
7.4.270.0000.00716.52
7.4.260.0080.00016.47
7.4.250.0000.00716.37
7.4.240.0060.00116.46
7.4.230.0040.00416.49
7.4.220.0110.00716.58
7.4.210.0050.01016.55
7.4.200.0070.00016.48
7.4.190.0000.00716.46
7.4.160.0120.00416.38
7.4.150.0070.01017.40
7.4.140.0100.00717.86
7.4.130.0080.01016.46
7.4.120.0120.00516.39
7.4.110.0030.01416.43
7.4.100.0090.00916.39
7.4.90.0160.00616.68
7.4.80.0090.01419.39
7.4.70.0150.00316.44
7.4.60.0070.01116.51
7.4.50.0050.00216.34
7.4.40.0130.00916.16
7.4.30.0110.00516.52
7.4.00.0060.00914.84
7.3.330.0020.00213.17
7.3.320.0060.00013.17
7.3.310.0050.00316.22
7.3.300.0030.00316.19
7.3.290.0070.00716.15
7.3.280.0080.00816.13
7.3.270.0040.01217.40
7.3.260.0090.01216.52
7.3.250.0030.01516.21
7.3.240.0170.00016.35
7.3.230.0130.01016.39
7.3.210.0130.01016.54
7.3.200.0070.01019.39
7.3.190.0110.01116.30
7.3.180.0050.01016.37
7.3.170.0160.00016.41
7.3.160.0140.00716.19
7.3.120.0090.00614.91
7.3.10.0110.00416.58
7.3.00.0030.01316.55
7.2.330.0030.01616.57
7.2.320.0060.01216.61
7.2.310.0070.01016.53
7.2.300.0070.01016.54
7.2.290.0120.00916.69
7.2.130.0030.01016.84
7.2.120.0080.00416.94
7.2.110.0070.00316.94
7.2.100.0070.01116.98
7.2.90.0110.00416.83
7.2.80.0030.00916.57
7.2.70.0070.00716.94
7.2.60.0050.00916.82
7.2.50.0060.00616.86
7.2.40.0070.00716.75
7.2.30.0090.00616.58
7.2.20.0070.00716.50
7.2.10.0080.00316.48
7.2.00.0050.01218.10
7.1.250.0030.01015.55
7.1.200.0070.00715.48
7.1.100.0070.00317.95
7.1.70.0040.00416.80
7.1.60.0060.01919.46
7.1.50.0190.00616.95
7.1.00.0070.07322.40
7.0.200.0000.00716.45
7.0.140.0070.07022.07
7.0.60.0030.07319.92
7.0.50.0170.07317.88
7.0.40.0070.04020.22
7.0.30.0230.04720.24
7.0.20.0230.04320.12
7.0.10.0030.08720.12
7.0.00.0200.06320.24
5.6.280.0030.07321.12
5.6.210.0000.04320.64
5.6.200.0100.07718.19
5.6.190.0200.06720.61
5.6.180.0400.08020.43
5.6.170.0300.05720.50
5.6.160.0100.07020.61
5.6.150.0070.03718.16
5.6.140.0030.06018.15
5.6.130.0170.06318.20
5.6.120.0030.09020.99
5.6.110.0000.09020.89
5.6.100.0100.08721.06
5.6.90.0100.03720.94
5.6.80.0130.07020.43
5.5.350.0400.06320.41
5.5.340.0030.04018.08
5.5.330.0130.04020.38
5.5.320.0070.08320.27
5.5.310.0200.08320.38
5.5.300.0100.04718.04
5.5.290.0100.07017.97
5.5.280.0100.08020.76
5.5.270.0070.06020.78
5.5.260.0070.04720.84
5.5.250.0030.04320.79
5.5.240.0100.07320.16
5.4.450.1930.04019.48
5.4.440.1870.04319.20
5.4.430.1630.04019.49
5.4.420.1570.04019.27
5.4.410.1830.05019.41
5.4.400.1830.05019.24
5.4.390.1370.04018.98
5.4.380.1830.04719.23
5.4.370.1870.04319.06
5.4.360.2130.04319.13
5.4.350.1870.04019.19
5.4.340.1930.03719.31
5.4.320.1930.03319.09
5.4.310.2330.03319.22
5.4.300.1930.05019.13
5.4.290.1730.03319.16
5.4.280.1800.05018.84
5.4.270.1770.04318.98
5.4.260.1770.04719.30
5.4.250.1800.02718.97
5.4.240.1570.04019.07
5.4.230.1870.04319.23
5.4.220.1900.04019.13
5.4.210.1600.04319.12
5.4.200.1870.03719.04
5.4.190.1630.03719.20
5.4.180.1700.04319.05
5.4.170.1830.04719.22
5.4.160.1870.04319.21
5.4.150.1930.03718.97
5.4.140.1830.04716.33
5.4.130.1800.03716.49
5.4.120.1630.04016.33
5.4.110.1930.04016.55
5.4.100.1670.03716.40
5.4.90.1800.03716.52
5.4.80.1700.03016.39
5.4.70.1670.03316.54
5.4.60.1800.03716.58
5.4.50.1800.04016.53
5.4.40.1630.03716.42
5.4.30.1700.03016.32
5.4.20.1830.04316.42
5.4.10.1630.03716.53
5.4.00.1670.03315.96
5.3.290.1670.03714.65
5.3.280.1630.04014.58
5.3.270.1600.03314.66
5.3.260.1730.02714.56
5.3.250.1630.04014.52
5.3.240.1800.03714.70
5.3.230.1830.04314.70
5.3.220.1900.04714.53
5.3.210.1700.03714.63
5.3.200.1670.03714.53
5.3.190.1830.03014.71
5.3.180.1930.04014.77
5.3.170.1770.03014.67
5.3.160.1800.05014.55
5.3.150.1930.04714.70
5.3.140.1670.03014.45
5.3.130.1800.04314.68
5.3.120.1770.05014.50
5.3.110.1900.04714.59
5.3.100.1700.02714.18
5.3.90.1670.03013.94
5.3.80.1600.03714.16
5.3.70.1870.04014.09
5.3.60.1930.04014.07
5.3.50.1670.04313.98
5.3.40.1870.03713.96
5.3.30.1870.04013.97
5.3.20.1970.03313.69
5.3.10.1900.04013.55
5.3.00.1870.04713.55
5.2.170.1600.03011.15
5.2.160.1570.04011.28
5.2.150.1430.02711.05
5.2.140.1570.03711.06
5.2.130.1330.02711.25
5.2.120.1600.03711.18
5.2.110.1600.03011.01
5.2.100.1300.03311.02
5.2.90.1330.02711.32
5.2.80.1570.03311.31
5.2.70.1570.04011.14
5.2.60.1600.03310.95
5.2.50.1400.03011.06
5.2.40.1100.02710.91
5.2.30.1170.02011.08
5.2.20.1200.03310.85
5.2.10.1100.03310.96
5.2.00.1200.02310.72
5.1.60.1070.0239.92
5.1.50.1230.0379.89
5.1.40.1100.0209.96
5.1.30.1330.02310.25
5.1.20.1270.03010.27
5.1.10.1030.03010.05
5.1.00.1070.0279.97
5.0.50.0670.0308.53
5.0.40.0530.0208.30
5.0.30.0730.0478.12
5.0.20.0530.0208.42
5.0.10.0530.0208.10
5.0.00.0570.0308.04
4.4.90.0530.0177.66
4.4.80.0600.0077.66
4.4.70.0570.0237.66
4.4.60.0530.0177.66
4.4.50.0630.0177.66
4.4.40.0600.0237.66
4.4.30.0600.0237.66
4.4.20.0500.0177.66
4.4.10.0600.0177.66
4.4.00.0630.0307.66
4.3.110.0570.0137.66
4.3.100.0670.0277.66
4.3.90.0630.0177.66
4.3.80.0670.0277.66
4.3.70.0670.0177.66
4.3.60.0570.0177.66
4.3.50.0670.0207.66
4.3.40.0570.0277.66
4.3.30.0270.0207.66
4.3.20.0300.0137.66
4.3.10.0300.0137.66
4.3.00.0270.0177.66

preferences:
47.05 ms | 401 KiB | 5 Q