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(',' $array); } //$temp=array(); $temp=array(pram_alter($sql, 'pram_alter')); echo print_r($temp); ?>

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.0230.07319.21
5.4.310.0270.07719.13
5.4.300.0300.06718.98
5.4.290.0300.07319.24
5.4.280.0330.06719.19
5.4.270.0270.07018.99
5.4.260.0200.06719.07
5.4.250.0370.06318.99
5.4.240.0270.03719.09
5.4.230.0300.04318.85
5.4.220.0300.06019.24
5.4.210.0330.06319.23
5.4.200.0300.06719.33
5.4.190.0230.04719.19
5.4.180.0230.03718.94
5.4.170.0330.04718.94
5.4.160.0270.07018.97
5.4.150.0330.06719.20
5.4.140.0370.06716.35
5.4.130.0270.03016.51
5.4.120.0270.06716.50
5.4.110.0300.07016.51
5.4.100.0230.06316.55
5.4.90.0230.05716.52
5.4.80.0200.04316.44
5.4.70.0100.04016.44
5.4.60.0130.03716.56
5.4.50.0100.04016.38
5.4.40.0170.03316.43
5.4.30.0200.04316.24
5.4.20.0200.03016.32
5.4.10.0170.03316.55
5.4.00.0070.04315.86
5.3.290.0270.07014.75
5.3.280.0300.07014.49
5.3.270.0300.07314.51
5.3.260.0270.04314.82
5.3.250.0330.06014.59
5.3.240.0200.05314.51
5.3.230.0330.07314.67
5.3.220.0330.06314.48
5.3.210.0200.06314.65
5.3.200.0270.06014.57
5.3.190.0230.03314.55
5.3.180.0270.02714.78
5.3.170.0200.04314.58
5.3.160.0170.03714.47
5.3.150.0170.03714.49
5.3.140.0100.04014.67
5.3.130.0170.03714.52
5.3.120.0200.03714.70
5.3.110.0200.03714.45
5.3.100.0200.03313.97
5.3.90.0170.03714.25
5.3.80.0230.03713.93
5.3.70.0130.03714.09
5.3.60.0130.03714.23
5.3.50.0170.03713.85
5.3.40.0100.04313.89
5.3.30.0230.03013.88
5.3.20.0130.04013.69
5.3.10.0170.03313.79
5.3.00.0170.03313.66
5.2.170.0200.03012.33
5.2.160.0070.03312.33
5.2.150.0100.03012.33
5.2.140.0200.03012.33
5.2.130.0130.02712.33
5.2.120.0130.03012.33
5.2.110.0200.03712.33
5.2.100.0170.03012.33
5.2.90.0070.03312.33
5.2.80.0130.03012.33
5.2.70.0170.03012.33
5.2.60.0200.02312.33
5.2.50.0170.02312.33
5.2.40.0100.02712.33
5.2.30.0170.02312.33
5.2.20.0200.02012.33
5.2.10.0130.02712.33
5.2.00.0130.02712.33
5.1.60.0100.03012.33
5.1.50.0030.03012.33
5.1.40.0100.02312.33
5.1.30.0130.02712.33
5.1.20.0200.02312.33
5.1.10.0130.03012.33
5.1.00.0170.05012.33
5.0.50.0130.03712.33
5.0.40.0130.04012.33
5.0.30.0100.06712.33
5.0.20.0070.04012.33
5.0.10.0130.04312.33
5.0.00.0100.06012.33
4.4.90.0030.01712.33
4.4.80.0030.01712.33
4.4.70.0030.01712.33
4.4.60.0070.01312.33
4.4.50.0030.02012.33
4.4.40.0070.02312.33
4.4.30.0030.01712.33
4.4.20.0030.01712.33
4.4.10.0100.02012.33
4.4.00.0070.04012.33
4.3.110.0170.02712.33
4.3.100.0130.03312.33
4.3.90.0100.02312.33
4.3.80.0130.02712.33
4.3.70.0070.02012.33
4.3.60.0100.02712.33
4.3.50.0130.03312.33
4.3.40.0030.05712.33
4.3.30.0030.02312.33
4.3.20.0030.03712.33
4.3.10.0070.02012.33
4.3.00.0070.02312.33

preferences:
137.23 ms | 1394 KiB | 7 Q