3v4l.org

run code in 300+ PHP versions simultaneously
<?php function NVPToArray($NVPString) { $proArray = array(); while(strlen($NVPString)) { // name $keypos= strpos($NVPString,'='); $keyval = substr($NVPString,0,$keypos); // value $valuepos = strpos($NVPString,'&') ? strpos($NVPString,'&'): strlen($NVPString); $valval = substr($NVPString,$keypos+1,$valuepos-$keypos-1); // decoding the respose $proArray[$keyval] = urldecode($valval); $NVPString = substr($NVPString,$valuepos+1,strlen($NVPString)); } return $proArray; }

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)
8.3.60.0140.00016.59
8.3.50.0090.00721.92
8.3.40.0140.00018.59
8.3.30.0100.01018.79
8.3.20.0040.00420.21
8.3.10.0040.00423.51
8.3.00.0080.00017.91
8.2.180.0140.00416.38
8.2.170.0140.00722.96
8.2.160.0070.00720.53
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0040.00420.95
8.2.110.0030.00620.15
8.2.100.0100.00317.66
8.2.90.0060.00617.50
8.2.80.0040.00417.97
8.2.70.0080.00017.68
8.2.60.0090.00017.91
8.2.50.0000.00918.10
8.2.40.0000.00821.96
8.2.30.0040.00418.20
8.2.20.0070.00017.50
8.2.10.0040.00417.81
8.2.00.0050.00317.59
8.1.280.0090.00625.92
8.1.270.0000.00823.86
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00323.88
8.1.230.0070.00319.00
8.1.220.0030.00617.74
8.1.210.0060.00318.77
8.1.200.0050.00517.10
8.1.190.0030.00517.10
8.1.180.0050.00318.10
8.1.170.0000.00918.58
8.1.160.0040.00421.94
8.1.150.0040.00418.80
8.1.140.0070.00017.31
8.1.130.0070.00017.79
8.1.120.0070.00017.23
8.1.110.0040.00417.32
8.1.100.0040.00417.30
8.1.90.0040.00417.36
8.1.80.0050.00217.25
8.1.70.0040.00417.33
8.1.60.0000.00917.47
8.1.50.0050.00317.44
8.1.40.0060.00317.30
8.1.30.0090.00017.34
8.1.20.0030.00517.46
8.1.10.0080.00017.40
8.1.00.0000.00717.34
8.0.300.0040.00419.59
8.0.290.0070.00016.63
8.0.280.0070.00018.32
8.0.270.0000.00717.23
8.0.260.0000.00616.99
8.0.250.0040.00416.81
8.0.240.0000.00816.86
8.0.230.0000.00716.70
8.0.220.0030.00316.69
8.0.210.0030.00316.71
8.0.200.0000.00716.82
8.0.190.0040.00416.71
8.0.180.0000.00716.80
8.0.170.0040.00416.82
8.0.160.0000.00716.79
8.0.150.0040.00416.66
8.0.140.0000.00716.65
8.0.130.0060.00013.15
8.0.120.0030.00616.74
8.0.110.0040.00416.65
8.0.100.0040.00416.67
8.0.90.0000.00716.82
8.0.80.0100.00916.77
8.0.70.0030.00416.64
8.0.60.0020.00516.59
8.0.50.0040.00416.68
8.0.30.0160.00816.72
8.0.20.0070.01117.40
8.0.10.0040.00416.85
8.0.00.0100.00816.44
7.4.330.0000.00515.00
7.4.320.0000.00616.29
7.4.300.0030.00316.42
7.4.290.0070.00016.39
7.4.280.0000.00716.38
7.4.270.0030.00316.54
7.4.260.0060.00316.34
7.4.250.0000.00716.35
7.4.240.0020.00516.49
7.4.230.0040.00216.41
7.4.220.0090.00916.46
7.4.210.0030.01016.41
7.4.200.0060.00316.38
7.4.160.0090.00616.33
7.4.150.0090.00917.40
7.4.140.0110.01017.86
7.4.130.0100.00616.30
7.4.120.0090.00816.39
7.4.110.0130.01016.15
7.4.100.0100.00616.34
7.4.90.0030.01316.30
7.4.80.0170.00519.39
7.4.70.0100.00716.12
7.4.60.0160.00016.28
7.4.50.0030.00516.50
7.4.40.0040.01216.45
7.4.30.0100.00616.45
7.4.00.0130.00314.95
7.3.330.0000.00613.25
7.3.320.0000.00513.04
7.3.310.0040.00416.23
7.3.300.0000.00716.05
7.3.290.0070.00716.23
7.3.280.0120.00816.16
7.3.270.0140.00317.40
7.3.260.0090.00916.05
7.3.250.0070.01016.18
7.3.240.0150.00616.24
7.3.230.0060.01016.39
7.3.210.0130.00316.20
7.3.200.0070.01019.39
7.3.190.0090.01316.38
7.3.180.0120.00416.14
7.3.170.0060.01216.46
7.3.160.0100.00616.46
7.3.120.0000.01314.55
7.2.330.0070.01016.41
7.2.320.0040.01316.58
7.2.310.0170.00916.60
7.2.300.0130.00316.32
7.2.290.0100.01016.54
7.2.00.0000.01519.32
7.1.100.0030.01017.90
7.1.70.0040.00416.84
7.1.60.0030.02019.70
7.1.50.0130.01316.62
7.1.00.0000.08022.30
7.0.200.0170.00014.70
7.0.140.0030.07322.04
7.0.110.0030.08019.95
7.0.100.0130.07720.00
7.0.90.0100.07720.06
7.0.80.0130.07319.95
7.0.70.0130.08020.05
7.0.60.0070.05020.01
7.0.50.0130.07720.28
7.0.40.0070.05320.19
7.0.30.0000.08720.06
7.0.20.0070.09020.27
7.0.10.0130.07320.21
7.0.00.0100.07720.22
5.6.280.0000.07721.02
5.6.260.0230.06320.89
5.6.250.0070.08720.59
5.6.240.0070.07720.67
5.6.230.0070.07720.55
5.6.220.0130.03320.63
5.6.210.0170.06720.60
5.6.200.0130.07021.02
5.6.190.0130.04721.20
5.6.180.0070.07720.93
5.6.170.0130.08021.08
5.6.160.0070.07721.04
5.6.150.0100.07720.95
5.6.140.0100.05721.03
5.6.130.0070.09021.21
5.6.120.0130.06721.11
5.6.110.0070.09020.95
5.6.100.0000.04720.98
5.6.90.0130.07720.90
5.6.80.0070.07720.51
5.6.70.0100.07020.30
5.6.60.0070.07720.51
5.6.50.0070.08320.33
5.6.40.0070.07720.64
5.6.30.0100.03720.29
5.6.20.0100.05320.57
5.6.10.0030.03720.31
5.6.00.0100.04720.49
5.5.380.0100.08020.54
5.5.370.0070.08020.48
5.5.360.0170.07020.32
5.5.350.0130.07320.43
5.5.340.0030.08320.91
5.5.330.0000.10320.79
5.5.320.0170.07320.96
5.5.310.0070.08720.91
5.5.300.0070.08020.70
5.5.290.0000.06020.95
5.5.280.0130.07320.95
5.5.270.0130.07320.95
5.5.260.0070.08720.94
5.5.250.0070.08020.64
5.5.240.0070.07720.40
5.5.230.0070.07720.31
5.5.220.0030.07720.39
5.5.210.0070.08020.33
5.5.200.0100.07320.18
5.5.190.0030.04720.08
5.5.180.0100.03320.32
5.5.160.0030.05020.25
5.5.150.0070.03320.21
5.5.140.0070.03720.24
5.5.130.0030.03720.15
5.5.120.0070.05320.22
5.5.110.0000.04320.38
5.5.100.0000.04020.21
5.5.90.0030.06720.00
5.5.80.0070.03319.97
5.5.70.0000.04020.02
5.5.60.0130.03020.09
5.5.50.0070.03719.97
5.5.40.0000.07320.22
5.5.30.0030.03720.03
5.5.20.0000.08320.06
5.5.10.0000.04020.17
5.5.00.0070.04020.22
5.4.450.0070.08019.35
5.4.440.0070.07719.32
5.4.430.0100.07019.31
5.4.420.0100.08319.33
5.4.410.0070.07719.38
5.4.400.0130.07319.01
5.4.390.0100.07318.98
5.4.380.0030.07719.02
5.4.370.0100.08018.97
5.4.360.0030.06719.01
5.4.350.0130.05719.14
5.4.340.0070.03719.00
5.4.320.0070.03319.23
5.4.310.0030.04019.02
5.4.300.0030.04318.99
5.4.290.0030.03719.03
5.4.280.0030.03719.13
5.4.270.0100.06019.31
5.4.260.0000.04018.98
5.4.250.0000.07019.00
5.4.240.0030.03719.33
5.4.230.0070.03719.33
5.4.220.0000.04318.94
5.4.210.0030.04019.18
5.4.200.0000.04019.13
5.4.190.0070.07319.17
5.4.180.0070.03719.02
5.4.170.0100.06318.94
5.4.160.0030.03718.99
5.4.150.0030.04319.22
5.4.140.0030.05716.38
5.4.130.0030.03316.53
5.4.120.0030.04016.39
5.4.110.0000.04716.31
5.4.100.0000.03716.55
5.4.90.0070.03716.41
5.4.80.0070.04316.39
5.4.70.0030.04016.64
5.4.60.0030.03316.48
5.4.50.0100.05316.48
5.4.40.0070.04716.59
5.4.30.0070.03316.53
5.4.20.0000.03716.57
5.4.10.0000.04016.40
5.4.00.0070.05015.77
5.3.290.0070.03314.81
5.3.280.0070.05014.74
5.3.270.0070.07014.84
5.3.260.0070.06014.61
5.3.250.0030.03714.46
5.3.240.0100.05014.83
5.3.230.0000.04014.62
5.3.220.0030.04014.70
5.3.210.0100.03014.52
5.3.200.0030.03714.58
5.3.190.0030.07714.56
5.3.180.0070.06014.55
5.3.170.0030.04014.64
5.3.160.0070.03314.59
5.3.150.0000.05714.58
5.3.140.0030.03714.54
5.3.130.0070.03714.55
5.3.120.0030.03714.67
5.3.110.0000.04714.63
5.3.100.0000.04014.05
5.3.90.0030.03714.17
5.3.80.0030.03314.03
5.3.70.0000.04714.08
5.3.60.0200.05714.01
5.3.50.0000.07713.92
5.3.40.0070.07714.09
5.3.30.0070.07013.90
5.3.20.0100.07013.82
5.3.10.0030.07013.88
5.3.00.0030.07713.72
5.2.170.0070.06311.82
5.2.160.0000.06311.82
5.2.150.0030.06711.82
5.2.140.0130.05311.82
5.2.130.0000.06311.82
5.2.120.0130.05711.82
5.2.110.0070.05711.82
5.2.100.0070.05711.82
5.2.90.0000.06711.82
5.2.80.0030.04011.82
5.2.70.0130.05011.82
5.2.60.0100.05311.82
5.2.50.0030.06711.82
5.2.40.0030.04011.82
5.2.30.0070.05711.82
5.2.20.0100.05311.82
5.2.10.0030.06311.82
5.2.00.0030.06311.82
5.1.60.0100.04711.82
5.1.50.0100.04711.82
5.1.40.0070.05011.82
5.1.30.0000.05711.82
5.1.20.0030.05711.82
5.1.10.0030.05711.82
5.1.00.0100.04011.82
5.0.50.0070.04311.82
5.0.40.0070.04011.82
5.0.30.0000.06711.82
5.0.20.0070.04011.82
5.0.10.0030.04711.82
5.0.00.0000.04311.82
4.4.90.0070.03011.82
4.4.80.0030.03311.82
4.4.70.0030.03311.82
4.4.60.0100.02311.82
4.4.50.0000.03711.82
4.4.40.0000.05311.82
4.4.30.0000.02711.82
4.4.20.0000.03011.82
4.4.10.0030.03311.82
4.4.00.0070.05011.82
4.3.110.0070.03011.82
4.3.100.0000.03311.82
4.3.90.0030.03311.82
4.3.80.0030.05311.82
4.3.70.0000.03711.82
4.3.60.0000.03711.82
4.3.50.0000.03711.82
4.3.40.0030.05011.82
4.3.30.0000.03311.82
4.3.20.0000.03311.82
4.3.10.0070.03011.82
4.3.00.0070.03011.82

preferences:
50.4 ms | 401 KiB | 5 Q