3v4l.org

run code in 300+ PHP versions simultaneously
<?php $brokenUri = 'https://domain.com/?abc=1212&campaignid=%campaignid%&adid=%bannerid%'; $brokenUri = parse_url($brokenUri); var_dump($brokenUri); // we need encoded input string $brokenUri['query'] = urlencode($brokenUri['query']); var_dump($brokenUri['query']); // result parse_str($brokenUri['query'], $brokenUri['query']); var_dump($brokenUri['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.1.70.0080.00017.44
8.1.60.0000.00817.48
8.1.50.0030.00517.38
8.1.40.0050.00317.34
8.1.30.0040.00417.63
8.1.20.0040.00417.61
8.1.10.0040.00417.57
8.1.00.0060.00317.54
8.0.200.0040.00416.85
8.0.190.0090.00016.90
8.0.180.0040.00416.83
8.0.170.0030.00616.77
8.0.160.0040.00416.72
8.0.150.0000.00716.77
8.0.140.0050.00516.67
8.0.130.0000.00513.21
8.0.120.0000.00816.70
8.0.110.0000.00716.86
8.0.100.0070.00016.83
8.0.90.0000.00716.73
8.0.80.0100.00816.84
8.0.70.0050.00316.85
8.0.60.0080.00016.63
8.0.50.0060.00316.80
8.0.30.0190.00617.11
8.0.20.0110.00816.76
8.0.10.0080.01117.09
8.0.00.0160.00316.83
7.4.300.0000.00716.54
7.4.290.0040.00416.40
7.4.280.0080.00016.54
7.4.270.0030.00516.49
7.4.260.0000.00613.20
7.4.250.0080.00016.42
7.4.240.0030.00316.55
7.4.230.0000.00716.62
7.4.220.0050.00216.45
7.4.210.0080.00816.54
7.4.200.0030.00316.33
7.4.140.0120.00616.49
7.4.130.0130.00616.49
7.4.120.0080.01216.41
7.4.110.0120.00616.38
7.4.100.0140.00516.34
7.4.90.0090.00816.39
7.4.80.0110.01016.43
7.4.70.0080.00916.35
7.4.60.0100.00916.46
7.4.50.0080.01016.40
7.4.40.0130.00516.38
7.4.30.0070.00916.43
7.4.20.0110.00616.48
7.4.10.0070.01116.33
7.4.00.0090.00916.43
7.3.330.0050.00316.19
7.3.320.0050.00313.14
7.3.310.0070.00016.29
7.3.300.0030.00316.19
7.3.290.0070.01216.27
7.3.260.0100.01016.37
7.3.250.0140.00416.52
7.3.240.0070.01116.27
7.3.230.0090.00816.21
7.3.220.0080.01016.27
7.3.210.0090.00816.48
7.3.200.0080.01116.22
7.3.190.0090.01016.33
7.3.180.0130.00616.38
7.3.170.0110.00616.38
7.3.160.0100.00716.31
7.3.150.0070.01016.40
7.3.140.0080.01016.25
7.3.130.0070.01116.27
7.3.120.0110.00816.42
7.3.110.0110.00716.21
7.3.100.0090.00916.33
7.3.90.0080.01116.28
7.3.80.0090.00816.29
7.3.70.0070.01216.24
7.3.60.0110.00516.23
7.3.50.0120.00616.35
7.3.40.0090.00716.31
7.3.30.0110.00716.27
7.3.20.0080.01016.33
7.3.10.0200.00716.28
7.3.00.0110.00916.30
7.2.340.0090.01316.38
7.2.330.0090.01416.67
7.2.320.0140.01216.61
7.2.310.0190.00516.46
7.2.300.0160.00616.55
7.2.290.0140.00816.41
7.2.280.0110.01216.44
7.2.270.0180.00816.54
7.2.260.0130.00916.54
7.2.250.0160.00916.43
7.2.240.0160.00616.49
7.2.230.0160.00716.59
7.2.220.0110.01316.36
7.2.210.0120.01016.55
7.2.200.0150.01016.54
7.2.190.0130.00816.53
7.2.180.0090.01216.52
7.2.170.0110.01116.52
7.2.160.0170.00716.63
7.2.150.0150.00916.56
7.2.140.0160.01016.58
7.2.130.0120.01116.58
7.2.120.0190.00816.65
7.2.110.0140.00916.58
7.2.100.0220.01716.70
7.2.90.0180.01016.58
7.2.80.0180.01216.53
7.2.70.0160.00616.59
7.2.60.0230.00816.61
7.2.50.0170.00716.45
7.2.40.0270.02016.65
7.2.30.0370.00816.48
7.2.20.0130.01116.50
7.2.10.0160.00716.59
7.2.00.0170.00916.68
7.1.330.0230.00615.64
7.1.320.0110.02215.75
7.1.310.0290.00315.72
7.1.300.0240.00715.36
7.1.290.0300.00315.68
7.1.280.0170.01315.64
7.1.270.0220.00715.43
7.1.260.0200.01215.47
7.1.250.0240.00715.32
7.1.240.0200.00815.70
7.1.230.0180.01115.55
7.1.220.0650.02315.36
7.1.210.0230.01115.37
7.1.200.0290.00015.49
7.1.190.0360.01815.46
7.1.180.0280.00415.48
7.1.170.0270.00315.55
7.1.160.0270.00515.52
7.1.150.0440.01515.44
7.1.140.0430.02715.58
7.1.130.0280.00415.48
7.1.120.0290.00815.52
7.1.110.0280.00715.62
7.1.100.0170.01715.51
7.1.90.0240.00815.56
7.1.80.0150.01515.54
7.1.70.0200.01315.61
7.1.60.0200.01715.54
7.1.50.0230.01015.52
7.1.40.0230.01015.54
7.1.30.0300.00415.64
7.1.20.0230.01015.42
7.1.10.0230.00715.50
7.1.00.0270.00415.61
7.0.330.0160.01215.25
7.0.320.0660.01115.18
7.0.310.0170.01415.22
7.0.300.0440.02315.08
7.0.290.0390.00915.26
7.0.280.0200.01215.29
7.0.270.0260.00815.35
7.0.260.0220.00915.38
7.0.250.0120.01615.16
7.0.240.0680.00015.31
7.0.230.0230.00515.19
7.0.220.0460.00915.38
7.0.210.0320.00015.34
7.0.200.0210.01215.08
7.0.190.0240.01115.18
7.0.180.0240.00915.09
7.0.170.0270.01215.25
7.0.160.0230.00715.04
7.0.150.0130.01715.20
7.0.140.0130.01715.27
7.0.130.0090.01515.06
7.0.120.0240.02115.33
7.0.110.0170.01515.36
7.0.100.0350.01415.17
7.0.90.0290.02015.28
7.0.80.0150.00415.10
7.0.70.0120.00615.05
7.0.60.0120.00914.97
7.0.50.0100.00715.05
7.0.40.0040.01315.05
7.0.30.0130.00415.09
7.0.20.0130.00515.20
7.0.10.0110.00715.11
7.0.00.0100.00615.13
5.6.400.0150.01515.86
5.6.390.0210.00815.98
5.6.380.0390.02715.86
5.6.370.0200.01315.93
5.6.360.0380.02216.02
5.6.350.0150.01916.07
5.6.340.0290.00316.13
5.6.330.0230.01316.13
5.6.320.0170.01415.84
5.6.310.0260.01315.82
5.6.300.0230.01015.94
5.6.290.0210.01115.85
5.6.280.0030.02315.79
5.6.270.0270.03615.93
5.6.260.0380.03515.90
5.6.250.0310.02815.93
5.6.240.0150.00715.97
5.6.230.0100.01015.77
5.6.220.0140.01416.03
5.6.210.0070.01315.80
5.6.200.0160.00315.93
5.6.190.0100.01015.78
5.6.180.0160.00315.80
5.6.170.0060.01515.83
5.6.160.0190.00015.64
5.6.150.0160.00615.84
5.6.140.0130.01015.89
5.6.130.0130.01315.94
5.6.120.0120.00915.75
5.6.110.0100.01015.85
5.6.100.0300.02815.81
5.6.90.0140.00715.88
5.6.80.0130.00716.13
5.6.70.0080.01215.79
5.6.60.0040.01615.66
5.6.50.0070.01415.79
5.6.40.0120.01315.92
5.6.30.0090.01615.65
5.6.20.0120.00815.78
5.6.10.0080.01115.68
5.6.00.0100.01015.85
5.5.380.0360.02016.14
5.5.370.0230.00715.72
5.5.360.0300.01816.01
5.5.350.0200.01015.59
5.5.340.0150.01516.05
5.5.330.0200.01015.69
5.5.320.0190.01116.09
5.5.310.0450.01515.95
5.5.300.0270.01015.68
5.5.290.0150.01615.86
5.5.280.0200.01215.85
5.5.270.0160.01315.68
5.5.260.0270.00715.79
5.5.250.0200.01015.39
5.5.240.0190.01015.65
5.5.230.0330.02415.60
5.5.220.0270.00415.56
5.5.210.0200.00915.63
5.5.200.0230.00715.88
5.5.190.0180.01515.79
5.5.180.0150.01515.60
5.5.170.0290.00015.71
5.5.160.0260.00615.68
5.5.150.0210.00915.69
5.5.140.0200.01215.82
5.5.130.0150.01515.79
5.5.120.0270.00315.77
5.5.110.0200.01715.91
5.5.100.0110.01816.02
5.5.90.0190.01615.64
5.5.80.0200.01015.57
5.5.70.0200.01315.95
5.5.60.0270.01015.69
5.5.50.0190.01115.45
5.5.40.0210.00915.67
5.5.30.0200.01015.41
5.5.20.0340.01115.64
5.5.10.0160.01315.88
5.5.00.0140.01515.67
5.4.450.0160.01112.57
5.4.440.0150.00812.57
5.4.430.0130.01012.59
5.4.420.0160.00712.52
5.4.410.0110.01112.77
5.4.400.0240.00312.73
5.4.390.0200.00712.46
5.4.380.0200.00312.57
5.4.370.0210.00312.49
5.4.360.0210.00312.47
5.4.350.0330.01212.48
5.4.340.0180.00612.41
5.4.330.0200.00312.42
5.4.320.0150.01012.69
5.4.310.0110.01112.47
5.4.300.0130.01112.60
5.4.290.0140.01012.47
5.4.280.0210.00912.51
5.4.270.0200.00412.50
5.4.260.0260.00312.49
5.4.250.0110.01212.71
5.4.240.0130.01612.53
5.4.230.0220.00412.61
5.4.220.0160.00912.50
5.4.210.0180.00412.55
5.4.200.0150.01012.66
5.4.190.0130.01312.36
5.4.180.0180.00712.51
5.4.170.0180.00612.71
5.4.160.0040.01812.76
5.4.150.0210.00312.41
5.4.140.0140.01012.89
5.4.130.0110.01112.72
5.4.120.0190.00312.56
5.4.110.0210.00512.53
5.4.100.0210.01812.50
5.4.90.0210.01212.54
5.4.80.0150.00812.39
5.4.70.0220.01112.63
5.4.60.0150.00812.66
5.4.50.0200.00712.66
5.4.40.0150.01412.64
5.4.30.0160.00612.70
5.4.20.0190.00512.58
5.4.10.0140.02812.59
5.4.00.0150.00612.61
5.3.290.0210.00513.31
5.3.280.0170.01012.96
5.3.270.0140.01113.18
5.3.260.0190.00612.95
5.3.250.0120.01213.07
5.3.240.0250.00012.96
5.3.230.0200.00312.93
5.3.220.0160.02812.98
5.3.210.0300.01212.83
5.3.200.0240.01212.97
5.3.190.0340.01613.18
5.3.180.0380.00613.11
5.3.170.0170.00813.04
5.3.160.0210.00213.07
5.3.150.0350.02213.08
5.3.140.0170.00913.09
5.3.130.0170.00712.95
5.3.120.0210.00613.13
5.3.110.0180.00813.00
5.3.100.0100.01413.14
5.3.90.0150.00812.89
5.3.80.0120.01212.79
5.3.70.0100.01412.76
5.3.60.0170.00612.87
5.3.50.0120.01212.94
5.3.40.0140.00912.83
5.3.30.0170.00613.14
5.3.20.0160.00612.92
5.3.10.0120.01212.66
5.3.00.0150.00712.59
5.2.170.0080.01112.25
5.2.160.0150.00512.13
5.2.150.0130.01312.04
5.2.140.0160.00412.19
5.2.130.0190.00011.93
5.2.120.0160.00612.02
5.2.110.0270.02311.85
5.2.100.0130.00712.05
5.2.90.0150.00611.86
5.2.80.0170.00311.84
5.2.70.0160.00811.84
5.2.60.0150.00411.76
5.2.50.0120.00811.96
5.2.40.0120.00711.95
5.2.30.0220.00611.86
5.2.20.0130.00711.73
5.2.10.0100.01011.64
5.2.00.0120.00311.64
5.1.60.0160.00711.64
5.1.50.0140.00711.64
5.1.40.0110.00711.64
5.1.30.0150.00811.64
5.1.20.0110.00611.64
5.1.10.0140.00511.64
5.1.00.0120.00611.64
5.0.50.0090.00611.64
5.0.40.0000.01511.64
5.0.30.0070.00811.64
5.0.20.0080.00811.64
5.0.10.0070.00811.64
5.0.00.0080.00611.64
4.4.90.0070.00311.64
4.4.80.0060.00311.64
4.4.70.0030.00611.64
4.4.60.0130.00811.64
4.4.50.0070.00311.64
4.4.40.0120.00011.64
4.4.30.0030.00711.64
4.4.20.0070.00411.64
4.4.10.0040.00611.64
4.4.00.0000.01011.64
4.3.110.0090.00011.64
4.3.100.0050.00511.64
4.3.90.0070.00311.64
4.3.80.0100.00011.64
4.3.70.0060.00311.64
4.3.60.0030.00711.64
4.3.50.0120.00011.64
4.3.40.0060.00311.64
4.3.30.0060.00311.64
4.3.20.0050.00311.64
4.3.10.0100.00011.64
4.3.00.0070.00311.64

preferences:
13.64 ms | 406 KiB | 5 Q