3v4l.org

run code in 300+ PHP versions simultaneously
<?php // does not trigger deprecation warning function foo(int $param_optional = null, int $param_required) {} // triggers deprecation warning function bar(int $param_optional = 1, int $param_required) {}

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.5.10.0080.00918.62
8.5.00.0150.00619.83
8.4.150.0020.00014.05
8.4.140.0090.01217.54
8.4.130.0110.00918.78
8.4.120.0040.00522.47
8.4.110.0110.00819.70
8.4.100.0100.01217.79
8.4.90.0120.00820.56
8.4.80.0070.01018.62
8.4.70.0110.00820.75
8.4.60.0060.00620.43
8.4.50.0140.00818.39
8.4.40.0040.01517.75
8.4.30.0120.00920.02
8.4.20.0040.00817.94
8.4.10.0040.00417.61
8.3.280.0130.01018.54
8.3.270.0090.01116.59
8.3.260.0110.00716.69
8.3.250.0070.01216.39
8.3.240.0120.00716.66
8.3.230.0110.00816.41
8.3.220.0030.00519.00
8.3.210.0120.00716.75
8.3.200.0040.00516.75
8.3.190.0060.00417.17
8.3.180.0100.00918.88
8.3.170.0120.00616.68
8.3.160.0110.00716.81
8.3.150.0030.00616.89
8.3.140.0090.00916.46
8.3.130.0060.01318.39
8.3.120.0110.00718.41
8.3.110.0040.00420.94
8.3.100.0060.00316.44
8.3.90.0140.00026.77
8.3.80.0000.00916.48
8.3.70.0110.00416.58
8.3.60.0080.00816.88
8.3.50.0120.00618.66
8.3.40.0090.00618.63
8.3.30.0130.00718.45
8.3.20.0030.00724.18
8.3.10.0070.00324.66
8.3.00.0040.00426.16
8.2.290.0100.00616.37
8.2.280.0050.00418.55
8.2.270.0040.00416.53
8.2.260.0040.01116.95
8.2.250.0070.00716.36
8.2.240.0060.00318.80
8.2.230.0090.00622.58
8.2.220.0040.00424.06
8.2.210.0040.00426.77
8.2.200.0040.00716.25
8.2.190.0090.00616.63
8.2.180.0120.00925.92
8.2.170.0000.01418.83
8.2.160.0110.00422.96
8.2.150.0040.00425.66
8.2.140.0070.01024.66
8.2.130.0040.00426.16
8.2.120.0070.00021.04
8.2.110.0110.00019.11
8.2.100.0090.00317.72
8.2.90.0040.00419.09
8.2.80.0040.00419.09
8.2.70.0040.00417.50
8.2.60.0040.00417.80
8.2.50.0030.00618.07
8.2.40.0040.00419.54
8.2.30.0040.00417.64
8.2.20.0000.00720.48
8.2.10.0030.00517.42
8.2.00.0050.00319.21
8.1.330.0080.01115.91
8.1.320.0090.00916.22
8.1.310.0100.00716.47
8.1.300.0050.00517.80
8.1.290.0060.00330.84
8.1.280.0060.00925.92
8.1.270.0030.00323.99
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0040.00422.34
8.1.230.0040.00820.84
8.1.220.0040.00418.77
8.1.210.0080.00018.77
8.1.200.0090.00017.10
8.1.190.0040.00417.10
8.1.180.0050.00318.10
8.1.170.0060.00318.91
8.1.160.0000.00818.86
8.1.150.0000.00718.42
8.1.140.0040.00417.19
8.1.130.0030.00320.25
8.1.120.0040.00417.36
8.1.110.0040.00417.27
8.1.100.0090.00017.25
8.1.90.0040.00417.20
8.1.80.0040.00417.33
8.1.70.0030.00317.25
8.1.60.0040.00417.36
8.1.50.0040.00417.38
8.1.40.0000.00717.24
8.1.30.0080.00017.52
8.1.20.0060.00617.49
8.1.10.0060.00917.32
8.1.00.0020.00817.27
8.0.300.0000.00819.77
8.0.290.0070.00016.92
8.0.280.0030.00318.32
8.0.270.0030.00316.74
8.0.260.0030.00318.37
8.0.250.0040.00416.78
8.0.240.0070.00016.78
8.0.230.0040.00416.84
8.0.220.0000.00716.75
8.0.210.0050.00316.79
8.0.200.0000.00716.91
8.0.190.0070.00016.89
8.0.180.0030.00516.80
8.0.170.0030.00716.79
8.0.160.0000.00716.70
8.0.150.0070.00416.70
8.0.140.0100.00416.66
8.0.130.0080.00316.69
8.0.120.0100.00216.77
8.0.110.0060.00616.82
8.0.100.0040.00616.80
8.0.90.0030.00716.76
8.0.80.0050.00716.83
8.0.70.0030.00916.71
8.0.60.0040.00516.77
8.0.50.0060.00616.75
8.0.30.0120.00216.79
8.0.20.0090.00416.77
8.0.10.0070.00616.88
7.4.330.0020.00215.55
7.4.320.0030.00316.37
7.4.300.0070.00016.41
7.4.290.0000.00716.21
7.4.280.0070.00016.39
7.4.270.0100.00616.43
7.4.260.0110.00216.34
7.4.250.0070.00716.39
7.4.240.0090.00416.33
7.4.230.0090.00516.39
7.4.220.0080.00316.40
7.4.210.0070.00516.31
7.4.200.0080.00216.39
7.4.190.0000.00816.31
7.4.180.0030.00516.44
7.4.160.0050.00416.41
7.4.150.0060.00316.30
7.4.140.0080.00116.23
7.4.130.0070.00616.08
7.4.120.0100.00416.02
7.4.110.0090.00516.21
7.4.100.0140.00016.24
7.4.90.0070.00716.20
7.4.80.0090.00516.17
7.4.70.0000.00916.17
7.4.60.0030.00716.15
7.4.50.0000.00916.10
7.4.40.0040.00416.16
7.4.30.0070.00716.18
7.4.20.0100.00516.24
7.4.10.0090.00616.25
7.4.00.0110.00016.19

preferences:
35.73 ms | 403 KiB | 5 Q