3v4l.org

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

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.70.0140.00016.50
8.3.60.0040.01216.48
8.3.50.0110.00821.11
8.3.40.0070.00718.59
8.3.30.0030.01018.72
8.3.20.0060.00320.32
8.3.10.0040.00421.73
8.3.00.0040.00423.65
8.2.190.0090.01216.63
8.2.180.0170.00016.50
8.2.170.0140.00422.96
8.2.160.0070.00720.29
8.2.150.0040.00424.18
8.2.140.0030.00624.66
8.2.130.0050.00226.16
8.2.120.0040.00421.07
8.2.110.0000.00922.13
8.2.100.0030.00917.91
8.2.90.0030.00519.09
8.2.80.0040.00417.97
8.2.70.0030.00617.63
8.2.60.0030.00617.92
8.2.50.0080.00018.07
8.2.40.0030.00622.23
8.2.30.0000.00719.49
8.2.20.0050.00317.63
8.2.10.0040.00417.98
8.2.00.0030.00517.88
8.1.280.0120.00325.92
8.1.270.0040.00420.23
8.1.260.0050.00326.35
8.1.250.0000.00828.09
8.1.240.0030.00623.93
8.1.230.0120.00019.07
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0030.00617.22
8.1.190.0030.00517.23
8.1.180.0040.00418.10
8.1.170.0040.00418.45
8.1.160.0000.00720.69
8.1.150.0050.00218.83
8.1.140.0040.00419.52
8.1.130.0000.00717.60
8.1.120.0040.00417.41
8.1.110.0090.00017.46
8.1.100.0060.00317.29
8.1.90.0030.00517.31
8.1.80.0030.00517.27
8.1.70.0000.00717.39
8.1.60.0060.00317.59
8.1.50.0000.00917.56
8.1.40.0000.00817.59
8.1.30.0040.00417.67
8.1.20.0040.00417.60
8.1.10.0070.00017.52
8.1.00.0040.00417.33
8.0.300.0040.00418.77
8.0.290.0000.00716.58
8.0.280.0080.00018.32
8.0.270.0080.00017.05
8.0.260.0030.00317.20
8.0.250.0030.00316.93
8.0.240.0000.00716.84
8.0.230.0040.00416.98
8.0.220.0000.00716.71
8.0.210.0000.00716.80
8.0.200.0000.00716.92
8.0.190.0040.00416.76
8.0.180.0000.00716.74
8.0.170.0000.00816.91
8.0.160.0040.00416.93
8.0.150.0030.00316.81
8.0.140.0030.00416.71
8.0.130.0030.00313.25
8.0.120.0000.00816.80
8.0.110.0000.00716.79
8.0.100.0000.00716.76
8.0.90.0000.00816.71
8.0.80.0050.00916.82
8.0.70.0000.00716.73
8.0.60.0000.00716.71
8.0.50.0020.00516.89
8.0.30.0090.00917.02
8.0.20.0110.00717.40
8.0.10.0040.00416.97
8.0.00.0120.01616.76
7.4.330.0030.00316.79
7.4.320.0030.00316.59
7.4.300.0030.00516.58
7.4.290.0000.00716.66
7.4.280.0070.00016.61
7.4.270.0030.00316.41
7.4.260.0040.00416.57
7.4.250.0040.00416.33
7.4.240.0060.00216.63
7.4.230.0000.00816.70
7.4.220.0180.00616.53
7.4.210.0030.01216.56
7.4.200.0040.00416.68
7.4.160.0100.00716.52
7.4.150.0140.00317.40
7.4.140.0130.00717.86
7.4.130.0110.01816.57
7.4.120.0070.01016.44
7.4.110.0000.01716.41
7.4.100.0140.00316.55
7.4.90.0070.01016.49
7.4.80.0060.01319.39
7.4.70.0160.00316.36
7.4.60.0100.00616.45
7.4.50.0060.01016.50
7.4.40.0100.00716.44
7.4.30.0030.01716.61
7.4.00.0000.01415.20
7.3.330.0000.00513.05
7.3.320.0030.00213.23
7.3.310.0030.00516.19
7.3.300.0050.00216.25
7.3.290.0100.00616.19
7.3.280.0080.00816.25
7.3.270.0130.01017.40
7.3.260.0130.00916.23
7.3.240.0120.00716.45
7.3.230.0130.00716.39
7.3.210.0130.00616.16
7.3.200.0060.01219.39
7.3.190.0080.00816.54
7.3.180.0150.00016.21
7.3.170.0110.00616.29
7.3.160.0000.02016.32
7.2.330.0130.00416.32
7.2.320.0110.00616.61
7.2.310.0130.00316.50
7.2.300.0110.00616.61
7.2.290.0090.01216.50
7.2.00.0030.00819.46
7.1.100.0050.00517.95
7.1.70.0030.00716.96
7.1.60.0070.01819.27
7.1.50.0280.01034.78
7.1.00.0030.07322.35
7.0.200.0040.00416.26
7.0.60.0030.03721.66
7.0.50.0130.04317.88
7.0.40.0030.05320.09
7.0.30.0630.05720.23
7.0.20.0130.05320.22
7.0.10.0100.08320.21
7.0.00.0070.05320.07
5.6.280.0000.04021.10
5.6.210.0300.04320.71
5.6.200.0070.05318.27
5.6.190.0130.05320.63
5.6.180.0300.04320.60
5.6.170.0300.04320.53
5.6.160.0100.05020.50
5.6.150.0070.06318.15
5.6.140.0070.03718.23
5.6.130.0170.04018.13
5.6.120.0130.04321.04
5.6.110.0100.07320.98
5.6.100.0130.05721.01
5.6.90.0070.07721.02
5.6.80.0000.06720.38
5.5.350.0070.07720.34
5.5.340.0030.08318.07
5.5.330.0070.09020.32
5.5.320.0630.06320.36
5.5.310.0270.07020.28
5.5.300.0070.08018.01
5.5.290.0030.06317.98
5.5.280.0070.08720.91
5.5.270.0170.08020.88
5.5.260.0070.04320.87
5.5.250.0100.07020.69
5.5.240.0030.05020.29

preferences:
46.52 ms | 401 KiB | 5 Q