3v4l.org

run code in 300+ PHP versions simultaneously
<?php functionconvertAssociativeArrayToValue(array$data){$result=[];foreach($dataas$key=>$value){$result[]="{$key}:{$value}";}}$parameters=array('deal'=>123123,'sold'=>'asff3rafdsa,'refused'=>'asd3faefafda');echo"|parameters:[".implode(",'",convertAssociativeArrayToValue($parameters))."]";

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.04719.06
5.4.310.0330.05719.13
5.4.300.0270.06318.94
5.4.290.0200.07719.19
5.4.280.0100.05018.98
5.4.270.0330.05318.96
5.4.260.0170.04318.98
5.4.250.0170.03719.21
5.4.240.0100.04019.23
5.4.230.0170.03719.22
5.4.220.0170.03319.00
5.4.210.0230.04719.08
5.4.200.0230.04319.31
5.4.190.0200.03319.23
5.4.180.0170.04019.21
5.4.170.0170.04719.07
5.4.160.0200.04719.14
5.4.150.0170.03319.14
5.4.140.0170.03316.38
5.4.130.0200.02716.50
5.4.120.0070.04016.66
5.4.110.0170.03316.19
5.4.100.0170.03716.46
5.4.90.0070.04016.41
5.4.80.0130.03316.52
5.4.70.0100.04016.57
5.4.60.0130.03716.54
5.4.50.0100.03716.38
5.4.40.0130.05316.42
5.4.30.0170.05316.55
5.4.20.0130.03316.37
5.4.10.0170.04016.34
5.4.00.0200.04315.80
5.3.290.0130.04314.47
5.3.280.0100.04014.62
5.3.270.0230.04014.45
5.3.260.0130.03714.46
5.3.250.0100.04314.46
5.3.240.0100.04014.46
5.3.230.0170.03314.55
5.3.220.0170.03314.60
5.3.210.0170.03314.59
5.3.200.0130.03714.66
5.3.190.0100.04314.41
5.3.180.0170.03314.44
5.3.170.0130.03714.39
5.3.160.0170.03314.55
5.3.150.0130.04314.40
5.3.140.0130.03714.49
5.3.130.0170.03714.48
5.3.120.0130.03714.46
5.3.110.0130.05714.42
5.3.100.0330.02713.89
5.3.90.0270.07013.86
5.3.80.0330.06313.96
5.3.70.0200.07013.97
5.3.60.0170.04713.84
5.3.50.0200.06013.79
5.3.40.0200.05013.80
5.3.30.0270.04713.75
5.3.20.0130.04713.64
5.3.10.0170.07013.56
5.3.00.0170.03713.68
5.2.170.0130.04712.07
5.2.160.0200.06012.07
5.2.150.0330.05012.07
5.2.140.0200.03012.07
5.2.130.0200.04012.07
5.2.120.0270.06012.07
5.2.110.0270.06312.07
5.2.100.0230.04012.07
5.2.90.0100.03712.07
5.2.80.0270.05312.07
5.2.70.0230.05712.07
5.2.60.0200.06012.07
5.2.50.0170.06012.07
5.2.40.0130.05012.07
5.2.30.0230.05012.07
5.2.20.0130.03012.07
5.2.10.0130.06312.07
5.2.00.0170.05012.07
5.1.60.0100.03012.07
5.1.50.0170.04712.07
5.1.40.0100.03312.07
5.1.30.0130.05312.07
5.1.20.0170.05712.07
5.1.10.0100.03712.07
5.1.00.0170.03712.07
5.0.50.0130.03012.07
5.0.40.0130.02012.07
5.0.30.0100.03712.07
5.0.20.0130.02312.07
5.0.10.0070.04312.07
5.0.00.0100.06012.07
4.4.90.0130.03012.07
4.4.80.0070.03012.07
4.4.70.0100.03312.07
4.4.60.0070.04012.07
4.4.50.0100.03312.07
4.4.40.0100.03012.07
4.4.30.0070.03312.07
4.4.20.0100.02312.07
4.4.10.0070.03712.07
4.4.00.0070.04012.07
4.3.110.0100.03312.07
4.3.100.0100.02012.07
4.3.90.0030.02312.07
4.3.80.0070.03712.07
4.3.70.0100.01712.07
4.3.60.0070.03312.07
4.3.50.0070.03012.07
4.3.40.0070.04012.07
4.3.30.0000.03012.07
4.3.20.0070.03712.07
4.3.10.0070.03712.07
4.3.00.0070.03312.07

preferences:
137.74 ms | 1394 KiB | 7 Q