3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); function foobar(int $a): int { return ""; } foobar();

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.0060.01216.50
8.3.50.0140.00418.32
8.3.40.0060.01218.70
8.3.30.0130.00318.54
8.3.20.0040.00420.09
8.3.10.0050.00323.51
8.3.00.0080.00019.85
8.2.180.0000.01518.54
8.2.170.0110.00322.96
8.2.160.0070.00720.28
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0030.00719.39
8.2.120.0040.00426.35
8.2.110.0070.01020.52
8.2.100.0040.00717.90
8.2.90.0000.00719.05
8.2.80.0060.00317.97
8.2.70.0060.00317.63
8.2.60.0040.00417.80
8.2.50.0000.00818.07
8.2.40.0080.00022.33
8.2.30.0030.00520.62
8.2.20.0030.00617.70
8.2.10.0060.00317.89
8.2.00.0040.00418.04
8.1.280.0100.00625.92
8.1.270.0060.00620.24
8.1.260.0090.00028.09
8.1.250.0040.00428.09
8.1.240.0030.00622.25
8.1.230.0040.00717.54
8.1.220.0040.00417.74
8.1.210.0000.00718.77
8.1.200.0060.00317.10
8.1.190.0000.00817.10
8.1.180.0000.00718.10
8.1.170.0060.00318.47
8.1.160.0000.00820.60
8.1.150.0040.00418.80
8.1.140.0000.00819.43
8.1.130.0030.00317.44
8.1.120.0030.00317.29
8.1.110.0000.00817.26
8.1.100.0080.00417.31
8.1.90.0000.00717.22
8.1.80.0000.00817.36
8.1.70.0030.00317.18
8.1.60.0040.00417.50
8.1.50.0060.00317.41
8.1.40.0030.00617.33
8.1.30.0040.00417.46
8.1.20.0040.00417.61
8.1.10.0030.00617.57
8.1.00.0040.00417.48
8.0.300.0070.00018.77
8.0.290.0040.00416.75
8.0.280.0000.00718.24
8.0.270.0030.00317.18
8.0.260.0000.00717.09
8.0.250.0000.00716.92
8.0.240.0000.00716.84
8.0.230.0070.00016.84
8.0.220.0040.00416.84
8.0.210.0000.00716.83
8.0.200.0000.00716.96
8.0.190.0000.01016.90
8.0.180.0040.00416.92
8.0.170.0050.00316.80
8.0.160.0070.00016.90
8.0.150.0100.00016.84
8.0.140.0090.00016.84
8.0.130.0000.00713.27
8.0.120.0070.00016.83
8.0.110.0040.00416.75
8.0.100.0070.00016.85
8.0.90.0040.00416.77
8.0.80.0030.01116.87
8.0.70.0040.00416.71
8.0.60.0000.00716.82
8.0.50.0000.00716.83
8.0.30.0080.00917.01
8.0.20.0120.00917.40
8.0.10.0000.00716.77
8.0.00.0080.01016.48
7.4.330.0000.00516.77
7.4.320.0030.00316.34
7.4.300.0060.00316.50
7.4.290.0040.00416.35
7.4.280.0050.00316.36
7.4.270.0060.00316.33
7.4.260.0070.00016.32
7.4.250.0070.00016.39
7.4.240.0040.00416.42
7.4.230.0030.00316.33
7.4.220.0070.01416.63
7.4.210.0040.01116.52
7.4.200.0070.00016.55
7.4.160.0060.01616.24
7.4.150.0070.01017.40
7.4.140.0100.00817.86
7.4.130.0080.01216.64
7.4.120.0110.01116.44
7.4.110.0090.00916.70
7.4.100.0100.01316.45
7.4.90.0160.00016.42
7.4.80.0150.00719.39
7.4.70.0120.00416.43
7.4.60.0080.00816.45
7.4.50.0080.00316.07
7.4.40.0100.01016.31
7.4.30.0120.00916.65
7.4.00.0070.01015.09
7.3.330.0060.00213.15
7.3.320.0000.00513.29
7.3.310.0000.00716.19
7.3.300.0040.00416.30
7.3.290.0030.00316.16
7.3.280.0090.00716.26
7.3.270.0070.01117.40
7.3.260.0130.00316.20
7.3.250.0100.01016.28
7.3.240.0090.01116.28
7.3.230.0000.01816.53
7.3.210.0060.00916.45
7.3.200.0140.00316.55
7.3.190.0120.00916.34
7.3.180.0090.00616.35
7.3.170.0090.00916.49
7.3.160.0110.01016.23
7.3.10.0060.01116.43
7.3.00.0030.01216.35
7.2.330.0070.01016.58
7.2.320.0060.01216.70
7.2.310.0180.00016.55
7.2.300.0030.01316.19
7.2.290.0130.00316.55
7.2.130.0040.01016.63
7.2.120.0110.00716.63
7.2.110.0090.00516.70
7.2.100.0050.00916.74
7.2.90.0060.00716.61
7.2.80.0060.01016.71
7.2.70.0090.00716.55
7.2.60.0120.00316.72
7.2.50.0090.00916.78
7.2.40.0070.01116.69
7.2.30.0120.00516.79
7.2.20.0090.00716.50
7.2.10.0130.00716.54
7.2.00.0100.00817.64
7.1.250.0090.00715.35
7.1.200.0070.00415.36
7.1.100.0030.00618.01
7.1.70.0030.00316.71
7.1.60.0180.00719.44
7.1.50.0080.00616.86
7.1.00.0070.07322.41
7.0.200.0000.01016.75
7.0.60.0070.04019.89
7.0.50.0070.07317.87
7.0.40.0070.07020.18
7.0.30.0470.07020.13
7.0.20.0270.05020.10
7.0.10.0070.08720.21
7.0.00.0070.08020.09
5.6.280.0000.03321.04
5.6.210.0100.03320.73
5.6.200.0000.04318.16
5.6.190.0170.07720.77
5.6.180.0200.05720.39
5.6.170.0230.08020.60
5.6.160.0000.04320.42
5.6.150.0070.08318.15
5.6.140.0030.08318.17
5.6.130.0000.04718.15
5.6.120.0070.08321.01
5.6.110.0030.04320.97
5.6.100.0130.05320.99
5.6.90.0030.08720.98
5.6.80.0130.07320.36
5.5.350.0100.04320.47
5.5.340.0100.08018.09
5.5.330.0100.04020.18
5.5.320.0300.06720.34
5.5.310.0200.04320.34
5.5.300.0030.05018.04
5.5.290.0000.04717.96
5.5.280.0100.05320.96
5.5.270.0030.08720.96
5.5.260.0100.05020.76
5.5.250.0070.06320.69
5.5.240.0200.07320.26

preferences:
47.26 ms | 400 KiB | 5 Q