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 === self::class || is_subclass_of($class, self::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.0040.01116.50
8.3.50.0140.00318.05
8.3.40.0060.00918.58
8.3.30.0110.00418.62
8.3.20.0000.00820.35
8.3.10.0070.00021.89
8.3.00.0000.00821.73
8.2.180.0090.00918.54
8.2.170.0100.01022.96
8.2.160.0070.00721.19
8.2.150.0050.00324.18
8.2.140.0000.00824.66
8.2.130.0040.00420.32
8.2.120.0040.00426.35
8.2.110.0170.00719.27
8.2.100.0080.00417.77
8.2.90.0000.00919.08
8.2.80.0060.00317.97
8.2.70.0060.00617.50
8.2.60.0040.00417.93
8.2.50.0000.00718.10
8.2.40.0040.00422.16
8.2.30.0050.00321.02
8.2.20.0040.00418.05
8.2.10.0030.00518.32
8.2.00.0060.00318.19
8.1.280.0140.00425.92
8.1.270.0080.00020.59
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0030.00623.77
8.1.230.0080.00420.90
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0000.00917.23
8.1.190.0090.00017.39
8.1.180.0000.00918.10
8.1.170.0040.00422.12
8.1.160.0000.00718.77
8.1.150.0040.00420.15
8.1.140.0040.00419.50
8.1.130.0000.00619.06
8.1.120.0040.00417.46
8.1.110.0040.00417.40
8.1.100.0000.00717.44
8.1.90.0050.00217.37
8.1.80.0070.00017.36
8.1.70.0030.00317.42
8.1.60.0040.00417.58
8.1.50.0000.00717.35
8.1.40.0060.00317.34
8.1.30.0000.00817.66
8.1.20.0040.00417.65
8.1.10.0050.00317.53
8.1.00.0000.00817.39
8.0.300.0080.00018.77
8.0.290.0000.00716.63
8.0.280.0070.00018.45
8.0.270.0000.00817.17
8.0.260.0040.00417.25
8.0.250.0030.00317.00
8.0.240.0040.00417.00
8.0.230.0000.00816.82
8.0.220.0040.00416.83
8.0.210.0070.00016.91
8.0.200.0000.00716.85
8.0.190.0000.00717.00
8.0.180.0040.00416.88
8.0.170.0070.00016.96
8.0.160.0000.00716.93
8.0.150.0000.00716.80
8.0.140.0000.00816.86
8.0.130.0000.00513.34
8.0.120.0030.00516.84
8.0.110.0040.00416.79
8.0.100.0000.00816.91
8.0.90.0080.00016.81
8.0.80.0070.00716.89
8.0.70.0000.00716.78
8.0.60.0050.00216.78
8.0.50.0040.00416.84
8.0.30.0090.01117.20
8.0.20.0190.00317.40
8.0.10.0040.00416.92
8.0.00.0070.01016.59
7.4.330.0050.00015.55
7.4.320.0000.00616.46
7.4.300.0060.00016.35
7.4.290.0070.00316.39
7.4.280.0040.00416.36
7.4.270.0080.00016.40
7.4.260.0030.00316.47
7.4.250.0040.00416.34
7.4.240.0000.00916.46
7.4.230.0040.00416.64
7.4.220.0170.01016.61
7.4.210.0060.00816.61
7.4.200.0000.00716.55
7.4.160.0070.00916.58
7.4.150.0070.01117.40
7.4.140.0110.01017.86
7.4.130.0090.00916.46
7.4.120.0080.01216.41
7.4.110.0110.00816.59
7.4.100.0100.00716.44
7.4.90.0110.01116.66
7.4.80.0070.01119.39
7.4.70.0120.00316.47
7.4.60.0060.01216.61
7.4.50.0030.01016.26
7.4.40.0100.00916.64
7.4.30.0050.01116.48
7.4.10.0130.00614.76
7.4.00.0050.01015.02
7.3.330.0030.00313.32
7.3.320.0030.00313.26
7.3.310.0050.00316.13
7.3.300.0000.00616.31
7.3.290.0070.00816.28
7.3.280.0150.01116.29
7.3.270.0140.01217.40
7.3.260.0100.01116.38
7.3.250.0100.00916.30
7.3.240.0100.00716.51
7.3.230.0090.00616.25
7.3.210.0120.00916.39
7.3.200.0100.00716.19
7.3.190.0090.00616.35
7.3.180.0130.00216.44
7.3.170.0080.00816.45
7.3.160.0160.00716.57
7.3.130.0060.01214.91
7.3.120.0110.00714.77
7.3.110.0060.01215.00
7.3.100.0120.00014.73
7.3.90.0040.00914.46
7.3.80.0070.00415.16
7.3.70.0030.01214.86
7.3.60.0040.01114.76
7.3.50.0030.01214.88
7.3.40.0000.01214.93
7.3.30.0070.00714.69
7.3.20.0040.01116.45
7.3.10.0070.00516.58
7.3.00.0070.00916.68
7.2.330.0000.01716.74
7.2.320.0080.00816.44
7.2.310.0130.00316.50
7.2.300.0070.01016.77
7.2.290.0040.01516.77
7.2.260.0030.01714.96
7.2.250.0040.01215.18
7.2.240.0080.00815.31
7.2.230.0000.01514.89
7.2.220.0080.00315.02
7.2.210.0000.01214.83
7.2.200.0070.00715.04
7.2.190.0030.01214.98
7.2.180.0060.00914.88
7.2.170.0120.00315.11
7.2.160.0100.00714.93
7.2.150.0080.00316.68
7.2.140.0120.00316.89
7.2.130.0030.00616.90
7.2.120.0050.00816.75
7.2.110.0080.00316.93
7.2.100.0060.00716.76
7.2.90.0070.00616.97
7.2.80.0030.00716.82
7.2.70.0080.00816.89
7.2.60.0030.01116.88
7.2.50.0030.00816.73
7.2.40.0030.00717.03
7.2.30.0030.00916.91
7.2.20.0050.00516.85
7.2.10.0040.00916.81
7.2.00.0010.01317.54
7.1.330.0060.00615.56
7.1.320.0110.00316.07
7.1.310.0070.00715.74
7.1.300.0000.01615.60
7.1.290.0030.00515.51
7.1.280.0030.00915.75
7.1.270.0130.00015.82
7.1.260.0120.00015.71
7.1.250.0040.00915.90
7.1.240.0060.00315.87
7.1.230.0030.01015.76
7.1.220.0030.00915.82
7.1.210.0030.01015.57
7.1.200.0050.00715.81
7.1.190.0030.01315.74
7.1.180.0090.00915.58
7.1.170.0070.00415.86
7.1.160.0000.01515.73
7.1.150.0000.01315.76
7.1.140.0040.00715.96
7.1.130.0030.01015.90
7.1.120.0030.01015.84
7.1.110.0040.00415.95
7.1.100.0040.00715.99
7.1.90.0060.00615.85
7.1.80.0070.00715.71
7.1.70.0050.00716.39
7.1.60.0050.00616.39
7.1.50.0050.01316.16
7.1.40.0120.01125.03
7.1.30.0130.00925.04
7.1.20.0140.00924.13
7.1.10.0070.00416.08
7.1.00.0070.00816.24
7.0.330.0090.00615.50
7.0.320.0060.00915.36
7.0.310.0050.00515.21
7.0.300.0060.00615.41
7.0.290.0030.00715.16
7.0.280.0000.01615.25
7.0.270.0070.00715.49
7.0.260.0040.00815.21
7.0.250.0030.00615.41
7.0.240.0040.00815.33
7.0.230.0040.01115.29
7.0.220.0040.00415.29
7.0.210.0000.01315.58
7.0.200.0020.00916.14
7.0.190.0040.00815.58
7.0.180.0070.00715.80
7.0.170.0030.01215.78
7.0.160.0070.00715.84
7.0.150.0050.00515.72
7.0.140.0050.00915.74
7.0.130.0030.01515.85
7.0.120.0090.00515.88
7.0.110.0050.01015.69
7.0.100.0020.01115.80
7.0.90.0030.00615.67
7.0.80.0100.00715.88
7.0.70.0020.01315.79
7.0.60.0020.01215.83
7.0.50.0050.00815.72
7.0.40.0050.01014.84
7.0.30.0060.00714.75
7.0.20.0050.00514.89
7.0.10.0020.01114.82
7.0.00.0060.01114.78
5.6.400.0090.00314.28
5.6.390.0030.01214.13
5.6.380.0030.01013.79
5.6.370.0090.00514.37
5.6.360.0040.01114.32
5.6.350.0040.01114.48
5.6.340.0070.01014.17
5.6.330.0060.00614.41
5.6.320.0000.01014.08
5.6.310.0060.00914.20
5.6.300.0100.00714.41
5.6.290.0100.00314.18
5.6.280.0030.00914.29
5.6.270.0100.00314.48
5.6.260.0080.00814.34
5.6.250.0000.01714.18
5.6.240.0030.01414.07
5.6.230.0000.01414.00
5.6.220.0100.00714.20
5.6.210.0070.00414.29
5.6.200.0030.00913.86
5.6.190.0060.00914.10
5.6.180.0040.00713.95
5.6.170.0060.00614.14
5.6.160.0000.01014.27
5.6.150.0000.01114.12
5.6.140.0040.00413.94
5.6.130.0130.00314.13
5.6.120.0080.00014.32
5.6.110.0070.00714.44
5.6.100.0060.00714.09
5.6.90.0070.00714.02
5.6.80.0060.00314.34
5.6.70.0130.00014.17
5.6.60.0030.01014.03
5.6.50.0040.01113.83
5.6.40.0070.00714.13
5.6.30.0060.00314.01
5.6.20.0060.00814.09
5.6.10.0110.00414.27
5.6.00.0060.00614.13

preferences:
61.37 ms | 400 KiB | 5 Q