3v4l.org

run code in 300+ PHP versions simultaneously
<?php $credentials = "Authorization: OAuth oauth_consumer_key=g3PdEVqZnBgaecDGpQjODcSLm, oauth_nonce=3346472044-54KLfYYlu9P1eAXN3Le3P8hgtzt4creTd41tfJRg3PdEVqZnBgaecDGpQjODcSLm1444413587932, oauth_signature=FHnxlpBl9h3ckb8GQLfw+D3FCaU=, oauth_signature_method=HMAC-SHA1, oauth_timestamp=1444413587, oauth_token=3346472044-54KLfYYlu9P1eAXN3Le3P8hgtzt4creTd41tfJR, oauth_version=1.0"; $arrayCredentials = explode(',',$credentials); echo($arrayCredentials); $needle = 'oauth_signature'; $ret = array_keys(array_filter($arrayCredentials, function($var) use ($needle){ return strpos($var, $needle) !== false; })); echo($ret);

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.0100.01018.55
8.3.50.0130.00521.14
8.3.40.0000.01418.73
8.3.30.0110.00418.67
8.3.20.0040.00420.20
8.3.10.0040.00421.90
8.3.00.0070.00020.33
8.2.180.0180.00716.63
8.2.170.0090.00622.96
8.2.160.0100.00320.43
8.2.150.0030.00524.18
8.2.140.0050.00324.66
8.2.130.0080.00026.16
8.2.120.0030.00617.50
8.2.110.0030.00622.07
8.2.100.0050.00517.63
8.2.90.0030.00619.21
8.2.80.0080.00017.97
8.2.70.0030.00617.50
8.2.60.0030.00617.93
8.2.50.0030.00618.07
8.2.40.0040.00419.27
8.2.30.0030.00422.29
8.2.20.0040.00417.61
8.2.10.0000.00818.13
8.2.00.0000.00718.14
8.1.280.0110.00425.92
8.1.270.0150.00023.72
8.1.260.0050.00326.35
8.1.250.0050.00328.09
8.1.240.0030.00722.65
8.1.230.0100.00017.42
8.1.220.0050.00317.74
8.1.210.0050.00318.77
8.1.200.0060.00317.48
8.1.190.0060.00317.35
8.1.180.0000.00818.10
8.1.170.0040.00418.65
8.1.160.0040.00422.02
8.1.150.0020.00518.94
8.1.140.0080.00017.34
8.1.130.0030.00317.67
8.1.120.0000.00817.44
8.1.110.0030.00517.50
8.1.100.0040.00417.35
8.1.90.0050.00217.55
8.1.80.0000.00917.33
8.1.70.0040.00417.43
8.1.60.0030.00617.46
8.1.50.0040.00417.41
8.1.40.0040.00417.49
8.1.30.0090.00017.56
8.1.20.0050.00317.70
8.1.10.0000.00817.39
8.1.00.0050.00217.45
8.0.300.0000.00718.77
8.0.290.0040.00416.60
8.0.280.0030.00318.33
8.0.270.0040.00417.19
8.0.260.0030.00317.33
8.0.250.0020.00516.98
8.0.240.0000.00816.92
8.0.230.0030.00317.03
8.0.220.0000.00716.94
8.0.210.0040.00416.92
8.0.200.0080.00316.99
8.0.190.0130.00017.04
8.0.180.0040.00416.99
8.0.170.0040.00416.88
8.0.160.0030.00316.96
8.0.150.0000.00717.01
8.0.140.0030.00316.93
8.0.130.0060.00013.42
8.0.120.0040.00416.82
8.0.110.0030.00516.81
8.0.100.0040.00416.91
8.0.90.0000.00716.94
8.0.80.0110.00417.03
8.0.70.0050.00216.96
8.0.60.0000.00716.94
8.0.50.0040.00416.92
8.0.30.0050.01417.04
8.0.20.0090.00917.40
8.0.10.0020.00517.15
8.0.00.0090.00816.88
7.4.330.0000.00615.08
7.4.320.0060.00016.52
7.4.300.0030.00316.62
7.4.290.0000.00816.62
7.4.280.0040.00416.52
7.4.270.0060.00016.61
7.4.260.0030.00316.45
7.4.250.0050.00216.62
7.4.240.0040.00416.56
7.4.230.0030.00616.42
7.4.220.0140.00316.37
7.4.210.0040.01116.65
7.4.200.0030.00316.68
7.4.160.0100.00716.47
7.4.150.0180.00317.40
7.4.140.0100.01317.86
7.4.130.0070.01116.61
7.4.120.0120.00916.46
7.4.110.0030.01416.61
7.4.100.0040.01916.70
7.4.90.0070.01016.47
7.4.80.0120.00919.39
7.4.70.0020.01416.46
7.4.60.0000.01716.50
7.4.50.0000.00916.53
7.4.40.0080.01516.73
7.4.30.0050.01916.57
7.4.00.0100.01015.11
7.3.330.0030.00313.34
7.3.320.0050.00013.36
7.3.310.0040.00416.37
7.3.300.0070.00016.25
7.3.290.0070.00816.33
7.3.280.0100.01016.39
7.3.270.0040.01417.40
7.3.260.0100.00716.44
7.3.250.0090.00916.56
7.3.240.0100.01316.65
7.3.230.0110.00616.39
7.3.210.0130.00316.65
7.3.200.0100.00616.63
7.3.190.0100.00716.63
7.3.180.0030.01816.43
7.3.170.0120.00616.40
7.3.160.0070.01316.35
7.2.330.0070.01116.76
7.2.320.0060.01616.41
7.2.310.0060.01016.75
7.2.300.0090.00916.69
7.2.290.0030.01316.77
7.2.00.0030.01219.36
7.1.100.1150.00716.32
7.1.70.0000.00716.95
7.1.60.0140.01019.14
7.1.50.0070.01516.95
7.1.00.0030.07722.35
7.0.200.0040.00416.93
7.0.70.2630.03719.92
7.0.60.0000.06719.93
7.0.50.0070.08017.86
7.0.40.0070.08720.08
7.0.30.0400.03320.23
7.0.20.0100.09320.06
7.0.10.0270.07720.33
7.0.00.0230.07320.24
5.6.280.0030.06721.09
5.6.210.0070.07720.70
5.6.200.0000.06018.19
5.6.190.0100.05020.67
5.6.180.0000.05720.58
5.6.170.0270.08020.53
5.6.160.0130.08020.45
5.6.150.0100.08018.16
5.6.140.0100.07318.15
5.6.130.0070.07318.17
5.6.120.0030.04321.05
5.6.110.0100.07021.01
5.6.100.0130.08021.01
5.6.90.0070.08721.13
5.6.80.0100.06020.37
5.6.70.0270.06720.50
5.5.350.0000.08320.37
5.5.340.0100.07718.09
5.5.330.0030.04320.30
5.5.320.0070.08020.13
5.5.310.0230.08020.31
5.5.300.0070.07018.08
5.5.290.0030.08017.98
5.5.280.0170.07720.87
5.5.270.0070.05720.77
5.5.260.0100.07720.84
5.5.250.0130.06320.56
5.5.240.0070.04320.36
5.4.450.0130.05319.16
5.4.440.0170.05019.31
5.4.430.0100.05719.31
5.4.420.0100.05319.34
5.4.410.0100.05319.24
5.4.400.0170.04719.07
5.4.390.0170.05019.22
5.4.380.0100.05319.06
5.4.370.0070.05319.19
5.4.360.0130.05018.83
5.4.350.0100.07019.34
5.4.340.0170.04719.04
5.4.320.0070.05719.19
5.4.310.0100.05019.25
5.4.300.0070.05319.21
5.4.290.0100.05019.21
5.4.280.0100.05319.23
5.4.270.0130.05019.23
5.4.260.0070.05318.98
5.4.250.0230.03719.04
5.4.240.0070.05719.19
5.4.230.0170.04718.98
5.4.220.0100.05319.02
5.4.210.0130.04719.19
5.4.200.0000.06019.30
5.4.190.0100.05018.87
5.4.180.0200.04319.03
5.4.170.0100.05319.01
5.4.160.0130.04718.97
5.4.150.0100.05318.86
5.4.140.0070.05716.52
5.4.130.0130.04316.51
5.4.120.0170.04016.50
5.4.110.0100.05016.57
5.4.100.0000.06016.45
5.4.90.0200.03716.41
5.4.80.0070.05016.56
5.4.70.0100.07716.44
5.4.60.0070.06316.22
5.4.50.0030.07016.37
5.4.40.0070.05716.17
5.4.30.0070.05016.22
5.4.20.0270.07716.21
5.4.10.0370.05716.41

preferences:
33.5 ms | 401 KiB | 5 Q