3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface UserProviderInterface { public function supportsClass($class); } final class UserProvider implements UserProviderInterface { public function supportsClass($class): bool { return $class === $this->class || is_subclass_of($class, $this->class); } } echo (new UserProvider())->supportsClass('');

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.0110.00416.75
8.3.50.0040.01118.05
8.3.40.0080.00818.59
8.3.30.0110.00418.62
8.3.20.0080.00020.22
8.3.10.0040.00421.92
8.3.00.0040.00421.77
8.2.180.0070.01316.88
8.2.170.0140.00322.96
8.2.160.0070.01021.10
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0040.00422.29
8.2.120.0040.00426.35
8.2.110.0030.00720.25
8.2.100.0030.00917.84
8.2.90.0000.00818.92
8.2.80.0000.00818.04
8.2.70.0090.00517.13
8.2.60.0030.00617.80
8.2.50.0060.00318.10
8.2.40.0040.00422.34
8.2.30.0060.00320.92
8.2.20.0040.00418.07
8.2.10.0000.00818.19
8.2.00.0000.00718.06
8.1.280.0030.01425.92
8.1.270.0040.00420.52
8.1.260.0020.00526.35
8.1.250.0040.00428.09
8.1.240.0040.00423.92
8.1.230.0040.00717.58
8.1.220.0080.00017.74
8.1.210.0000.00918.77
8.1.200.0050.00517.23
8.1.190.0000.00817.29
8.1.180.0040.00418.10
8.1.170.0040.00422.16
8.1.160.0040.00418.75
8.1.150.0050.00220.14
8.1.140.0040.00419.43
8.1.130.0030.00318.87
8.1.120.0040.00417.30
8.1.110.0000.00717.43
8.1.100.0070.00017.34
8.1.90.0080.00017.30
8.1.80.0070.00017.45
8.1.70.0030.00317.38
8.1.60.0080.00017.53
8.1.50.0050.00317.39
8.1.40.0030.00617.45
8.1.30.0050.00217.50
8.1.20.0050.00317.43
8.1.10.0040.00417.54
8.1.00.0040.00417.45
8.0.300.0030.00618.77
8.0.290.0000.00716.88
8.0.280.0000.00818.36
8.0.270.0030.00517.27
8.0.260.0030.00317.25
8.0.250.0040.00417.03
8.0.240.0050.00217.08
8.0.230.0000.01116.96
8.0.220.0040.00416.88
8.0.210.0000.00716.98
8.0.200.0000.00616.98
8.0.190.0040.00417.03
8.0.180.0040.00416.95
8.0.170.0040.00416.90
8.0.160.0030.00516.86
8.0.150.0000.00717.01
8.0.140.0030.00316.82
8.0.130.0000.00613.43
8.0.120.0080.00016.94
8.0.110.0030.00517.07
8.0.100.0000.00716.82
8.0.90.0040.00416.79
8.0.80.0060.01316.89
8.0.70.0040.00416.82
8.0.60.0050.00316.92
8.0.50.0040.00417.00
8.0.30.0080.00917.00
8.0.20.0100.00817.40
8.0.10.0000.00716.95
8.0.00.0140.00316.77
7.4.330.0020.00215.55
7.4.320.0060.00016.55
7.4.300.0000.00616.51
7.4.290.0090.00016.57
7.4.280.0050.00316.45
7.4.270.0060.00016.41
7.4.260.0030.00316.35
7.4.250.0030.00516.42
7.4.240.0040.00416.56
7.4.230.0000.00716.45
7.4.220.0070.01416.60
7.4.210.0070.01016.57
7.4.200.0000.00716.59
7.4.160.0130.00316.46
7.4.150.0160.00917.40
7.4.140.0090.01217.86
7.4.130.0080.01016.57
7.4.120.0110.00716.54
7.4.110.0070.01016.28
7.4.100.0080.00816.45
7.4.90.0110.00716.50
7.4.80.0040.01719.39
7.4.70.0060.01116.39
7.4.60.0070.01016.57
7.4.50.0070.00716.48
7.4.40.0090.00616.27
7.4.30.0030.01816.64
7.4.10.0100.00716.32
7.4.00.0080.00815.86
7.3.330.0000.00713.13
7.3.320.0020.00213.14
7.3.310.0030.00316.36
7.3.300.0070.00016.21
7.3.290.0080.00616.33
7.3.280.0100.00916.36
7.3.270.0100.01117.40
7.3.260.0110.00916.42
7.3.250.0120.00716.43
7.3.240.0090.00816.48
7.3.230.0130.00316.42
7.3.210.0150.00416.60
7.3.200.0130.00616.34
7.3.190.0090.00616.29
7.3.180.0140.00616.45
7.3.170.0050.01116.38
7.3.160.0100.00716.38
7.3.130.0110.00416.36
7.3.120.0000.01716.33
7.3.110.0040.01116.50
7.3.100.0040.01116.50
7.3.90.0120.00316.25
7.3.80.0000.01516.32
7.3.70.0070.00716.32
7.3.60.0100.00316.20
7.3.50.0030.01016.34
7.3.40.0060.01316.36
7.3.30.0060.00316.31
7.3.20.0030.00618.20
7.3.10.0090.00618.13
7.3.00.0080.00818.32
7.2.330.0030.01416.73
7.2.320.0130.00616.55
7.2.310.0030.01316.46
7.2.300.0090.00916.75
7.2.290.0040.01416.48
7.2.260.0090.00916.44
7.2.250.0090.01216.48
7.2.240.0140.00316.79
7.2.230.0030.01316.73
7.2.220.0030.01416.54
7.2.210.0070.01016.52
7.2.200.0060.00916.40
7.2.190.0000.01216.65
7.2.180.0030.01716.56
7.2.170.0100.00716.58
7.2.160.0070.01016.68
7.2.150.0040.01118.36
7.2.140.0070.00418.36
7.2.130.0030.01018.50
7.2.120.0070.01018.34
7.2.110.0050.00618.27
7.2.100.0040.01118.50
7.2.90.0030.01418.21
7.2.80.0070.01018.55
7.2.70.0030.00918.54
7.2.60.0070.00617.69
7.2.50.0000.01317.74
7.2.40.0080.00618.53
7.2.30.0060.01318.55
7.2.20.0040.01118.27
7.2.10.0130.00318.44
7.2.00.0060.00818.83
7.1.330.0070.00717.38
7.1.320.0070.00717.45
7.1.310.0080.00417.40
7.1.300.0090.00617.55
7.1.290.0070.00717.43
7.1.280.0070.00717.41
7.1.270.0060.00917.34
7.1.260.0110.00417.32
7.1.250.0060.00917.41
7.1.240.0070.00617.16
7.1.230.0030.01217.39
7.1.220.0110.00417.39
7.1.210.0150.00417.43
7.1.200.0120.00516.53
7.1.190.0060.00317.21
7.1.180.0070.01117.47
7.1.170.0000.00917.23
7.1.160.0070.00317.42
7.1.150.0090.00617.14
7.1.140.0040.01217.17
7.1.130.0040.01117.05
7.1.120.0040.01117.43
7.1.110.0070.00717.35
7.1.100.0130.00017.41
7.1.90.0080.00417.25
7.1.80.0030.00917.52
7.1.70.0020.00917.35
7.1.60.0640.01325.30
7.1.50.0070.01216.98
7.1.40.0130.01025.86
7.1.30.0100.01025.85
7.1.20.0100.00925.90
7.1.10.0030.00916.90
7.1.00.0080.00616.88
7.0.330.0040.00816.97
7.0.320.0080.00817.05
7.0.310.0030.01416.83
7.0.300.0060.00617.09
7.0.290.0050.00316.80
7.0.280.0080.00416.96
7.0.270.0060.01017.10
7.0.260.0090.00616.97
7.0.250.0070.00717.01
7.0.240.0100.00317.23
7.0.230.0110.00417.07
7.0.220.0060.00916.93
7.0.210.0060.00916.95
7.0.200.0040.00816.96
7.0.190.0070.00316.98
7.0.180.0050.00916.63
7.0.170.0090.00316.59
7.0.160.0060.00516.62
7.0.150.0030.00916.59
7.0.140.0030.00916.52
7.0.130.0070.01216.65
7.0.120.0050.00716.64
7.0.110.0060.01016.55
7.0.100.0040.01216.48
7.0.90.0090.00716.63
7.0.80.0030.01316.68
7.0.70.0070.01016.57
7.0.60.0070.01416.39
7.0.50.0040.01216.67
7.0.40.0070.00715.54
7.0.30.0060.00615.70
7.0.20.0050.00615.58
7.0.10.0030.01215.64
7.0.00.0040.00915.70
5.6.400.0100.00015.40
5.6.390.0070.01015.78
5.6.380.0030.00915.43
5.6.370.0040.00415.61
5.6.360.0060.00315.66
5.6.350.0070.00315.70
5.6.340.0000.01515.49
5.6.330.0090.00615.59
5.6.320.0030.01116.01
5.6.310.0120.00315.75
5.6.300.0080.00515.74
5.6.290.0030.01015.76
5.6.280.0060.01515.73
5.6.270.0040.01215.71
5.6.260.0070.01115.75
5.6.250.0040.00815.70
5.6.240.0040.01115.91
5.6.230.0030.01315.52
5.6.220.0090.00615.52
5.6.210.0100.00615.55
5.6.200.0000.01515.40
5.6.190.0070.00715.88
5.6.180.0080.00615.75
5.6.170.0060.00615.67
5.6.160.0040.00715.72
5.6.150.0000.01115.57
5.6.140.0000.01415.93
5.6.130.0070.00715.47
5.6.120.0070.00715.60
5.6.110.0070.00415.38
5.6.100.0030.01315.50
5.6.90.0030.00715.67
5.6.80.0030.01315.68
5.6.70.0070.00715.47
5.6.60.0070.00415.51
5.6.50.0080.00315.37
5.6.40.0090.00615.64
5.6.30.0090.00315.57
5.6.20.0060.00615.46
5.6.10.0060.00315.56
5.6.00.0040.00415.46

preferences:
41.28 ms | 400 KiB | 5 Q