3v4l.org

run code in 300+ PHP versions simultaneously
<?php $requestedUri = $_SERVER['REQUEST_URI'] = 'http://www.testing.com/login'; $requestedUriWithQuery = $_SERVER['REQUEST_URI'] = 'http://www.testing.com/login?name=name&password=password'; $parsedUri_1 = parse_url($requestedUri); $parsedUri_2 = parse_url($requestedUriWithQuery); $parsedUri_3 = parse_str($parsedUri_2['query']); print_r([ $parsedUri_1, $parsedUri_2, $parsedUri_3 ]);

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.0040.01118.80
8.3.30.0140.00018.83
8.3.20.0070.00020.13
8.3.10.0050.00323.66
8.3.00.0080.00021.82
8.2.170.0090.00622.96
8.2.160.0110.00422.25
8.2.150.0050.00324.18
8.2.140.0070.00024.66
8.2.130.0080.00020.88
8.2.120.0040.00426.35
8.2.110.0030.00722.05
8.2.100.0040.00818.03
8.2.90.0040.00417.88
8.2.80.0040.00419.09
8.2.70.0000.00917.88
8.2.60.0040.00417.93
8.2.50.0080.00018.09
8.2.40.0040.00420.59
8.2.30.0070.00019.45
8.2.20.0040.00417.81
8.2.10.0040.00417.99
8.2.00.0000.00818.02
8.1.270.0170.00322.04
8.1.260.0100.00028.09
8.1.250.0080.00028.09
8.1.240.0060.00320.94
8.1.230.0070.00420.89
8.1.220.0050.00317.74
8.1.210.0080.00018.77
8.1.200.0040.00417.47
8.1.190.0000.00817.23
8.1.180.0040.00418.10
8.1.170.0050.00318.52
8.1.160.0070.00020.63
8.1.150.0080.00018.93
8.1.140.0050.00319.53
8.1.130.0070.00017.75
8.1.120.0040.00417.44
8.1.110.0000.00717.50
8.1.100.0030.00517.46
8.1.90.0050.00317.39
8.1.80.0000.00717.38
8.1.70.0030.00317.45
8.1.60.0080.00017.61
8.1.50.0000.00917.55
8.1.40.0040.00417.50
8.1.30.0040.00417.55
8.1.20.0030.00617.63
8.1.10.0000.00717.61
8.1.00.0040.00417.50
8.0.300.0000.00920.16
8.0.290.0040.00416.75
8.0.280.0000.00718.38
8.0.270.0070.00017.26
8.0.260.0030.00317.23
8.0.250.0060.00316.97
8.0.240.0070.00017.04
8.0.230.0030.00317.01
8.0.220.0000.00816.98
8.0.210.0000.00716.93
8.0.200.0000.00716.89
8.0.190.0000.00917.05
8.0.180.0070.00016.86
8.0.170.0050.00316.96
8.0.160.0070.00016.91
8.0.150.0000.00816.86
8.0.140.0040.00417.00
8.0.130.0030.00313.42
8.0.120.0040.00416.88
8.0.110.0000.00716.98
8.0.100.0070.00016.99
8.0.90.0060.00316.93
8.0.80.0070.00716.91
8.0.70.0040.00416.95
8.0.60.0000.00716.93
8.0.50.0040.00416.80
8.0.30.0060.01216.97
8.0.20.0080.01317.40
8.0.10.0020.00516.97
8.0.00.0090.01016.95
7.4.330.0000.00516.66
7.4.320.0060.00016.50
7.4.300.0000.00716.59
7.4.290.0000.00716.43
7.4.280.0040.00316.56
7.4.270.0070.00016.57
7.4.260.0000.00716.55
7.4.250.0000.00716.55
7.4.240.0000.00716.39
7.4.230.0030.00316.45
7.4.220.0100.01616.40
7.4.210.0080.00816.62
7.4.200.0040.00416.63
7.4.160.0120.00316.55
7.4.150.0120.00617.40
7.4.140.0110.01117.86
7.4.130.0070.01116.53
7.4.120.0120.00616.60
7.4.110.0070.01016.63
7.4.100.0120.00616.48
7.4.90.0110.00916.34
7.4.80.0030.01319.39
7.4.70.0160.00016.56
7.4.60.0110.01116.55
7.4.50.0070.01016.44
7.4.40.0150.00016.56
7.4.30.0060.01216.59
7.4.00.0070.01015.01
7.3.330.0050.00013.05
7.3.320.0000.00613.26
7.3.310.0000.00816.39
7.3.300.0030.00316.34
7.3.290.0070.00016.44
7.3.280.0110.00716.43
7.3.270.0130.00517.40
7.3.260.0130.01016.53
7.3.250.0080.01216.32
7.3.240.0110.00616.49
7.3.230.0100.00716.39
7.3.210.0090.01316.48
7.3.200.0070.01019.39
7.3.190.0120.00416.38
7.3.180.0030.01616.32
7.3.170.0080.01316.44
7.3.160.0090.01316.46
7.2.330.0070.01116.58
7.2.320.0070.01116.71
7.2.310.0100.00916.38
7.2.300.0100.00616.55
7.2.290.0040.01316.76
7.2.110.0170.00416.46
7.2.80.0070.00316.47
7.2.60.0090.00616.84
7.2.00.0070.00719.43
7.1.200.0030.00915.87
7.1.100.0070.00317.57
7.1.70.0030.00617.18
7.1.60.0100.01319.40
7.1.50.0060.00617.05
7.1.00.0000.07322.55
7.0.200.0430.00714.88
7.0.60.0200.04719.94
7.0.50.0170.06317.89
7.0.40.0030.04720.41
7.0.30.0470.07720.10
7.0.20.0330.04720.09
7.0.10.0100.04020.10
7.0.00.0100.04720.23
5.6.280.0100.05720.89
5.6.210.0100.06320.66
5.6.200.0170.07018.25
5.6.190.0070.09020.55
5.6.180.0330.07320.57
5.6.170.0400.06720.57
5.6.160.0100.04320.71
5.6.150.0100.07718.13
5.6.140.0030.04318.14
5.6.130.0030.04018.11
5.6.120.0070.04021.00
5.6.110.0030.04320.88
5.6.100.0030.08720.95
5.6.90.0070.08021.12
5.6.80.0000.05320.39
5.5.350.0230.07020.34
5.5.340.0030.08317.91
5.5.330.0000.07320.13
5.5.320.0400.04720.35
5.5.310.0100.04720.30
5.5.300.0070.03717.95
5.5.290.0070.08018.08
5.5.280.0070.08320.97
5.5.270.0030.04020.76
5.5.260.0030.04020.86
5.5.250.0130.08020.61
5.5.240.0230.08020.11

preferences:
54.17 ms | 400 KiB | 5 Q