3v4l.org

run code in 300+ PHP versions simultaneously
<?php function depbuild($name, $location, $suffix, $locale) { echo "*** $name - $location - $suffix - $locale\n\n"; $locales = $locale ? array($locale, null) : array(null); $extensions = array_filter(array( ($location && $suffix) ? implode('-', array($location, $suffix)) : null, $suffix ?: null, $location ?: null, )); $extensions[] = null; $routing = array(); foreach ($locales as $lang) { foreach ($extensions as $extension) { echo implode('-', array_filter(array( $name, $extension, $lang, ))) . '.html'.PHP_EOL; } } } $name = 'foo'; $location = array(null, 'GL', 'AS'); $suffix = array(null, 'P','C'); $locale = array(null, 'fr_FR'); foreach($location as $loc) { foreach($suffix as $s) { foreach($locale as $l) { depbuild($name, $loc, $s, $l); echo PHP_EOL.'--------'.PHP_EOL; } } }

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.0130.00318.34
8.3.50.0090.01017.30
8.3.40.0150.00618.80
8.3.30.0140.00018.84
8.3.20.0030.00518.83
8.3.10.0090.00018.50
8.3.00.0030.00619.25
8.2.180.0100.00716.88
8.2.170.0110.01122.96
8.2.160.0110.00418.84
8.2.150.0030.00624.18
8.2.140.0090.00624.66
8.2.130.0080.00026.16
8.2.120.0080.00021.04
8.2.110.0000.00919.28
8.2.100.0120.00018.22
8.2.90.0040.00417.63
8.2.80.0030.00617.97
8.2.70.0100.00017.63
8.2.60.0080.00018.05
8.2.50.0000.00818.07
8.2.40.0050.00319.35
8.2.30.0090.00017.75
8.2.20.0060.00317.58
8.2.10.0050.00217.86
8.2.00.0060.00317.84
8.1.280.0110.00425.92
8.1.270.0000.00823.99
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0080.00417.36
8.1.230.0120.00019.48
8.1.220.0030.00517.76
8.1.210.0090.00018.77
8.1.200.0000.01217.22
8.1.190.0040.00417.35
8.1.180.0080.00018.10
8.1.170.0080.00018.86
8.1.160.0040.00419.02
8.1.150.0030.00518.55
8.1.140.0040.00417.45
8.1.130.0040.00419.16
8.1.120.0040.00417.35
8.1.110.0050.00317.36
8.1.100.0000.00717.38
8.1.90.0050.00317.49
8.1.80.0080.00017.43
8.1.70.0070.00017.29
8.1.60.0000.00917.54
8.1.50.0040.00417.41
8.1.40.0030.00617.53
8.1.30.0030.00617.61
8.1.20.0000.01017.51
8.1.10.0030.00517.57
8.1.00.0030.00617.31
8.0.300.0030.00618.84
8.0.290.0040.00416.75
8.0.280.0000.00718.50
8.0.270.0000.00717.30
8.0.260.0040.00416.88
8.0.250.0040.00417.02
8.0.240.0040.00416.93
8.0.230.0000.00717.00
8.0.220.0040.00416.80
8.0.210.0040.00416.80
8.0.200.0030.00316.96
8.0.190.0000.00816.95
8.0.180.0070.00016.91
8.0.170.0040.00416.99
8.0.160.0000.00716.75
8.0.150.0040.00416.85
8.0.140.0030.00716.89
8.0.130.0030.00313.23
8.0.120.0070.00416.89
8.0.110.0070.00016.79
8.0.100.0030.00516.69
8.0.90.0070.00016.94
8.0.80.0070.01116.86
8.0.70.0030.00617.00
8.0.60.0060.00316.92
8.0.50.0060.00316.76
8.0.30.0000.01816.74
8.0.20.0100.00917.06
8.0.10.0080.00017.15
8.0.00.0090.01316.81
7.4.330.0060.00013.00
7.4.320.0060.00016.62
7.4.300.0040.00416.61
7.4.290.0030.00616.54
7.4.280.0040.00716.52
7.4.270.0030.00516.64
7.4.260.0090.00013.33
7.4.250.0040.00416.50
7.4.240.0000.00716.51
7.4.230.0050.00316.68
7.4.220.0140.01016.48
7.4.210.0030.01316.65
7.4.200.0000.00816.60
7.4.190.0040.00416.57
7.4.160.0060.01316.30
7.4.150.0060.01216.34
7.4.140.0120.00917.86
7.4.130.0200.00316.70
7.4.120.0100.01716.65
7.4.110.0060.01816.56
7.4.100.0030.01416.54
7.4.90.0120.01116.36
7.4.80.0130.00619.39
7.4.70.0110.00716.53
7.4.60.0080.00816.55
7.4.50.0030.00316.12
7.4.40.0040.01116.69
7.4.30.0090.00716.55
7.4.00.0090.00914.71
7.3.330.0030.00313.19
7.3.320.0000.00713.32
7.3.310.0040.00416.25
7.3.300.0070.00016.29
7.3.290.0100.00616.40
7.3.280.0070.01116.39
7.3.270.0090.01016.50
7.3.260.0090.01416.36
7.3.240.0070.01116.45
7.3.230.0150.00316.60
7.3.210.0090.00916.58
7.3.200.0100.00616.39
7.3.190.0110.01116.50
7.3.180.0030.01416.63
7.3.170.0080.01216.45
7.3.160.0120.00916.58
7.3.120.0070.00514.88
7.3.110.0000.01814.91
7.3.100.0060.00915.15
7.3.90.0030.01014.68
7.3.80.0060.00614.51
7.3.70.0000.00914.91
7.3.60.0000.01515.01
7.3.50.0030.01214.62
7.3.40.0060.00314.81
7.3.30.0030.01114.62
7.3.20.0040.01116.75
7.3.10.0030.01016.54
7.3.00.0060.00616.74
7.2.330.0120.00616.83
7.2.320.0070.01316.77
7.2.310.0080.01516.54
7.2.300.0090.00916.88
7.2.290.0120.00716.60
7.2.250.0070.01114.96
7.2.240.0090.00614.89
7.2.230.0060.01015.21
7.2.220.0060.00615.10
7.2.210.0040.00715.32
7.2.200.0040.01115.13
7.2.190.0060.00914.81
7.2.180.0110.00815.05
7.2.170.0050.00515.09
7.2.00.0030.00919.28
7.1.330.0030.01016.03
7.1.320.0030.01016.07
7.1.310.0000.01015.98
7.1.300.0030.01015.77
7.1.290.0040.01415.80
7.1.280.0040.00715.59
7.1.270.0030.00715.89
7.1.260.0030.00615.79
7.1.200.0110.00415.80
7.1.100.0000.01018.21
7.1.70.0080.00017.30
7.1.60.0090.01519.25
7.1.50.0030.01416.84
7.1.00.0000.04722.30
7.0.200.0030.00716.55
7.0.140.0100.07022.20
7.0.120.0070.06322.03
7.0.60.0100.08020.05
7.0.50.0100.07717.92
7.0.40.0130.04717.77
7.0.30.0070.05317.72
7.0.20.0070.07317.75
7.0.10.0070.04317.71
7.0.00.0130.05017.72
5.6.280.0030.07720.92
5.6.210.0030.04320.55
5.6.200.0130.07018.13
5.6.190.0070.06018.19
5.6.180.0000.06018.29
5.6.170.0070.05018.28
5.6.160.0100.05318.29
5.6.150.0130.07018.15
5.6.140.0070.08318.18
5.6.130.0070.04718.15
5.6.120.0100.08018.15
5.6.110.0100.07718.21
5.6.100.0100.07718.27
5.6.90.0130.08018.27
5.6.80.0030.08017.57
5.6.70.0030.08017.56
5.6.60.0100.06717.55
5.6.50.0170.05717.53
5.6.40.0100.04017.54
5.6.30.0130.07317.63
5.6.20.0100.08017.62
5.6.10.0170.05017.50
5.6.00.0100.07317.49
5.5.350.0130.06720.45
5.5.340.0070.07018.09
5.5.330.0100.04018.09
5.5.320.0130.07718.08
5.5.310.0170.07317.99
5.5.300.0070.06017.95
5.5.290.0030.04317.98
5.5.280.0030.07017.95
5.5.270.0030.06717.98
5.5.260.0100.07018.00
5.5.250.0100.07717.79
5.5.240.0030.05317.34
5.5.230.0200.06317.32
5.5.220.0030.08017.32
5.5.210.0100.06017.38
5.5.200.0030.08017.41
5.5.190.0070.05717.34
5.5.180.0170.07017.37
5.5.160.0130.06017.28
5.5.150.0000.05717.30
5.5.140.0100.05017.40
5.5.130.0100.07317.33
5.5.120.0100.06317.30
5.5.110.0100.05017.30
5.5.100.0100.07317.20
5.5.90.0170.04017.23
5.5.80.0100.03717.19
5.5.70.0030.07717.19
5.5.60.0070.06717.27
5.5.50.0030.04017.19
5.5.40.0030.05717.18
5.5.30.0070.07717.32
5.5.20.0100.05017.29
5.5.10.0170.06317.19
5.5.00.0000.06717.30
5.4.450.0170.07019.34
5.4.440.0030.08319.36
5.4.430.0100.08019.33
5.4.420.0030.06319.35
5.4.410.0070.08319.24
5.4.400.0030.06719.04
5.4.390.0100.06719.10
5.4.380.0000.08319.06
5.4.370.0070.07318.98
5.4.360.0100.07318.95
5.4.350.0000.07019.09
5.4.340.0030.07019.05
5.4.320.0070.07319.04
5.4.310.0100.07319.27
5.4.300.0070.06019.03
5.4.290.0070.05319.09
5.4.280.0070.08019.03
5.4.270.0030.05319.13
5.4.260.0030.08019.04
5.4.250.0070.08018.97
5.4.240.0030.07019.13
5.4.230.0030.06319.13
5.4.220.0170.06319.26
5.4.210.0100.07719.03
5.4.200.0070.04019.05
5.4.190.0030.08019.00
5.4.180.0100.05019.05
5.4.170.0200.06719.07
5.4.160.0100.05018.84
5.4.150.0000.04019.03
5.4.140.0070.03316.48
5.4.130.0030.03316.38
5.4.120.0000.04316.30
5.4.110.0030.03316.42
5.4.100.0030.03316.33
5.4.90.0030.03316.40
5.4.80.0030.04016.56
5.4.70.0100.02716.54
5.4.60.0030.03316.33
5.4.50.0000.03716.38
5.4.40.0030.03316.43
5.4.30.0030.03316.21
5.4.20.0070.03016.35
5.4.10.0070.03016.29
5.4.00.0000.04015.74
5.3.290.0000.05314.73
5.3.280.0030.05014.66
5.3.270.0000.07014.65
5.3.260.0230.03014.62
5.3.250.0270.02314.70
5.3.240.0070.04014.66
5.3.230.0030.03714.67
5.3.220.0030.03714.59
5.3.210.0030.04014.60
5.3.200.0030.03714.54
5.3.190.0030.03714.59
5.3.180.0000.03714.63
5.3.170.0000.04014.62
5.3.160.0030.03714.57
5.3.150.0170.02314.61
5.3.140.0000.04014.67
5.3.130.0130.02714.59
5.3.120.0130.02714.52
5.3.110.0030.03714.52
5.3.100.0000.03714.09
5.3.90.0000.03714.09
5.3.80.0000.03714.05
5.3.70.0000.03713.92
5.3.60.0100.03013.89
5.3.50.0000.03714.06
5.3.40.0000.03713.80
5.3.30.0000.03713.82
5.3.20.0070.03313.59
5.3.10.0000.03713.65
5.3.00.0030.03313.68
5.2.170.0070.02711.19
5.2.160.0000.03011.21
5.2.150.0030.03011.14
5.2.140.0000.03011.11
5.2.130.0000.03011.14
5.2.120.0030.02711.16
5.2.110.0030.02711.12
5.2.100.0000.03011.20
5.2.90.0030.02711.07
5.2.80.0000.03011.19
5.2.70.0000.03011.30
5.2.60.0000.03011.26
5.2.50.0000.03711.07
5.2.40.0070.03010.99
5.2.30.0030.05711.02
5.2.20.0070.05710.96
5.2.10.0000.04710.91
5.2.00.0130.04010.76
5.1.60.0030.05310.10
5.1.50.0070.05010.05
5.1.40.0030.0239.95
5.1.30.0000.06710.29
5.1.20.0070.06010.34
5.1.10.0070.05310.04
5.1.00.0100.02710.12
5.0.50.0100.0409.29
5.0.40.0000.0409.29
5.0.30.0000.0579.29
5.0.20.0030.0279.29
5.0.10.0000.0239.29
5.0.00.0030.0379.29
4.4.90.0000.0139.29
4.4.80.0000.0139.29
4.4.70.0000.0279.29
4.4.60.0030.0209.29
4.4.50.0000.0379.29
4.4.40.0100.0479.29
4.4.30.0070.0209.29
4.4.20.0030.0339.29
4.4.10.0030.0239.29
4.4.00.0000.0479.29
4.3.110.0000.0339.29
4.3.100.0000.0239.29
4.3.90.0000.0239.29
4.3.80.0100.0509.29
4.3.70.0000.0409.29
4.3.60.0070.0209.29
4.3.50.0070.0339.29
4.3.40.0070.0509.29
4.3.30.0070.0279.29
4.3.20.0030.0339.29
4.3.10.0000.0309.29
4.3.00.0070.0309.29

preferences:
38.36 ms | 400 KiB | 5 Q