3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array(1,2,3,4,5); class helper { public static function callable($a) { print_r($a); } } $helper = new helper(); array_walk($array, helper::static());

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.40.0110.00318.56
8.3.30.0070.00719.21
8.3.20.0040.00420.16
8.3.10.0040.00421.79
8.3.00.0000.00919.80
8.2.170.0110.00322.96
8.2.160.0070.01020.34
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0070.00726.16
8.2.120.0080.00020.97
8.2.110.0040.00721.07
8.2.100.0080.00417.78
8.2.90.0080.00019.05
8.2.80.0080.00017.97
8.2.70.0000.00917.48
8.2.60.0000.00817.93
8.2.50.0000.00818.07
8.2.40.0030.00617.92
8.2.30.0040.00417.99
8.2.20.0040.00417.60
8.2.10.0070.00018.04
8.2.00.0040.00417.61
8.1.270.0090.00023.84
8.1.260.0000.00726.35
8.1.250.0070.00028.09
8.1.240.0100.00022.48
8.1.230.0040.00820.99
8.1.220.0040.00418.77
8.1.210.0080.00018.80
8.1.200.0030.00617.25
8.1.190.0000.00817.23
8.1.180.0000.00918.10
8.1.170.0030.00618.49
8.1.160.0050.00321.88
8.1.150.0070.00018.77
8.1.140.0080.00017.29
8.1.130.0030.00317.74
8.1.120.0000.00817.45
8.1.110.0040.00317.27
8.1.100.0040.00417.41
8.1.90.0000.00817.37
8.1.80.0000.00717.27
8.1.70.0070.00017.35
8.1.60.0030.01017.55
8.1.50.0030.00517.52
8.1.40.0050.00217.45
8.1.30.0060.00317.63
8.1.20.0040.00417.48
8.1.10.0000.00817.45
8.1.00.0070.00017.44
8.0.300.0050.00320.09
8.0.290.0050.00316.75
8.0.280.0080.00018.29
8.0.270.0000.00717.15
8.0.260.0080.00017.10
8.0.250.0040.00416.88
8.0.240.0000.00816.82
8.0.230.0070.00016.91
8.0.220.0040.00416.77
8.0.210.0000.00716.88
8.0.200.0000.00716.95
8.0.190.0040.00416.86
8.0.180.0050.00216.92
8.0.170.0080.00016.88
8.0.160.0040.00316.93
8.0.150.0040.00416.85
8.0.140.0040.00416.86
8.0.130.0000.00613.40
8.0.120.0000.00816.90
8.0.110.0070.00016.79
8.0.100.0070.00016.93
8.0.90.0030.00316.79
8.0.80.0180.00316.86
8.0.70.0070.00016.84
8.0.60.0000.00816.86
8.0.50.0080.00017.00
8.0.30.0060.01217.03
8.0.20.0070.01217.40
8.0.10.0050.00216.80
8.0.00.0140.00316.65
7.4.330.0060.00015.02
7.4.320.0040.00416.52
7.4.300.0030.00316.40
7.4.290.0030.00516.52
7.4.280.0060.00316.53
7.4.270.0000.00816.59
7.4.260.0040.00416.55
7.4.250.0070.00016.45
7.4.240.0080.00016.55
7.4.230.0060.00016.30
7.4.220.0100.00716.60
7.4.210.0020.01516.55
7.4.200.0000.00716.39
7.4.160.0090.00616.47
7.4.150.0070.01017.40
7.4.140.0090.01217.86
7.4.130.0130.00716.46
7.4.120.0070.01116.45
7.4.110.0040.01816.38
7.4.100.0100.01016.39
7.4.90.0040.01316.53
7.4.80.0140.00319.39
7.4.70.0110.00616.48
7.4.60.0100.01416.57
7.4.50.0040.00716.53
7.4.40.0130.00316.48
7.4.30.0090.00616.55
7.4.00.0040.01115.10
7.3.330.0030.00413.22
7.3.320.0050.00013.23
7.3.310.0070.00016.34
7.3.300.0000.00616.29
7.3.290.0030.01116.27
7.3.280.0070.00816.29
7.3.270.0160.00317.40
7.3.260.0040.01716.45
7.3.250.0050.01216.38
7.3.240.0170.00316.54
7.3.230.0140.00416.39
7.3.210.0060.01116.39
7.3.200.0100.01019.39
7.3.190.0110.01116.37
7.3.180.0070.01016.51
7.3.170.0130.01016.30
7.3.160.0060.00916.24
7.3.120.0100.00714.38
7.2.330.0060.01516.73
7.2.320.0060.01016.52
7.2.310.0040.01216.66
7.2.300.0110.01116.45
7.2.290.0160.00016.52
7.2.60.0060.00316.76
7.2.00.0100.00319.12
7.1.200.0090.00315.70
7.1.100.0130.00718.00
7.1.70.0080.00417.10
7.1.60.0100.01619.40
7.1.50.0000.02216.53
7.1.00.0100.07022.32
7.0.200.0000.01016.72
7.0.140.0070.06722.07
7.0.60.0070.08319.97
7.0.50.0030.06317.84
7.0.40.0070.08320.23
7.0.30.0470.05720.21
7.0.20.0270.05320.08
7.0.10.0070.06020.19
7.0.00.0030.09020.31
5.6.280.0030.07021.10
5.6.210.0000.08320.64
5.6.200.0100.08018.29
5.6.190.0070.05720.55
5.6.180.0570.06720.55
5.6.170.0330.04720.48
5.6.160.0030.06020.55
5.6.150.0030.07718.15
5.6.140.0170.06018.16
5.6.130.0070.07718.14
5.6.120.0030.04320.83
5.6.110.0070.08720.96
5.6.100.0070.03720.98
5.6.90.0100.06021.11
5.6.80.0070.03720.37
5.5.350.0100.03720.37
5.5.340.0100.06718.02
5.5.330.0130.07320.26
5.5.320.3670.04020.25
5.5.310.0230.04720.27
5.5.300.0070.06017.96
5.5.290.0000.08718.07
5.5.280.0200.07020.89
5.5.270.0130.06320.78
5.5.260.0130.07020.76
5.5.250.0100.03320.58
5.5.240.0030.07720.12
5.4.450.0000.05319.57
5.4.440.0100.04319.41
5.4.430.1230.03319.54
5.4.420.2000.04019.48
5.4.410.0130.04319.05
5.4.400.0030.03719.22
5.4.390.0570.03719.00
5.4.380.1600.04318.88
5.4.370.1670.04018.95
5.4.360.1800.03719.31
5.4.350.2200.05018.84
5.4.340.1770.04019.20
5.4.320.1900.03719.32
5.4.310.1600.04319.09
5.4.300.1570.04019.15
5.4.290.1870.03719.07
5.4.280.1770.03719.09
5.4.270.1300.03318.95
5.4.260.0030.03718.98
5.4.250.0100.03019.21
5.4.240.1630.04019.24
5.4.230.1870.03719.16
5.4.220.1800.04019.07
5.4.210.1700.04019.07
5.4.200.1670.04019.23
5.4.190.1800.03019.23
5.4.180.1870.03319.05
5.4.170.2000.04018.86
5.4.160.1930.03719.07
5.4.150.2030.03319.13
5.4.140.1730.04016.50
5.4.130.1730.03716.65
5.4.120.1770.03316.34
5.4.110.2030.03716.46
5.4.100.2170.04016.40
5.4.90.1870.03316.48
5.4.80.1830.03316.27
5.4.70.2070.03716.18
5.4.60.1970.03316.19
5.4.50.1670.04016.29
5.4.40.2000.04016.56
5.4.30.1970.03716.42
5.4.20.0570.04016.25
5.4.10.0030.05716.18
5.4.00.0030.04015.83
5.3.290.0270.07314.66
5.3.280.0030.06014.53
5.3.270.0030.05014.51
5.3.260.0870.04714.83
5.3.250.2100.04314.52
5.3.240.1930.03314.62
5.3.230.1800.04014.57
5.3.220.1930.04014.64
5.3.210.2130.04014.57
5.3.200.2100.04014.54
5.3.190.1930.04314.49
5.3.180.2170.04014.64
5.3.170.1930.03314.58
5.3.160.1830.04014.58
5.3.150.1970.03014.53
5.3.140.1970.03014.57
5.3.130.1930.03714.79
5.3.120.1930.03314.52
5.3.110.2200.05014.55
5.3.100.2000.03714.01
5.3.90.1930.04314.25
5.3.80.1930.03714.03
5.3.70.2270.04313.95
5.3.60.2030.03714.04
5.3.50.1930.04014.09
5.3.40.2000.03013.97
5.3.30.1930.03313.84
5.3.20.1970.03013.61
5.3.10.2070.03313.67
5.3.00.2100.03013.65
5.2.170.1630.03011.20
5.2.160.1700.03011.27
5.2.150.1730.02711.23
5.2.140.1800.03011.04
5.2.130.1900.02711.25
5.2.120.1600.02711.02
5.2.110.1530.03011.18
5.2.100.1730.03311.03
5.2.90.1830.02711.01
5.2.80.1830.03011.00
5.2.70.1700.03711.15
5.2.60.1700.03011.27
5.2.50.1830.03710.94
5.2.40.1230.03011.07
5.2.30.1230.02710.89
5.2.20.1530.03311.05
5.2.10.1230.03010.98
5.2.00.1170.03710.66
5.1.60.1470.0309.89
5.1.50.0670.02310.09
5.1.40.0030.0479.87
5.1.30.0030.04010.42
5.1.20.0000.03310.28
5.1.10.0530.0239.95
5.1.00.1500.03010.30
5.0.50.0730.0238.69
5.0.40.0730.0238.47
5.0.30.0770.0338.30
5.0.20.0800.0208.10
5.0.10.0730.0278.40
5.0.00.0700.0378.14
4.4.90.0800.0238.05
4.4.80.0730.0238.05
4.4.70.0770.0178.05
4.4.60.0700.0178.05
4.4.50.0700.0178.05
4.4.40.0800.0308.05
4.4.30.0630.0138.05
4.4.20.0830.0208.05
4.4.10.0730.0238.05
4.4.00.0630.0238.05
4.3.110.0670.0208.05
4.3.100.0730.0238.05
4.3.90.0200.0338.05
4.3.80.0000.0308.05
4.3.70.0000.0178.05
4.3.60.0030.0238.05
4.3.50.0000.0408.05
4.3.40.0070.0278.05
4.3.30.0000.0208.05
4.3.20.0000.0278.05
4.3.10.0030.0308.05
4.3.00.0000.0278.05

preferences:
45.33 ms | 400 KiB | 5 Q