3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo {} class Bar extends Foo {} var_dump(is_subclass_of(Bar::class, Foo::class));

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.0130.01318.30
8.3.50.0170.00316.27
8.3.40.0150.00618.73
8.3.30.0090.00618.39
8.3.20.0040.00418.85
8.3.10.0030.00520.61
8.3.00.0050.00317.80
8.2.180.0070.01118.04
8.2.170.0070.01022.96
8.2.160.0070.01418.91
8.2.150.0070.00024.18
8.2.140.0000.00824.66
8.2.130.0050.00319.64
8.2.120.0070.00026.35
8.2.110.0000.00920.58
8.2.100.0080.00417.72
8.2.90.0040.00417.63
8.2.80.0000.00818.48
8.2.70.0040.00417.78
8.2.60.0080.00017.68
8.2.50.0050.00318.10
8.2.40.0000.00921.08
8.2.30.0000.00719.32
8.2.20.0000.00717.80
8.2.10.0000.00817.93
8.2.00.0000.00719.35
8.1.280.0090.00925.92
8.1.270.0060.00323.81
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00621.96
8.1.230.0040.00721.07
8.1.220.0000.00818.48
8.1.210.0040.00418.77
8.1.200.0040.00417.36
8.1.190.0040.00417.10
8.1.180.0080.00018.10
8.1.170.0060.00318.34
8.1.160.0000.00820.47
8.1.150.0040.00418.76
8.1.140.0040.00417.64
8.1.130.0000.00618.96
8.1.120.0000.01017.22
8.1.110.0000.00717.36
8.1.100.0050.00317.22
8.1.90.0060.00317.36
8.1.80.0050.00317.30
8.1.70.0030.00317.24
8.1.60.0060.00317.45
8.1.50.0040.00417.42
8.1.40.0060.00317.27
8.1.30.0040.00417.57
8.1.20.0090.00017.47
8.1.10.0040.00417.38
8.1.00.0000.00717.32
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0000.00718.32
8.0.270.0000.00717.13
8.0.260.0000.00617.13
8.0.250.0000.00616.84
8.0.240.0040.00416.71
8.0.230.0030.00316.79
8.0.220.0050.00216.71
8.0.210.0040.00416.67
8.0.200.0040.00416.85
8.0.190.0030.00316.80
8.0.180.0000.00716.75
8.0.170.0040.00416.82
8.0.160.0080.00016.74
8.0.150.0040.00416.75
8.0.140.0000.00716.78
8.0.130.0030.00513.13
8.0.120.0080.00016.62
8.0.110.0000.00716.79
8.0.100.0040.00416.82
8.0.90.0030.00316.56
8.0.80.0130.00816.73
8.0.70.0070.00016.82
8.0.60.0040.00416.73
8.0.50.0000.00716.78
8.0.30.0100.00816.97
8.0.20.0130.00917.40
8.0.10.0070.00016.89
8.0.00.0120.00816.55
7.4.330.0000.00515.55
7.4.320.0000.00716.36
7.4.300.0000.00716.48
7.4.290.0000.00716.41
7.4.280.0000.00716.49
7.4.270.0000.00716.43
7.4.260.0000.00716.30
7.4.250.0040.00416.43
7.4.240.0070.00016.47
7.4.230.0000.00716.41
7.4.220.0000.00716.54
7.4.210.0070.01016.53
7.4.200.0000.00716.57
7.4.160.0050.01116.41
7.4.140.0090.01017.86
7.4.130.0070.01016.38
7.4.120.0100.00716.34
7.4.110.0110.00716.38
7.4.100.0130.00716.52
7.4.90.0060.01016.19
7.4.80.0110.00519.39
7.4.70.0140.00716.16
7.4.60.0100.00716.52
7.4.50.0070.01016.16
7.4.40.0070.01116.36
7.4.00.0070.00714.97
7.3.330.0000.00613.13
7.3.320.0050.00012.94
7.3.310.0070.00016.16
7.3.300.0000.00716.17
7.3.290.0000.00716.08
7.3.280.0140.00316.18
7.3.260.0090.00716.24
7.3.240.0080.01016.27
7.3.230.0080.01116.09
7.3.210.0130.00616.39
7.3.200.0150.00316.18
7.3.190.0120.00316.13
7.3.180.0090.00916.26
7.3.170.0080.00916.21
7.3.160.0110.00716.39
7.2.330.0060.01216.20
7.2.320.0060.01316.52
7.2.310.0110.00616.55
7.2.300.0030.01316.10
7.2.290.0130.00616.56
7.2.60.2000.01214.88
7.2.50.1500.01114.58
7.2.40.1950.01115.02
7.2.30.1620.00715.31
7.2.20.1450.01015.02
7.2.10.2020.00815.34
7.2.00.2210.00615.38
7.1.200.0020.00515.56
7.1.170.1740.00413.71
7.1.160.2000.01216.80
7.1.150.1470.00716.70
7.1.140.2370.01316.85
7.1.130.1710.01016.75
7.1.120.1520.00716.79
7.1.110.1970.01216.22
7.1.100.1520.01116.23
7.1.90.1790.01016.29
7.1.80.2240.01215.99
7.1.70.1680.00715.20
7.1.60.1790.01633.27
7.1.50.2030.00833.00
7.1.40.2540.02132.47
7.1.30.2160.01932.49
7.1.20.1770.01132.73
7.1.10.2210.01714.62
7.1.00.2370.01614.89

preferences:
47.42 ms | 400 KiB | 5 Q