3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace foo { interface badsadbad { } class Frowncryfrownsad {} $reflection = new ReflectionClass('foo\Frowncryfrownsad'); } namespace { if ($reflection->implementsInterface('foo\badsadbad')) { echo "very bad sad bad."; } else { echo "all okay"; } }

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.0100.00716.75
8.3.50.0030.01221.91
8.3.40.0080.00818.71
8.3.30.0060.00919.10
8.3.20.0040.00420.07
8.3.10.0040.00423.72
8.3.00.0040.00420.95
8.2.180.0180.00318.41
8.2.170.0110.00422.96
8.2.160.0100.00320.38
8.2.150.0070.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0120.00322.15
8.2.110.0060.01222.25
8.2.100.0080.00417.91
8.2.90.0080.00019.27
8.2.80.0000.00817.97
8.2.70.0000.00817.38
8.2.60.0040.00417.80
8.2.50.0000.01018.07
8.2.40.0040.00419.94
8.2.30.0000.00718.22
8.2.20.0040.00417.67
8.2.10.0000.00718.00
8.2.00.0050.00317.72
8.1.280.0100.00725.92
8.1.270.0080.00023.71
8.1.260.0060.00326.35
8.1.250.0070.00028.09
8.1.240.0000.00824.01
8.1.230.0080.00417.45
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0000.00917.10
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0040.00418.46
8.1.160.0070.00021.84
8.1.150.0000.00718.46
8.1.140.0030.00617.39
8.1.130.0070.00017.79
8.1.120.0000.00717.34
8.1.110.0060.00317.29
8.1.100.0050.00217.20
8.1.90.0000.00717.32
8.1.80.0000.00717.21
8.1.70.0000.00717.32
8.1.60.0050.00317.33
8.1.50.0040.00417.28
8.1.40.0040.00417.48
8.1.30.0040.00417.48
8.1.20.0000.00817.41
8.1.10.0030.00517.49
8.1.00.0070.00017.50
8.0.300.0070.00018.77
8.0.290.0000.00716.75
8.0.280.0000.00718.25
8.0.270.0040.00417.18
8.0.260.0030.00317.12
8.0.250.0000.00716.95
8.0.240.0000.00716.96
8.0.230.0030.00316.87
8.0.220.0030.00316.86
8.0.210.0030.00316.85
8.0.200.0030.00316.82
8.0.190.0070.00016.90
8.0.180.0000.00816.90
8.0.170.0030.00616.79
8.0.160.0030.00416.75
8.0.150.0030.00316.80
8.0.140.0030.00316.76
8.0.130.0000.00513.38
8.0.120.0000.00916.88
8.0.110.0050.00216.83
8.0.100.0000.00816.79
8.0.90.0000.00816.87
8.0.80.0080.01116.91
8.0.70.0000.00716.74
8.0.60.0040.00416.89
8.0.50.0080.00016.85
8.0.30.0050.01317.07
8.0.20.0060.01117.40
8.0.10.0080.00016.84
8.0.00.0090.01116.60
7.4.330.0060.00015.00
7.4.320.0000.00616.36
7.4.300.0000.00616.53
7.4.290.0000.00616.43
7.4.280.0000.00816.42
7.4.270.0070.00016.41
7.4.260.0000.00716.40
7.4.250.0000.00716.29
7.4.240.0030.00316.35
7.4.230.0000.00716.29
7.4.220.0110.01116.61
7.4.210.0080.00516.51
7.4.200.0030.00416.47
7.4.190.0030.00316.41
7.4.160.0150.00716.62
7.4.150.0040.01417.40
7.4.140.0130.00617.86
7.4.130.0090.00816.61
7.4.120.0100.00716.56
7.4.110.0000.01816.49
7.4.100.0180.00016.62
7.4.90.0060.01216.70
7.4.80.0130.00319.39
7.4.70.0040.01416.32
7.4.60.0030.01416.48
7.4.50.0000.00716.60
7.4.40.0120.00416.53
7.4.30.0090.00616.33
7.4.00.0060.01214.62
7.3.330.0050.00013.25
7.3.320.0050.00013.25
7.3.310.0000.00816.26
7.3.300.0000.00716.11
7.3.290.0120.00316.25
7.3.280.0100.00716.32
7.3.270.0030.01317.40
7.3.260.0060.00916.40
7.3.250.0110.00516.36
7.3.240.0100.00616.27
7.3.230.0050.01416.39
7.3.210.0110.00616.20
7.3.200.0060.01519.39
7.3.190.0100.01016.57
7.3.180.0070.01016.29
7.3.170.0170.00616.41
7.3.160.0100.00916.52
7.3.120.0040.01414.46
7.3.10.0150.01016.26
7.3.00.0190.00316.01
7.2.330.0030.01416.58
7.2.320.0040.01316.32
7.2.310.0140.00316.48
7.2.300.0180.00716.41
7.2.290.0110.00616.63
7.2.130.0170.00816.52
7.2.120.0180.00616.28
7.2.110.0100.00316.34
7.2.100.0260.00516.79
7.2.90.0090.00616.42
7.2.80.0230.00716.74
7.2.70.0190.00416.34
7.2.60.0100.00716.44
7.2.50.0150.00616.37
7.2.40.0120.00616.14
7.2.30.0250.01116.66
7.2.20.0120.00616.05
7.2.10.0130.00515.91
7.2.00.0070.00917.83
7.1.250.0180.00715.58
7.1.200.0060.00315.73
7.1.100.0060.01017.90
7.1.70.0030.00716.73
7.1.60.0110.01519.46
7.1.50.0080.01616.71
7.1.00.0100.06722.37
7.0.200.0000.00916.61
7.0.140.0030.07321.96
7.0.60.0070.06319.79
7.0.50.0070.08017.72
7.0.40.0070.05320.06
7.0.30.0330.07320.29
7.0.20.0400.06720.33
7.0.10.0070.08720.07
7.0.00.0130.07720.22
5.6.280.0100.06720.86
5.6.210.0100.06320.75
5.6.200.0130.07718.18
5.6.190.0100.04020.49
5.6.180.0030.08720.67
5.6.170.0230.03720.50
5.6.160.0170.06320.46
5.6.150.0170.07018.18
5.6.140.0130.07318.28
5.6.130.0070.06018.23
5.6.120.0170.07320.96
5.6.110.0130.07321.09
5.6.100.0030.04320.96
5.6.90.0100.06321.12
5.6.80.0000.04720.35
5.5.350.3830.03720.41
5.5.340.0100.08018.05
5.5.330.0100.08020.30
5.5.320.0300.07720.30
5.5.310.0270.06720.37
5.5.300.0100.06318.07
5.5.290.0070.06317.98
5.5.280.0070.08020.73
5.5.270.0070.07320.75
5.5.260.0130.06720.79
5.5.250.0170.06720.68
5.5.240.0070.07720.15
5.4.450.0130.05319.33
5.4.440.0170.06719.41
5.4.430.0130.05319.54
5.4.420.0230.07719.66
5.4.410.1030.05319.50
5.4.400.1070.04319.11
5.4.390.0770.05019.18
5.4.380.0170.05018.73
5.4.370.0230.06318.50
5.4.360.0130.05018.62
5.4.350.0100.06018.77
5.4.340.0200.05318.54
5.4.320.0060.03612.49
5.4.310.0060.04212.49
5.4.300.0060.03612.50
5.4.290.0070.03912.49
5.4.280.0090.03912.39
5.4.270.0070.04712.39
5.4.260.0080.04312.39
5.4.250.0070.04712.39
5.4.240.0070.05112.39
5.4.230.0100.04912.38
5.4.220.0080.05012.38
5.4.210.0090.05012.38
5.4.200.0090.03612.38
5.4.190.0080.03912.38
5.4.180.0060.04112.38
5.4.170.0070.04012.39
5.4.160.0050.03912.39
5.4.150.0080.03812.39
5.4.140.0050.04012.07
5.4.130.0110.03612.05
5.4.120.0100.03312.01
5.4.110.0080.03712.01
5.4.100.0030.04912.01
5.4.90.0070.04612.00
5.4.80.0080.04912.01
5.4.70.0050.03812.01
5.4.60.0080.03612.00
5.4.50.0060.05112.00
5.4.40.0080.03711.99
5.4.30.0080.03611.99
5.4.20.0080.04311.99
5.4.10.0070.04911.99
5.4.00.0110.04711.48
5.3.290.0070.03812.80
5.3.280.0070.05212.71
5.3.270.0090.05112.73
5.3.260.0120.06112.72
5.3.250.0070.04212.72
5.3.240.0090.04012.72
5.3.230.0140.03512.71
5.3.220.0140.03512.68
5.3.210.0080.04112.68
5.3.200.0120.04012.68
5.3.190.0080.04512.68
5.3.180.0130.04412.67
5.3.170.0060.04112.67
5.3.160.0080.03912.68
5.3.150.0100.03712.67
5.3.140.0060.03912.66
5.3.130.0130.03512.66
5.3.120.0060.04112.66
5.3.110.0060.03912.66
5.3.100.0080.03612.11
5.3.90.0070.04012.10
5.3.80.0050.03712.09
5.3.70.0040.03912.09
5.3.60.0060.04112.07
5.3.50.0080.04012.02
5.3.40.0100.03412.02
5.3.30.0080.03911.99
5.3.20.0090.04811.76
5.3.10.0080.04011.72
5.3.00.0080.03711.71
5.2.170.0060.0309.19
5.2.160.0080.0339.18
5.2.150.0090.0269.18
5.2.140.0060.0339.18
5.2.130.0080.0299.14
5.2.120.0080.0289.14
5.2.110.0050.0309.15
5.2.100.0070.0279.14
5.2.90.0070.0279.14
5.2.80.0070.0289.13
5.2.70.0070.0299.14
5.2.60.0060.0309.09
5.2.50.0030.0329.06
5.2.40.0030.0339.03
5.2.30.0050.0299.02
5.2.20.0060.0289.01
5.2.10.0050.0288.92
5.2.00.0060.0268.79
5.1.60.0080.0208.06
5.1.50.0040.0258.07
5.1.40.0030.0268.05
5.1.30.0030.0288.40
5.1.20.0050.0268.42
5.1.10.0050.0268.14
5.1.00.0040.0268.14
5.0.50.0040.0216.62
5.0.40.0020.0216.48
5.0.30.0050.0306.29
5.0.20.0040.0196.27
5.0.10.0020.0216.24
5.0.00.0030.0326.23
4.4.90.0050.0134.78
4.4.80.0010.0164.76
4.4.70.0030.0154.75
4.4.60.0010.0174.75
4.4.50.0010.0174.77
4.4.40.0020.0254.71
4.4.30.0030.0154.76
4.4.20.0030.0154.85
4.4.10.0020.0164.85
4.4.00.0030.0254.76
4.3.110.0020.0164.67
4.3.100.0020.0164.66
4.3.90.0000.0174.63
4.3.80.0040.0234.59
4.3.70.0030.0144.63
4.3.60.0030.0144.63
4.3.50.0030.0154.63
4.3.40.0030.0234.53
4.3.30.0030.0153.29
4.3.20.0000.0183.26
4.3.10.0020.0153.22
4.3.00.0000.0237.71

preferences:
56.19 ms | 400 KiB | 5 Q