3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'https://example.com/t/c/?cid=4924&sub1=342&asdjjn=2333'; $parts = parse_url($url); $newUrl = 'https://example.com/t/t?ex=823948923849'; printf('%s&%s', $newUrl, $parts['query']); parse_str($parts['query'], $output); print_r($output);

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.0100.00718.18
8.3.50.0110.01021.95
8.3.40.0180.00318.74
8.3.30.0070.01018.94
8.3.20.0050.00320.16
8.3.10.0080.00020.39
8.3.00.0100.00017.80
8.2.180.0070.00716.63
8.2.170.0080.01122.96
8.2.160.0040.01120.57
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0000.01126.16
8.2.120.0040.00422.27
8.2.110.0060.00320.39
8.2.100.0110.00017.59
8.2.90.0070.00019.08
8.2.80.0050.00317.97
8.2.70.0050.00317.38
8.2.60.0050.00517.80
8.2.50.0090.00018.07
8.2.40.0040.00418.20
8.2.30.0000.00719.25
8.2.20.0070.00017.59
8.2.10.0040.00418.15
8.2.00.0050.00317.68
8.1.280.0100.00325.92
8.1.270.0000.00822.05
8.1.260.0030.00626.35
8.1.250.0040.00428.09
8.1.240.0030.00623.96
8.1.230.0070.00418.99
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0070.00317.25
8.1.190.0000.00817.23
8.1.180.0000.00718.10
8.1.170.0000.01118.48
8.1.160.0040.00422.00
8.1.150.0070.00018.82
8.1.140.0040.00417.42
8.1.130.0000.00817.88
8.1.120.0040.00417.34
8.1.110.0000.00817.30
8.1.100.0080.00017.40
8.1.90.0000.00717.43
8.1.80.0070.00017.33
8.1.70.0030.00317.42
8.1.60.0000.00817.38
8.1.50.0000.00817.46
8.1.40.0000.00817.37
8.1.30.0030.00617.59
8.1.20.0050.00317.58
8.1.10.0000.00817.61
8.1.00.0060.00317.55
8.0.300.0000.00718.77
8.0.290.0040.00416.63
8.0.280.0000.00718.39
8.0.270.0000.00717.20
8.0.260.0040.00418.32
8.0.250.0070.00016.93
8.0.240.0060.00016.79
8.0.230.0060.00016.85
8.0.220.0050.00216.84
8.0.210.0060.00016.82
8.0.200.0030.00316.92
8.0.190.0050.00216.85
8.0.180.0000.00716.89
8.0.170.0050.00316.92
8.0.160.0050.00316.81
8.0.150.0000.00716.76
8.0.140.0040.00416.65
8.0.130.0000.00513.27
8.0.120.0040.00416.64
8.0.110.0040.00416.83
8.0.100.0000.00816.86
8.0.90.0000.00816.86
8.0.80.0060.00916.80
8.0.70.0000.00816.90
8.0.60.0040.00416.85
8.0.50.0040.00416.85
8.0.30.0110.00817.17
8.0.20.0080.01117.40
8.0.10.0040.00416.88
8.0.00.0070.01116.72
7.4.330.0000.00615.00
7.4.320.0060.00016.45
7.4.300.0030.00316.55
7.4.290.0030.00316.52
7.4.280.0030.00516.58
7.4.270.0030.00316.53
7.4.260.0000.00716.50
7.4.250.0080.00016.55
7.4.240.0020.00516.45
7.4.230.0040.00416.63
7.4.220.0060.01416.52
7.4.210.0060.01316.40
7.4.200.0000.00716.47
7.4.160.0090.00616.43
7.4.150.0060.01217.40
7.4.140.0100.01017.86
7.4.130.0090.00816.40
7.4.120.0120.00516.34
7.4.110.0130.01016.30
7.4.100.0080.00916.57
7.4.90.0090.00916.40
7.4.80.0080.00916.49
7.4.70.0090.00916.44
7.4.60.0130.00316.45
7.4.50.0000.00716.08
7.4.40.0100.01016.60
7.4.30.0030.01616.45
7.4.00.0110.00715.05
7.3.330.0020.00212.95
7.3.320.0020.00212.96
7.3.310.0070.00016.14
7.3.300.0000.00716.20
7.3.290.0130.00616.16
7.3.280.0130.00616.25
7.3.270.0070.01017.40
7.3.260.0030.01416.17
7.3.250.0050.01516.36
7.3.240.0090.01216.50
7.3.230.0100.00616.39
7.3.210.0160.00616.23
7.3.200.0060.01319.39
7.3.190.0100.00616.34
7.3.180.0030.01316.44
7.3.170.0120.00416.41
7.3.160.0110.00416.20
7.3.10.0040.01116.74
7.3.00.0070.00716.42
7.2.330.0130.01316.45
7.2.320.0030.01316.63
7.2.310.0070.01016.16
7.2.300.0080.00816.49
7.2.290.0060.01016.61
7.2.130.0070.01016.78
7.2.120.0060.00616.92
7.2.110.0070.00716.79
7.2.100.0030.01316.49
7.2.90.0060.00316.67
7.2.80.0000.01716.82
7.2.70.0090.00616.80
7.2.60.0050.00816.77
7.2.50.0070.00717.00
7.2.40.0090.00616.89
7.2.30.0070.01016.90
7.2.20.0060.01016.86
7.2.10.0030.01316.87
7.2.00.0030.01218.13
7.1.250.0150.00015.63
7.1.200.0100.00315.85
7.1.100.0060.00617.93
7.1.70.0030.00517.22
7.1.60.0100.01319.32
7.1.50.0100.01017.04
7.1.00.0000.08022.48
7.0.200.0080.00316.67
7.0.140.0100.06321.91
7.0.60.0130.07019.91
7.0.50.0070.04717.87
7.0.40.0100.08720.06
7.0.30.0200.05320.09
7.0.20.0230.07020.29
7.0.10.0030.08320.13
7.0.00.0030.04020.09
5.6.280.0100.06721.09
5.6.210.0130.07320.70
5.6.200.0030.06718.13
5.6.190.0000.05020.58
5.6.180.0600.06320.41
5.6.170.0230.08020.51
5.6.160.0070.07320.48
5.6.150.0070.06318.19
5.6.140.0070.05318.26
5.6.130.0030.07718.16
5.6.120.0100.08020.88
5.6.110.0130.08321.02
5.6.100.0100.06020.95
5.6.90.0030.04721.01
5.6.80.0100.06020.46
5.5.350.0200.06720.38
5.5.340.0100.08018.03
5.5.330.0000.04320.14
5.5.320.0370.04320.34
5.5.310.0200.04020.13
5.5.300.0070.03317.96
5.5.290.0100.08017.90
5.5.280.0100.04020.79
5.5.270.0000.04320.74
5.5.260.0100.06320.67
5.5.250.0030.04320.68
5.5.240.0100.07720.36
5.4.450.0330.06019.47
5.4.440.0570.05319.43
5.4.430.0230.05319.54
5.4.420.0670.05319.45
5.4.410.0870.05719.50
5.4.400.0730.05719.19
5.4.390.0700.05018.99
5.4.380.0170.06718.62
5.4.370.0200.05018.59
5.4.360.0170.05318.70
5.4.350.0230.05018.61
5.4.340.0130.06718.72
5.4.320.0070.04212.45
5.4.310.0040.04012.45
5.4.300.0050.03812.45
5.4.290.0080.03512.45
5.4.280.0050.03812.34
5.4.270.0070.03512.34
5.4.260.0050.03812.34
5.4.250.0040.03912.35
5.4.240.0060.04412.34
5.4.230.0060.03812.34
5.4.220.0070.03512.34
5.4.210.0080.03212.34
5.4.200.0070.03712.34
5.4.190.0050.03612.34
5.4.180.0030.04112.34
5.4.170.0050.03712.34
5.4.160.0080.03412.34
5.4.150.0110.03112.34
5.4.140.0040.04012.02
5.4.130.0080.03912.01
5.4.120.0070.03411.96
5.4.110.0070.03411.96
5.4.100.0060.03411.96
5.4.90.0060.03511.96
5.4.80.0060.03611.96
5.4.70.0070.03211.96
5.4.60.0080.03411.96
5.4.50.0040.04211.96
5.4.40.0080.03511.95
5.4.30.0070.03811.95
5.4.20.0090.03311.95
5.4.10.0080.03211.95
5.4.00.0080.03411.43
5.3.290.0040.04012.80
5.3.280.0030.04012.70
5.3.270.0080.03812.72
5.3.260.0110.03412.72
5.3.250.0040.03912.72
5.3.240.0060.03612.71
5.3.230.0050.04012.71
5.3.220.0090.04012.68
5.3.210.0070.03712.68
5.3.200.0080.04112.68
5.3.190.0070.03912.68
5.3.180.0090.03912.67
5.3.170.0080.03412.67
5.3.160.0110.03212.68
5.3.150.0050.03812.68
5.3.140.0120.04612.66
5.3.130.0060.03812.66
5.3.120.0100.03712.66
5.3.110.0050.03912.66
5.3.100.0090.03312.12
5.3.90.0050.03812.09
5.3.80.0080.03512.07
5.3.70.0070.04112.08
5.3.60.0100.03112.06
5.3.50.0050.04212.00
5.3.40.0100.03712.00
5.3.30.0060.04011.95
5.3.20.0050.03811.72
5.3.10.0070.03311.69
5.3.00.0040.03811.68
5.2.170.0040.0319.18
5.2.160.0090.0309.18
5.2.150.0060.0389.18
5.2.140.0100.0279.18
5.2.130.0070.0269.13
5.2.120.0030.0309.13
5.2.110.0020.0349.14
5.2.100.0060.0299.14
5.2.90.0030.0329.13
5.2.80.0040.0329.14
5.2.70.0060.0309.14
5.2.60.0050.0309.08
5.2.50.0020.0329.06
5.2.40.0070.0259.03
5.2.30.0030.0319.01
5.2.20.0040.0299.00
5.2.10.0050.0278.92
5.2.00.0030.0308.77
5.1.60.0020.0258.06
5.1.50.0050.0258.06
5.1.40.0060.0228.04
5.1.30.0040.0268.39
5.1.20.0070.0238.41
5.1.10.0040.0268.14
5.1.00.0010.0288.14
5.0.50.0040.0206.62
5.0.40.0030.0206.48
5.0.30.0050.0296.29
5.0.20.0060.0216.26
5.0.10.0030.0216.24
5.0.00.0040.0306.23
4.4.90.0060.0134.78
4.4.80.0050.0144.75
4.4.70.0020.0164.75
4.4.60.0000.0184.76
4.4.50.0040.0144.77
4.4.40.0020.0304.71
4.4.30.0030.0144.76
4.4.20.0020.0164.85
4.4.10.0030.0154.85
4.4.00.0060.0214.76
4.3.110.0010.0174.67
4.3.100.0030.0154.66
4.3.90.0040.0134.63
4.3.80.0030.0254.58
4.3.70.0040.0164.63
4.3.60.0030.0144.63
4.3.50.0040.0144.63
4.3.40.0030.0244.54
4.3.30.0030.0153.28
4.3.20.0020.0163.25
4.3.10.0010.0163.22
4.3.00.0030.0206.73

preferences:
41.23 ms | 401 KiB | 5 Q