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) { echo "$key holds $item\n"; } array_walk($a,'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.00418.83
8.3.30.0070.00718.95
8.3.20.0040.00420.16
8.3.10.0000.00723.53
8.3.00.0000.00820.53
8.2.170.0070.00722.96
8.2.160.0030.01022.08
8.2.150.0070.00024.18
8.2.140.0080.00824.66
8.2.130.0040.00426.16
8.2.120.0050.00317.75
8.2.110.0080.00022.26
8.2.100.0090.00317.84
8.2.90.0060.00319.09
8.2.80.0050.00317.97
8.2.70.0060.00617.50
8.2.60.0040.00418.00
8.2.50.0090.00318.07
8.2.40.0080.00018.16
8.2.30.0000.00818.06
8.2.20.0000.00917.68
8.2.10.0030.00617.70
8.2.00.0040.00417.80
8.1.270.0000.00823.98
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0000.00923.83
8.1.230.0000.01119.00
8.1.220.0000.00717.76
8.1.210.0030.00618.77
8.1.200.0030.00617.35
8.1.190.0050.00317.53
8.1.180.0050.00318.10
8.1.170.0000.00818.52
8.1.160.0000.00821.86
8.1.150.0000.00718.48
8.1.140.0000.00817.29
8.1.130.0070.00317.87
8.1.120.0000.00717.31
8.1.110.0040.00417.30
8.1.100.0070.00017.44
8.1.90.0040.00417.38
8.1.80.0000.00717.40
8.1.70.0040.00417.39
8.1.60.0080.00017.53
8.1.50.0000.00817.34
8.1.40.0060.00317.32
8.1.30.0040.00417.62
8.1.20.0030.00617.56
8.1.10.0060.00317.52
8.1.00.0030.00617.45
8.0.300.0040.00418.77
8.0.290.0000.00717.18
8.0.280.0030.00318.43
8.0.270.0000.00717.33
8.0.260.0030.00316.88
8.0.250.0030.00316.91
8.0.240.0030.00316.93
8.0.230.0030.00317.00
8.0.220.0030.00316.87
8.0.210.0000.00616.86
8.0.200.0000.00716.91
8.0.190.0000.00717.03
8.0.180.0000.00716.94
8.0.170.0000.00916.93
8.0.160.0040.00417.00
8.0.150.0040.00416.79
8.0.140.0050.00216.89
8.0.130.0000.00613.36
8.0.120.0080.00016.93
8.0.110.0040.00417.02
8.0.100.0060.00316.85
8.0.90.0000.00716.79
8.0.80.0000.01516.96
8.0.70.0000.00717.05
8.0.60.0030.00416.73
8.0.50.0080.00017.06
8.0.30.0170.00817.02
8.0.20.0070.01317.40
8.0.10.0040.00416.88
8.0.00.0070.01316.72
7.4.330.0000.00515.01
7.4.320.0000.00616.49
7.4.300.0000.00616.59
7.4.290.0000.00716.51
7.4.280.0040.00416.39
7.4.270.0070.00016.30
7.4.260.0030.00416.42
7.4.250.0000.00816.42
7.4.240.0020.00516.44
7.4.230.0040.00416.24
7.4.220.0150.00316.52
7.4.210.0110.00416.47
7.4.200.0000.00816.28
7.4.190.0080.00016.57
7.4.160.0050.01116.45
7.4.150.0110.01517.40
7.4.140.0100.00717.86
7.4.130.0040.01216.46
7.4.120.0040.01416.56
7.4.110.0110.00616.63
7.4.100.0070.01016.32
7.4.90.0070.01016.38
7.4.80.0180.00316.62
7.4.70.0030.01416.37
7.4.60.0100.00716.31
7.4.50.0000.00516.55
7.4.40.0040.00822.77
7.4.30.0110.00616.60
7.4.00.0040.01314.89
7.3.330.0000.00813.33
7.3.320.0050.00013.12
7.3.310.0000.00716.34
7.3.300.0070.00016.40
7.3.290.0130.00716.34
7.3.280.0090.00816.35
7.3.270.0070.01117.40
7.3.260.0180.00016.43
7.3.250.0130.00616.40
7.3.240.0090.00916.34
7.3.230.0100.00716.39
7.3.210.0080.00916.63
7.3.200.0110.01119.39
7.3.190.0120.00916.30
7.3.180.0100.00616.57
7.3.170.0060.00916.61
7.3.160.0070.01016.38
7.3.120.0050.01114.86
7.3.110.0080.00814.73
7.3.100.0000.01514.97
7.3.90.0110.00314.74
7.3.80.0080.00314.89
7.3.70.0030.01014.84
7.3.60.0060.00914.91
7.3.50.0000.00914.66
7.3.40.0030.01314.93
7.3.30.0030.01014.88
7.3.20.0090.00616.48
7.3.10.0100.00016.52
7.3.00.0150.00016.52
7.2.330.0090.00916.42
7.2.320.0100.00716.26
7.2.310.0090.00916.50
7.2.300.0090.00616.43
7.2.290.0130.00316.41
7.2.250.0080.00615.16
7.2.240.0040.01515.12
7.2.230.0100.00314.69
7.2.220.0050.00514.77
7.2.210.0030.00714.98
7.2.200.0030.01214.83
7.2.190.0090.00314.91
7.2.180.0070.00714.95
7.2.170.0070.00714.71
7.2.00.0060.00918.95
7.1.330.0030.00815.86
7.1.320.0100.00715.68
7.1.310.0080.00015.73
7.1.300.0090.00015.87
7.1.290.0140.00015.73
7.1.280.0090.00315.86
7.1.270.0060.00915.82
7.1.260.0110.00415.40
7.1.100.0040.00818.23
7.1.70.0040.01117.10
7.1.60.0100.01419.32
7.1.50.0100.01016.84
7.1.00.0100.07022.44
7.0.200.0060.00616.77
7.0.140.0100.06721.97
7.0.100.0370.05021.77
7.0.90.0170.07319.91
7.0.80.0270.06319.88
7.0.70.0200.07719.79
7.0.60.0130.08319.92
7.0.50.0030.05020.28
7.0.40.0030.08019.99
7.0.30.0100.08020.08
7.0.20.0070.07019.95
7.0.10.0070.06720.03
7.0.00.0070.06020.13
5.6.280.0070.09020.82
5.6.250.0100.08320.77
5.6.240.0100.05020.59
5.6.230.0070.08020.64
5.6.220.0100.04320.63
5.6.210.0030.04720.62
5.6.200.0000.06020.89
5.6.190.0030.08321.03
5.6.180.0070.07721.09
5.6.170.0130.07320.98
5.6.160.0030.05321.02
5.6.150.0000.09321.05
5.6.140.0030.07720.88
5.6.130.0130.04321.01
5.6.120.0100.06320.98
5.6.110.0070.08320.98
5.6.100.0030.07320.88
5.6.90.0070.05321.07
5.6.80.0070.08320.36
5.6.70.0070.06720.39
5.6.60.0070.08020.37
5.6.50.0130.07720.38
5.6.40.0100.08020.41
5.6.30.0230.06020.33
5.6.20.0070.05020.42
5.6.10.0100.07020.36
5.6.00.0070.06720.23
5.5.380.0070.05320.34
5.5.370.0070.07720.30
5.5.360.0100.08320.33
5.5.350.0070.04720.27
5.5.340.0130.07020.84
5.5.330.0100.08020.87
5.5.320.0070.08020.82
5.5.310.0030.08020.72
5.5.300.0100.08020.77
5.5.290.0100.08320.82
5.5.280.0070.07320.73
5.5.270.0030.08720.82
5.5.260.0070.04720.68
5.5.250.0030.07320.59
5.5.240.0030.06720.07
5.5.230.0130.07320.12
5.5.220.0070.04720.23
5.5.210.0030.07720.20
5.5.200.0030.08720.11
5.5.190.0170.06320.12
5.5.180.0070.07720.17
5.5.160.0170.08020.09
5.5.150.0100.08020.13
5.5.140.0170.06020.13
5.5.130.0030.08720.09
5.5.120.0100.04320.13
5.5.110.0130.04320.08
5.5.100.0130.07320.04
5.5.90.0000.08320.06
5.5.80.0230.06020.02
5.5.70.0070.07720.01
5.5.60.0130.06019.91
5.5.50.0100.07320.01
5.5.40.0000.04720.11
5.5.30.0030.04719.94
5.5.20.0030.08320.10
5.5.10.0100.07319.93
5.5.00.0130.07319.92
5.4.450.0030.07319.23
5.4.440.0030.08019.42
5.4.430.0100.07719.50
5.4.420.0070.08019.53
5.4.410.0070.07319.27
5.4.400.0030.05019.03
5.4.390.0100.06719.03
5.4.380.0130.07018.98
5.4.370.0000.07719.05
5.4.360.0130.07318.95
5.4.350.0100.06719.05
5.4.340.0130.07319.03
5.4.320.0070.05019.13
5.4.310.0130.06319.03
5.4.300.0100.07018.85
5.4.290.0030.04719.25
5.4.280.0030.08019.18
5.4.270.0030.06019.04
5.4.260.0200.06319.12
5.4.250.0030.07719.04
5.4.240.0100.06719.07
5.4.230.0200.06319.13
5.4.220.0130.06718.94
5.4.210.0030.07719.17
5.4.200.0030.06019.20
5.4.190.0070.08018.93
5.4.180.0100.07318.88
5.4.170.0100.07019.02
5.4.160.0070.07318.88
5.4.150.0100.08019.01
5.4.140.0070.07316.45
5.4.130.0130.06316.35
5.4.120.0030.07716.14
5.4.110.0070.07316.43
5.4.100.0070.07016.36
5.4.90.0130.06716.49
5.4.80.0170.06316.47
5.4.70.0100.06716.41
5.4.60.0200.04316.32
5.4.50.0100.07016.33
5.4.40.0130.07016.38
5.4.30.0030.05316.45
5.4.20.0170.06016.43
5.4.10.0070.07316.29
5.4.00.0070.06715.82
5.3.290.0070.07314.58
5.3.280.0100.07014.57
5.3.270.0030.07314.63
5.3.260.0070.05714.55
5.3.250.0070.07314.58
5.3.240.0070.05014.54
5.3.230.0070.04314.73
5.3.220.0070.07714.63
5.3.210.0100.07314.67
5.3.200.0100.07314.63
5.3.190.0100.05714.54
5.3.180.0070.07714.52
5.3.170.0170.06014.67
5.3.160.0100.06314.61
5.3.150.0000.07714.57
5.3.140.0000.05314.61
5.3.130.0030.05014.53
5.3.120.0100.07014.60
5.3.110.0030.04714.47
5.3.100.0030.04314.00
5.3.90.0100.06314.14
5.3.80.0100.06314.14
5.3.70.0000.08014.00
5.3.60.0170.06314.14
5.3.50.0100.06013.83
5.3.40.0000.08013.85
5.3.30.0130.06313.96
5.3.20.0100.06013.59
5.3.10.0030.07013.60
5.3.00.0070.07013.70
5.2.170.0030.06011.07
5.2.160.0000.03711.04
5.2.150.0030.06711.28
5.2.140.0070.06011.14
5.2.130.0070.05711.16
5.2.120.0030.06311.09
5.2.110.0030.03311.15
5.2.100.0000.03310.96
5.2.90.0070.06311.11
5.2.80.0070.02711.00
5.2.70.0000.03311.02
5.2.60.0070.03711.08
5.2.50.0030.03311.16
5.2.40.0030.06010.89
5.2.30.0000.07011.07
5.2.20.0030.05010.95
5.2.10.0070.05010.89
5.2.00.0100.05710.57
5.1.60.0030.05710.05
5.1.50.0030.0539.83
5.1.40.0070.03310.04
5.1.30.0030.04710.29
5.1.20.0000.06310.46
5.1.10.0030.02710.07
5.1.00.0070.02010.08
5.0.50.0000.0408.57
5.0.40.0100.0378.49
5.0.30.0100.0608.10
5.0.20.0130.0308.28
5.0.10.0030.0478.25
5.0.00.0130.0538.24
4.4.90.0000.0375.89
4.4.80.0030.0275.89
4.4.70.0070.0175.90
4.4.60.0070.0305.90
4.4.50.0000.0405.90
4.4.40.0000.0505.90
4.4.30.0030.0305.90
4.4.20.0030.0275.95
4.4.10.0000.0305.90
4.4.00.0100.0335.91
4.3.110.0000.0375.90
4.3.100.0030.0275.90
4.3.90.0000.0375.90
4.3.80.0000.0575.90
4.3.70.0000.0305.90
4.3.60.0070.0205.90
4.3.50.0100.0275.90
4.3.40.0000.0435.90
4.3.30.0000.0335.90
4.3.20.0000.0375.90
4.3.10.0000.0335.90
4.3.00.0000.0305.90

preferences:
43.41 ms | 400 KiB | 5 Q