3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Router { private function dispatch() { return is_callable('handleHuman'); } private function handleHuman() { echo 'Human Handled'; } } $router = new Router; $router->dispatch();

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.63
8.3.50.0110.00821.16
8.3.40.0110.00718.92
8.3.30.0040.01118.59
8.3.20.0040.00420.10
8.3.10.0080.00021.71
8.3.00.0040.00423.59
8.2.180.0090.00916.50
8.2.170.0170.00022.96
8.2.160.0110.00820.58
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00419.77
8.2.120.0040.00426.35
8.2.110.0030.00720.34
8.2.100.0000.01217.80
8.2.90.0070.00019.16
8.2.80.0040.00417.97
8.2.70.0080.00017.38
8.2.60.0030.00617.91
8.2.50.0000.00818.07
8.2.40.0070.00322.28
8.2.30.0030.00319.36
8.2.20.0030.00517.66
8.2.10.0040.00417.99
8.2.00.0000.00717.92
8.1.280.0100.00325.92
8.1.270.0040.00420.16
8.1.260.0040.00428.09
8.1.250.0060.00328.09
8.1.240.0030.00723.74
8.1.230.0110.00019.15
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0070.00317.35
8.1.190.0050.00217.10
8.1.180.0040.00418.10
8.1.170.0000.00818.59
8.1.160.0050.00220.68
8.1.150.0040.00418.68
8.1.140.0040.00419.56
8.1.130.0070.00017.55
8.1.120.0000.00817.39
8.1.110.0000.00917.45
8.1.100.0040.00417.27
8.1.90.0040.00417.39
8.1.80.0040.00417.34
8.1.70.0060.00317.39
8.1.60.0060.00317.47
8.1.50.0030.00617.34
8.1.40.0000.00817.37
8.1.30.0030.00617.59
8.1.20.0050.00317.52
8.1.10.0030.00517.46
8.1.00.0040.00417.54
8.0.300.0000.00818.77
8.0.290.0040.00416.63
8.0.280.0000.00718.37
8.0.270.0070.00017.09
8.0.260.0030.00317.17
8.0.250.0000.00716.84
8.0.240.0000.00816.94
8.0.230.0030.00316.98
8.0.220.0050.00516.77
8.0.210.0070.00016.87
8.0.200.0000.00716.78
8.0.190.0080.00016.95
8.0.180.0080.00016.88
8.0.170.0080.00016.95
8.0.160.0070.00016.89
8.0.150.0030.00516.80
8.0.140.0000.00716.83
8.0.130.0060.00013.36
8.0.120.0040.00416.84
8.0.110.0070.00016.91
8.0.100.0040.00416.74
8.0.90.0040.00416.95
8.0.80.0030.01316.85
8.0.70.0000.00716.84
8.0.60.0040.00416.92
8.0.50.0000.00716.82
8.0.30.0100.00817.05
8.0.20.0150.00317.40
8.0.10.0040.00417.04
8.0.00.0140.00916.83
7.4.330.0000.00616.78
7.4.320.0060.00016.34
7.4.300.0030.00316.57
7.4.290.0030.00316.60
7.4.280.0000.00816.50
7.4.270.0000.00716.63
7.4.260.0050.00516.59
7.4.250.0000.00716.58
7.4.240.0000.00716.50
7.4.230.0000.00716.35
7.4.220.0000.02016.54
7.4.210.0030.01016.46
7.4.200.0000.00716.68
7.4.160.0100.00716.56
7.4.150.0140.00417.40
7.4.140.0060.01417.86
7.4.130.0120.00616.69
7.4.120.0090.00916.40
7.4.110.0090.00916.55
7.4.100.0140.00416.71
7.4.90.0130.00616.52
7.4.80.0150.00619.39
7.4.70.0090.00716.39
7.4.60.0060.00916.27
7.4.50.0040.00816.64
7.4.40.0100.01416.68
7.4.30.0070.01016.49
7.4.00.0090.00015.09
7.3.330.0060.00013.29
7.3.320.0000.00513.24
7.3.310.0000.00716.11
7.3.300.0000.00716.34
7.3.290.0060.01016.25
7.3.280.0060.01016.28
7.3.270.0060.00917.40
7.3.260.0100.00716.50
7.3.240.0090.00916.38
7.3.230.0100.00616.51
7.3.210.0100.00716.37
7.3.200.0220.02919.39
7.3.190.0090.00916.27
7.3.180.0060.00916.42
7.3.170.0140.00716.27
7.3.160.0060.00916.47
7.2.330.0060.01516.22
7.2.320.0120.00616.66
7.2.310.0070.01016.46
7.2.300.0180.00016.26
7.2.290.0120.00616.51
7.2.60.0070.00716.74
7.2.00.0030.00719.35
7.1.200.0000.01115.58
7.1.100.0000.01417.93
7.1.70.0060.00917.14
7.1.60.0060.01919.27
7.1.50.0070.01116.54
7.1.00.0000.08022.41
7.0.200.0060.00616.49
7.0.60.0100.03321.75
7.0.50.0070.07717.85
7.0.40.0070.04320.21
7.0.30.0330.06720.09
7.0.20.0270.07020.12
7.0.10.0100.05720.22
7.0.00.0070.09020.23
5.6.280.0070.03020.93
5.6.210.0030.09020.57
5.6.200.0070.05718.12
5.6.190.0100.06720.39
5.6.180.0370.04720.61
5.6.170.0230.08020.56
5.6.160.0170.06320.52
5.6.150.0070.05318.18
5.6.140.0070.07718.18
5.6.130.0070.08018.21
5.6.120.0070.08320.89
5.6.110.0100.06721.02
5.6.100.0130.07321.12
5.6.90.0100.08021.00
5.6.80.0200.07720.41
5.5.350.0100.07720.34
5.5.340.0070.07018.04
5.5.330.0100.04020.13
5.5.320.0470.05320.42
5.5.310.0230.04020.34
5.5.300.0030.08318.07
5.5.290.0100.05017.98
5.5.280.0130.07720.91
5.5.270.0030.07720.68
5.5.260.0070.06320.86
5.5.250.0070.03720.58
5.5.240.0100.03020.04

preferences:
40.53 ms | 401 KiB | 5 Q