3v4l.org

run code in 300+ PHP versions simultaneously
<?php function doStuff(int $x, string $y, float $z) : bool { return true; } doStuff(1, 'test', 1.4);

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.0180.00016.38
8.3.50.0070.01222.06
8.3.40.0090.00618.71
8.3.30.0120.00318.46
8.3.20.0020.00520.03
8.3.10.0000.00723.51
8.3.00.0060.00319.66
8.2.180.0090.01216.32
8.2.170.0040.01122.96
8.2.160.0130.00020.47
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0060.00320.94
8.2.120.0040.00426.35
8.2.110.0060.00320.97
8.2.100.0080.00417.80
8.2.90.0050.00319.14
8.2.80.0080.00017.97
8.2.70.0000.00917.38
8.2.60.0050.00317.91
8.2.50.0060.00318.07
8.2.40.0050.00322.32
8.2.30.0000.00720.63
8.2.20.0000.00717.53
8.2.10.0040.00417.78
8.2.00.0070.00017.96
8.1.280.0070.00725.92
8.1.270.0090.00020.32
8.1.260.0050.00228.09
8.1.250.0040.00428.09
8.1.240.0030.00619.01
8.1.230.0080.00417.60
8.1.220.0000.00817.74
8.1.210.0090.00018.77
8.1.200.0000.00917.23
8.1.190.0000.00817.00
8.1.180.0000.00818.10
8.1.170.0040.00718.50
8.1.160.0000.00720.63
8.1.150.0050.00218.63
8.1.140.0050.00319.34
8.1.130.0030.00317.57
8.1.120.0050.00317.33
8.1.110.0020.00517.36
8.1.100.0030.00517.36
8.1.90.0040.00417.36
8.1.80.0030.00617.28
8.1.70.0030.00317.20
8.1.60.0050.00217.39
8.1.50.0000.00817.37
8.1.40.0040.00417.40
8.1.30.0000.00817.62
8.1.20.0040.00417.55
8.1.10.0020.00517.27
8.1.00.0000.00817.36
8.0.300.0000.00718.77
8.0.290.0050.00316.58
8.0.280.0070.00018.21
8.0.270.0030.00317.17
8.0.260.0000.00617.18
8.0.250.0000.00716.79
8.0.240.0000.00816.82
8.0.230.0000.00716.73
8.0.220.0060.00316.74
8.0.210.0070.00016.76
8.0.200.0030.00316.80
8.0.190.0070.00016.81
8.0.180.0000.00716.80
8.0.170.0030.00516.68
8.0.160.0000.00716.74
8.0.150.0050.00216.72
8.0.140.0080.00016.68
8.0.130.0050.00013.12
8.0.120.0050.00316.76
8.0.110.0070.00016.82
8.0.100.0000.00816.64
8.0.90.0070.00016.71
8.0.80.0040.01216.64
8.0.70.0000.00816.82
8.0.60.0080.00016.58
8.0.50.0040.00416.77
8.0.30.0070.00816.89
8.0.20.0070.01217.40
8.0.10.0040.00416.86
8.0.00.0040.01316.65
7.4.330.0000.00516.77
7.4.320.0030.00316.48
7.4.300.0060.00016.43
7.4.290.0070.00016.42
7.4.280.0030.00516.45
7.4.270.0060.00016.36
7.4.260.0030.00316.41
7.4.250.0050.00316.52
7.4.240.0070.00116.41
7.4.230.0040.00416.23
7.4.220.0190.00816.63
7.4.210.0000.01616.47
7.4.200.0030.00316.51
7.4.160.0150.00016.59
7.4.150.0120.00617.40
7.4.140.0140.00517.86
7.4.130.0170.00716.36
7.4.120.0120.00516.49
7.4.110.0030.01416.40
7.4.100.0060.01216.32
7.4.90.0090.00816.41
7.4.80.0090.01019.39
7.4.70.0080.00816.53
7.4.60.0150.00316.14
7.4.50.0100.00716.33
7.4.40.0060.01016.58
7.4.30.0140.00816.29
7.4.00.0040.01214.71
7.3.330.0020.00213.20
7.3.320.0050.00013.23
7.3.310.0070.00016.12
7.3.300.0040.00416.10
7.3.290.0070.00716.23
7.3.280.0100.01016.23
7.3.270.0110.00517.40
7.3.260.0070.01016.53
7.3.240.0100.00716.34
7.3.230.0100.00716.53
7.3.210.0200.00616.24
7.3.200.0140.00316.14
7.3.190.0120.00416.22
7.3.180.0100.00616.37
7.3.170.0120.01116.27
7.3.160.0060.01016.45
7.3.10.0000.01416.42
7.3.00.0090.00016.40
7.2.330.0130.00416.21
7.2.320.0140.00716.43
7.2.310.0030.01416.60
7.2.300.0130.00316.54
7.2.290.0060.01616.29
7.2.130.0030.01216.73
7.2.120.0000.01516.81
7.2.110.0030.00716.91
7.2.100.0070.01116.91
7.2.90.0070.00716.84
7.2.80.0000.01916.83
7.2.70.0080.00816.72
7.2.60.0060.00516.68
7.2.50.0140.00316.89
7.2.40.0030.00916.91
7.2.30.0070.00716.60
7.2.20.0030.00616.89
7.2.10.0030.00916.50
7.2.00.0040.00917.98
7.1.250.0080.00815.59
7.1.200.0030.01015.70
7.1.100.0030.01017.70
7.1.70.0000.00817.16
7.1.60.0170.00719.44
7.1.50.0070.01516.80
7.1.00.0030.07722.36
7.0.200.0070.00016.69
7.0.60.0030.05320.00
7.0.50.0030.04017.86
7.0.40.0100.08020.27
7.0.30.0430.06720.18
7.0.20.0370.07020.15
7.0.10.0070.04720.16
7.0.00.0070.07720.12
5.6.280.0000.03321.13
5.6.210.0130.05720.53
5.6.200.0070.07018.25
5.6.190.0170.07720.58
5.6.180.0300.05720.77
5.6.170.0370.07320.39
5.6.160.0130.06320.50
5.6.150.0170.07018.23
5.6.140.0030.08018.23
5.6.130.0100.08018.18
5.6.120.0130.07721.05
5.6.110.0130.07721.13
5.6.100.0000.04320.98
5.6.90.0070.04320.88
5.6.80.0070.07320.42
5.5.350.0200.06320.43
5.5.340.0070.08018.07
5.5.330.0070.05320.13
5.5.320.0170.04720.20
5.5.310.0300.07020.28
5.5.300.0100.07317.99
5.5.290.0070.04317.98
5.5.280.0000.07020.88
5.5.270.0030.04020.89
5.5.260.0030.06020.88
5.5.250.0030.06720.69
5.5.240.4000.04020.12

preferences:
46.28 ms | 401 KiB | 5 Q