3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function fooInt(int $bar) { var_dump($bar); } } (new Foo)->fooInt('5');

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.0120.00918.40
8.3.50.0050.01521.26
8.3.40.0140.00718.79
8.3.30.0100.00319.02
8.3.20.0110.00320.15
8.3.10.0070.01423.55
8.3.00.0110.00423.65
8.2.180.0120.00618.19
8.2.170.0150.00422.96
8.2.160.0100.00322.30
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0120.00326.16
8.2.120.0030.00617.38
8.2.110.0000.00919.23
8.2.100.0080.00417.50
8.2.90.0000.00719.12
8.2.80.0060.00317.97
8.2.70.0000.00817.38
8.2.60.0040.00417.91
8.2.50.0090.00018.07
8.2.40.0060.00321.11
8.2.30.0050.00219.73
8.2.20.0000.00817.44
8.2.10.0000.00717.86
8.2.00.0050.00317.90
8.1.280.0100.00325.92
8.1.270.0000.00820.33
8.1.260.0050.00526.35
8.1.250.0000.00728.09
8.1.240.0050.00523.84
8.1.230.0000.01117.42
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0030.00616.88
8.1.190.0000.00817.10
8.1.180.0040.00418.10
8.1.170.0000.00818.61
8.1.160.0000.00721.82
8.1.150.0050.00218.81
8.1.140.0000.00717.33
8.1.130.0000.00717.44
8.1.120.0040.00417.23
8.1.110.0030.00617.28
8.1.100.0000.00817.32
8.1.90.0000.00817.38
8.1.80.0000.00817.33
8.1.70.0030.00317.21
8.1.60.0030.00617.49
8.1.50.0000.00817.42
8.1.40.0040.00417.39
8.1.30.0000.00817.31
8.1.20.0040.00417.56
8.1.10.0040.00417.41
8.1.00.0000.00817.45
8.0.300.0070.00018.77
8.0.290.0040.00416.75
8.0.280.0030.00318.36
8.0.270.0000.00717.18
8.0.260.0040.00417.12
8.0.250.0000.00716.98
8.0.240.0030.00316.85
8.0.230.0000.00716.85
8.0.220.0030.00516.94
8.0.210.0060.00316.91
8.0.200.0030.00316.85
8.0.190.0070.00016.98
8.0.180.0000.00716.91
8.0.170.0040.00416.93
8.0.160.0070.00016.86
8.0.150.0050.00216.80
8.0.140.0040.00416.88
8.0.130.0000.00613.27
8.0.120.0000.00816.76
8.0.110.0000.00716.91
8.0.100.0030.00516.85
8.0.90.0000.00716.76
8.0.80.0070.01416.88
8.0.70.0050.00316.90
8.0.60.0000.00716.75
8.0.50.0040.00416.91
8.0.30.0080.01016.93
8.0.20.0160.00617.40
8.0.10.0050.00216.84
8.0.00.0080.00916.74
7.4.330.0060.00015.24
7.4.320.0030.00316.36
7.4.300.0040.00416.42
7.4.290.0020.00516.59
7.4.280.0060.00316.43
7.4.270.0000.00716.52
7.4.260.0040.00416.42
7.4.250.0030.00316.31
7.4.240.0000.00716.54
7.4.230.0030.00316.55
7.4.220.0120.01216.47
7.4.210.0120.00316.41
7.4.200.0000.00716.47
7.4.160.0090.00916.43
7.4.150.0210.00317.40
7.4.140.0100.01017.86
7.4.130.0070.01216.50
7.4.120.0090.00916.43
7.4.110.0030.01416.55
7.4.100.0140.00416.48
7.4.90.0090.00816.19
7.4.80.0140.00819.39
7.4.70.0090.00816.54
7.4.60.0060.00916.32
7.4.50.0000.00816.47
7.4.40.0030.01316.46
7.4.30.0150.00616.32
7.4.00.0080.00414.90
7.3.330.0000.00513.15
7.3.320.0000.00513.05
7.3.310.0030.00316.13
7.3.300.0050.00216.09
7.3.290.0030.01116.27
7.3.280.0090.00716.22
7.3.270.0110.00617.40
7.3.260.0120.01216.55
7.3.250.0100.01016.26
7.3.240.0160.00716.49
7.3.230.0180.00316.41
7.3.210.0110.00616.51
7.3.200.0060.01416.18
7.3.190.0080.01116.40
7.3.180.0040.01216.10
7.3.170.0080.00816.27
7.3.160.0150.00716.46
7.2.330.0100.00716.67
7.2.320.0150.00616.45
7.2.310.0060.01116.39
7.2.300.0100.00716.68
7.2.290.0140.00316.50
7.2.60.0000.01316.75
7.2.00.0110.00719.20
7.1.200.0030.00615.59
7.1.100.0030.00918.02
7.1.70.0060.00617.00
7.1.60.0140.01019.42
7.1.50.0060.01916.81
7.1.00.0030.07722.46
7.0.200.0030.00316.41
7.0.60.0070.06719.81
7.0.50.0100.03717.90
7.0.40.0030.08720.05
7.0.30.0270.07320.24
7.0.20.0130.05720.05
7.0.10.0030.05720.10
7.0.00.0070.04020.04
5.6.280.0030.03021.02
5.6.210.0170.06320.61
5.6.200.0200.03718.27
5.6.190.0070.08020.62
5.6.180.3070.04020.41
5.6.170.0300.03720.62
5.6.160.0100.07320.43
5.6.150.0130.06318.19
5.6.140.0000.07718.19
5.6.130.0030.05318.29
5.6.120.0030.04021.02
5.6.110.0100.03721.14
5.6.100.0070.03720.98
5.6.90.0100.08020.96
5.6.80.0030.07320.36
5.6.70.4400.03320.43
5.5.350.0270.03720.37
5.5.340.0030.04717.99
5.5.330.0000.04720.13
5.5.320.0000.04720.30
5.5.310.0370.07720.23
5.5.300.0100.07317.97
5.5.290.0030.08318.04
5.5.280.0130.04720.77
5.5.270.0030.04320.75
5.5.260.0130.07020.86
5.5.250.0070.07720.62
5.5.240.0230.08020.34
5.4.450.0470.04719.55
5.4.440.0330.05019.45
5.4.430.0100.06019.58
5.4.420.0470.05019.45
5.4.410.0630.06319.33
5.4.400.0100.05319.15
5.4.390.0170.04719.29
5.4.380.0500.04719.26
5.4.370.0070.05719.29
5.4.360.0370.05019.37
5.4.350.0400.06019.13
5.4.340.0130.05319.15
5.4.320.0230.06319.03
5.4.310.0170.05719.01
5.4.300.0070.05319.25
5.4.290.0130.04719.14
5.4.280.0130.05019.28
5.4.270.0130.04719.12
5.4.260.0000.06019.28
5.4.250.0700.04718.95
5.4.240.0200.06018.83
5.4.230.0200.05718.95
5.4.220.0170.06319.05
5.4.210.0170.05719.00
5.4.200.0170.04716.80
5.4.190.0200.04719.04
5.4.180.0130.05018.99
5.4.170.0100.06019.16
5.4.160.0230.04019.26
5.4.150.0230.04019.03
5.4.140.0030.06016.31
5.4.130.0270.03016.30
5.4.120.0070.05316.53
5.4.110.0200.04716.41
5.4.100.0470.04716.71
5.4.90.0130.05016.50
5.4.80.0400.03316.65
5.4.70.0230.05716.41
5.4.60.0470.05316.35
5.4.50.0500.05016.39
5.4.40.0470.04716.36
5.4.30.0130.04316.47
5.4.20.0470.04316.37
5.4.10.0430.04716.36
5.4.00.0030.05316.17
5.3.290.0470.05314.67
5.3.280.0400.06314.64
5.3.270.0200.04314.56
5.3.260.0470.04714.51
5.3.250.0630.04014.50
5.3.240.0530.05014.51
5.3.230.0530.05314.75
5.3.220.0300.05714.48
5.3.210.0330.04714.53
5.3.200.0470.06314.79
5.3.190.0170.05314.55
5.3.180.0530.06714.46
5.3.170.0630.05014.53
5.3.160.0600.04714.57
5.3.150.0530.05014.47
5.3.140.0530.04714.55
5.3.130.0570.04714.77
5.3.120.0600.05014.45
5.3.110.0530.05314.55
5.3.100.0570.04714.05
5.3.90.0500.05013.99
5.3.80.0500.05313.95
5.3.70.0430.05713.93
5.3.60.0170.05013.90
5.3.50.0170.04713.85
5.3.40.0130.05013.96
5.3.30.0230.04313.96
5.3.20.0100.05013.91
5.3.10.0170.04313.80
5.3.00.0170.04713.57
5.2.170.0170.04011.20
5.2.160.0130.03711.16
5.2.150.0130.04011.16
5.2.140.0130.03711.29
5.2.130.0170.03711.18
5.2.120.0070.04011.33
5.2.110.0130.03711.03
5.2.100.0100.03711.01
5.2.90.0200.03311.18
5.2.80.0100.04311.01
5.2.70.0030.04711.10
5.2.60.0100.04011.05
5.2.50.0170.03310.88
5.2.40.0030.04311.01
5.2.30.0070.04010.86
5.2.20.0070.04011.04
5.2.10.0030.04310.79
5.2.00.0070.04310.78
5.1.60.0000.0409.98
5.1.50.0100.03310.00
5.1.40.0170.0279.95
5.1.30.0130.03010.25
5.1.20.0030.04010.50
5.1.10.0170.02710.15
5.1.00.0100.03310.14
5.0.50.0030.0308.44
5.0.40.0130.0208.34
5.0.30.0000.0578.06
5.0.20.0130.0308.28
5.0.10.0100.0338.17
5.0.00.0000.0478.09
4.4.90.0070.0305.75
4.4.80.0030.0235.83
4.4.70.0070.0205.86
4.4.60.0030.0235.79
4.4.50.0070.0235.86
4.4.40.0000.0375.82
4.4.30.0100.0175.79
4.4.20.0100.0175.82
4.4.10.0030.0235.90
4.4.00.0030.0335.85
4.3.110.0070.0205.77
4.3.100.0030.0205.68
4.3.90.0070.0275.67
4.3.80.0030.0405.70
4.3.70.0000.0235.73
4.3.60.0070.0205.78
4.3.50.0000.0275.67
4.3.40.0030.0375.71
4.3.30.0030.0234.51
4.3.20.0070.0204.54
4.3.10.0070.0174.36
4.3.00.0070.0177.09

preferences:
78.33 ms | 401 KiB | 5 Q