3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Bar {}; class Foo extends Bar {}; $foo = new Foo(); var_dump(is_subclass_of($foo, '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.60.0070.00716.63
8.3.50.0040.01116.57
8.3.40.0110.00418.46
8.3.30.0040.01118.54
8.3.20.0040.00420.34
8.3.10.0110.00021.78
8.3.00.0040.00422.08
8.2.180.0070.01018.16
8.2.170.0040.01122.96
8.2.160.0030.01019.09
8.2.150.0030.00624.18
8.2.140.0050.00324.66
8.2.130.0040.00421.04
8.2.120.0060.00326.35
8.2.110.0030.00721.04
8.2.100.0060.00617.53
8.2.90.0040.00419.17
8.2.80.0000.00817.97
8.2.70.0070.00317.50
8.2.60.0040.00417.90
8.2.50.0050.00218.10
8.2.40.0040.00420.42
8.2.30.0040.00421.02
8.2.20.0100.00217.90
8.2.10.0040.00418.05
8.2.00.0040.00317.97
8.1.280.0170.00325.92
8.1.270.0030.00522.23
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0070.01023.84
8.1.230.0000.01219.10
8.1.220.0000.00917.74
8.1.210.0100.00318.77
8.1.200.0000.01017.23
8.1.190.0040.00417.22
8.1.180.0020.00518.10
8.1.170.0040.00418.96
8.1.160.0040.00418.88
8.1.150.0050.00220.60
8.1.140.0000.00819.51
8.1.130.0030.00318.69
8.1.120.0000.00717.46
8.1.110.0070.00017.34
8.1.100.0000.00717.26
8.1.90.0040.00417.33
8.1.80.0040.00417.40
8.1.70.0040.00417.35
8.1.60.0030.00817.49
8.1.50.0030.00617.34
8.1.40.0050.00317.47
8.1.30.0040.00417.58
8.1.20.0000.00817.57
8.1.10.0050.00317.54
8.1.00.0020.00517.54
8.0.300.0040.00418.77
8.0.290.0060.00316.63
8.0.280.0080.00018.28
8.0.270.0000.00817.10
8.0.260.0030.00316.77
8.0.250.0040.00416.79
8.0.240.0060.00316.88
8.0.230.0030.00616.89
8.0.220.0030.00316.84
8.0.210.0070.00016.86
8.0.200.0030.00316.89
8.0.190.0000.00816.79
8.0.180.0080.00016.73
8.0.170.0040.00416.86
8.0.160.0000.00716.93
8.0.150.0000.00716.77
8.0.140.0000.00816.67
8.0.130.0000.00613.29
8.0.120.0050.00216.85
8.0.110.0000.00716.86
8.0.100.0040.00416.63
8.0.90.0000.00716.83
8.0.80.0110.00616.88
8.0.70.0050.00316.89
8.0.60.0040.00416.82
8.0.50.0070.00016.85
8.0.30.0080.00917.05
8.0.20.0060.01217.40
8.0.10.0040.00417.02
8.0.00.0080.00816.64
7.4.330.0050.00015.55
7.4.320.0000.00616.36
7.4.300.0040.00416.54
7.4.290.0060.00016.34
7.4.280.0050.00316.55
7.4.270.0040.00416.34
7.4.260.0030.00316.56
7.4.250.0030.00316.50
7.4.240.0030.00316.50
7.4.230.0070.00016.40
7.4.220.0090.01016.56
7.4.210.0000.01516.42
7.4.200.0050.00316.55
7.4.160.0060.01116.56
7.4.150.0140.00317.40
7.4.140.0070.01017.86
7.4.130.0060.01216.37
7.4.120.0140.01116.40
7.4.110.0070.01016.32
7.4.100.0080.00816.38
7.4.90.0100.01016.19
7.4.80.0070.01119.39
7.4.70.0120.00316.56
7.4.60.0090.00616.39
7.4.50.0030.01016.50
7.4.40.0100.00716.38
7.4.30.0030.01416.51
7.4.00.0100.00814.80
7.3.330.0000.00612.99
7.3.320.0000.00513.13
7.3.310.0040.00416.14
7.3.300.0030.00316.12
7.3.290.0080.00716.16
7.3.280.0070.00816.16
7.3.270.0000.01717.40
7.3.260.0070.01016.19
7.3.250.0050.01316.24
7.3.240.0100.00616.13
7.3.230.0060.01716.24
7.3.210.0110.00616.39
7.3.200.0130.00616.50
7.3.190.0180.00616.34
7.3.180.0030.01316.13
7.3.170.0030.01316.14
7.3.160.0150.00616.04
7.3.120.0130.00614.59
7.3.110.0090.00614.72
7.3.100.0000.00914.71
7.3.90.0100.00314.58
7.3.80.0070.00714.62
7.3.70.0110.00414.57
7.3.60.0090.00314.39
7.3.50.0150.00014.69
7.3.40.0090.00014.71
7.3.30.0090.00314.76
7.3.20.0040.01116.69
7.3.10.0050.00816.58
7.3.00.0070.00716.62
7.2.330.0180.01416.36
7.2.320.0110.00716.52
7.2.310.0040.01616.61
7.2.300.0070.01616.51
7.2.290.0090.00616.66
7.2.250.0090.00614.89
7.2.240.0080.00814.95
7.2.230.0060.00314.82
7.2.220.0070.00714.73
7.2.210.0130.00015.02
7.2.200.0070.00714.73
7.2.190.0040.01114.82
7.2.180.0040.01415.09
7.2.170.0070.00714.66
7.2.130.0000.01416.79
7.2.120.0040.01516.53
7.2.110.0110.00716.48
7.2.100.0060.00916.43
7.2.90.0090.00316.61
7.2.80.0060.00616.71
7.2.70.0120.00316.79
7.2.60.0060.00916.67
7.2.50.0140.00316.81
7.2.40.0070.01116.96
7.2.30.0090.00616.95
7.2.20.0000.01416.44
7.2.10.0140.00016.58
7.2.00.0050.00517.83
7.1.330.0030.01215.60
7.1.320.0090.00615.65
7.1.310.0040.01215.41
7.1.300.0000.01315.42
7.1.290.0000.01715.56
7.1.280.0070.00715.57
7.1.270.0060.00615.70
7.1.260.0110.00415.69
7.1.250.0110.00315.87
7.1.200.0040.00815.71
7.1.100.0050.00518.20
7.1.70.0100.00616.97
7.1.60.0210.02135.06
7.1.50.0240.01734.64
7.1.40.0270.01034.48
7.1.30.0320.01834.39
7.1.20.0420.00634.46
7.1.10.0070.01416.45
7.1.00.0070.01316.48
7.0.200.0090.01016.77
7.0.190.0000.01916.76
7.0.180.0130.00616.39
7.0.170.0060.01516.08
7.0.160.0030.01216.34
7.0.150.0120.00916.30
7.0.140.0080.01416.24
7.0.130.0030.01716.35
7.0.120.0060.01316.54
7.0.110.0000.01716.26
7.0.100.0080.01216.14
7.0.90.0030.01616.33
7.0.80.0050.01016.19
7.0.70.0030.01416.27
7.0.60.0030.01616.05
7.0.50.0060.01216.17
7.0.40.0080.01216.63
7.0.30.0070.01416.63
7.0.20.0130.00916.36
7.0.10.0000.02016.36
7.0.00.0120.01016.56

preferences:
33.11 ms | 401 KiB | 5 Q