3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! $uri = "http://fashion/ru/items/2?sort%5B%5D=1&str%5B%5D=4&curs%5B%5D=1&page=2&page=1&page=2&page=5&page=4&page=3&page=2&page=1&page=1&page=1&page=1&page=1&page=1&page=1&page=1&page=1&page=1&page=1&tesdsd=2"; function ggp($url) { // get GET-parameters string preg_match('/^([^?]+)(\?.*?)?(#.*)?$/', $url, $matches); $gp = (isset($matches[2])) ? $matches[2] : ''; return $gp; } function deleted($url) { // get GET-parameters string preg_match('/[&page]+/', $url, $matches); return $matches; } echo ggp($uri); echo"<br>"; var_dump(deleted($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.3.60.0150.00018.68
8.3.50.0140.00321.15
8.3.40.0110.00418.78
8.3.30.0060.00918.78
8.3.20.0050.00318.81
8.3.10.0080.00019.46
8.3.00.0070.00023.65
8.2.180.0120.00316.88
8.2.170.0070.00722.96
8.2.160.0030.01022.24
8.2.150.0000.00824.18
8.2.140.0050.00324.66
8.2.130.0080.00026.16
8.2.120.0000.00721.31
8.2.110.0030.00720.38
8.2.100.0030.00717.97
8.2.90.0040.00419.21
8.2.80.0000.00817.97
8.2.70.0040.00418.00
8.2.60.0040.00417.80
8.2.50.0000.00918.07
8.2.40.0030.00518.34
8.2.30.0050.00321.30
8.2.20.0040.00417.77
8.2.10.0040.00417.91
8.2.00.0000.00817.82
8.1.280.0110.00425.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0030.00722.55
8.1.230.0040.00720.96
8.1.220.0040.00418.77
8.1.210.0060.00318.82
8.1.200.0040.00417.35
8.1.190.0000.00817.40
8.1.180.0040.00418.10
8.1.170.0040.00418.65
8.1.160.0070.00018.91
8.1.150.0000.00918.78
8.1.140.0030.00617.42
8.1.130.0030.00317.78
8.1.120.0040.00417.62
8.1.110.0040.00417.59
8.1.100.0080.00017.55
8.1.90.0030.00517.59
8.1.80.0030.00417.55
8.1.70.0000.00817.56
8.1.60.0000.00917.67
8.1.50.0050.00317.51
8.1.40.0060.00317.71
8.1.30.0030.00617.80
8.1.20.0090.00017.65
8.1.10.0040.00417.73
8.1.00.0030.00617.70
8.0.300.0070.00019.81
8.0.290.0070.00017.05
8.0.280.0040.00418.49
8.0.270.0070.00017.30
8.0.260.0080.00416.89
8.0.250.0040.00417.05
8.0.240.0080.00017.17
8.0.230.0000.00717.07
8.0.220.0000.00716.88
8.0.210.0000.00717.04
8.0.200.0060.00017.04
8.0.190.0040.00417.04
8.0.180.0040.00417.04
8.0.170.0080.00017.05
8.0.160.0000.00717.02
8.0.150.0080.00016.91
8.0.140.0000.00716.84
8.0.130.0060.00013.44
8.0.120.0070.00016.92
8.0.110.0070.00017.00
8.0.100.0040.00416.85
8.0.90.0050.00217.03
8.0.80.0070.00716.93
8.0.70.0040.00416.90
8.0.60.0040.00416.98
8.0.50.0040.00416.76
8.0.30.0100.01017.21
8.0.20.0110.00817.46
8.0.10.0040.00416.95
8.0.00.0090.00916.73
7.4.330.0000.00514.87
7.4.320.0030.00316.77
7.4.300.0000.00616.78
7.4.290.0000.00816.75
7.4.280.0030.00316.78
7.4.270.0040.00416.80
7.4.260.0000.00613.48
7.4.250.0040.00416.83
7.4.240.0000.00716.74
7.4.230.0030.00316.71
7.4.220.0070.00816.68
7.4.210.0060.00916.80
7.4.200.0050.00216.57
7.4.190.0050.00316.87
7.4.160.0070.01016.78
7.4.150.0110.00617.40
7.4.140.0060.01217.86
7.4.130.0090.01016.88
7.4.120.0130.00716.86
7.4.110.0070.01016.65
7.4.100.0080.01416.51
7.4.90.0140.00416.70
7.4.80.0110.00819.39
7.4.70.0080.00816.65
7.4.60.0170.00716.41
7.4.50.0060.00316.73
7.4.40.0060.01022.77
7.4.30.0060.01516.68
7.4.00.0030.01314.95
7.3.330.0000.00513.31
7.3.320.0030.00313.50
7.3.310.0030.00316.61
7.3.300.0000.00716.32
7.3.290.0100.00316.45
7.3.280.0090.00616.49
7.3.270.0110.00617.40
7.3.260.0120.00818.24
7.3.250.0110.00716.70
7.3.240.0170.00016.62
7.3.230.0080.00816.40
7.3.210.0070.01016.46
7.3.200.0140.01219.39
7.3.190.0160.00616.79
7.3.180.0040.01416.63
7.3.170.0070.01016.63
7.3.160.0100.00716.53
7.3.120.0070.01115.25
7.2.330.0090.00916.82
7.2.320.0090.00916.95
7.2.310.0090.00916.93
7.2.300.0060.01116.72
7.2.290.0100.00716.80
7.2.00.0100.00319.32
7.1.200.0000.01515.75
7.1.100.0070.01018.29
7.1.70.0000.00817.49
7.1.60.0030.01319.40
7.1.50.0060.01617.15
7.1.00.0000.03722.43
7.0.200.0030.00316.70
7.0.140.0000.07721.95
7.0.60.0030.08021.65
7.0.50.0070.08021.96
7.0.40.0100.07720.03
7.0.30.0030.04320.08
7.0.20.0030.05320.11
7.0.10.0100.06320.11
7.0.00.0030.08720.07
5.6.280.0030.07021.07
5.6.210.0100.07320.49
5.6.200.0000.06721.16
5.6.190.0070.07720.91
5.6.180.0000.08721.13
5.6.170.0100.05321.00
5.6.160.0070.08021.02
5.6.150.0100.06321.00
5.6.140.0030.08021.00
5.6.130.0070.06721.02
5.6.120.0030.08721.09
5.6.110.0070.08021.14
5.6.100.0100.08021.11
5.6.90.0100.07720.98
5.6.80.0100.06720.37
5.6.70.0100.07720.39
5.6.60.0100.07020.38
5.6.50.0030.04320.36
5.6.40.0030.08020.52
5.6.30.0070.08020.52
5.6.20.0030.07320.35
5.6.10.0030.07720.33
5.6.00.0030.07320.36
5.5.350.0070.07020.31
5.5.340.0070.07320.81
5.5.330.0070.07320.81
5.5.320.0030.07020.81
5.5.310.0070.05020.88
5.5.300.0030.07320.86
5.5.290.0100.07020.66
5.5.280.0070.08720.76
5.5.270.0070.05720.88
5.5.260.0070.08320.87
5.5.250.0130.07020.50
5.5.240.0030.06320.27
5.5.230.0030.08320.35
5.5.220.0000.08020.08
5.5.210.0000.08020.13
5.5.200.0000.05320.25
5.5.190.0000.08020.25
5.5.180.0070.08020.13
5.5.160.0000.08320.16
5.5.150.0030.06320.13
5.5.140.0070.04320.09
5.5.130.0070.06720.23
5.5.120.0070.04719.99
5.5.110.0070.06320.20
5.5.100.0030.08319.99
5.5.90.0030.08720.08
5.5.80.0070.07320.09
5.5.70.0070.06020.10
5.5.60.0030.07020.00
5.5.50.0070.07320.20
5.5.40.0030.06020.00
5.5.30.0030.03720.21
5.5.20.0100.07719.88
5.5.10.0030.07319.96
5.5.00.0030.08319.97
5.4.450.0070.07319.38
5.4.440.0000.07719.45
5.4.430.0030.06319.39
5.4.420.0000.07319.51
5.4.410.0000.07719.39
5.4.400.0100.04319.07
5.4.390.0100.07319.05
5.4.380.0100.07319.07
5.4.370.0070.04019.01
5.4.360.0070.07019.07
5.4.350.0030.07719.13
5.4.340.0070.07319.04
5.4.320.0170.06719.20
5.4.310.0030.07719.03
5.4.300.0000.06019.05
5.4.290.0030.07719.20
5.4.280.0030.07318.91
5.4.270.0100.06319.20
5.4.260.0130.06318.91
5.4.250.0030.06719.16
5.4.240.0070.06719.05
5.4.230.0000.06718.93
5.4.220.0000.08319.05
5.4.210.0070.08019.16
5.4.200.0100.05319.18
5.4.190.0130.06319.02
5.4.180.0030.07719.00
5.4.170.0030.06719.12
5.4.160.0030.07318.99
5.4.150.0100.06719.02
5.4.140.0000.07016.47
5.4.130.0030.07716.30
5.4.120.0100.06316.52
5.4.110.0000.08016.57
5.4.100.0030.03316.38
5.4.90.0030.05716.30
5.4.80.0070.03316.52
5.4.70.0030.07316.33
5.4.60.0070.07016.22
5.4.50.0030.06716.35
5.4.40.0000.07316.54
5.4.30.0030.07016.34
5.4.20.0030.06716.51
5.4.10.0070.03716.34
5.4.00.0030.05715.86
5.3.290.0030.07314.71
5.3.280.0130.07014.45
5.3.270.0070.07314.62
5.3.260.0070.07714.67
5.3.250.0100.06714.65
5.3.240.0030.07314.63
5.3.230.0030.07014.61
5.3.220.0000.07714.62
5.3.210.0070.07014.57
5.3.200.0030.06014.63
5.3.190.0030.07014.63
5.3.180.0070.06014.64
5.3.170.0030.06714.62
5.3.160.0030.07314.63
5.3.150.0030.06714.62
5.3.140.0070.06714.52
5.3.130.0030.07714.59
5.3.120.0070.07314.59
5.3.110.0030.07714.64
5.3.100.0070.06314.09
5.3.90.0030.06714.07
5.3.80.0030.07714.08
5.3.70.0030.07014.13
5.3.60.0030.06314.06
5.3.50.0100.07013.85
5.3.40.0070.07313.96
5.3.30.0030.07313.80
5.3.20.0000.07013.59
5.3.10.0030.05713.67
5.3.00.0000.07713.71
5.2.170.0000.06711.24
5.2.160.0030.06311.19
5.2.150.0030.06011.05
5.2.140.0030.06311.15
5.2.130.0000.06711.16
5.2.120.0000.05710.96
5.2.110.0030.06010.95
5.2.100.0070.05011.11
5.2.90.0070.05711.09
5.2.80.0030.05011.09
5.2.70.0030.05710.95
5.2.60.0030.05011.07
5.2.50.0070.06011.13
5.2.40.0070.05011.06
5.2.30.0000.06310.88
5.2.20.0030.06311.01
5.2.10.0000.06310.88
5.2.00.0030.05310.80
5.1.60.0030.05310.07
5.1.50.0030.05310.07
5.1.40.0000.05010.03
5.1.30.0000.03710.24
5.1.20.0070.05010.37
5.1.10.0000.05010.09
5.1.00.0100.04710.06
5.0.50.0000.0278.98
5.0.40.0030.0238.98
5.0.30.0000.0578.98
5.0.20.0030.0438.98
5.0.10.0030.0438.98
5.0.00.0070.0478.98
4.4.90.0030.0338.98
4.4.80.0030.0338.98
4.4.70.0030.0378.98
4.4.60.0030.0338.98
4.4.50.0000.0408.98
4.4.40.0070.0408.98
4.4.30.0030.0378.98
4.4.20.0030.0338.98
4.4.10.0000.0338.98
4.4.00.0000.0508.98
4.3.110.0030.0338.98
4.3.100.0030.0278.98
4.3.90.0000.0338.98
4.3.80.0000.0478.98
4.3.70.0000.0378.98
4.3.60.0070.0308.98
4.3.50.0000.0378.98
4.3.40.0000.0508.98
4.3.30.0070.0338.98
4.3.20.0030.0238.98
4.3.10.0030.0208.98
4.3.00.0000.0138.98

preferences:
71.01 ms | 401 KiB | 5 Q