3v4l.org

run code in 300+ PHP versions simultaneously
<?php $broken_uri = 'domain.com/?campaignid=%campaignid%&adid=%bannerid%'; $hopefully_fixed_uri = str_replace('%', '%25', $broken_uri); var_dump(parse_url($hopefully_fixed_uri));

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.0030.00317.37
8.1.60.0000.00917.40
8.1.50.0040.00417.36
8.1.40.0040.00417.39
8.1.30.0050.00317.50
8.1.20.0000.00717.47
8.1.10.0000.00817.45
8.1.00.0040.00417.34
8.0.200.0030.00316.87
8.0.190.0000.00816.86
8.0.180.0040.00416.86
8.0.170.0040.00416.85
8.0.160.0040.00416.74
8.0.150.0040.00416.80
8.0.140.0040.00416.66
8.0.130.0000.00513.21
8.0.120.0040.00416.76
8.0.110.0000.00716.66
8.0.100.0040.00416.80
8.0.90.0040.00416.71
8.0.80.0120.00316.79
8.0.70.0000.00716.81
8.0.60.0040.00416.66
8.0.50.0000.00816.71
8.0.30.0120.00816.79
8.0.20.0130.00617.15
8.0.10.0000.00716.80
8.0.00.0090.00916.59
7.4.300.0060.00016.42
7.4.290.0040.00416.43
7.4.280.0040.00416.43
7.4.270.0040.00416.35
7.4.260.0030.00316.43
7.4.250.0080.00016.42
7.4.240.0030.00316.57
7.4.230.0000.00716.54
7.4.220.0030.00416.33
7.4.210.0090.00616.52
7.4.200.0000.00716.61
7.4.130.0140.00916.43
7.4.120.0160.00616.33
7.4.110.0160.01116.36
7.4.100.0210.00716.54
7.4.90.0230.00716.37
7.4.80.0170.01416.46
7.4.70.0210.01116.46
7.4.60.0150.01216.47
7.4.50.0310.00016.45
7.4.40.0220.00616.52
7.4.30.0270.00316.44
7.4.20.0170.00716.28
7.4.10.0160.00816.23
7.4.00.0110.00716.32
7.3.330.0000.00716.21
7.3.320.0020.00213.00
7.3.310.0030.00315.96
7.3.300.0000.00716.07
7.3.290.0090.00716.13
7.3.260.0060.01016.39
7.3.230.0230.00616.16
7.3.220.0210.01416.19
7.3.210.0180.01316.29
7.3.200.0210.01116.50
7.3.190.0310.00016.29
7.3.180.0170.01416.33
7.3.170.0210.01216.43
7.3.160.0330.00016.18
7.3.150.0170.00715.99
7.3.140.0150.01116.39
7.3.130.0200.00516.13
7.3.120.0140.01116.25
7.3.110.0190.00416.06
7.3.100.0130.01116.18
7.3.90.0130.01316.39
7.3.80.0180.00916.13
7.3.70.0170.00616.18
7.3.60.0170.00416.04
7.3.50.0100.01016.11
7.3.40.0200.01016.06
7.3.30.0190.00816.04
7.3.20.0160.00616.25
7.3.10.0190.01016.18
7.3.00.0170.01316.05
7.2.340.0220.00916.65
7.2.330.0200.00916.25
7.2.320.0310.00316.50
7.2.310.0180.01316.16
7.2.300.0300.00016.48
7.2.290.0190.01016.66
7.2.280.0150.00816.14
7.2.270.0200.00616.09
7.2.260.0130.01416.05
7.2.250.0140.01116.54
7.2.240.0230.00316.34
7.2.230.0140.01516.30
7.2.220.0280.00416.14
7.2.210.0210.00516.23
7.2.200.0180.00816.52
7.2.190.0230.00016.38
7.2.180.0070.01416.15
7.2.170.0120.01216.29
7.2.160.0090.01216.26
7.2.150.0170.00916.37
7.2.140.0080.01616.32
7.2.130.0090.01916.39
7.2.120.0150.01216.43
7.2.110.0150.00916.44
7.2.100.0190.01116.55
7.2.90.0210.00416.28
7.2.80.0180.01216.39
7.2.70.0090.01316.23
7.2.60.0550.01016.43
7.2.50.0240.00716.50
7.2.40.0090.01216.32
7.2.30.0160.00616.29
7.2.20.0170.00916.43
7.2.10.0210.01216.42
7.2.00.0110.00916.26

preferences:
11.86 ms | 406 KiB | 5 Q