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, $key) { $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.0060.01218.75
8.3.30.0090.00619.22
8.3.20.0070.00020.33
8.3.10.0000.00823.40
8.3.00.0040.00819.19
8.2.170.0100.00322.96
8.2.160.0100.00320.55
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0100.00726.16
8.2.120.0000.01022.13
8.2.110.0070.00322.05
8.2.100.0060.00617.78
8.2.90.0030.00517.63
8.2.80.0000.01117.97
8.2.70.0050.00317.91
8.2.60.0040.00418.05
8.2.50.0000.00818.10
8.2.40.0090.00020.61
8.2.30.0000.00718.12
8.2.20.0000.00817.63
8.2.10.0050.00217.60
8.2.00.0040.00417.68
8.1.270.0040.00422.14
8.1.260.0000.00826.35
8.1.250.0030.00528.09
8.1.240.0030.00623.83
8.1.230.0090.00319.13
8.1.220.0040.00417.78
8.1.210.0000.00818.77
8.1.200.0060.00617.23
8.1.190.0090.00018.95
8.1.180.0080.00018.10
8.1.170.0030.00618.59
8.1.160.0000.00821.82
8.1.150.0040.00418.44
8.1.140.0060.00317.30
8.1.130.0030.00317.83
8.1.120.0030.00317.39
8.1.110.0040.00417.42
8.1.100.0000.00717.45
8.1.90.0000.00717.36
8.1.80.0070.00017.38
8.1.70.0030.00317.34
8.1.60.0040.00417.37
8.1.50.0040.00417.47
8.1.40.0040.00417.47
8.1.30.0050.00317.54
8.1.20.0000.00717.50
8.1.10.0000.00917.49
8.1.00.0040.00417.45
8.0.300.0070.00021.88
8.0.290.0040.00416.63
8.0.280.0030.00318.41
8.0.270.0000.00717.25
8.0.260.0030.00316.80
8.0.250.0070.00016.93
8.0.240.0000.00716.80
8.0.230.0000.00716.76
8.0.220.0030.00316.86
8.0.210.0030.00316.83
8.0.200.0040.00416.81
8.0.190.0000.00816.95
8.0.180.0040.00716.78
8.0.170.0000.00716.80
8.0.160.0030.00516.71
8.0.150.0000.00716.82
8.0.140.0040.00416.76
8.0.130.0000.00513.32
8.0.120.0040.00416.75
8.0.110.0000.00816.64
8.0.100.0030.00516.81
8.0.90.0000.00716.71
8.0.80.0000.01516.82
8.0.70.0050.00316.66
8.0.60.0040.00416.81
8.0.50.0070.00016.80
8.0.30.0150.00716.91
8.0.20.0130.00617.41
8.0.10.0040.00416.82
8.0.00.0050.01616.55
7.4.330.0000.00615.02
7.4.320.0060.00016.48
7.4.300.0000.00716.36
7.4.290.0000.00616.54
7.4.280.0070.00016.39
7.4.270.0000.00616.53
7.4.260.0020.00516.43
7.4.250.0040.00416.47
7.4.240.0030.00416.53
7.4.230.0030.00316.33
7.4.220.0070.01016.48
7.4.210.0070.00716.59
7.4.200.0070.00016.56
7.4.190.0050.00316.62
7.4.160.0060.01216.43
7.4.150.0060.01517.40
7.4.140.0180.01817.86
7.4.130.0080.01216.36
7.4.120.0130.00316.41
7.4.110.0150.00316.57
7.4.100.0100.00716.43
7.4.90.0140.00316.47
7.4.80.0090.01219.39
7.4.70.0160.00016.54
7.4.60.0140.00316.43
7.4.50.0000.00516.28
7.4.40.0060.00622.77
7.4.30.0040.01216.46
7.4.00.0090.00614.74
7.3.330.0000.00513.25
7.3.320.0000.00513.18
7.3.310.0000.00716.16
7.3.300.0060.00016.34
7.3.290.0150.00516.37
7.3.280.0090.01216.26
7.3.270.0130.00517.40
7.3.260.0130.01016.58
7.3.250.0060.01116.46
7.3.240.0100.01316.30
7.3.230.0120.00916.48
7.3.210.0100.01316.32
7.3.200.0110.00819.39
7.3.190.0100.01316.21
7.3.180.0120.00316.25
7.3.170.0090.00916.57
7.3.160.0080.00816.26
7.3.120.0060.00614.39
7.3.00.0150.00316.48
7.2.330.0040.01316.44
7.2.320.0120.01216.29
7.2.310.0090.00616.40
7.2.300.0090.00916.65
7.2.290.0090.00616.47
7.2.130.0090.00916.32
7.2.120.0100.00616.62
7.2.110.0140.00316.71
7.2.100.0040.01616.62
7.2.90.0030.01016.80
7.2.80.0060.00916.82
7.2.70.0070.00417.00
7.2.60.0030.00616.82
7.2.50.0090.00616.69
7.2.40.0060.00916.99
7.2.30.0030.00916.79
7.2.20.0060.01016.73
7.2.10.0100.00317.00
7.2.00.0070.00517.94
7.1.250.0030.00715.71
7.1.240.0080.00415.86
7.1.230.0060.00615.78
7.1.220.0030.00915.80
7.1.210.0060.00615.52
7.1.200.0110.00315.62
7.1.190.0090.00615.86
7.1.180.0060.00915.71
7.1.170.0110.00415.72
7.1.160.0050.00515.63
7.1.150.0030.00715.66
7.1.140.0030.00515.59
7.1.130.0070.00715.66
7.1.120.0040.00715.73
7.1.110.0090.00915.73
7.1.100.0050.00416.73
7.1.90.0060.00615.61
7.1.80.0070.00315.40
7.1.70.0060.00516.40
7.1.60.0070.00917.38
7.1.50.0070.00916.07
7.1.40.0040.00815.65
7.1.30.0130.00315.50
7.1.20.0080.00015.71
7.1.10.0070.00715.82
7.1.00.0000.04618.98
7.0.330.0030.01015.27
7.0.320.0070.00015.25
7.0.310.0000.01115.38
7.0.300.0030.01015.28
7.0.290.0030.00915.30
7.0.280.0030.00615.25
7.0.270.0000.00815.02
7.0.260.0040.01115.18
7.0.250.0060.00615.29
7.0.240.0070.00415.31
7.0.230.0040.00415.20
7.0.220.0030.00915.43
7.0.210.0000.00815.50
7.0.200.0100.00516.03
7.0.190.0070.00715.47
7.0.180.0040.00415.45
7.0.170.0100.00315.32
7.0.160.0040.00915.46
7.0.150.0030.01015.42
7.0.140.0050.03718.76
7.0.130.0130.00315.46
7.0.120.0070.00715.10
7.0.110.0080.00315.00
7.0.100.0090.02517.63
7.0.90.0050.02517.66
7.0.80.0140.02517.65
7.0.70.0080.02517.76
7.0.60.0050.02517.65
7.0.50.0050.02817.84
7.0.40.0030.02416.79
7.0.30.0010.02416.79
7.0.20.0030.02516.54
7.0.10.0080.02016.75
7.0.00.0090.02116.72
5.6.380.0080.00814.11
5.6.370.0040.00414.19
5.6.360.0040.00714.07
5.6.350.0030.00614.13
5.6.340.0030.01014.54
5.6.330.0060.00614.55
5.6.320.0070.00814.07
5.6.310.0030.01313.98
5.6.300.0060.01014.36
5.6.290.0070.00714.24
5.6.280.0060.04017.75
5.6.270.0030.01014.25
5.6.260.0000.00914.43
5.6.250.0050.02317.33
5.6.240.0020.03317.52
5.6.230.0100.01817.28
5.6.220.0030.02617.59
5.6.210.0030.02317.46
5.6.200.0080.02017.62
5.6.190.0070.04217.77
5.6.180.0030.02117.58
5.6.170.0070.01817.64
5.6.160.0030.02317.51
5.6.150.0070.02017.52
5.6.140.0050.01817.72
5.6.130.0070.02017.66
5.6.120.0070.02017.72
5.6.110.0070.02017.56
5.6.100.0050.02517.60
5.6.90.0100.01817.55
5.6.80.0050.02217.44
5.6.70.0050.02517.24
5.6.60.0070.02217.21
5.6.50.0050.03717.22
5.6.40.0070.02817.23
5.6.30.0050.04017.34
5.6.20.0060.02117.23
5.6.10.0000.02817.20
5.6.00.0060.03317.24
5.5.380.0050.02315.64
5.5.370.0030.02215.75
5.5.360.0050.01716.02
5.5.350.0080.02215.73
5.5.340.0020.02615.91
5.5.330.0080.01515.91
5.5.320.0070.02115.97
5.5.310.0050.02315.86
5.5.300.0060.02516.11
5.5.290.0050.01815.97
5.5.280.0130.01516.02
5.5.270.0050.02415.92
5.5.260.0070.02415.84
5.5.250.0040.02315.74
5.5.240.0100.01815.66
5.5.230.0060.02915.67
5.5.220.0050.01915.56
5.5.210.0080.02515.61
5.5.200.0030.02815.70
5.5.190.0060.02615.54
5.5.180.0080.03615.62
5.5.170.0030.00311.23
5.5.160.0140.03515.63
5.5.150.0030.03115.57
5.5.140.0110.03615.79
5.5.130.0070.03915.76
5.5.120.0050.02015.71
5.5.110.0080.03815.75
5.5.100.0070.02615.51
5.5.90.0110.04015.53
5.5.80.0040.04115.71
5.5.70.0130.03615.72
5.5.60.0070.04215.57
5.5.50.0070.02015.45
5.5.40.0050.04015.48
5.5.30.0050.04315.48
5.5.20.0020.03115.60
5.5.10.0050.02715.48
5.5.00.0070.03715.48
5.4.450.0070.01715.27
5.4.440.0030.02315.16
5.4.430.0000.02515.08
5.4.420.0060.02215.13
5.4.410.0090.01715.13
5.4.400.0020.02114.97
5.4.390.0070.01815.02
5.4.380.0050.01915.11
5.4.370.0070.01714.96
5.4.360.0050.04115.07
5.4.350.0080.02714.96
5.4.340.0030.04515.12
5.4.330.0030.00910.90
5.4.320.0070.03215.06
5.4.310.0080.03514.88
5.4.300.0000.02415.11
5.4.290.0050.03714.90
5.4.280.0090.03215.01
5.4.270.0040.03615.08
5.4.260.0080.03714.88
5.4.250.0060.04315.12
5.4.240.0090.03814.90
5.4.230.0050.02314.96
5.4.220.0090.02414.96
5.4.210.0120.03514.99
5.4.200.0000.03614.93
5.4.190.0150.03314.85
5.4.180.0030.02214.96
5.4.170.0020.02815.00
5.4.160.0100.03515.03
5.4.150.0080.03815.06
5.4.140.0050.03713.72
5.4.130.0050.03713.67
5.4.120.0080.03713.62
5.4.110.0070.02413.85
5.4.100.0030.03913.73
5.4.90.0050.03113.69
5.4.80.0080.03813.70
5.4.70.0090.03513.58
5.4.60.0030.04313.67
5.4.50.0050.03213.68
5.4.40.0060.04313.62
5.4.30.0030.03513.67
5.4.20.0070.02213.67
5.4.10.0060.03413.69
5.4.00.0070.03013.39
5.3.290.0080.02712.77
5.3.280.0030.04112.75
5.3.270.0030.03612.81
5.3.260.0080.03912.75
5.3.250.0110.03512.82
5.3.240.0020.04612.78
5.3.230.0070.03312.79
5.3.220.0050.03812.71
5.3.210.0030.02812.78
5.3.200.0100.04012.76
5.3.190.0070.03612.76
5.3.180.0050.03212.73
5.3.170.0110.01812.80
5.3.160.0050.02112.75
5.3.150.0080.03112.72
5.3.140.0080.03212.69
5.3.130.0080.03712.72
5.3.120.0030.04512.75
5.3.110.0020.04312.70
5.3.100.0140.03212.49
5.3.90.0060.02812.43
5.3.80.0050.02812.40
5.3.70.0040.02612.40
5.3.60.0000.02412.48
5.3.50.0050.02512.43
5.3.40.0030.02212.39
5.3.30.0060.03912.45
5.3.20.0060.03112.36
5.3.10.0020.04112.26
5.3.00.0020.02712.28
5.2.170.0070.02211.07
5.2.160.0030.01711.07
5.2.150.0030.03011.05
5.2.140.0050.01811.09
5.2.130.0030.02910.96
5.2.120.0040.01710.95
5.2.110.0030.02211.04
5.2.100.0080.02711.03
5.2.90.0060.03311.05
5.2.80.0040.02111.00
5.2.70.0020.03911.00
5.2.60.0060.01511.03
5.2.50.0080.01810.92
5.2.40.0030.03710.91
5.2.30.0050.03210.99
5.2.20.0050.01610.92
5.2.10.0020.03010.82
5.2.00.0030.02110.84
5.1.60.0080.02510.45
5.1.50.0070.02010.47
5.1.40.0050.02010.45
5.1.30.0040.03010.65
5.1.20.0040.03010.65
5.1.10.0020.03010.52
5.1.00.0050.01310.43
5.0.50.0040.0149.90
5.0.40.0070.0229.90
5.0.30.0020.0219.90
5.0.20.0030.0239.90
5.0.10.0020.0209.90
5.0.00.0020.0289.90
4.4.90.0020.0159.90
4.4.80.0000.0209.90
4.4.70.0030.0189.90
4.4.60.0020.0199.90
4.4.50.0020.0199.90
4.4.40.0050.0189.90
4.4.30.0020.0209.90
4.4.20.0040.0179.90
4.4.10.0000.0139.90
4.4.00.0020.0199.90
4.3.110.0020.0159.90
4.3.100.0040.0129.90
4.3.90.0070.0089.90
4.3.80.0040.0159.90
4.3.70.0030.0179.90
4.3.60.0040.0139.90
4.3.50.0030.0129.90
4.3.40.0030.0169.90
4.3.30.0040.0129.90
4.3.20.0020.0109.90
4.3.10.0020.0139.90
4.3.00.0030.0129.90

preferences:
40.61 ms | 400 KiB | 5 Q