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 "exec "@$key = .'$array'. ,\n""; } array_walk($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.0080.03512.52
5.4.310.0100.05212.51
5.4.300.0140.03712.52
5.4.290.0100.03712.51
5.4.280.0120.03612.41
5.4.270.0050.04912.41
5.4.260.0070.05312.41
5.4.250.0090.04512.41
5.4.240.0080.04612.41
5.4.230.0080.03712.40
5.4.220.0070.05012.40
5.4.210.0080.05412.40
5.4.200.0070.04012.40
5.4.190.0080.04312.39
5.4.180.0080.04412.40
5.4.170.0070.03812.41
5.4.160.0070.03512.40
5.4.150.0050.04012.40
5.4.140.0050.03912.09
5.4.130.0050.04012.07
5.4.120.0080.03412.04
5.4.110.0040.04112.03
5.4.100.0080.03712.03
5.4.90.0060.04112.03
5.4.80.0080.04412.03
5.4.70.0090.04412.02
5.4.60.0070.04012.02
5.4.50.0070.04012.03
5.4.40.0050.04512.02
5.4.30.0060.04012.01
5.4.20.0040.03912.01
5.4.10.0070.04112.01
5.4.00.0100.03711.50
5.3.290.0080.04712.80
5.3.280.0080.04112.71
5.3.270.0090.04312.73
5.3.260.0060.04412.71
5.3.250.0130.03712.72
5.3.240.0090.03912.72
5.3.230.0120.04312.71
5.3.220.0130.04912.68
5.3.210.0060.05112.68
5.3.200.0100.04912.68
5.3.190.0120.04412.67
5.3.180.0070.04712.67
5.3.170.0060.04612.67
5.3.160.0080.04412.67
5.3.150.0130.04012.67
5.3.140.0100.03612.66
5.3.130.0100.04712.66
5.3.120.0100.05412.66
5.3.110.0120.04512.66
5.3.100.0100.05312.12
5.3.90.0120.04012.10
5.3.80.0110.04112.10
5.3.70.0100.04112.10
5.3.60.0060.04712.08
5.3.50.0050.04912.03
5.3.40.0090.04312.02
5.3.30.0020.03911.98
5.3.20.0080.03411.76
5.3.10.0060.03611.73
5.3.00.0050.03711.72
5.2.170.0030.0339.22
5.2.160.0090.0259.22
5.2.150.0020.0349.21
5.2.140.0060.0299.21
5.2.130.0080.0259.17
5.2.120.0080.0309.17
5.2.110.0030.0299.18
5.2.100.0090.0339.18
5.2.90.0080.0359.18
5.2.80.0050.0339.17
5.2.70.0040.0389.18
5.2.60.0070.0299.13
5.2.50.0060.0329.11
5.2.40.0040.0289.08
5.2.30.0040.0319.05
5.2.20.0050.0279.04
5.2.10.0030.0288.95
5.2.00.0040.0308.80
5.1.60.0020.0268.10
5.1.50.0060.0238.09
5.1.40.0030.0368.07
5.1.30.0050.0328.42
5.1.20.0040.0298.43
5.1.10.0000.0308.17
5.1.00.0030.0278.17
5.0.50.0040.0226.64
5.0.40.0040.0256.50
5.0.30.0050.0386.31
5.0.20.0060.0266.28
5.0.10.0030.0206.26
5.0.00.0050.0456.25
4.4.90.0020.0164.78
4.4.80.0030.0184.75
4.4.70.0040.0144.75
4.4.60.0040.0144.75
4.4.50.0020.0154.77
4.4.40.0050.0374.71
4.4.30.0040.0244.76
4.4.20.0020.0164.84
4.4.10.0020.0164.84
4.4.00.0050.0324.75
4.3.110.0030.0224.67
4.3.100.0040.0154.66
4.3.90.0050.0184.63
4.3.80.0020.0254.59
4.3.70.0020.0244.63
4.3.60.0040.0144.63
4.3.50.0050.0184.63
4.3.40.0060.0294.54
4.3.30.0010.0183.30
4.3.20.0020.0163.29
4.3.10.0010.0163.25
4.3.00.0130.01314.28

preferences:
148.14 ms | 1394 KiB | 7 Q