3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fruits = array("inUserID" => "lemon", "inCustID" => "orange", "btAll" => "banana", "btPermPref" => "apple", "inDisplay"=>"toast"); function pram_alter($array, $key) { echo "exec". "@$key = .'$array'. ,\n"";"; } array_walk($fruits, '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.0060.03712.52
5.4.310.0060.03812.52
5.4.300.0060.03812.52
5.4.290.0080.04012.51
5.4.280.0050.04112.41
5.4.270.0050.04912.41
5.4.260.0070.04312.41
5.4.250.0070.04412.41
5.4.240.0120.03312.41
5.4.230.0130.03212.40
5.4.220.0030.03912.40
5.4.210.0060.03712.40
5.4.200.0030.04212.40
5.4.190.0110.03512.39
5.4.180.0070.03712.40
5.4.170.0020.04112.40
5.4.160.0070.03612.40
5.4.150.0060.03612.40
5.4.140.0060.04112.09
5.4.130.0150.03812.07
5.4.120.0170.03412.03
5.4.110.0140.03512.03
5.4.100.0160.03312.03
5.4.90.0120.04812.03
5.4.80.0060.03812.03
5.4.70.0090.03112.03
5.4.60.0060.03612.02
5.4.50.0050.05012.03
5.4.40.0070.03712.02
5.4.30.0060.04212.01
5.4.20.0090.03412.01
5.4.10.0100.03712.01
5.4.00.0130.04311.51
5.3.290.0090.04512.80
5.3.280.0060.04012.70
5.3.270.0090.04312.72
5.3.260.0070.03812.72
5.3.250.0100.03912.71
5.3.240.0060.03812.72
5.3.230.0040.03912.71
5.3.220.0090.03612.68
5.3.210.0030.04012.68
5.3.200.0040.03712.68
5.3.190.0080.04412.68
5.3.180.0050.04712.67
5.3.170.0080.03912.67
5.3.160.0040.04212.67
5.3.150.0080.04112.68
5.3.140.0070.03512.66
5.3.130.0060.03912.66
5.3.120.0050.03912.66
5.3.110.0090.03812.66
5.3.100.0050.03812.13
5.3.90.0040.04012.11
5.3.80.0090.03412.10
5.3.70.0060.04412.10
5.3.60.0070.03812.08
5.3.50.0060.04612.03
5.3.40.0080.03712.03
5.3.30.0050.04111.98
5.3.20.0090.04111.77
5.3.10.0070.04011.73
5.3.00.0050.04311.72
5.2.170.0040.0409.22
5.2.160.0100.0359.22
5.2.150.0060.0409.22
5.2.140.0070.0379.22
5.2.130.0060.0369.18
5.2.120.0040.0289.18
5.2.110.0040.0299.18
5.2.100.0040.0329.18
5.2.90.0060.0349.18
5.2.80.0040.0339.17
5.2.70.0060.0379.17
5.2.60.0060.0369.13
5.2.50.0040.0309.10
5.2.40.0090.0339.08
5.2.30.0070.0289.05
5.2.20.0080.0269.04
5.2.10.0030.0308.96
5.2.00.0050.0288.80
5.1.60.0060.0238.09
5.1.50.0060.0298.09
5.1.40.0020.0268.07
5.1.30.0030.0338.42
5.1.20.0060.0258.44
5.1.10.0040.0308.17
5.1.00.0040.0278.17
5.0.50.0030.0216.64
5.0.40.0060.0186.51
5.0.30.0030.0316.31
5.0.20.0050.0176.28
5.0.10.0050.0186.27
5.0.00.0040.0306.26
4.4.90.0020.0164.77
4.4.80.0020.0194.76
4.4.70.0040.0174.75
4.4.60.0010.0184.75
4.4.50.0030.0174.77
4.4.40.0050.0284.71
4.4.30.0040.0164.76
4.4.20.0040.0244.85
4.4.10.0040.0174.85
4.4.00.0010.0274.76
4.3.110.0020.0174.67
4.3.100.0030.0154.66
4.3.90.0030.0154.64
4.3.80.0030.0244.58
4.3.70.0040.0204.63
4.3.60.0040.0184.63
4.3.50.0050.0144.63
4.3.40.0040.0224.54
4.3.30.0010.0173.30
4.3.20.0020.0163.29
4.3.10.0010.0163.25
4.3.00.0000.0237.55

preferences:
141.53 ms | 1394 KiB | 7 Q