3v4l.org

run code in 300+ PHP versions simultaneously
<?php $valori_modalita_pagamento=array(1=>'Valore 1',2=>'Valore 2', 3=>'Valore 3' ... N=>'Valore N' ); //array associativo con coppie chiave/valore $arrasy=array('1'=>'mela','2'=>'pera','3'=>'banana'); while (current($valori_modalita_pagamento)) { echo key($valori_modalita_pagamento); next($valori_modalita_pagamento); }

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)
5.6.80.0070.03720.28
5.5.240.0230.07020.25
5.4.400.0130.05718.80
5.4.390.0200.05718.84
5.4.380.0270.06318.79
5.4.370.0300.05718.74
5.4.360.0300.06018.70
5.4.350.0300.06018.72
5.4.340.0330.06318.74
5.4.320.0230.06018.55
5.4.310.0330.06318.46
5.4.300.0300.05718.69
5.4.290.0530.06018.71
5.4.280.0570.05318.80
5.4.270.0400.06318.58
5.4.260.0400.06318.75
5.4.250.0300.06318.61
5.4.240.0230.05718.73
5.4.230.0270.05318.79
5.4.220.0200.06318.54
5.4.210.0300.05718.75
5.4.200.0300.05716.55
5.4.190.0500.03718.77
5.4.180.0400.04318.77
5.4.170.0330.05318.82
5.4.160.0330.05718.61
5.4.150.0300.04718.57
5.4.140.0400.04716.46
5.4.130.0230.05316.18
5.4.120.0270.05316.30
5.4.110.0300.05016.32
5.4.100.0400.04016.24
5.4.90.0300.05016.43
5.4.80.0300.05716.41
5.4.70.0270.06016.23
5.4.60.0230.05716.26
5.4.50.0330.04716.16
5.4.40.0330.06016.24
5.4.30.0300.05316.25
5.4.20.0400.05316.17
5.4.10.0330.04716.27
5.4.00.0500.06015.66
5.3.290.0270.06314.66
5.3.280.0400.04714.63
5.3.270.0530.03714.61
5.3.260.0300.05714.50
5.3.250.0370.04314.70
5.3.240.0230.06314.66
5.3.230.0300.05314.60
5.3.220.0430.06314.57
5.3.210.0400.05714.52
5.3.200.0470.05314.67
5.3.190.0530.06014.52
5.3.180.0230.06714.53
5.3.170.0400.07014.57
5.3.160.0470.06314.54
5.3.150.0270.06014.53
5.3.140.0300.07314.56
5.3.130.0300.06014.46
5.3.120.0330.05714.52
5.3.110.0330.05314.47
5.3.100.0300.05314.07
5.3.90.0430.06014.11
5.3.80.0330.05713.91
5.3.70.0300.05313.95
5.3.60.0300.05013.99
5.3.50.0230.05713.96
5.3.40.0200.05713.88
5.3.30.0270.05713.98
5.3.20.0300.05313.67
5.3.10.0230.05713.59
5.3.00.0330.05313.66
5.2.170.0200.04711.11
5.2.160.0270.04011.13
5.2.150.0270.04011.20
5.2.140.0230.04711.14
5.2.130.0270.04311.07
5.2.120.0200.04711.10
5.2.110.0170.05011.07
5.2.100.0330.05011.24
5.2.90.0270.04711.01
5.2.80.0300.04711.05
5.2.70.0300.04311.15
5.2.60.0200.05011.07
5.2.50.0200.04310.94
5.2.40.0230.04010.95
5.2.30.0230.04010.96
5.2.20.0400.04011.00
5.2.10.0330.04310.98
5.2.00.0200.04310.77
5.1.60.0270.02710.00
5.1.50.0230.0339.97
5.1.40.0130.03710.01
5.1.30.0170.04710.29
5.1.20.0300.03010.37
5.1.10.0230.03310.13
5.1.00.0300.03010.13
5.0.50.0100.0338.64
5.0.40.0100.0308.54
5.0.30.0100.0508.54
5.0.20.0130.0278.54
5.0.10.0130.0278.54
5.0.00.0100.0478.54
4.4.90.0130.0178.54
4.4.80.0100.0238.54
4.4.70.0070.0238.54
4.4.60.0100.0238.54
4.4.50.0100.0308.54
4.4.40.0200.0378.54
4.4.30.0200.0278.54
4.4.20.0100.0278.54
4.4.10.0170.0308.54
4.4.00.0100.0378.54
4.3.110.0170.0278.54
4.3.100.0070.0238.54
4.3.90.0130.0208.54
4.3.80.0100.0338.54
4.3.70.0100.0308.54
4.3.60.0170.0238.54
4.3.50.0130.0208.54
4.3.40.0070.0378.54
4.3.30.0030.0338.54
4.3.20.0030.0308.54
4.3.10.0000.0278.54
4.3.00.0000.0236.71

preferences:
142.78 ms | 1394 KiB | 7 Q