3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Bar {}; class Foo extends Bar {}; $foo = new Foo(); var_dump(is_sublcass_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.0060.00916.75
8.3.50.0070.00716.25
8.3.40.0120.00318.93
8.3.30.0070.00718.81
8.3.20.0040.00420.39
8.3.10.0090.00021.60
8.3.00.0040.00422.14
8.2.180.0070.01018.42
8.2.170.0110.00422.96
8.2.160.0140.00019.08
8.2.150.0000.00724.18
8.2.140.0040.00424.66
8.2.130.0000.00821.10
8.2.120.0040.00426.35
8.2.110.0060.00319.21
8.2.100.0070.00417.78
8.2.90.0060.00317.75
8.2.80.0060.00318.73
8.2.70.0080.00017.50
8.2.60.0090.00017.93
8.2.50.0030.00618.10
8.2.40.0040.00420.61
8.2.30.0030.00520.96
8.2.20.0070.00318.05
8.2.10.0000.00817.98
8.2.00.0000.00717.92
8.1.280.0100.00725.92
8.1.270.0040.00422.25
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00623.97
8.1.230.0090.00320.88
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0000.00917.13
8.1.190.0050.00317.13
8.1.180.0070.00018.10
8.1.170.0050.00318.84
8.1.160.0000.00819.07
8.1.150.0030.00520.66
8.1.140.0000.00819.51
8.1.130.0000.00718.86
8.1.120.0080.00017.39
8.1.110.0070.00017.32
8.1.100.0040.00417.27
8.1.90.0040.00417.26
8.1.80.0040.00417.32
8.1.70.0000.00817.39
8.1.60.0040.00817.52
8.1.50.0070.00017.54
8.1.40.0030.00617.38
8.1.30.0000.00717.54
8.1.20.0030.00517.54
8.1.10.0040.00417.58
8.1.00.0040.00417.36
8.0.300.0070.00018.77
8.0.290.0000.00816.63
8.0.280.0030.00318.22
8.0.270.0030.00317.19
8.0.260.0000.00716.86
8.0.250.0060.00016.95
8.0.240.0000.00716.86
8.0.230.0040.00716.88
8.0.220.0000.00616.80
8.0.210.0000.00716.90
8.0.200.0030.00316.82
8.0.190.0060.00316.84
8.0.180.0040.00416.82
8.0.170.0040.00416.80
8.0.160.0070.00016.78
8.0.150.0030.00316.90
8.0.140.0030.00316.75
8.0.130.0040.00413.35
8.0.120.0000.00816.85
8.0.110.0040.00416.92
8.0.100.0070.00016.91
8.0.90.0040.00416.71
8.0.80.0060.01216.83
8.0.70.0030.00516.91
8.0.60.0040.00416.73
8.0.50.0050.00216.93
8.0.30.0080.01117.11
8.0.20.0110.00817.40
8.0.10.0000.00716.97
8.0.00.0030.01416.85
7.4.330.0000.00515.55
7.4.320.0070.00016.42
7.4.300.0000.00716.51
7.4.290.0000.00716.59
7.4.280.0040.00416.60
7.4.270.0000.00616.48
7.4.260.0080.00016.35
7.4.250.0070.00016.47
7.4.240.0000.00716.57
7.4.230.0000.00716.53
7.4.220.0110.00816.58
7.4.210.0000.01416.48
7.4.200.0070.00016.40
7.4.160.0100.00716.49
7.4.150.0120.00417.40
7.4.140.0110.01117.86
7.4.130.0030.01416.47
7.4.120.0110.00816.50
7.4.110.0130.00316.36
7.4.100.0130.00316.50
7.4.90.0040.01116.60
7.4.80.0140.00519.39
7.4.70.0130.00316.55
7.4.60.0040.01116.50
7.4.50.0040.01516.28
7.4.40.0150.00616.43
7.4.30.0070.01116.45
7.4.00.0030.01014.95
7.3.330.0000.00513.25
7.3.320.0000.00513.29
7.3.310.0000.00716.32
7.3.300.0040.00416.16
7.3.290.0040.01116.25
7.3.280.0070.00916.26
7.3.270.0070.01117.40
7.3.260.0130.00716.40
7.3.250.0120.00616.26
7.3.240.0090.00716.54
7.3.230.0030.01416.37
7.3.210.0090.00916.48
7.3.200.0130.00316.43
7.3.190.0110.00516.37
7.3.180.0060.00916.22
7.3.170.0110.00716.34
7.3.160.0100.00616.50
7.2.330.0070.01716.52
7.2.320.0090.00716.72
7.2.310.0060.01016.49
7.2.300.0130.01016.27
7.2.290.0090.00916.70
7.2.60.0060.00916.72
7.2.00.0030.01019.39
7.1.200.0050.00515.59
7.1.100.0000.01417.84
7.1.70.0080.00817.11
7.1.60.0270.01035.14
7.1.50.0170.01734.73
7.1.40.0240.00934.26
7.1.30.0310.01134.51
7.1.20.0300.01834.64
7.1.10.0100.01016.38
7.1.00.0060.01316.38
7.0.200.0000.01416.67
7.0.190.0100.00716.76
7.0.180.0090.00616.05
7.0.170.0070.01316.24
7.0.160.0100.01016.24
7.0.150.0060.01316.09
7.0.140.0060.01316.17
7.0.130.0040.01516.37
7.0.120.0090.00916.30
7.0.110.0100.00716.18
7.0.100.0070.01016.10
7.0.90.0150.00416.21
7.0.80.0140.00316.10
7.0.70.0090.01016.27
7.0.60.0060.01216.07
7.0.50.0060.01516.23
7.0.40.0100.00716.37
7.0.30.0030.01216.45
7.0.20.0100.00616.30
7.0.10.0060.01016.30
7.0.00.0000.01516.16

preferences:
64.66 ms | 400 KiB | 5 Q