3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = "https://m.naughtyappetite.com/oth.php?dynamicpage=all_1cm_universal_light_n&ver=1"; $urlParams = array( 'source', 'transfer_to', 'ban_rm', 'pop_rm', 'txt_rm', 'zoneid', 'userid', 'userId', 'ver', 't_uod', 't_umbr', 'email', 'emlTrack', 'key', 'uniqmessageId', 'open', 'transferSource', 'cmpn', 'loc', 'cross', 'crossMask', '_cbUrl', '_disAL', '_fData', 'utm_partner', 'clkid', 'clid', 'clbid', 'safeLP', 'campaigntype', 'redirectUrl', ); function getParam($key) { $url = "http://www.thirst-more.com/2207/campaign32813?safeLP=naughty&source=www.benaughty.com&transfer_to=naughtyappetite.com&ban_rm=000748865&zoneid=4661&userId=c078c5c84f7311e79a97441ea14ed80c&key=c7eee25af7c437abaf37c460b8d1f467&clid=927&clbid=33872&location=UKR&remType=Banner&targetSite=6747c8fb5b73abce100992b51af15eef"; $query = parse_url($url, PHP_URL_QUERY); parse_str($query, $params); return isset($params[$key]) ? $params[$key] : null; } $params = array_fill_keys($urlParams, ""); array_walk($params, function(&$item, $key){ $item = self::getParam($key); }); $params = array_filter($params); die(var_dump($params));

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.0030.01716.75
8.3.50.0090.00616.26
8.3.40.0100.00318.79
8.3.30.0000.01418.79
8.3.20.0080.00820.35
8.3.10.0040.00421.63
8.3.00.0080.00019.25
8.2.180.0110.00718.66
8.2.170.0100.00722.96
8.2.160.0070.00720.52
8.2.150.0080.00024.18
8.2.140.0060.00324.66
8.2.130.0040.00421.04
8.2.120.0150.00026.35
8.2.110.0000.00920.52
8.2.100.0060.00617.84
8.2.90.0000.00819.09
8.2.80.0040.00418.03
8.2.70.0030.00617.75
8.2.60.0060.00318.04
8.2.50.0030.00518.10
8.2.40.0040.00420.19
8.2.30.0030.00520.91
8.2.20.0070.00018.18
8.2.10.0030.00518.10
8.2.00.0050.00318.06
8.1.280.0100.00725.92
8.1.270.0080.00022.13
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0050.00523.61
8.1.230.0000.01219.16
8.1.220.0040.00417.74
8.1.210.0030.00718.77
8.1.200.0070.00317.35
8.1.190.0050.00317.35
8.1.180.0040.00418.10
8.1.170.0040.00418.91
8.1.160.0070.00019.05
8.1.150.0000.00820.66
8.1.140.0070.00319.60
8.1.130.0040.00418.84
8.1.120.0000.00717.58
8.1.110.0000.00717.48
8.1.100.0040.00417.54
8.1.90.0080.00017.54
8.1.80.0060.00317.38
8.1.70.0040.00417.54
8.1.60.0050.00217.63
8.1.50.0080.00017.54
8.1.40.0000.00817.61
8.1.30.0000.00917.59
8.1.20.0040.00417.72
8.1.10.0050.00317.66
8.1.00.0050.00217.60
8.0.300.0080.00020.14
8.0.290.0000.00816.75
8.0.280.0070.00018.41
8.0.270.0030.00317.36
8.0.260.0030.00316.85
8.0.250.0030.00317.01
8.0.240.0000.00817.01
8.0.230.0000.00716.99
8.0.220.0030.00316.96
8.0.210.0000.00816.92
8.0.200.0000.00617.07
8.0.190.0000.00817.05
8.0.180.0040.00416.91
8.0.170.0000.00817.02
8.0.160.0000.00816.98
8.0.150.0040.00416.84
8.0.140.0050.00316.97
8.0.130.0000.00513.48
8.0.120.0030.00616.95
8.0.110.0070.00016.82
8.0.100.0040.00416.88
8.0.90.0070.00016.99
8.0.80.0030.01217.00
8.0.70.0050.00216.81
8.0.60.0070.00016.94
8.0.50.0000.00716.77
8.0.30.0130.00517.36
8.0.20.0090.00917.42
8.0.10.0040.00417.21
8.0.00.0140.00716.77
7.4.330.0000.00715.55
7.4.320.0000.00716.70
7.4.300.0040.00416.64
7.4.290.0040.00416.68
7.4.280.0040.00416.55
7.4.270.0050.00316.55
7.4.260.0000.00716.48
7.4.250.0050.00216.46
7.4.240.0000.00716.69
7.4.230.0030.00316.70
7.4.220.0060.01216.64
7.4.210.0030.01216.57
7.4.200.0000.00716.47
7.4.160.0110.01016.46
7.4.150.0110.00717.40
7.4.140.0080.01117.86
7.4.130.0100.01016.65
7.4.120.0100.01016.55
7.3.330.0080.00013.11
7.3.320.0000.00513.39
7.3.310.0040.00416.11
7.3.300.0000.00716.19
7.3.290.0050.01016.34
7.3.280.0070.01016.32
7.3.270.0140.00317.40
7.3.260.0150.02216.42
7.3.250.0100.00916.28
7.3.240.0120.00916.38

preferences:
41.8 ms | 401 KiB | 5 Q