3v4l.org

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

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.40.0150.00618.70
8.3.30.0100.01019.08
8.3.20.0080.00020.30
8.3.10.0050.00320.66
8.3.00.0050.00318.01
8.2.170.0110.00322.96
8.2.160.0080.00620.53
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0110.00726.16
8.2.120.0040.00422.09
8.2.110.0040.00420.51
8.2.100.0040.00817.78
8.2.90.0000.00817.99
8.2.80.0030.00518.99
8.2.70.0030.00717.50
8.2.60.0000.00818.03
8.2.50.0030.00618.07
8.2.40.0040.00419.88
8.2.30.0050.00318.05
8.2.20.0000.00717.65
8.2.10.0060.00318.05
8.2.00.0030.00717.80
8.1.270.0080.00022.14
8.1.260.0030.00626.35
8.1.250.0040.00428.09
8.1.240.0060.00323.84
8.1.230.0090.00319.15
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0090.00017.13
8.1.190.0050.00317.13
8.1.180.0040.00418.10
8.1.170.0060.00318.52
8.1.160.0000.00718.79
8.1.150.0000.00718.88
8.1.140.0040.00417.43
8.1.130.0040.00417.85
8.1.120.0000.00817.41
8.1.110.0020.00517.39
8.1.100.0040.00417.42
8.1.90.0070.00017.41
8.1.80.0000.00817.45
8.1.70.0070.00017.31
8.1.60.0000.00917.42
8.1.50.0000.00917.57
8.1.40.0000.00817.54
8.1.30.0030.00517.53
8.1.20.0040.00417.59
8.1.10.0000.00817.49
8.1.00.0000.00817.55
8.0.300.0000.00718.77
8.0.290.0070.00016.75
8.0.280.0000.00718.25
8.0.270.0030.00317.23
8.0.260.0030.00317.19
8.0.250.0000.00716.85
8.0.240.0000.00716.95
8.0.230.0000.00716.86
8.0.220.0000.00716.88
8.0.210.0030.00316.87
8.0.200.0030.00516.98
8.0.190.0070.00016.95
8.0.180.0070.00016.93
8.0.170.0050.00216.88
8.0.160.0070.00016.84
8.0.150.0000.00716.87
8.0.140.0000.00716.89
8.0.130.0030.00313.36
8.0.120.0040.00416.83
8.0.110.0030.00516.78
8.0.100.0070.00016.95
8.0.90.0080.00016.93
8.0.80.0130.00916.88
8.0.70.0000.00716.85
8.0.60.0000.00716.71
8.0.50.0000.00716.93
8.0.30.0120.00617.07
8.0.20.0080.01017.40
8.0.10.0030.00517.11
8.0.00.0110.00616.63
7.4.330.0040.00015.00
7.4.320.0000.00616.43
7.4.300.0030.00316.54
7.4.290.0000.00716.43
7.4.280.0030.00316.55
7.4.270.0030.00316.30
7.4.260.0050.00516.37
7.4.250.0090.00016.42
7.4.240.0020.00516.47
7.4.230.0000.00716.25
7.4.220.0130.00716.64
7.4.210.0100.01016.50
7.4.200.0050.00216.34
7.4.160.0040.01216.52
7.4.150.0150.00417.40
7.4.140.0120.00817.86
7.4.130.0090.00716.48
7.4.120.0080.00816.48
7.4.110.0150.00416.43
7.4.100.0070.01316.44
7.4.90.0100.00616.43
7.4.80.0120.00616.34
7.4.70.0060.00916.51
7.4.60.0120.00616.34
7.4.50.0000.00816.39
7.4.40.0090.00616.29
7.4.30.0080.00816.53
7.4.00.0030.01215.07
7.3.330.0030.00313.10
7.3.320.0030.00313.00
7.3.310.0000.00716.37
7.3.300.0030.00416.24
7.3.290.0070.00716.22
7.3.280.0080.01016.27
7.3.270.0030.01317.40
7.3.260.0060.01016.21
7.3.250.0070.01016.20
7.3.240.0060.01216.26
7.3.230.0140.00916.39
7.3.210.0140.00416.54
7.3.200.0030.01319.39
7.3.190.0100.00716.50
7.3.180.0130.00316.36
7.3.170.0130.00316.54
7.3.160.0090.00616.58
7.2.330.0090.01516.50
7.2.320.0150.00016.49
7.2.310.0110.01116.58
7.2.300.0070.01016.39
7.2.290.0060.01116.50
7.2.60.0060.00616.66
7.2.00.0070.00719.30
7.1.200.0000.01315.73
7.1.100.0030.00618.21
7.1.70.0040.00417.19
7.1.60.0160.00719.32
7.1.50.0070.01516.93
7.1.00.0030.07322.48
7.0.200.0060.00316.70
7.0.140.0070.07021.97
7.0.60.0170.07720.01
7.0.50.0070.08017.77
7.0.40.0070.09020.31
7.0.30.0570.04320.20
7.0.20.0200.06320.04
7.0.10.0130.07720.09
7.0.00.0070.03720.13
5.6.280.0000.07720.77
5.6.210.0000.05320.66
5.6.200.0070.05718.16
5.6.190.0100.05020.41
5.6.180.0270.04320.39
5.6.170.0270.04320.33
5.6.160.0030.08020.63
5.6.150.0070.08318.22
5.6.140.0100.07318.18
5.6.130.0100.06318.10
5.6.120.0070.08320.91
5.6.110.0130.07720.98
5.6.100.0170.07721.07
5.6.90.0100.04020.97
5.6.80.0100.07320.39
5.5.350.0070.04720.44
5.5.340.0000.08717.93
5.5.330.0000.04320.21
5.5.320.0200.07320.31
5.5.310.0300.07320.33
5.5.300.0070.03717.97
5.5.290.0100.08317.86
5.5.280.0100.06720.96
5.5.270.0100.04020.62
5.5.260.0030.04320.75
5.5.250.0100.06020.60
5.5.240.0100.04320.22
5.4.450.0200.04719.45
5.4.440.0930.04719.24
5.4.430.0870.05319.47
5.4.420.1000.04719.64
5.4.410.0800.04019.38
5.4.400.0700.05319.11
5.4.390.0900.05319.11
5.4.380.0300.05318.56
5.4.370.0370.04718.52
5.4.360.0370.04718.53
5.4.350.0530.05318.72
5.4.340.0230.06018.74
5.4.320.0080.03512.45
5.4.310.0060.03812.45
5.4.300.0070.03612.45
5.4.290.0070.03712.45
5.4.280.0060.03512.34
5.4.270.0070.03612.34
5.4.260.0080.03612.34
5.4.250.0100.03412.34
5.4.240.0030.03812.34
5.4.230.0070.03612.34
5.4.220.0050.03712.34
5.4.210.0060.03512.34
5.4.200.0030.04112.34
5.4.190.0060.03512.33
5.4.180.0030.03812.34
5.4.170.0080.03312.35
5.4.160.0040.04012.34
5.4.150.0030.03812.34
5.4.140.0060.03812.02
5.4.130.0040.03812.01
5.4.120.0090.03211.97
5.4.110.0060.03911.96
5.4.100.0060.03611.96
5.4.90.0040.04011.96
5.4.80.0090.03411.96
5.4.70.0060.03811.96
5.4.60.0020.03811.96
5.4.50.0040.03711.96
5.4.40.0060.03511.95
5.4.30.0070.03511.95
5.4.20.0050.03911.95
5.4.10.0060.03711.95
5.4.00.0070.03611.44
5.3.290.0080.03912.80
5.3.280.0050.04512.71
5.3.270.0050.04012.72
5.3.260.0080.03612.72
5.3.250.0050.03812.72
5.3.240.0020.04512.72
5.3.230.0080.03512.71
5.3.220.0040.03812.68
5.3.210.0070.03812.68
5.3.200.0050.03712.68
5.3.190.0050.04012.68
5.3.180.0040.03812.67
5.3.170.0050.03712.67
5.3.160.0060.03612.67
5.3.150.0090.03312.67
5.3.140.0080.03412.66
5.3.130.0080.03612.66
5.3.120.0070.03712.65
5.3.110.0060.04412.66
5.3.100.0050.04212.12
5.3.90.0080.03512.08
5.3.80.0050.03912.08
5.3.70.0050.03712.07
5.3.60.0060.03512.06
5.3.50.0050.03612.00
5.3.40.0040.03612.00
5.3.30.0050.03511.94
5.3.20.0070.03511.72
5.3.10.0020.03711.69
5.3.00.0080.03511.68
5.2.170.0060.0299.18
5.2.160.0040.0299.18
5.2.150.0060.0309.18
5.2.140.0050.0309.17
5.2.130.0050.0289.13
5.2.120.0040.0289.13
5.2.110.0040.0299.14
5.2.100.0040.0289.14
5.2.90.0040.0299.14
5.2.80.0030.0319.13
5.2.70.0060.0289.13
5.2.60.0080.0299.09
5.2.50.0040.0319.05
5.2.40.0040.0299.03
5.2.30.0050.0309.01
5.2.20.0080.0279.00
5.2.10.0030.0318.92
5.2.00.0030.0318.78
5.1.60.0040.0258.06
5.1.50.0040.0258.06
5.1.40.0040.0258.04
5.1.30.0030.0278.39
5.1.20.0060.0248.41
5.1.10.0050.0258.14
5.1.00.0050.0258.13
5.0.50.0020.0226.61
5.0.40.0040.0196.48
5.0.30.0050.0306.29
5.0.20.0000.0226.26
5.0.10.0020.0216.24
5.0.00.0050.0286.23
4.4.90.0020.0164.78
4.4.80.0020.0174.75
4.4.70.0040.0144.76
4.4.60.0000.0184.76
4.4.50.0030.0154.77
4.4.40.0010.0264.71
4.4.30.0020.0164.76
4.4.20.0020.0164.84
4.4.10.0030.0154.85
4.4.00.0030.0264.76
4.3.110.0020.0174.67
4.3.100.0040.0134.67
4.3.90.0040.0134.63
4.3.80.0030.0244.59
4.3.70.0010.0174.63
4.3.60.0060.0114.63
4.3.50.0020.0164.63
4.3.40.0030.0234.54
4.3.30.0020.0163.28
4.3.20.0010.0173.26
4.3.10.0030.0153.21
4.3.00.0030.0206.76

preferences:
43.48 ms | 400 KiB | 5 Q