3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface RouteManagerInterface { } interface ThemeManagerInterface { public function getActiveTheme(RouteMatchInterface $route_match = NULL); } class SomeOtherThemeManager implements ThemeManagerInterface { public function getActiveTheme() { echo 'yo!' . PHP_EOL; } } $c = new SomeOtherThemeManager(); $c->getActiveTheme();

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.5.10.0120.00616.74
8.5.00.0120.01020.03
8.4.150.0030.00014.05
8.4.140.0100.01117.48
8.4.130.0060.00617.74
8.4.120.0090.00720.49
8.4.110.0090.01222.29
8.4.100.0080.01217.50
8.4.90.0040.00722.32
8.4.80.0090.01219.55
8.4.70.0120.00718.13
8.4.60.0140.00618.81
8.4.50.0080.00518.57
8.4.40.0100.01017.54
8.4.30.0090.00020.30
8.4.20.0140.00719.69
8.4.10.0000.00822.60
8.3.280.0120.00818.45
8.3.270.0110.00916.39
8.3.260.0130.00616.70
8.3.250.0030.00518.83
8.3.240.0150.00416.55
8.3.230.0130.01016.68
8.3.220.0060.00317.37
8.3.210.0100.01216.75
8.3.200.0060.00316.61
8.3.190.0090.00918.63
8.3.180.0140.00516.43
8.3.170.0140.00417.21
8.3.160.0060.00318.46
8.3.150.0150.00417.12
8.3.140.0060.00917.41
8.3.130.0060.00318.29
8.3.120.0080.00019.00
8.3.110.0100.00016.87
8.3.100.0030.00516.63
8.3.90.0110.00716.51
8.3.80.0040.00719.36
8.3.70.0100.00716.75
8.3.60.0110.00418.43
8.3.50.0120.00623.58
8.3.40.0070.01418.68
8.3.30.0130.00318.67
8.3.20.0040.00724.18
8.3.10.0050.00224.66
8.3.00.0090.00026.16
8.2.290.0110.00720.14
8.2.280.0090.01018.59
8.2.270.0040.01217.38
8.2.260.0130.00316.58
8.2.250.0040.00418.12
8.2.240.0060.00318.61
8.2.230.0160.00320.94
8.2.220.0000.00824.06
8.2.210.0040.01526.77
8.2.200.0030.00618.29
8.2.190.0110.00416.58
8.2.180.0100.01025.92
8.2.170.0120.00318.91
8.2.160.0130.00722.96
8.2.150.0050.00225.66
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0070.00720.88
8.2.110.0030.00621.12
8.2.100.0040.00819.51
8.2.90.0050.00317.63
8.2.80.0040.00418.59
8.2.70.0090.00017.25
8.2.60.0080.00517.25
8.2.50.0070.00318.05
8.2.40.0040.00418.22
8.2.30.0040.00418.04
8.2.20.0070.00017.91
8.2.10.0050.00219.11
8.2.00.0040.00419.01
8.1.330.0120.00621.66
8.1.320.0150.00915.81
8.1.310.0080.00018.26
8.1.300.0030.00619.73
8.1.290.0040.00418.88
8.1.280.0150.00425.92
8.1.270.0000.00823.99
8.1.260.0060.00326.35
8.1.250.0070.00028.09
8.1.240.0070.00319.44
8.1.230.0070.00420.97
8.1.220.0040.00418.37
8.1.210.0040.00418.77
8.1.200.0080.00017.35
8.1.190.0060.00317.11
8.1.180.0040.00418.10
8.1.170.0000.00718.46
8.1.160.0000.00718.77
8.1.150.0000.00818.70
8.1.140.0080.00020.23
8.1.130.0030.00520.18
8.1.120.0090.00017.44
8.1.110.0040.00417.38
8.1.100.0000.00717.36
8.1.90.0040.00417.41
8.1.80.0040.00417.40
8.1.70.0000.00717.28
8.1.60.0080.00017.41
8.1.50.0000.00817.43
8.1.40.0060.00317.29
8.1.30.0080.00017.57
8.1.20.0070.00417.48
8.1.10.0110.00017.26
8.1.00.0050.00217.18
8.0.300.0000.00918.77
8.0.290.0060.00316.63
8.0.280.0000.00720.18
8.0.270.0030.00518.03
8.0.260.0030.00320.14
8.0.250.0060.00316.98
8.0.240.0000.00717.00
8.0.230.0030.00317.00
8.0.220.0070.00016.79
8.0.210.0030.00316.96
8.0.200.0030.00316.92
8.0.190.0040.00416.96
8.0.180.0000.00816.92
8.0.170.0050.00216.91
8.0.160.0000.00816.97
8.0.150.0050.00316.85
8.0.140.0030.00316.83
8.0.130.0030.00313.35
8.0.120.0000.00816.82
8.0.110.0000.00716.88
8.0.100.0040.00416.73
8.0.90.0000.00816.93
8.0.80.0120.00716.91
8.0.70.0050.00216.71
8.0.60.0070.00016.86
8.0.50.0050.00216.68
8.0.30.0030.01317.23
8.0.20.0150.00616.96
8.0.10.0040.00417.01
8.0.00.0110.01416.73
7.4.330.0050.00015.55
7.4.320.0030.00316.46
7.4.300.0030.00316.39
7.4.290.0070.00016.40
7.4.280.0040.00316.53
7.4.270.0040.00416.59
7.4.260.0000.00513.08
7.4.250.0000.00716.41
7.4.240.0000.00716.52
7.4.230.0040.00416.63
7.4.220.0030.00316.47
7.4.210.0040.01216.50
7.4.200.0040.00416.63
7.4.130.0140.00416.37
7.4.120.0100.00716.47
7.4.110.0090.00916.50
7.4.100.0100.00616.41
7.4.90.0140.00816.41
7.4.80.0120.01016.34
7.4.70.0140.00516.48
7.4.60.0090.00916.48
7.4.50.0180.00516.48
7.4.40.0150.00616.27
7.4.30.0100.01416.61
7.4.20.0030.01816.29
7.4.10.0200.00016.14
7.4.00.0060.01316.56
7.3.330.0040.00416.27
7.3.320.0060.00013.10
7.3.310.0000.00716.23
7.3.300.0000.00716.20
7.3.290.0050.01116.19
7.3.260.0070.01616.55
7.3.230.0100.00716.30
7.3.210.0130.02216.28
7.3.200.0130.01016.41
7.3.190.0110.00716.57
7.3.180.0050.01616.41
7.3.170.0100.01016.21
7.3.160.0090.01216.33
7.3.150.0110.01416.34
7.3.140.0140.00716.36
7.3.130.0090.00916.23
7.3.120.0040.01716.28
7.3.110.0150.00616.07
7.3.100.0140.01016.27
7.3.90.0100.01216.38
7.3.80.0110.01116.32
7.3.70.0090.00916.35
7.3.60.0200.00316.44
7.3.50.0180.00916.18
7.3.40.0150.00916.32
7.3.30.0140.01016.26
7.3.20.0150.00816.34
7.3.10.0130.00916.23
7.3.00.0110.01116.29
7.2.330.0060.01316.23
7.2.320.0080.01616.51
7.2.310.0110.00816.38
7.2.300.0130.00616.55
7.2.290.0080.01116.55
7.2.280.0110.01516.41
7.2.270.0200.00016.15
7.2.260.0110.00716.34
7.2.250.0100.01016.50
7.2.240.0080.01416.25
7.2.230.0180.00916.51
7.2.220.0070.01716.27
7.2.210.0150.00816.60
7.2.200.0130.00616.29
7.2.190.0080.01116.42
7.2.180.0220.00316.24
7.2.170.0160.01016.34
7.2.160.0140.00916.38
7.2.150.0130.01116.59
7.2.140.0160.00416.55
7.2.130.0180.00416.59
7.2.120.0220.00516.54
7.2.110.0060.02116.41
7.2.100.0120.00816.41
7.2.90.0120.00816.40
7.2.80.0150.00916.30
7.2.70.0140.01116.13
7.2.60.0130.01016.47
7.2.50.0120.00616.39
7.2.40.0060.01316.52
7.2.30.0270.00916.35
7.2.20.0170.00616.52
7.2.10.0130.01116.69
7.2.00.0080.01216.43

preferences:
43.03 ms | 403 KiB | 5 Q