3v4l.org

run code in 300+ PHP versions simultaneously
<?php // this is hack until you can manage to resolve the encoding issue in a more professional manner // use $_SERVER['QUERY_STRING'] to extract the query string from the url $queryStrings = [ 'lat=25.79&amp%3Blon=-80.16', 'lat=41.46u0026lon%3D-82.71', 'lat%5Cu003d30.31%5Cu0026lon%5Cu003d-89.33', 'lat=28.94-89.4&lon', 'tag%5Cu003d44' ]; foreach ($queryStrings as $queryString) { // replace unicode-like substrings $queryString = preg_replace_callback('/u([\da-f]{4})/i', function ($match) { return mb_convert_encoding(pack('H*', $match[1]), 'UTF-8', 'UCS-2BE'); }, urldecode($queryString)); // courtesy of Gumbo: https://stackoverflow.com/a/2934602/2943403 $queryString = strtr($queryString, ['&amp;' => '&', '\\' => '']); parse_str($queryString, $_GET); var_export($_GET); echo "\n"; }

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.4.140.0120.00917.67
8.4.130.0120.00518.66
8.4.120.0070.00124.25
8.4.110.0110.00917.91
8.4.100.0160.00717.92
8.4.90.0110.01017.88
8.4.80.0120.00819.82
8.4.70.0090.01218.30
8.4.60.0090.00720.46
8.4.50.0050.00617.92
8.4.40.0090.00018.21
8.4.30.0100.00920.59
8.4.20.0060.01624.04
8.4.10.0060.00324.30
8.3.270.0090.01016.64
8.3.260.0130.00716.74
8.3.250.0120.00618.82
8.3.240.0090.00517.28
8.3.230.0130.00516.67
8.3.220.0110.00721.01
8.3.210.0130.00616.87
8.3.200.0050.00316.48
8.3.190.0090.00917.07
8.3.180.0110.00817.14
8.3.170.0110.00618.73
8.3.160.0130.00718.46
8.3.150.0150.00318.66
8.3.140.0060.00318.58
8.3.130.0080.00018.70
8.3.120.0120.00820.68
8.3.110.0080.00818.60
8.3.100.0080.00018.74
8.3.90.0050.01026.77
8.3.80.0070.00316.88
8.3.70.0040.01118.27
8.3.60.0110.00416.88
8.3.50.0320.00624.66
8.3.40.0100.00721.09
8.3.30.0120.00618.82
8.3.20.0080.00024.18
8.3.10.0040.00424.66
8.3.00.0000.00826.16
8.2.290.0120.00722.03
8.2.280.0040.00420.42
8.2.270.0030.00616.84
8.2.260.0000.01419.23
8.2.250.0100.00016.57
8.2.240.0060.00317.52
8.2.230.0080.00020.94
8.2.220.0090.00024.06
8.2.210.0080.00826.77
8.2.200.0000.00918.53
8.2.190.0110.00716.58
8.2.180.0040.01225.92
8.2.170.0140.00719.26
8.2.160.0070.00722.96
8.2.150.0090.00025.66
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0080.00021.18
8.2.110.0070.00422.38
8.2.100.0120.00017.91
8.2.90.0030.00617.97
8.2.80.0040.00418.05
8.2.70.0000.00918.05
8.2.60.0100.00018.22
8.2.50.0040.00418.10
8.2.40.0050.00319.30
8.2.30.0040.00419.29
8.2.20.0000.00718.22
8.2.10.0070.00019.28
8.2.00.0000.00819.51
8.1.330.0050.00522.02
8.1.320.0150.00716.38
8.1.310.0070.00316.79
8.1.300.0040.01518.13
8.1.290.0030.00630.84
8.1.280.0040.01825.92
8.1.270.0040.00423.99
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0050.00523.84
8.1.230.0060.00620.90
8.1.220.0060.00317.76
8.1.210.0000.00918.86
8.1.200.0030.00717.60
8.1.190.0030.00617.36
8.1.180.0000.00918.10
8.1.170.0080.00018.82
8.1.160.0000.01018.96
8.1.150.0040.00418.94
8.1.140.0030.00619.03
8.1.130.0030.00320.30
8.1.120.0030.00517.70
8.1.110.0000.00917.57
8.1.100.0040.00417.58
8.1.90.0000.00717.56
8.1.80.0030.00617.62
8.1.70.0030.00317.66
8.1.60.0080.00017.77
8.1.50.0000.00917.75
8.1.40.0060.00317.73
8.1.30.0000.00817.88
8.1.20.0040.00417.91
8.1.10.0030.00517.68
8.1.00.0000.00817.65
8.0.300.0050.00321.61
8.0.290.0030.00517.00
8.0.280.0000.00818.41
8.0.270.0000.00717.11
8.0.260.0030.00318.49
8.0.250.0070.00017.19
8.0.240.0000.00817.15
8.0.230.0000.00717.19
8.0.220.0060.00317.09
8.0.210.0070.00017.00
8.0.200.0000.00717.19
8.0.190.0000.00717.09
8.0.180.0030.00317.13
8.0.170.0050.00317.18
8.0.160.0040.00417.19
8.0.150.0000.00816.93
8.0.140.0050.00316.95
8.0.130.0000.00613.51
8.0.120.0050.00317.03
8.0.110.0040.00416.98
8.0.100.0000.00716.93
8.0.90.0050.00217.07
8.0.80.0100.00617.00
8.0.70.0000.00716.98
8.0.60.0000.00717.00
8.0.50.0070.00017.00
8.0.30.0090.00917.10
8.0.20.0100.01017.12
8.0.10.0040.00417.03
8.0.00.0110.00916.93
7.4.330.0000.00515.55
7.4.320.0000.00716.79
7.4.300.0080.00016.68
7.4.290.0000.01016.86
7.4.280.0000.00816.87
7.4.270.0000.00716.80
7.4.260.0030.00213.67
7.4.250.0060.00316.82
7.4.240.0040.00716.66
7.4.230.0000.00716.90
7.4.220.0020.00516.93
7.4.210.0060.01016.90
7.4.200.0000.00716.87
7.4.130.0110.00716.72
7.4.120.0060.01216.58
7.4.110.0120.00616.71
7.4.100.0060.01216.69
7.4.90.0090.00916.57
7.4.80.0090.01016.54
7.4.70.0140.00416.79
7.4.60.0070.01016.77
7.4.50.0130.00616.29
7.4.40.0090.00816.59
7.4.30.0030.01416.78
7.4.20.0090.00916.61
7.4.10.0030.01416.53
7.4.00.0070.01016.68
7.3.330.0040.00416.57
7.3.320.0030.00313.56
7.3.310.0000.00716.68
7.3.300.0030.00316.51
7.3.290.0070.01016.52
7.3.260.0090.00916.58
7.3.230.0110.00816.69
7.3.220.0160.00016.75
7.3.210.0150.00316.54
7.3.200.0130.00416.78
7.3.190.0080.00816.75
7.3.180.0030.01316.53
7.3.170.0090.00916.84
7.3.160.0120.00616.57
7.3.150.0040.01416.54
7.3.140.0030.01316.48
7.3.130.0030.01416.57
7.3.120.0060.01016.56
7.3.110.0150.00416.85
7.3.100.0160.00316.69
7.3.90.0190.00016.60
7.3.80.0090.00916.68
7.3.70.0140.00316.52
7.3.60.0110.00616.70
7.3.50.0080.00816.57
7.3.40.0060.01216.55
7.3.30.0030.01316.43
7.3.20.0090.00916.62
7.3.10.0140.00516.61
7.3.00.0090.00916.76
7.2.330.0090.00916.99
7.2.320.0090.00917.06
7.2.310.0030.01516.78
7.2.300.0150.00416.82
7.2.290.0120.01016.86
7.2.280.0110.00616.85
7.2.270.0060.01216.74
7.2.260.0100.00716.73
7.2.250.0030.01416.94
7.2.240.0120.00616.93
7.2.230.0060.01616.97
7.2.220.0070.01116.78
7.2.210.0130.01016.85
7.2.200.0070.01316.86
7.2.190.0150.00316.93
7.2.180.0070.01016.86
7.2.170.0130.00316.88
7.2.160.0030.01317.00
7.2.150.0090.00916.97
7.2.140.0090.00916.89
7.2.130.0070.01116.93
7.2.120.0120.00616.80
7.2.110.0110.00616.83
7.2.100.0060.01216.99
7.2.90.0120.00616.71
7.2.80.0130.00616.67
7.2.70.0100.00716.97
7.2.60.0120.00616.66
7.2.50.0130.00616.83
7.2.40.0090.00916.98
7.2.30.0060.01316.93
7.2.20.0530.01617.01
7.2.10.0140.00616.95
7.2.00.0110.00716.83

preferences:
129.2 ms | 403 KiB | 5 Q