3v4l.org

run code in 300+ PHP versions simultaneously
<?php $f = 'var_dump'; call_user_func($f, 1); call_user_func_array($f, [1]); $f(1);

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.4.120.0050.00320.24
8.4.110.0100.01022.43
8.4.100.0140.00617.66
8.4.90.0140.00618.63
8.4.80.0080.01317.64
8.4.70.0120.00917.56
8.4.60.0080.00918.67
8.4.50.0120.00917.73
8.4.40.0050.00319.38
8.4.30.0000.01918.59
8.4.20.0040.00425.81
8.4.10.0100.00623.84
8.3.250.0080.01018.81
8.3.240.0100.00916.43
8.3.230.0120.00716.41
8.3.220.0070.01016.98
8.3.210.0080.00516.67
8.3.200.0050.00316.35
8.3.190.0050.00316.98
8.3.180.0090.00716.72
8.3.170.0130.00716.79
8.3.160.0150.00317.22
8.3.150.0050.00217.07
8.3.140.0080.00016.37
8.3.130.0030.01318.04
8.3.120.0030.00619.09
8.3.110.0080.00016.63
8.3.100.0080.00024.06
8.3.90.0040.00426.77
8.3.80.0040.00417.97
8.3.70.0000.01516.38
8.3.60.0030.01218.27
8.3.50.0170.00018.41
8.3.40.0080.01119.98
8.3.30.0030.01518.58
8.3.20.0080.00024.18
8.3.10.0040.00424.66
8.3.00.0050.00326.16
8.2.290.0100.00920.28
8.2.280.0100.00418.14
8.2.270.0110.00717.07
8.2.260.0090.00020.68
8.2.250.0050.00316.58
8.2.240.0070.00317.29
8.2.230.0060.00320.94
8.2.220.0040.00437.54
8.2.210.0170.00026.77
8.2.200.0060.00316.75
8.2.190.0070.00718.13
8.2.180.0130.00616.63
8.2.170.0040.01118.84
8.2.160.0070.01022.96
8.2.150.0030.00525.66
8.2.140.0050.00324.66
8.2.130.0000.00726.16
8.2.120.0050.00320.93
8.2.110.0060.01122.12
8.2.100.0120.00017.88
8.2.90.0040.00417.84
8.2.80.0030.00618.05
8.2.70.0040.00417.93
8.2.60.0000.00818.16
8.2.50.0100.00018.10
8.2.40.0060.00319.35
8.2.30.0030.00619.34
8.2.20.0040.00419.09
8.2.10.0030.00518.05
8.2.00.0040.00417.67
8.1.330.0140.00520.43
8.1.320.0120.00916.18
8.1.310.0050.00316.64
8.1.300.0040.00420.30
8.1.290.0080.00030.84
8.1.280.0140.00725.92
8.1.270.0000.00724.66
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0100.00022.09
8.1.230.0080.00422.75
8.1.220.0070.00317.75
8.1.210.0030.00518.77
8.1.200.0090.00317.00
8.1.190.0040.00417.10
8.1.180.0000.00818.10
8.1.170.0000.00918.59
8.1.160.0000.00720.23
8.1.150.0080.00018.58
8.1.140.0080.00017.37
8.1.130.0000.00817.43
8.1.120.0000.00817.50
8.1.110.0000.00717.34
8.1.100.0040.00417.49
8.1.90.0040.00417.35
8.1.80.0000.00817.39
8.1.70.0000.00717.48
8.1.60.0020.00517.56
8.1.50.0040.00417.43
8.1.40.0050.00317.51
8.1.30.0000.00919.32
8.1.20.0040.00417.62
8.1.10.0050.00317.50
8.1.00.0040.00417.45
8.0.300.0030.00519.65
8.0.290.0060.00316.63
8.0.280.0060.00317.89
8.0.270.0030.00317.93
8.0.260.0070.00016.73
8.0.250.0000.00716.71
8.0.240.0070.00016.74
8.0.230.0030.00316.71
8.0.220.0030.00316.61
8.0.210.0070.00016.75
8.0.200.0000.00816.80
8.0.190.0030.00316.80
8.0.180.0050.00216.72
8.0.170.0030.00316.80
8.0.160.0030.00316.80
8.0.150.0030.00316.76
8.0.140.0040.00416.69
8.0.130.0030.00316.74
8.0.120.0080.00016.77
8.0.110.0030.00316.65
8.0.100.0070.00016.71
8.0.90.0070.00016.64
8.0.80.0030.00316.73
8.0.70.0030.00316.64
8.0.60.0000.00716.66
8.0.50.0000.00718.54
8.0.30.0000.00816.73
8.0.20.0000.00716.67
8.0.10.0030.00316.92

preferences:
68.37 ms | 403 KiB | 5 Q