3v4l.org

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

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.2.00.0030.01019.09
7.1.70.0070.00317.18
7.1.60.0030.00917.32
7.1.50.0090.01217.05
7.1.00.0030.07722.33
7.0.200.0030.01316.79
7.0.140.0070.07021.95
7.0.110.0670.08319.96
7.0.100.0400.08020.03
7.0.90.0570.05719.91
7.0.80.0670.04020.07
7.0.70.0570.06719.95
7.0.60.0600.07019.94
7.0.50.0530.08720.35
7.0.40.0100.08020.25
7.0.30.0100.07320.28
7.0.20.0100.08320.24
7.0.10.0070.08320.20
7.0.00.0130.07320.23
5.6.280.0000.07720.86
5.6.260.0070.05320.63
5.6.250.0070.08320.62
5.6.240.0130.07320.52
5.6.230.0200.06320.85
5.6.220.0070.08320.62
5.6.210.0230.07020.68
5.6.200.0070.08021.08
5.6.190.0070.08021.02
5.6.180.0130.05021.02
5.6.170.0100.06020.88
5.6.160.0130.07720.93
5.6.150.0070.06721.14
5.6.140.0030.07721.26
5.6.130.0070.08321.26
5.6.120.0100.08021.13
5.6.110.0130.06320.93
5.6.100.0100.06721.20
5.6.90.0030.05321.04
5.6.80.0030.07020.49
5.6.70.0030.04020.33
5.6.60.0030.04020.58
5.6.50.0000.08020.65
5.6.40.0100.07720.57
5.6.30.0070.07020.31
5.6.20.0100.06320.34
5.6.10.0000.05020.28
5.6.00.0070.03320.55
5.5.380.0170.06320.34
5.5.370.0200.06720.36
5.5.360.0170.07020.52
5.5.350.0100.07720.40
5.5.340.0100.08020.82
5.5.330.0100.08020.80
5.5.320.0070.07720.84
5.5.310.0100.07320.89
5.5.300.0130.08020.95
5.5.290.0130.07721.03
5.5.280.0130.07320.95
5.5.270.0100.08020.96
5.5.260.0000.05021.00
5.5.250.0030.05020.84
5.5.240.0070.03720.16
5.5.230.0100.03020.32
5.5.220.0070.03720.24
5.5.210.0100.03320.21
5.5.200.0030.08020.12
5.5.190.0070.04020.13
5.5.180.0070.03320.16
5.5.160.0070.05320.32
5.5.150.0000.05020.24
5.5.140.0030.04020.10
5.5.130.0030.05020.19
5.5.120.0070.03720.15
5.5.110.0130.06020.08
5.5.100.0100.03320.28
5.5.90.0070.03720.15
5.5.80.0030.06020.24
5.5.70.0030.04320.13
5.5.60.0000.04320.12
5.5.50.0100.06020.15
5.5.40.0100.03020.20
5.5.30.0100.05720.20
5.5.20.0030.03720.05
5.5.10.0070.04020.23
5.5.00.0030.07020.07
5.4.450.0130.07319.45
5.4.440.0070.05719.35
5.4.430.0030.08019.27
5.4.420.0100.06019.33
5.4.410.0070.03719.13
5.4.400.0070.03719.03
5.4.390.0030.05319.27
5.4.380.0000.04019.03
5.4.370.0070.05319.18
5.4.360.0100.08018.97
5.4.350.0070.03719.13
5.4.340.0130.04318.93
5.4.320.0070.05719.25
5.4.310.0000.04019.16
5.4.300.0000.04018.95
5.4.290.0030.04018.93
5.4.280.0000.07019.00
5.4.270.0100.06019.00
5.4.260.0030.06019.13
5.4.250.0100.07019.02
5.4.240.0000.04019.02
5.4.230.0000.05719.27
5.4.220.0070.03719.07
5.4.210.0000.04018.94
5.4.200.0070.03719.14
5.4.190.0070.05318.92
5.4.180.0070.06718.99
5.4.170.0100.03319.11
5.4.160.0070.06719.01
5.4.150.0100.07018.98
5.4.140.0030.07716.53
5.4.130.0000.07716.48
5.4.120.0070.07716.44
5.4.110.0070.07316.40
5.4.100.0100.06716.18
5.4.90.0100.06716.46
5.4.80.0100.06016.39
5.4.70.0200.06016.46
5.4.60.0030.07016.39
5.4.50.0070.05316.27
5.4.40.0070.05016.54
5.4.30.0030.07716.34
5.4.20.0070.07316.35
5.4.10.0070.07016.48
5.4.00.0100.07015.67
5.3.290.0070.06014.68
5.3.280.0000.04014.47
5.3.270.0000.07014.50
5.3.260.0100.05714.44
5.3.250.0070.07314.62
5.3.240.0070.07014.55
5.3.230.0100.07014.49
5.3.220.0100.06714.50
5.3.210.0100.06714.52
5.3.200.0030.07014.40
5.3.190.0030.08014.36
5.3.180.0070.05314.58
5.3.170.0070.07314.63
5.3.160.0000.08014.50
5.3.150.0100.07314.64
5.3.140.0030.08014.49
5.3.130.0070.07314.50
5.3.120.0000.08714.61
5.3.110.0130.06714.55
5.3.100.0070.07313.87
5.3.90.0070.07014.09
5.3.80.0100.06713.81
5.3.70.0130.07314.09
5.3.60.0030.07314.07
5.3.50.0100.06013.88
5.3.40.0100.06013.78
5.3.30.0100.07013.86
5.3.20.0100.06713.56
5.3.10.0030.07713.75
5.3.00.0030.05713.50
5.2.170.0130.03712.14
5.2.160.0100.05712.14
5.2.150.0000.06712.14
5.2.140.0070.06312.14
5.2.130.0070.05712.14
5.2.120.0070.05312.14
5.2.110.0100.05312.14
5.2.100.0030.06712.14
5.2.90.0070.06012.14
5.2.80.0070.05312.14
5.2.70.0070.06012.14
5.2.60.0070.06012.14
5.2.50.0030.06012.14
5.2.40.0000.04312.14
5.2.30.0070.06012.14
5.2.20.0070.05312.14
5.2.10.0030.06012.14
5.2.00.0100.05712.14
5.1.60.0070.05012.14
5.1.50.0100.04712.14
5.1.40.0100.04712.14
5.1.30.0000.06012.14
5.1.20.0030.05012.14
5.1.10.0030.06012.14
5.1.00.0000.05712.14
5.0.50.0030.04712.14
5.0.40.0030.04312.14
5.0.30.0030.04312.14
5.0.20.0030.04012.14
5.0.10.0030.04312.14
5.0.00.0030.06012.14
4.4.90.0030.03712.14
4.4.80.0070.03012.14
4.4.70.0000.03712.14
4.4.60.0000.02712.14
4.4.50.0000.03712.14
4.4.40.0000.05712.14
4.4.30.0030.03712.14
4.4.20.0000.04012.14
4.4.10.0000.03712.14
4.4.00.0070.05312.14
4.3.110.0030.03012.14
4.3.100.0030.03712.14
4.3.90.0000.03712.14
4.3.80.0000.05712.14
4.3.70.0030.03012.14
4.3.60.0070.03012.14
4.3.50.0000.03712.14
4.3.40.0030.03312.14
4.3.30.0070.02712.14
4.3.20.0000.04012.14
4.3.10.0030.03312.14
4.3.00.0000.04012.14

preferences:
24.23 ms | 401 KiB | 5 Q