3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "first=value&arr[]=foo+bar&arr[]=baz"; // Recommended $d = parse_str($str, $output); var_dump($d);

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.0070.01116.63
8.3.50.0110.00416.19
8.3.40.0110.00318.59
8.3.30.0140.00018.46
8.3.20.0030.00520.29
8.3.10.0040.00421.74
8.3.00.0090.00017.43
8.2.180.0090.00618.41
8.2.170.0120.00322.96
8.2.160.0150.00620.57
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00421.12
8.2.120.0040.00426.35
8.2.110.0100.01021.10
8.2.100.0070.00417.59
8.2.90.0000.00819.23
8.2.80.0000.00817.97
8.2.70.0080.00417.50
8.2.60.0050.00317.80
8.2.50.0030.00618.10
8.2.40.0040.00420.57
8.2.30.0030.00519.26
8.2.20.0040.00417.87
8.2.10.0040.00417.93
8.2.00.0070.00017.95
8.1.280.0070.00725.92
8.1.270.0050.00322.14
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00322.25
8.1.230.0090.00322.70
8.1.220.0080.00017.74
8.1.210.0080.00018.77
8.1.200.0060.00317.23
8.1.190.0000.00817.23
8.1.180.0040.00418.10
8.1.170.0080.00018.59
8.1.160.0000.00719.02
8.1.150.0040.00418.88
8.1.140.0000.00719.52
8.1.130.0000.00818.73
8.1.120.0000.00717.39
8.1.110.0040.00417.39
8.1.100.0030.00617.36
8.1.90.0030.00517.30
8.1.80.0000.00717.33
8.1.70.0030.00717.42
8.1.60.0000.00817.48
8.1.50.0060.00317.47
8.1.40.0050.00317.46
8.1.30.0000.00817.59
8.1.20.0000.00717.62
8.1.10.0040.00417.54
8.1.00.0070.00017.41
8.0.300.0050.00318.77
8.0.290.0040.00416.63
8.0.280.0000.00618.37
8.0.270.0030.00317.13
8.0.260.0060.00016.76
8.0.250.0070.00016.92
8.0.240.0030.00816.89
8.0.230.0000.00816.96
8.0.220.0030.00616.84
8.0.210.0040.00416.84
8.0.200.0000.00616.75
8.0.190.0040.00416.84
8.0.180.0000.00716.85
8.0.170.0030.00416.95
8.0.160.0070.00016.70
8.0.150.0000.00716.88
8.0.140.0070.00016.68
8.0.130.0050.00013.25
8.0.120.0000.00716.78
8.0.110.0000.00716.84
8.0.100.0000.00916.65
8.0.90.0070.00016.95
8.0.80.0100.01016.87
8.0.70.0070.00016.72
8.0.60.0040.00416.70
8.0.50.0040.00416.77
8.0.30.0100.00917.04
8.0.20.0080.01017.40
8.0.10.0040.00416.84
8.0.00.0100.00716.73
7.4.330.0000.00515.55
7.4.320.0060.00016.46
7.4.300.0030.00316.59
7.4.290.0030.00316.44
7.4.280.0000.00816.44
7.4.270.0000.00716.39
7.4.260.0030.00313.14
7.4.250.0000.00716.50
7.4.240.0080.00016.48
7.4.230.0000.00716.44
7.4.220.0030.01516.43
7.4.210.0090.00916.44
7.4.200.0000.00716.57
7.4.160.0090.00916.52
7.4.150.0120.01217.40
7.4.140.0100.00717.86
7.4.130.0120.00616.27
7.4.120.0110.00816.46
7.4.110.0080.00816.43
7.4.100.0120.00416.34
7.4.90.0070.01116.52
7.4.80.0070.01019.39
7.4.70.0000.01516.50
7.4.60.0070.01116.52
7.4.50.0030.00716.52
7.4.40.0070.01016.48
7.4.30.0090.00916.39
7.4.00.0040.01114.74
7.3.330.0000.00512.85
7.3.320.0030.00312.89
7.3.310.0030.00316.18
7.3.300.0070.00016.09
7.3.290.0090.00716.16
7.3.280.0080.00716.16
7.3.270.0060.01017.40
7.3.260.0110.00816.15
7.3.250.0100.00816.32
7.3.240.0080.01016.30
7.3.230.0090.01516.29
7.3.210.0070.01016.40
7.3.200.0060.01116.26
7.3.190.0110.00616.39
7.3.180.0090.00616.16
7.3.170.0040.01416.32
7.3.160.0120.00316.13
7.2.330.0140.00416.48
7.2.320.0000.01616.36
7.2.310.0030.01316.54
7.2.300.0190.00416.37
7.2.290.0090.00616.30
7.2.60.0110.00316.57
7.2.00.0040.00818.98
7.1.100.0000.01318.17
7.1.70.0180.00615.39
7.1.60.0180.01532.86
7.1.50.0170.01332.55
7.1.40.0500.01732.65
7.1.30.0240.00632.31
7.1.20.0250.00632.75
7.1.10.0050.01414.56
7.1.00.0080.00814.67
7.0.200.0120.00415.00
7.0.190.0130.00514.60
7.0.180.0030.01314.24
7.0.170.0080.00814.40
7.0.160.0130.00314.24
7.0.150.0090.00914.24
7.0.140.0110.00614.63
7.0.130.0120.00614.55
7.0.120.0110.00814.45
7.0.110.0150.00014.29
7.0.100.0110.00414.44
7.0.90.0120.00314.46
7.0.80.0060.00914.54
7.0.70.0040.01314.39
7.0.60.0110.00814.18
7.0.50.0140.00214.60
7.0.40.0100.00714.47
7.0.30.0130.00314.82
7.0.20.0110.00514.48
7.0.10.0180.00014.43
7.0.00.0080.00814.43

preferences:
46.22 ms | 401 KiB | 5 Q