3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sql = array("inUserID" => "lemon", "inCustID" => "orange", "btAll" => "banana", "btPermPref" => "apple", "inDisplay"=>"toast"); function pram_alter($array, $key) { //echo implode(',', each($array)); reset($array); while (list($key, $val) = each($array)) { echo "$key => $val\n"; } $temp=array(pram_alter($sql, 'pram_alter')); ?>

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.4.320.0270.07019.06
5.4.310.0230.03318.98
5.4.300.0200.06019.14
5.4.290.0300.03018.83
5.4.280.0230.05319.16
5.4.270.0200.03719.21
5.4.260.0370.06718.87
5.4.250.0200.06019.13
5.4.240.0170.04318.85
5.4.230.0300.06319.25
5.4.220.0200.04019.01
5.4.210.0230.06319.19
5.4.200.0300.05719.30
5.4.190.0300.07019.14
5.4.180.0300.06718.98
5.4.170.0300.07018.83
5.4.160.0370.03019.18
5.4.150.0170.06718.97
5.4.140.0300.03716.29
5.4.130.0200.04716.36
5.4.120.0270.06716.50
5.4.110.0270.07016.41
5.4.100.0270.06016.57
5.4.90.0270.05016.56
5.4.80.0230.04016.54
5.4.70.0200.07316.52
5.4.60.0230.06316.35
5.4.50.0170.06316.51
5.4.40.0230.04716.43
5.4.30.0170.07716.52
5.4.20.0200.05716.42
5.4.10.0400.05316.42
5.4.00.0230.05015.70
5.3.290.0370.03314.69
5.3.280.0200.05014.75
5.3.270.0200.07314.59
5.3.260.0270.05714.68
5.3.250.0230.07014.66
5.3.240.0270.07314.57
5.3.230.0230.06714.60
5.3.220.0270.04714.62
5.3.210.0230.04714.64
5.3.200.0200.04714.49
5.3.190.0200.03714.46
5.3.180.0300.04314.46
5.3.170.0230.06714.48
5.3.160.0230.07014.63
5.3.150.0300.06714.53
5.3.140.0330.06014.63
5.3.130.0200.07314.77
5.3.120.0170.06014.55
5.3.110.0270.05314.47
5.3.100.0200.03714.05
5.3.90.0230.06713.99
5.3.80.0170.08013.93
5.3.70.0300.02714.27
5.3.60.0230.04014.02
5.3.50.0230.04313.88
5.3.40.0230.07714.18
5.3.30.0300.05313.84
5.3.20.0230.06313.77
5.3.10.0200.04713.80
5.3.00.0270.06313.54
5.2.170.0230.05312.00
5.2.160.0200.04712.00
5.2.150.0170.06012.00
5.2.140.0170.05312.00
5.2.130.0130.04712.00
5.2.120.0200.03012.00
5.2.110.0270.04012.00
5.2.100.0170.02712.00
5.2.90.0100.03312.00
5.2.80.0170.04012.00
5.2.70.0200.06012.00
5.2.60.0230.03712.00
5.2.50.0170.05312.00
5.2.40.0230.05712.00
5.2.30.0200.03312.00
5.2.20.0130.06312.00
5.2.10.0270.03312.00
5.2.00.0100.03012.00
5.1.60.0170.02312.00
5.1.50.0200.02712.00
5.1.40.0130.04012.00
5.1.30.0070.04712.00
5.1.20.0130.04712.00
5.1.10.0170.05012.00
5.1.00.0170.05012.00
5.0.50.0100.02312.00
5.0.40.0030.02712.00
5.0.30.0030.03712.00
5.0.20.0100.02012.00
5.0.10.0070.02012.00
5.0.00.0100.06012.00
4.4.90.0030.02312.00
4.4.80.0100.01312.00
4.4.70.0100.01312.00
4.4.60.0030.02312.00
4.4.50.0100.02012.00
4.4.40.0100.02712.00
4.4.30.0070.03312.00
4.4.20.0100.02312.00
4.4.10.0070.04012.00
4.4.00.0170.02312.00
4.3.110.0030.03312.00
4.3.100.0100.02312.00
4.3.90.0130.01312.00
4.3.80.0100.02712.00
4.3.70.0130.02312.00
4.3.60.0030.01712.00
4.3.50.0100.01712.00
4.3.40.0070.02712.00
4.3.30.0070.01712.00
4.3.20.0000.02712.00
4.3.10.0030.03712.00
4.3.00.0030.02712.00

preferences:
143.76 ms | 1394 KiB | 7 Q