3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo {} class Bar extends Foo {} class Baz extends Bar {} $object = new Baz(); var_dump(get_parent_class($object));

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.0070.01418.18
8.3.50.0130.00621.94
8.3.40.0040.01118.54
8.3.30.0080.01118.88
8.3.20.0070.00020.29
8.3.10.0080.00020.41
8.3.00.0000.00819.25
8.2.180.0110.00416.50
8.2.170.0070.00722.96
8.2.160.0100.00320.35
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0000.00726.16
8.2.120.0040.00420.96
8.2.110.0030.00620.35
8.2.100.0070.00418.09
8.2.90.0030.00619.23
8.2.80.0040.00417.97
8.2.70.0000.00817.50
8.2.60.0050.00317.80
8.2.50.0080.00018.07
8.2.40.0030.00618.05
8.2.30.0030.00519.36
8.2.20.0050.00317.65
8.2.10.0000.00817.91
8.2.00.0000.00717.67
8.1.280.0110.00725.92
8.1.270.0060.00321.96
8.1.260.0000.00726.35
8.1.250.0070.00028.09
8.1.240.0100.00023.81
8.1.230.0040.00719.02
8.1.220.0090.00017.74
8.1.210.0050.00318.77
8.1.200.0070.00317.10
8.1.190.0080.00017.23
8.1.180.0040.00418.10
8.1.170.0090.00018.54
8.1.160.0050.00221.91
8.1.150.0000.00718.82
8.1.140.0000.00717.45
8.1.130.0030.00317.75
8.1.120.0000.00817.32
8.1.110.0000.00717.34
8.1.100.0030.00317.27
8.1.90.0030.00417.45
8.1.80.0000.00717.37
8.1.70.0000.00717.27
8.1.60.0060.00317.40
8.1.50.0000.00917.38
8.1.40.0000.00717.44
8.1.30.0000.00917.61
8.1.20.0050.00217.53
8.1.10.0070.00017.42
8.1.00.0040.00417.31
8.0.300.0040.00418.77
8.0.290.0050.00316.63
8.0.280.0040.00418.36
8.0.270.0000.00717.23
8.0.260.0060.00017.20
8.0.250.0060.00016.79
8.0.240.0030.00316.82
8.0.230.0000.00716.92
8.0.220.0000.00716.82
8.0.210.0020.00516.68
8.0.200.0030.00316.83
8.0.190.0040.00416.79
8.0.180.0030.00316.83
8.0.170.0040.00416.79
8.0.160.0030.00316.76
8.0.150.0040.00416.64
8.0.140.0040.00416.73
8.0.130.0000.00613.29
8.0.120.0030.00516.83
8.0.110.0000.00716.89
8.0.100.0000.00716.70
8.0.90.0040.00416.62
8.0.80.0000.01416.80
8.0.70.0030.00516.94
8.0.60.0070.00016.93
8.0.50.0070.00016.71
8.0.30.0090.01216.91
8.0.20.0050.01717.40
8.0.10.0040.00416.88
8.0.00.0100.01016.74
7.4.330.0040.00015.00
7.4.320.0000.00816.34
7.4.300.0030.00316.53
7.4.290.0030.00316.44
7.4.280.0040.00416.43
7.4.270.0040.00416.54
7.4.260.0000.00716.52
7.4.250.0070.00016.48
7.4.240.0030.00316.38
7.4.230.0030.00316.53
7.4.220.0120.00616.47
7.4.210.0100.00316.56
7.4.200.0030.00316.53
7.4.160.0030.01916.22
7.4.150.0030.01617.40
7.4.140.0090.01017.86
7.4.130.0080.01116.30
7.4.120.0080.00916.42
7.4.110.0100.01016.41
7.4.100.0070.01116.53
7.4.90.0140.00316.33
7.4.80.0080.00819.39
7.4.70.0120.00916.41
7.4.60.0060.00916.37
7.4.50.0050.00316.35
7.4.40.0070.01016.22
7.4.30.0140.00716.46
7.4.00.0000.01515.03
7.3.330.0000.00612.95
7.3.320.0000.00513.16
7.3.310.0000.00716.06
7.3.300.0000.00716.21
7.3.290.0110.00416.24
7.3.280.0070.01016.13
7.3.270.0170.00017.40
7.3.260.0070.01016.17
7.3.250.0130.00516.35
7.3.240.0120.00916.18
7.3.230.0030.01316.39
7.3.210.0160.00616.21
7.3.200.0060.01019.39
7.3.190.0060.01216.09
7.3.180.0070.01016.39
7.3.170.0060.01016.29
7.3.160.0100.00616.42
7.2.330.0100.00716.28
7.2.320.0130.01016.62
7.2.310.0120.00616.40
7.2.300.0040.01216.49
7.2.290.0040.01116.28
7.2.00.0070.01019.20
7.1.100.0030.01018.14
7.1.70.0000.00717.11
7.1.60.0060.01619.61
7.1.50.0280.01134.77
7.1.00.0130.06722.28
7.0.200.0510.00014.27
7.0.140.0000.07722.22
7.0.60.0100.05019.93
7.0.50.0030.03717.76
7.0.40.0030.04320.11
7.0.30.0300.07320.19
7.0.20.0330.05320.34
7.0.10.0200.07320.30
7.0.00.0130.07320.32
5.6.280.0100.06720.98
5.6.210.0030.04020.45
5.6.200.0070.04318.15
5.6.190.0170.07720.61
5.6.180.0270.07720.64
5.6.170.0230.03720.57
5.6.160.0070.08320.70
5.6.150.0070.07718.23
5.6.140.0070.08018.21
5.6.130.0130.06318.11
5.6.120.0030.04320.97
5.6.110.0100.08320.98
5.6.100.0200.07321.02
5.6.90.0000.07021.03
5.6.80.0170.06320.50
5.5.350.4370.03720.32
5.5.340.0170.04018.14
5.5.330.0130.08020.38
5.5.320.0330.07020.38
5.5.310.0170.04020.27
5.5.300.0130.06018.03
5.5.290.0030.04017.97
5.5.280.0070.04020.63
5.5.270.0030.07720.68
5.5.260.0030.06020.79
5.5.250.0100.08320.59
5.5.240.0170.07020.36
5.4.450.3670.03719.31
5.4.440.3600.04319.49
5.4.430.4000.04019.54
5.4.420.2830.04019.42
5.4.410.3470.04319.25
5.4.400.3600.04019.31
5.4.390.3330.04019.09
5.4.380.4430.03019.31
5.4.370.3370.03719.22
5.4.360.3930.04318.85
5.4.350.2830.03719.13
5.4.340.1730.03318.99
5.4.320.3400.04019.08
5.4.310.3300.03718.86
5.4.300.3230.03319.16
5.4.290.3170.04019.21
5.4.280.3370.03319.21
5.4.270.3330.04018.96
5.4.260.3400.04719.14
5.4.250.3570.03718.98
5.4.240.3600.03319.31
5.4.230.3630.03719.05
5.4.220.3600.04019.13
5.4.210.3630.03719.14
5.4.200.3630.04319.18
5.4.190.3870.03718.96
5.4.180.3730.03719.13
5.4.170.3530.03019.07
5.4.160.3830.03019.18
5.4.150.3770.03719.06
5.4.140.3400.03316.37
5.4.130.3470.03316.55
5.4.120.3830.04016.40
5.4.110.2970.04016.59
5.4.100.3630.04016.51
5.4.90.3670.03016.50
5.4.80.3630.03316.57
5.4.70.3830.03316.57
5.4.60.3830.04316.56
5.4.50.3500.03316.23
5.4.40.3900.03716.34
5.4.30.3270.04016.55
5.4.20.3470.04016.51
5.4.10.3470.03716.55
5.4.00.3730.03715.76
5.3.290.3130.03714.63
5.3.280.3300.04014.60
5.3.270.3670.04014.82
5.3.260.3930.04014.52
5.3.250.3770.02714.60
5.3.240.3500.03014.50
5.3.230.3530.03714.50
5.3.220.3530.04014.62
5.3.210.3770.03314.64
5.3.200.3600.03314.67
5.3.190.3570.03714.67
5.3.180.3600.03314.56
5.3.170.3700.03014.59
5.3.160.3630.03314.48
5.3.150.3600.03714.53
5.3.140.3000.04014.55
5.3.130.3430.04314.70
5.3.120.3400.04314.55
5.3.110.3200.03314.47
5.3.100.3670.04014.00
5.3.90.3770.03013.91
5.3.80.3730.03714.17
5.3.70.3670.03713.92
5.3.60.4070.04314.00
5.3.50.3470.03313.84
5.3.40.3970.03314.02
5.3.30.3470.03713.82
5.3.20.3670.02713.61
5.3.10.4300.03013.63
5.3.00.3730.03713.54
5.2.170.3070.03011.07
5.2.160.3200.03011.05
5.2.150.3100.02311.21
5.2.140.2930.02011.06
5.2.130.3630.02711.32
5.2.120.3270.03011.22
5.2.110.3300.03011.15
5.2.100.2970.02311.01
5.2.90.3530.02011.02
5.2.80.3500.03310.99
5.2.70.3400.03311.17
5.2.60.2800.02711.20
5.2.50.3170.03011.02
5.2.40.2270.03010.89
5.2.30.2500.02710.96
5.2.20.2570.02311.17
5.2.10.3100.02710.81
5.2.00.2500.02310.78
5.1.60.2530.0279.89
5.1.50.2570.0279.92
5.1.40.1930.0239.86
5.1.30.2530.02710.55
5.1.20.2300.02710.27
5.1.10.2330.0279.95
5.1.00.2630.02310.00
5.0.50.1130.0208.77
5.0.40.1400.0238.48
5.0.30.1370.0308.12
5.0.20.1500.0208.09
5.0.10.1570.0178.17
5.0.00.1370.0308.05
4.4.90.1330.0106.86
4.4.80.1170.0136.86
4.4.70.1270.0176.86
4.4.60.1470.0176.86
4.4.50.1200.0106.86
4.4.40.1330.0276.86
4.4.30.1370.0176.86
4.4.20.1400.0176.86
4.4.10.1300.0176.86
4.4.00.1170.0206.86
4.3.110.1530.0176.86
4.3.100.1630.0176.86
4.3.90.1670.0176.86
4.3.80.1400.0236.86
4.3.70.1570.0176.86
4.3.60.1630.0176.86
4.3.50.1700.0136.86
4.3.40.1530.0236.86
4.3.30.0870.0236.86
4.3.20.0700.0176.86
4.3.10.0870.0306.86
4.3.00.0870.0236.86

preferences:
33.91 ms | 401 KiB | 5 Q