3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hashs = array(); $vals = array(); for($i = 0; $i < 20; $i++){ $hashs[] = md5(rand()); $vals[] = array("Preis" => rand()); } $groups = array_combine($hashs, $vals); echo array_column($groups, "Preis");

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)
7.1.70.0000.00817.25
7.1.60.0040.00717.36
7.1.50.0110.01116.99
7.1.00.0030.07722.30
7.0.200.0040.00416.66
7.0.140.0000.07321.92
7.0.60.0070.07319.86
7.0.50.0100.05717.89
7.0.40.0130.08020.20
7.0.30.0330.07720.34
7.0.20.0300.07020.00
7.0.10.0000.04720.12
7.0.00.0100.07720.01
5.6.280.0030.07320.89
5.6.210.0070.03720.72
5.6.200.0000.05318.11
5.6.190.0030.09320.46
5.6.180.0500.08020.27
5.6.170.0230.04020.54
5.6.160.0270.04320.50
5.6.150.0130.06018.15
5.6.140.0070.05018.11
5.6.130.0070.07718.08
5.6.120.0070.03720.98
5.6.110.0130.07720.98
5.6.100.0030.06020.97
5.6.90.0030.08720.98
5.6.80.0070.08320.48
5.5.350.0200.06020.29
5.5.340.0030.05017.99
5.5.330.0170.07320.40
5.5.320.0370.05020.18
5.5.310.0300.07320.30
5.5.300.0070.06717.96
5.5.290.0100.07717.87
5.5.280.0030.04020.73
5.5.270.0000.06320.63
5.5.260.0070.04020.76
5.5.250.0070.06020.68
5.5.240.0030.08020.18
5.4.450.0100.06719.30
5.4.440.0770.05319.49
5.4.430.0200.04319.14
5.4.420.0170.05019.68
5.4.410.0200.05718.93
5.4.400.0130.04718.50
5.4.390.0100.05018.58
5.4.380.0130.05018.66
5.4.370.0130.03318.64
5.4.360.0070.04018.47
5.4.350.0080.03511.99
5.4.340.0040.03811.99
5.4.320.0100.03612.47
5.4.310.0050.03812.47
5.4.300.0060.04312.48
5.4.290.0050.03812.47
5.4.280.0070.03312.36
5.4.270.0040.03712.36
5.4.260.0200.05018.92
5.4.250.0130.04718.70
5.4.240.0100.05718.72
5.4.230.0100.08018.88
5.4.220.0270.03718.64
5.4.210.0100.07718.88
5.4.200.0130.05018.77
5.4.190.0130.04319.02
5.4.180.0130.05018.64
5.4.170.0070.05719.04
5.4.160.0100.06319.02
5.4.150.0170.06018.86
5.4.140.0130.04716.30
5.4.130.0130.04716.23
5.4.120.0100.06316.50
5.4.110.0030.05716.48
5.4.100.0330.04316.44
5.4.90.0130.06316.29
5.4.80.0070.05316.35
5.4.70.0130.04716.33
5.4.60.0100.07016.39
5.4.50.0070.05016.18
5.4.40.0100.04316.47
5.4.30.0100.06316.41
5.4.20.0170.04316.45
5.4.10.0070.07016.22
5.4.00.0130.05315.76
5.3.290.0040.05012.80
5.3.280.0100.05714.32
5.3.270.0200.04014.77
5.3.260.0130.04714.50
5.3.250.0100.07314.61
5.3.240.0130.06714.62
5.3.230.0200.04314.66
5.3.220.0130.05314.59
5.3.210.0100.05014.27
5.3.200.0070.05314.67
5.3.190.0100.05014.27
5.3.180.0100.07714.41
5.3.170.0100.05014.57
5.3.160.0030.06314.46
5.3.150.0170.04314.44
5.3.140.0070.06314.72
5.3.130.0170.06014.41
5.3.120.0100.06014.55
5.3.110.0170.04714.45
5.3.100.0070.05314.14
5.3.90.0170.06314.07
5.3.80.0070.07314.07
5.3.70.0100.05014.03
5.3.60.0070.06013.78
5.3.50.0200.04313.84
5.3.40.0070.05314.05
5.3.30.0070.06713.96
5.3.20.0100.04713.57
5.3.10.0130.05013.75
5.3.00.0030.08013.50
5.2.170.0070.04710.99
5.2.160.0070.04011.17
5.2.150.0130.04010.91
5.2.140.0070.04011.07
5.2.130.0070.05011.03
5.2.120.0170.03711.03
5.2.110.0170.05011.03
5.2.100.0130.03711.13
5.2.90.0100.04310.88
5.2.80.0030.04311.19
5.2.70.0100.04711.25
5.2.60.0100.04711.05
5.2.50.0100.04310.96
5.2.40.0100.03711.11
5.2.30.0230.02310.81
5.2.20.0030.04311.18
5.2.10.0070.03710.84
5.2.00.0130.05010.69
5.1.60.0070.0379.96
5.1.50.0030.0379.98
5.1.40.0030.04010.05
5.1.30.0070.03310.42
5.1.20.0100.04710.52
5.1.10.0030.03710.04
5.1.00.0030.03710.27
5.0.50.0070.0408.64
5.0.40.0100.0208.65
5.0.30.0100.0438.29
5.0.20.0070.0238.16
5.0.10.0070.0338.22
5.0.00.0030.0438.23
4.4.90.0000.0237.09
4.4.80.0000.0337.09
4.4.70.0030.0207.09
4.4.60.0000.0237.09
4.4.50.0030.0307.09
4.4.40.0000.0507.09
4.4.30.0100.0207.09
4.4.20.0030.0237.09
4.4.10.0030.0237.09
4.4.00.0030.0377.09
4.3.110.0070.0177.09
4.3.100.0070.0177.09
4.3.90.0000.0207.09
4.3.80.0070.0307.09
4.3.70.0030.0207.09
4.3.60.0000.0337.09
4.3.50.0070.0237.09
4.3.40.0070.0407.09
4.3.30.0070.0237.09
4.3.20.0070.0277.09
4.3.10.0100.0237.09
4.3.00.0030.0206.37

preferences:
40.61 ms | 400 KiB | 5 Q