3v4l.org

run code in 300+ PHP versions simultaneously
<?php $routesBundle = []; $routesBundle['main']['route'] = true; $routesBundle['main']['alt1'] = true; $routesBundle['main']['alt2'] = true; $routesBundle['rif']['route'] = true; $routesBundle['rif']['alt1'] = true; $routesBundle['rif']['alt2'] = true; foreach ($routesBundle as $bKey => $routes) { if ($bKey) { echo "\n" . $bKey . '<br>'; } foreach ($routes as $rKey => $route) { if ($rKey < count($routes) - 1 && $rKey < count($routes) - 1) { echo "\n" . $route . '<br>'; } } }

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.01818.33
8.3.50.0100.00718.30
8.3.40.0150.00018.84
8.3.30.0200.00718.59
8.3.20.0040.00419.52
8.3.10.0040.00421.86
8.3.00.0040.00919.80
8.2.180.0090.00916.63
8.2.170.0140.00422.96
8.2.160.0140.00319.22
8.2.150.0050.00324.18
8.2.140.0030.00524.66
8.2.130.0040.00420.38
8.2.120.0070.00026.35
8.2.110.0030.00719.25
8.2.100.0080.00317.78
8.2.90.0000.00819.40
8.2.80.0040.00417.97
8.2.70.0060.00317.63
8.2.60.0000.00918.05
8.2.50.0040.00418.10
8.2.40.0040.00420.42
8.2.30.0070.00019.34
8.2.20.0000.00718.03
8.2.10.0050.00318.02
8.2.00.0030.00718.14
8.1.280.0120.00925.92
8.1.270.0040.00422.04
8.1.260.0080.00028.09
8.1.250.0050.00328.09
8.1.240.0030.00721.34
8.1.230.0090.00319.18
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0080.00017.36
8.1.190.0040.00417.22
8.1.180.0050.00318.10
8.1.170.0040.00418.54
8.1.160.0020.00518.73
8.1.150.0000.00720.13
8.1.140.0060.00319.48
8.1.130.0050.00318.95
8.1.120.0040.00417.46
8.1.110.0030.00717.44
8.1.100.0080.00017.45
8.1.90.0000.00717.38
8.1.80.0050.00217.37
8.1.70.0030.00517.45
8.1.60.0040.00417.53
8.1.50.0030.00517.39
8.1.40.0000.00817.37
8.1.30.0000.00717.63
8.1.20.0050.00317.70
8.1.10.0040.00417.59
8.1.00.0000.00817.35
8.0.300.0000.00719.93
8.0.290.0000.00716.58
8.0.280.0000.00718.51
8.0.270.0000.00717.23
8.0.260.0020.00518.84
8.0.250.0000.00617.00
8.0.240.0050.00316.82
8.0.230.0040.00416.84
8.0.220.0080.00016.89
8.0.210.0030.00316.87
8.0.200.0030.00316.83
8.0.190.0060.00317.00
8.0.180.0040.00416.77
8.0.170.0040.00416.89
8.0.160.0040.00416.87
8.0.150.0030.00516.81
8.0.140.0030.00716.75
8.0.130.0030.00313.30
8.0.120.0050.00216.82
8.0.110.0000.00816.66
8.0.100.0040.00416.87
8.0.90.0040.00416.88
8.0.80.0130.00316.81
8.0.70.0050.00316.70
8.0.60.0000.00716.82
8.0.50.0000.00816.78
8.0.30.0060.01117.21
8.0.20.0130.00717.40
8.0.10.0070.00017.04
8.0.00.0110.00616.81
7.4.330.0000.00615.55
7.4.320.0030.00316.50
7.4.300.0000.00716.38
7.4.290.0040.00416.42
7.4.280.0040.00416.43
7.4.270.0030.00316.63
7.4.260.0000.00716.64
7.4.250.0040.00416.54
7.4.240.0050.00216.41
7.4.230.0070.00016.39
7.4.220.0150.00916.46
7.4.210.0050.01016.55
7.4.200.0030.00316.48
7.4.160.0070.00916.47
7.4.150.0180.00017.40
7.4.140.0100.00917.86
7.4.130.0100.01016.49
7.4.120.0130.00816.43
7.4.110.0120.01216.47
7.4.100.0070.01116.48
7.4.90.0030.01316.46
7.4.80.0070.01019.39
7.4.70.0060.01316.50
7.4.60.0040.01316.39
7.4.50.0030.00616.46
7.4.40.0070.01016.54
7.4.30.0100.01016.31
7.4.00.0030.01015.03
7.3.330.0000.00613.07
7.3.320.0000.00513.14
7.3.310.0030.00316.25
7.3.300.0000.00716.31
7.3.290.0100.00316.32
7.3.280.0050.01016.36
7.3.270.0030.01417.40
7.3.260.0060.01316.41
7.3.250.0090.00916.36
7.3.240.0060.01216.32
7.3.230.0100.00716.27
7.3.210.0030.01316.29
7.3.200.0140.00416.45
7.3.190.0160.00616.43
7.3.180.0140.00316.43
7.3.170.0000.01616.42
7.3.160.0090.01016.60
7.2.330.0070.01316.56
7.2.320.0130.00416.73
7.2.310.0130.00316.61
7.2.300.0070.01016.86
7.2.290.0060.01116.58
7.2.80.0040.00416.53
7.2.60.0070.00717.03
7.2.00.0000.01019.50
7.1.200.0030.00915.75
7.1.100.0100.00318.26
7.1.70.0000.00917.21
7.1.60.0030.00717.25
7.1.50.0200.02034.83
7.1.40.0230.01334.26
7.1.30.0170.01734.41
7.1.20.0300.01034.61
7.1.10.0070.00716.53
7.1.00.0070.01016.65
7.0.200.0030.00516.52
7.0.190.0000.01316.36
7.0.180.0070.01016.32
7.0.170.0000.01716.32
7.0.160.0030.01016.13
7.0.150.0070.00716.12
7.0.140.0030.01016.43
7.0.130.0030.01316.49
7.0.120.0000.01716.63
7.0.110.0030.01316.28
7.0.100.0070.01016.40
7.0.90.0070.01016.25
7.0.80.0000.01316.32
7.0.70.0030.01016.26
7.0.60.0030.01016.22
7.0.50.0000.01316.23
7.0.40.0070.00716.54
7.0.30.0000.01316.45
7.0.20.0100.00716.25
7.0.10.0070.01016.14
7.0.00.0100.01016.29

preferences:
56.52 ms | 401 KiB | 5 Q