3v4l.org

run code in 300+ PHP versions simultaneously
<?php $callable = array($x, $y); call_user_func($callable); $callable();

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.0140.00416.49
8.3.50.0080.01421.94
8.3.40.0160.00618.82
8.3.30.0090.00618.72
8.3.20.0040.00420.07
8.3.10.0080.00023.70
8.3.00.0050.00219.91
8.2.180.0160.00716.63
8.2.170.0090.00922.96
8.2.160.0140.00020.43
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0090.00019.31
8.2.120.0080.00026.35
8.2.110.0060.00322.06
8.2.100.0080.00417.97
8.2.90.0060.00317.84
8.2.80.0000.00817.97
8.2.70.0000.00917.48
8.2.60.0000.00817.80
8.2.50.0040.00418.07
8.2.40.0000.00922.32
8.2.30.0040.00420.62
8.2.20.0070.00017.84
8.2.10.0040.00417.95
8.2.00.0070.00017.97
8.1.280.0070.01025.92
8.1.270.0040.00420.24
8.1.260.0050.00228.09
8.1.250.0070.00028.09
8.1.240.0100.00722.42
8.1.230.0060.00620.85
8.1.220.0050.00317.74
8.1.210.0000.00818.84
8.1.200.0060.00317.00
8.1.190.0060.00317.35
8.1.180.0040.00418.10
8.1.170.0040.00418.49
8.1.160.0040.00420.74
8.1.150.0000.00718.87
8.1.140.0050.00319.55
8.1.130.0070.00017.61
8.1.120.0000.00717.47
8.1.110.0040.00417.40
8.1.100.0100.00017.26
8.1.90.0040.00417.41
8.1.80.0000.00717.36
8.1.70.0050.00317.29
8.1.60.0000.00817.53
8.1.50.0040.00417.51
8.1.40.0000.00817.53
8.1.30.0060.00317.57
8.1.20.0030.00617.61
8.1.10.0070.00017.41
8.1.00.0000.00717.48
8.0.300.0070.00020.07
8.0.290.0050.00516.63
8.0.280.0000.00718.43
8.0.270.0030.00317.24
8.0.260.0060.00017.19
8.0.250.0030.00317.04
8.0.240.0000.00617.04
8.0.230.0060.00317.01
8.0.220.0040.00416.84
8.0.210.0030.00316.83
8.0.200.0030.00317.01
8.0.190.0100.00017.00
8.0.180.0070.00016.94
8.0.170.0000.00816.96
8.0.160.0070.00016.91
8.0.150.0000.00716.89
8.0.140.0040.00416.84
8.0.130.0080.00013.42
8.0.120.0050.00316.85
8.0.110.0020.00516.89
8.0.100.0000.00716.72
8.0.90.0040.00416.97
8.0.80.0060.01316.93
8.0.70.0040.00416.81
8.0.60.0040.00417.00
8.0.50.0000.00816.82
8.0.30.0070.01417.29
8.0.20.0090.01017.40
8.0.10.0040.00417.10
8.0.00.0140.00716.74
7.4.330.0050.00016.78
7.4.320.0000.00716.54
7.4.300.0000.00816.39
7.4.290.0040.00416.59
7.4.280.0070.00016.55
7.4.270.0000.00716.54
7.4.260.0000.00716.43
7.4.250.0070.00016.45
7.4.240.0000.00716.54
7.4.230.0030.00316.66
7.4.220.0140.00416.55
7.4.210.0110.00616.66
7.4.200.0040.00416.43
7.4.160.0090.00616.46
7.4.150.0150.00317.40
7.4.140.0130.00917.86
7.4.130.0150.00516.62
7.4.120.0070.01016.52
7.4.110.0100.00716.57
7.4.100.0140.00416.46
7.4.90.0110.00616.39
7.4.80.0070.01619.39
7.4.70.0130.00316.61
7.4.60.0090.00816.61
7.4.50.0040.01416.38
7.4.40.0120.00916.61
7.4.30.0070.01316.47
7.4.00.0060.00815.13
7.3.330.0000.00713.15
7.3.320.0050.00013.21
7.3.310.0070.00016.31
7.3.300.0030.00316.33
7.3.290.0040.00416.18
7.3.280.0100.00816.29
7.3.270.0100.01317.40
7.3.260.0100.00616.41
7.3.250.0120.00916.44
7.3.240.0140.00716.30
7.3.230.0060.01016.39
7.3.210.0060.00916.21
7.3.200.0030.01516.60
7.3.190.0090.00916.42
7.3.180.0000.01516.42
7.3.170.0090.00916.38
7.3.160.0030.01316.40
7.2.330.0080.00816.64
7.2.320.0130.01016.65
7.2.310.0060.01016.65
7.2.300.0090.00916.59
7.2.290.0060.00916.54
7.2.60.0040.01216.74
7.2.00.0000.01219.25
7.1.200.0060.00615.80
7.1.100.0070.00718.00
7.1.70.0090.00017.19
7.1.60.0060.01819.52
7.1.50.0100.00016.86
7.1.00.0070.07322.57
7.0.200.0060.00316.67
7.0.100.0570.06319.86
7.0.90.0370.08019.99
7.0.80.0370.08719.89
7.0.70.0400.08319.92
7.0.60.0300.08020.03
7.0.50.0370.08020.29
7.0.40.0130.05720.15
7.0.30.0130.04320.06
7.0.20.0100.08720.14
7.0.10.0030.09019.95
7.0.00.0030.07019.91
5.6.280.0000.03320.88
5.6.250.0130.06720.74
5.6.240.0130.06020.68
5.6.230.0070.07320.51
5.6.220.0070.08720.65
5.6.210.0030.08320.61
5.6.200.0030.08721.01
5.6.190.0100.07721.03
5.6.180.0000.08021.05
5.6.170.0130.05721.02
5.6.160.0070.08721.13
5.6.150.0030.08320.92
5.6.140.0030.05021.16
5.6.130.0170.07721.02
5.6.120.0100.08020.95
5.6.110.0030.04021.00
5.6.100.0100.06021.01
5.6.90.0030.07721.11
5.6.80.0130.06720.46
5.6.70.0130.07320.41
5.6.60.0070.05020.41
5.6.50.0100.04720.41
5.6.40.0170.06720.39
5.6.30.0170.07020.37
5.6.20.0070.08020.43
5.6.10.0130.07720.37
5.6.00.0200.07720.41
5.5.380.0030.07320.34
5.5.370.0000.08020.38
5.5.360.0130.08320.37
5.5.350.0170.07720.33
5.5.340.0030.04020.90
5.5.330.0030.08020.75
5.5.320.0070.07020.72
5.5.310.0070.04720.81
5.5.300.0070.07720.88
5.5.290.0070.08320.79
5.5.280.0070.08020.77
5.5.270.0070.07720.84
5.5.260.0030.09320.75
5.5.250.0030.08020.59
5.5.240.0070.07320.20
5.5.230.0030.08020.30
5.5.220.0030.08320.13
5.5.210.0230.06720.16
5.5.200.0130.07320.17
5.5.190.0100.07320.14
5.5.180.0100.07720.23
5.5.160.0030.05020.25
5.5.150.0100.07320.14
5.5.140.0070.08320.21
5.5.130.0130.07320.21
5.5.120.0130.07020.20
5.5.110.0100.07020.14
5.5.100.0130.07720.17
5.5.90.0170.07020.04
5.5.80.0100.07019.96
5.5.70.0100.07320.09
5.5.60.0130.06020.11
5.5.50.0130.07019.93
5.5.40.0130.07020.07
5.5.30.0170.07020.10
5.5.20.0070.04719.94
5.5.10.0030.07020.00
5.5.00.0030.08020.09

preferences:
56.39 ms | 401 KiB | 5 Q