3v4l.org

run code in 300+ PHP versions simultaneously
<?php $result = []; parse_str("name=foo&parentCategory=foo&active=foo&type=1", $result); json_encode($result);

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.0130.00718.18
8.3.50.0040.01118.05
8.3.40.0110.00418.54
8.3.30.0100.00318.54
8.3.20.0000.00720.21
8.3.10.0060.00320.36
8.3.00.0060.00320.27
8.2.180.0100.01018.29
8.2.170.0150.00322.96
8.2.160.0130.00322.07
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0040.00418.79
8.2.120.0000.00726.35
8.2.110.0100.00719.08
8.2.100.0040.00717.93
8.2.90.0030.00519.22
8.2.80.0060.00317.97
8.2.70.0030.00517.38
8.2.60.0050.00317.93
8.2.50.0000.00818.09
8.2.40.0040.00420.42
8.2.30.0040.00419.25
8.2.20.0000.00717.66
8.2.10.0040.00417.91
8.2.00.0000.00718.02
8.1.280.0060.00925.92
8.1.270.0080.00023.77
8.1.260.0050.00328.09
8.1.250.0040.00428.09
8.1.240.0070.01022.72
8.1.230.0060.00617.83
8.1.220.0000.00817.74
8.1.210.0030.00618.77
8.1.200.0060.00317.10
8.1.190.0050.00317.10
8.1.180.0040.00418.10
8.1.170.0000.01018.23
8.1.160.0000.00820.88
8.1.150.0050.00218.81
8.1.140.0000.00719.51
8.1.130.0050.00217.70
8.1.120.0000.00717.27
8.1.110.0000.00817.28
8.1.100.0050.00317.40
8.1.90.0040.00417.38
8.1.80.0040.00417.32
8.1.70.0000.00717.29
8.1.60.0000.00817.42
8.1.50.0060.00317.52
8.1.40.0040.00417.35
8.1.30.0000.00817.59
8.1.20.0040.00417.52
8.1.10.0040.00417.41
8.1.00.0000.00817.46
8.0.300.0070.00018.77
8.0.290.0000.00716.63
8.0.280.0030.00318.38
8.0.270.0040.00417.13
8.0.260.0030.00317.07
8.0.250.0000.00616.91
8.0.240.0040.00416.79
8.0.230.0030.00316.89
8.0.220.0000.00716.71
8.0.210.0070.00016.70
8.0.200.0000.00616.86
8.0.190.0000.00816.79
8.0.180.0000.00816.75
8.0.170.0040.00416.95
8.0.160.0040.00416.96
8.0.150.0040.00316.79
8.0.140.0040.00416.73
8.0.130.0060.00013.30
8.0.120.0000.00816.77
8.0.110.0040.00416.85
8.0.100.0000.00716.89
8.0.90.0020.00516.71
8.0.80.0070.00716.72
8.0.70.0050.00216.92
8.0.60.0030.00416.74
8.0.50.0040.00416.66
8.0.30.0130.00616.82
8.0.20.0070.01117.40
8.0.10.0040.00416.73
8.0.00.0110.00616.73
7.4.330.0000.00516.84
7.4.320.0000.00616.39
7.4.300.0000.00616.30
7.4.290.0070.00016.53
7.4.280.0000.00916.45
7.4.270.0040.00416.39
7.4.260.0000.00716.41
7.4.250.0030.00316.39
7.4.240.0000.00716.46
7.4.230.0070.00016.64
7.4.220.0120.00916.34
7.4.210.0040.01116.43
7.4.200.0060.00016.33
7.4.160.0070.00716.38
7.4.150.0000.01717.40
7.4.140.0050.01717.86
7.4.130.0090.01116.45
7.4.120.0130.00616.38
7.4.110.0050.01116.37
7.4.100.0080.00816.50
7.4.90.0140.00316.28
7.4.80.0060.01519.39
7.4.70.0070.01016.44
7.4.60.0060.00916.39
7.4.50.0000.01416.30
7.4.40.0120.00616.37
7.4.30.0100.01016.45
7.4.00.0070.01014.59
7.3.330.0020.00213.08
7.3.320.0000.00513.00
7.3.310.0070.00016.15
7.3.300.0060.00016.18
7.3.290.0110.00716.15
7.3.280.0040.01216.14
7.3.270.0090.00917.40
7.3.260.0060.01516.45
7.3.250.0090.01016.22
7.3.240.0060.01116.29
7.3.230.0030.01316.39
7.3.210.0070.01016.23
7.3.200.0090.00616.08
7.3.190.0140.00316.24
7.3.180.0060.00916.21
7.3.170.0090.00916.29
7.3.160.0120.00916.50
7.2.330.0140.00416.49
7.2.320.0130.01016.43
7.2.310.0090.00916.15
7.2.300.0060.01016.45
7.2.290.0040.01216.42
7.2.110.0210.00616.33
7.2.60.0090.00316.52
7.2.00.0090.00919.24
7.1.200.0060.00615.86
7.1.100.0070.01017.90
7.1.70.0000.00917.21
7.1.60.0060.01619.77
7.1.00.0100.07022.43
7.0.200.0190.00316.58
7.0.90.0600.09019.84
7.0.80.0630.07019.90
7.0.70.0400.05019.83
7.0.60.0430.09020.00
7.0.50.0570.03320.38
7.0.40.0030.04320.14
7.0.30.0030.06020.08
7.0.20.0100.08320.14
7.0.10.0100.07720.14
7.0.00.0000.05720.14
5.6.280.0000.07720.84
5.6.240.0100.06720.70
5.6.230.0100.06320.62
5.6.220.0170.07020.61
5.6.210.0030.07320.41
5.6.200.0170.07720.93
5.6.190.0030.04321.00
5.6.180.0030.07721.17
5.6.170.0030.04721.13
5.6.160.0030.08721.00
5.6.150.0130.07721.05
5.6.140.0130.05021.07
5.6.130.0000.06720.93
5.6.120.0030.08721.00
5.6.110.0100.07321.09
5.6.100.0070.05020.93
5.6.90.0200.07720.98
5.6.80.0000.09020.39
5.6.70.0070.06720.42
5.6.60.0030.04720.47
5.6.50.0030.07320.31
5.6.40.0100.08320.41
5.6.30.0230.06720.46
5.6.20.0170.06720.46
5.6.10.0100.07020.39
5.6.00.0100.07320.36
5.5.380.0000.08720.29
5.5.370.0030.08020.40
5.5.360.0030.09020.33
5.5.350.0100.07020.31
5.5.340.0030.05020.91
5.5.330.0070.04320.82
5.5.320.0130.08320.79
5.5.310.0000.04720.89
5.5.300.0030.08720.85
5.5.290.0100.08320.87
5.5.280.0170.07720.86
5.5.270.0100.04320.90
5.5.260.0130.04020.74
5.5.250.0070.07320.68
5.5.240.0130.06720.21
5.5.230.0030.04320.27
5.5.220.0030.04320.13
5.5.210.0030.07720.20
5.5.200.0030.08020.27
5.5.190.0070.05720.11
5.5.180.0070.07720.16
5.5.160.0030.05020.07
5.5.150.0070.08319.98
5.5.140.0070.04719.94
5.5.130.0070.05720.16
5.5.120.0030.06020.10
5.5.110.0100.07720.19
5.5.100.0000.06320.11
5.5.90.0070.07720.11
5.5.80.0030.08320.06
5.5.70.0070.07720.06
5.5.60.0030.08320.09
5.5.50.0130.06320.07
5.5.40.0130.06720.04
5.5.30.0070.06020.07
5.5.20.0100.05720.14
5.5.10.0030.04020.00
5.5.00.0070.03719.98

preferences:
34.66 ms | 400 KiB | 5 Q