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.0090.00918.43
8.3.50.0110.00517.50
8.3.40.0090.00619.04
8.3.30.0180.00019.05
8.3.20.0080.00018.93
8.3.10.0080.00019.09
8.3.00.0000.00919.38
8.2.180.0130.00625.92
8.2.170.0040.01119.39
8.2.160.0100.00722.96
8.2.150.0080.00025.66
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0050.00320.95
8.2.110.0030.00722.05
8.2.100.0040.00817.84
8.2.90.0080.00017.88
8.2.80.0000.00818.80
8.2.70.0000.00817.88
8.2.60.0000.01018.00
8.2.50.0030.00618.04
8.2.40.0040.00419.73
8.2.30.0000.00917.80
8.2.20.0070.00317.89
8.2.10.0000.00817.85
8.2.00.0000.00717.77
8.1.280.0040.01825.92
8.1.270.0040.00423.99
8.1.260.0050.00326.35
8.1.250.0000.00828.09
8.1.240.0030.00623.77
8.1.230.0040.00820.91
8.1.220.0040.00418.70
8.1.210.0050.00318.77
8.1.200.0080.00017.35
8.1.190.0000.00817.23
8.1.180.0040.00418.10
8.1.170.0000.00817.62
8.1.160.0070.00019.12
8.1.150.0000.00718.75
8.1.140.0000.00717.46
8.1.130.0060.00317.62
8.1.120.0040.00417.56
8.1.110.0040.00417.44
8.1.100.0000.00817.54
8.1.90.0000.00817.56
8.1.80.0040.00417.42
8.1.70.0000.00717.52
8.1.60.0040.00417.73
8.1.50.0060.00317.67
8.1.40.0030.00617.73
8.1.30.0050.00317.74
8.1.20.0030.00517.80
8.1.10.0080.00017.61
8.1.00.0030.00517.55
8.0.300.0080.00018.77
8.0.290.0040.00416.75
8.0.280.0030.00318.61
8.0.270.0060.00317.20
8.0.260.0030.00317.14
8.0.250.0000.00817.09
8.0.240.0050.00217.08
8.0.230.0030.00317.00
8.0.220.0030.00317.04
8.0.210.0000.00716.92
8.0.200.0070.00017.03
8.0.190.0070.00017.08
8.0.180.0000.01017.07
8.0.170.0060.00316.89
8.0.160.0030.00416.95
8.0.150.0030.00616.90
8.0.140.0000.01017.04
8.0.130.0000.00613.52
8.0.120.0000.00916.96
8.0.110.0050.00216.86
8.0.100.0020.00517.03
8.0.90.0000.00716.95
8.0.80.0070.01016.99
8.0.70.0000.00717.16
8.0.60.0000.00916.86
8.0.50.0000.00917.07
8.0.30.0040.01617.41
8.0.20.0080.01017.21
8.0.10.0000.00817.21
8.0.00.0090.01016.97
7.4.330.0000.00513.09
7.4.320.0030.00316.68
7.4.300.0030.00316.81
7.4.290.0030.00316.77
7.4.280.0050.00316.75
7.4.270.0000.00616.74
7.4.260.0000.00513.47
7.4.250.0000.00816.80
7.4.240.0000.00716.75
7.4.230.0000.01016.90
7.4.220.0110.00716.78
7.4.210.0000.02116.86
7.4.200.0040.00416.85
7.4.190.0000.00716.63
7.4.160.0130.00316.86
7.4.150.0050.01316.90
7.4.140.0120.00616.85
7.4.130.0060.01016.64
7.4.120.0040.01516.69
7.4.110.0030.01416.47
7.4.100.0070.01016.71
7.4.90.0070.02016.66
7.4.80.0070.01119.39
7.4.70.0060.01016.64
7.4.60.0080.00816.96
7.4.50.0040.00416.71
7.4.40.0030.01016.51
7.4.30.0130.00316.86
7.4.00.0080.00815.29
7.3.330.0030.00313.43
7.3.320.0030.00313.54
7.3.310.0040.00416.46
7.3.300.0060.00016.45
7.3.290.0080.00716.51
7.3.280.0110.00516.46
7.3.270.0140.00816.50
7.3.260.0110.00516.48
7.3.250.0120.00616.58
7.3.240.0160.00016.50
7.3.230.0120.00416.50
7.3.210.0060.01216.78
7.3.200.0120.01216.60
7.3.190.0040.01616.61
7.3.180.0090.00616.39
7.3.170.0090.00616.49
7.3.160.0110.00716.61
7.3.120.0080.00415.07
7.2.330.0120.00616.77
7.2.320.0000.01716.82
7.2.310.0060.01216.78
7.2.300.0100.00716.87
7.2.290.0070.01016.82
7.2.60.0040.00716.83
7.2.00.0120.00619.48
7.1.200.0070.00316.02
7.1.100.0110.01517.93
7.1.70.0000.00717.40
7.1.60.0030.02119.30
7.1.50.0090.01217.11
7.1.00.0000.06022.29
7.0.200.0000.00816.92
7.0.140.0070.07022.09
7.0.120.0100.05722.15
7.0.60.0100.07320.03
7.0.50.0070.06017.96
7.0.40.0070.08720.45
7.0.30.0270.04320.09
7.0.20.0070.05020.21
7.0.10.0070.07320.32
7.0.00.0070.08320.13
5.6.280.0100.07021.11
5.6.210.0070.08320.57
5.6.200.0030.04018.20
5.6.190.0000.09320.60
5.6.180.3770.04020.49
5.6.170.0270.07720.46
5.6.160.0070.08320.43
5.6.150.0100.07018.27
5.6.140.0070.04318.18
5.6.130.0030.04718.18
5.6.120.0070.05721.10
5.6.110.0030.04020.96
5.6.100.0070.08321.12
5.6.90.0130.05721.11
5.6.80.0030.08320.40
5.6.70.3770.04020.51
5.5.350.0270.07720.33
5.5.340.0070.07718.00
5.5.330.0100.03720.35
5.5.320.2930.03720.30
5.5.310.0130.04320.26
5.5.300.0100.08317.95
5.5.290.0000.08718.04
5.5.280.0070.04020.81
5.5.270.0100.05320.77
5.5.260.0070.05020.77
5.5.250.0230.05320.48
5.5.240.0200.08020.20
5.4.450.0400.04019.65
5.4.440.0430.08019.20
5.4.430.0470.04319.52
5.4.420.0470.05319.52
5.4.410.0430.06319.34
5.4.400.0700.02719.00
5.4.390.0500.04719.08
5.4.380.0500.06018.85
5.4.370.0470.06319.00
5.4.360.0500.06719.22
5.4.350.0430.05319.07
5.4.340.0330.04319.08
5.4.320.0470.03019.22
5.4.310.0470.04018.86
5.4.300.0400.04719.05
5.4.290.0400.07319.19
5.4.280.0430.05018.98
5.4.270.0500.05319.14
5.4.260.0570.05718.87
5.4.250.0330.04318.85
5.4.240.0330.04019.15
5.4.230.0370.03718.97
5.4.220.0430.06718.98
5.4.210.0430.06019.21
5.4.200.0430.05319.30
5.4.190.0430.06319.30
5.4.180.0300.04319.08
5.4.170.0500.06019.25
5.4.160.0370.04019.14
5.4.150.0500.05719.13
5.4.140.0430.03016.39
5.4.130.0500.05716.38
5.4.120.0500.05016.37
5.4.110.0530.06316.46
5.4.100.0430.06716.40
5.4.90.0500.06316.31
5.4.80.0570.05716.22
5.4.70.0430.03716.24
5.4.60.0400.03016.51
5.4.50.0400.05316.25
5.4.40.0400.05016.47
5.4.30.0430.07016.48
5.4.20.0470.03716.32
5.4.10.0400.03716.44
5.4.00.0430.04015.73
5.3.290.0500.04714.63
5.3.280.0400.06014.67
5.3.270.0530.06714.65
5.3.260.0530.04714.69
5.3.250.0570.06014.52
5.3.240.0500.06314.51
5.3.230.0400.06314.59
5.3.220.0500.06714.81
5.3.210.0470.07014.65
5.3.200.0570.04014.62
5.3.190.0470.05314.47
5.3.180.0530.05714.79
5.3.170.0500.06314.68
5.3.160.0530.06314.54
5.3.150.0470.07014.68
5.3.140.0400.04314.56
5.3.130.0330.05014.55
5.3.120.0370.04014.52
5.3.110.0370.04014.64
5.3.100.0330.04014.09
5.3.90.0430.05713.94
5.3.80.0530.06013.95
5.3.70.0430.07314.14
5.3.60.0570.06713.91
5.3.50.0370.03713.93
5.3.40.0430.05314.18
5.3.30.0470.05313.89
5.3.20.0400.03013.61
5.3.10.0370.04313.75
5.3.00.0470.06713.57
5.2.170.0270.03311.14
5.2.160.0330.02711.06
5.2.150.0430.05011.06
5.2.140.0330.02711.23
5.2.130.0330.06011.02
5.2.120.0430.05011.04
5.2.110.0370.05311.02
5.2.100.0400.05311.22
5.2.90.0400.03711.33
5.2.80.0300.03011.32
5.2.70.0230.04011.01
5.2.60.0330.04311.01
5.2.50.0370.05710.95
5.2.40.0370.04011.13
5.2.30.0330.05710.91
5.2.20.0300.04311.02
5.2.10.0300.05710.77
5.2.00.0330.05010.94
5.1.60.0370.03710.19
5.1.50.0300.03310.19
5.1.40.0370.03310.19
5.1.30.0400.03010.24
5.1.20.0330.04710.58
5.1.10.0470.02310.19
5.1.00.0270.05010.19
5.0.50.0170.02710.19
5.0.40.0130.02010.19
5.0.30.0230.05310.19
5.0.20.0170.02310.19
5.0.10.0170.03710.19
5.0.00.0130.06010.19
4.4.90.0200.03010.19
4.4.80.0130.03010.19
4.4.70.0170.02010.19
4.4.60.0200.03310.19
4.4.50.0130.03010.19
4.4.40.0170.04310.19
4.4.30.0130.02010.19
4.4.20.0130.03310.19
4.4.10.0100.02310.19
4.4.00.0170.04310.19
4.3.110.0130.02010.19
4.3.100.0130.03010.19
4.3.90.0200.03310.19
4.3.80.0130.04310.19
4.3.70.0230.02010.19
4.3.60.0170.01710.19
4.3.50.0130.02710.19
4.3.40.0130.03310.19
4.3.30.0070.03710.19
4.3.20.0130.02710.19
4.3.10.0070.02010.19
4.3.00.0100.03310.19

preferences:
51.17 ms | 401 KiB | 5 Q