3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array('cifras'=>array(array('ordem'=>1),array('ordem'=>2),array('ordem'=>3))); function abc(&$item) { $item['ordem']++; } array_walk($a['cifras'],'abc'); var_dump($a);

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.0120.00318.70
8.3.30.0070.01018.73
8.3.20.0110.00418.73
8.3.10.0090.00020.33
8.3.00.0080.01119.38
8.2.170.0110.00422.96
8.2.160.0160.00320.70
8.2.150.0160.00024.18
8.2.140.0100.00024.66
8.2.130.0040.01126.16
8.2.120.0030.00619.27
8.2.110.0070.00321.03
8.2.100.0050.00517.72
8.2.90.0050.00419.42
8.2.80.0050.00319.30
8.2.70.0050.00317.38
8.2.60.0000.00817.93
8.2.50.0040.00418.07
8.2.40.0000.00818.09
8.2.30.0000.01017.96
8.2.20.0040.00417.59
8.2.10.0040.00417.60
8.2.00.0040.00417.66
8.1.270.0040.00424.66
8.1.260.0060.00326.35
8.1.250.0080.00028.09
8.1.240.0060.00322.44
8.1.230.0070.00320.96
8.1.220.0040.00417.74
8.1.210.0040.00418.82
8.1.200.0030.00617.35
8.1.190.0040.00417.41
8.1.180.0040.00418.10
8.1.170.0040.00420.54
8.1.160.0090.00018.82
8.1.150.0000.00718.57
8.1.140.0000.00717.38
8.1.130.0000.00717.82
8.1.120.0030.00317.39
8.1.110.0040.00417.40
8.1.100.0000.00717.36
8.1.90.0040.00417.28
8.1.80.0040.00417.25
8.1.70.0070.00017.41
8.1.60.0040.00417.52
8.1.50.0040.00417.34
8.1.40.0060.00317.51
8.1.30.0050.00217.60
8.1.20.0080.00017.56
8.1.10.0020.00517.52
8.1.00.0040.00417.36
8.0.300.0050.00219.90
8.0.290.0000.00816.63
8.0.280.0070.00018.38
8.0.270.0000.00717.23
8.0.260.0030.00316.66
8.0.250.0000.00716.89
8.0.240.0030.00516.93
8.0.230.0000.00716.89
8.0.220.0030.00316.80
8.0.210.0040.00416.71
8.0.200.0030.00316.75
8.0.190.0000.00716.86
8.0.180.0040.00416.69
8.0.170.0030.00616.72
8.0.160.0030.00316.88
8.0.150.0070.00316.89
8.0.140.0000.00916.80
8.0.130.0030.00313.18
8.0.120.0000.00716.75
8.0.110.0070.00016.77
8.0.100.0000.00816.77
8.0.90.0050.00216.87
8.0.80.0060.00916.88
8.0.70.0030.00316.71
8.0.60.0040.00416.68
8.0.50.0080.00016.80
8.0.30.0190.00017.08
8.0.20.0110.00816.94
8.0.10.0000.00716.88
8.0.00.0110.01116.74
7.4.330.0050.00012.88
7.4.320.0000.00716.39
7.4.300.0000.00616.56
7.4.290.0000.00716.40
7.4.280.0000.00816.54
7.4.270.0030.00316.51
7.4.260.0030.00313.20
7.4.250.0050.00216.60
7.4.240.0040.00416.47
7.4.230.0070.00016.47
7.4.220.0060.01216.54
7.4.210.0070.00916.49
7.4.200.0030.00316.37
7.4.190.0030.00316.54
7.4.160.0040.01416.29
7.4.150.0070.01116.40
7.4.140.0080.00816.36
7.4.130.0060.01316.47
7.4.120.0060.01116.38
7.4.110.0170.00716.45
7.4.100.0030.01316.42
7.4.90.0100.01016.57
7.4.80.0130.00319.39
7.4.70.0070.01016.38
7.4.60.0140.00316.51
7.4.50.0040.00916.43
7.4.40.0150.00316.33
7.4.30.0120.00416.42
7.4.00.0110.00915.00
7.3.330.0030.00313.22
7.3.320.0030.00313.14
7.3.310.0000.00816.38
7.3.300.0000.00616.31
7.3.290.0160.00316.21
7.3.280.0090.00816.30
7.3.270.0130.00516.23
7.3.260.0100.00716.57
7.3.250.0120.00616.46
7.3.240.0070.01716.30
7.3.230.0160.00016.51
7.3.210.0090.00916.27
7.3.200.0000.01616.23
7.3.190.0110.01016.22
7.3.180.0070.01116.35
7.3.170.0150.00616.64
7.3.160.0000.01616.32
7.3.120.0070.00814.71
7.3.110.0110.00314.65
7.3.100.0060.00614.77
7.3.90.0070.01114.80
7.3.80.0100.00314.78
7.3.70.0060.01214.68
7.3.60.0000.00914.64
7.3.50.0030.00814.59
7.3.40.0090.00614.70
7.3.30.0040.01414.52
7.3.20.0040.00716.69
7.3.10.0060.00816.54
7.3.00.0080.00416.73
7.2.330.0100.01016.64
7.2.320.0060.01016.53
7.2.310.0150.00316.71
7.2.300.0120.00616.23
7.2.290.0030.01316.47
7.2.250.0060.01214.95
7.2.240.0030.01914.67
7.2.230.0030.01615.03
7.2.220.0020.01314.98
7.2.210.0120.00314.64
7.2.200.0000.01514.77
7.2.190.0060.00314.61
7.2.180.0030.01714.85
7.2.170.0100.00914.50
7.2.130.0070.01016.49
7.2.120.0060.00316.87
7.2.110.0130.00016.96
7.2.100.0000.01316.57
7.2.90.0050.00517.05
7.2.80.0030.01016.82
7.2.70.0030.01016.96
7.2.60.0000.00916.98
7.2.50.0030.00916.83
7.2.40.0100.00316.77
7.2.30.0000.01316.66
7.2.20.0040.00716.70
7.2.10.0040.00816.78
7.2.00.0070.00718.13
7.1.330.0060.00915.55
7.1.320.0100.00615.71
7.1.310.0110.00315.70
7.1.300.0040.00815.32
7.1.290.0100.00615.89
7.1.280.0070.01015.59
7.1.270.0070.00715.44
7.1.260.0030.00615.80
7.1.250.0080.00415.94
7.1.100.0030.01018.10
7.1.70.0000.00817.05
7.1.60.0070.01719.40
7.1.50.0070.01316.97
7.1.00.0070.06322.54
7.0.200.0090.00616.59
7.0.140.0030.07321.99
7.0.120.0070.07022.08
7.0.60.0130.06720.02
7.0.50.0170.03017.97
7.0.40.0030.08020.30
7.0.30.0130.04720.21
7.0.20.0430.06320.06
7.0.10.0000.06320.10
7.0.00.0030.09020.05
5.6.280.0130.06321.12
5.6.210.0170.07020.70
5.6.200.0100.08018.27
5.6.190.0130.07720.33
5.6.180.4070.04020.57
5.6.170.0300.06720.55
5.6.160.0070.05320.50
5.6.150.0130.02718.23
5.6.140.0070.05718.28
5.6.130.0030.04318.18
5.6.120.0100.05020.90
5.6.110.0130.07721.11
5.6.100.0000.04320.98
5.6.90.0130.08020.99
5.6.80.0100.06320.36
5.6.70.4500.04020.53
5.5.350.0000.03320.40
5.5.340.0100.05717.97
5.5.330.0070.05020.40
5.5.320.3430.05020.35
5.5.310.0270.08020.34
5.5.300.0130.07318.08
5.5.290.0130.04718.07
5.5.280.0130.08020.80
5.5.270.0130.08020.88
5.5.260.0200.07020.95
5.5.250.0030.07720.66
5.5.240.0230.07720.24
5.4.450.2270.04319.32
5.4.440.2070.04019.67
5.4.430.2000.03719.47
5.4.420.2030.03719.38
5.4.410.2030.03719.32
5.4.400.2070.03319.17
5.4.390.2030.03719.21
5.4.380.1770.03319.09
5.4.370.0030.04719.16
5.4.360.0070.04718.99
5.4.350.0900.04018.98
5.4.340.2530.04719.16
5.4.320.2300.05019.09
5.4.310.2270.03319.24
5.4.300.2030.05018.84
5.4.290.2730.02019.30
5.4.280.2070.03719.06
5.4.270.2000.03718.94
5.4.260.2130.04019.13
5.4.250.2030.03318.99
5.4.240.0070.05719.09
5.4.230.0070.03719.07
5.4.220.0830.03719.05
5.4.210.2130.04319.14
5.4.200.2170.03319.22
5.4.190.1870.04018.99
5.4.180.2130.04019.23
5.4.170.2170.03018.99
5.4.160.2070.04319.22
5.4.150.2130.04018.84
5.4.140.2130.03316.39
5.4.130.1900.04016.44
5.4.120.0830.04716.34
5.4.110.0030.07316.55
5.4.100.0100.03716.53
5.4.90.2070.04016.41
5.4.80.2070.03716.52
5.4.70.2200.04016.27
5.4.60.2370.04016.17
5.4.50.2200.04016.17
5.4.40.2170.03716.39
5.4.30.2100.03716.51
5.4.20.2070.03716.50
5.4.10.2070.02716.53
5.4.00.1630.03715.73
5.3.290.0070.06014.57
5.3.280.0100.06714.50
5.3.270.1330.03314.52
5.3.260.1930.03714.50
5.3.250.2230.03714.58
5.3.240.1970.03314.50
5.3.230.2130.04314.68
5.3.220.1930.03714.64
5.3.210.2030.04314.53
5.3.200.2700.03314.46
5.3.190.2070.03714.71
5.3.180.2270.03714.79
5.3.170.0000.04014.53
5.3.160.0100.03714.63
5.3.150.0870.03714.57
5.3.140.2000.03314.57
5.3.130.2430.04314.60
5.3.120.2370.04314.53
5.3.110.2000.03714.44
5.3.100.2070.03014.02
5.3.90.2030.03314.14
5.3.80.2000.03714.04
5.3.70.1970.04013.95
5.3.60.2100.03713.91
5.3.50.0930.03314.17
5.3.40.0030.03714.00
5.3.30.0030.03313.81
5.3.20.1530.03013.60
5.3.10.1930.04313.77
5.3.00.1970.03313.71
5.2.170.1630.03011.10
5.2.160.1670.02711.23
5.2.150.1670.03011.23
5.2.140.2070.04311.15
5.2.130.2000.03011.25
5.2.120.1900.03311.01
5.2.110.1730.03311.25
5.2.100.1870.03011.11
5.2.90.0970.04011.25
5.2.80.0030.03011.02
5.2.70.0070.03311.07
5.2.60.0070.05710.96
5.2.50.1530.03710.93
5.2.40.1530.03311.08
5.2.30.1570.02710.92
5.2.20.0900.03011.04
5.2.10.0030.03311.01
5.2.00.0030.03310.64
5.1.60.0030.03310.07
5.1.50.0000.04710.08
5.1.40.0830.0239.90
5.1.30.1330.02310.24
5.1.20.1330.02710.28
5.1.10.1300.02710.14
5.1.00.1170.02310.05
5.0.50.0670.0208.43
5.0.40.0800.0238.32
5.0.30.0670.0308.10
5.0.20.0730.0208.10
5.0.10.0670.0208.39
5.0.00.0000.0378.25
4.4.90.0000.0177.84
4.4.80.0030.0137.84
4.4.70.0030.0137.84
4.4.60.0000.0177.84
4.4.50.0000.0207.84
4.4.40.0030.0307.84
4.4.30.0170.0177.84
4.4.20.0770.0237.84
4.4.10.0770.0207.84
4.4.00.0770.0307.84
4.3.110.0600.0137.84
4.3.100.0670.0137.84
4.3.90.0630.0177.84
4.3.80.0630.0277.84
4.3.70.0770.0077.84
4.3.60.0700.0137.84
4.3.50.0730.0207.84
4.3.40.0670.0277.84
4.3.30.0130.0177.84
4.3.20.0200.0177.84
4.3.10.0270.0177.84
4.3.00.0370.0137.84

preferences:
49.24 ms | 400 KiB | 5 Q