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); dd($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.0090.00918.39
8.3.50.0140.00716.25
8.3.40.0070.00718.56
8.3.30.0000.01518.79
8.3.20.0050.00320.33
8.3.10.0040.00421.90
8.3.00.0030.00520.32
8.2.180.0140.00718.67
8.2.170.0040.01122.96
8.2.160.0130.00620.47
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0000.00817.38
8.2.110.0060.00321.00
8.2.100.0070.00417.50
8.2.90.0000.00719.11
8.2.80.0040.00417.97
8.2.70.0040.00417.50
8.2.60.0000.00817.80
8.2.50.0000.00818.07
8.2.40.0000.00719.39
8.2.30.0030.00622.48
8.2.20.0000.00817.57
8.2.10.0080.00018.07
8.2.00.0070.00017.95
8.1.270.0070.00723.87
8.1.260.0030.00526.35
8.1.250.0080.00028.09
8.1.240.0040.00417.70
8.1.230.0110.00017.42
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0040.00417.11
8.1.180.0030.00518.10
8.1.170.0000.00918.43
8.1.160.0040.00421.88
8.1.150.0000.00718.89
8.1.140.0000.00817.36
8.1.130.0000.00717.67
8.1.120.0000.00717.43
8.1.110.0000.00717.38
8.1.100.0070.00017.34
8.1.90.0000.00817.38
8.1.80.0040.00417.29
8.1.70.0020.00517.40
8.1.60.0040.00417.44
8.1.50.0040.00417.52
8.1.40.0040.00417.55
8.1.30.0000.00817.62
8.1.20.0030.00617.64
8.1.10.0000.00717.58
8.1.00.0050.00217.56
8.0.300.0040.00418.77
8.0.290.0080.00016.75
8.0.280.0030.00318.41
8.0.270.0000.00717.29
8.0.260.0030.00317.22
8.0.250.0030.00517.05
8.0.240.0070.00017.02
8.0.230.0000.00716.87
8.0.220.0000.00616.82
8.0.210.0000.00716.94
8.0.200.0070.00316.86
8.0.190.0030.00716.97
8.0.180.0040.00416.89
8.0.170.0040.00416.99
8.0.160.0040.00416.88
8.0.150.0040.00416.86
8.0.140.0040.00416.77
8.0.130.0050.00313.37
8.0.120.0040.00416.90
8.0.110.0000.00816.82
8.0.100.0040.00416.98
8.0.90.0030.00516.97
8.0.80.0080.00816.95
8.0.70.0040.00416.95
8.0.60.0000.00716.70
8.0.50.0050.00216.98
8.0.30.0140.00516.77
8.0.20.0140.00617.40
8.0.10.0000.00816.87
8.0.00.0070.01116.73
7.4.330.0000.00515.08
7.4.320.0030.00316.48
7.4.300.0030.00316.61
7.4.290.0000.00716.45
7.4.280.0030.00616.55
7.4.270.0000.00716.58
7.4.260.0030.00316.65
7.4.250.0060.00316.48
7.4.240.0040.00316.51
7.4.230.0090.00016.54
7.4.220.0110.00616.45
7.4.210.0060.01016.62
7.4.200.0020.00516.70
7.4.160.0030.01316.66
7.4.150.0090.00917.40
7.4.140.0110.00817.86
7.4.130.0070.01116.56
7.4.120.0070.01016.49
7.4.110.0070.01016.62
7.4.100.0100.00716.46
7.4.90.0090.00916.55
7.4.80.0060.01919.39
7.4.70.0130.00316.59
7.4.60.0100.00716.54
7.4.50.0030.00316.40
7.4.40.0130.00616.50
7.4.30.0120.00916.65
7.4.00.0060.01215.09
7.3.330.0000.00513.18
7.3.320.0050.00013.31
7.3.310.0000.00716.30
7.3.300.0000.00716.23
7.3.290.0070.00716.27
7.3.280.0070.01116.31
7.3.270.0100.01017.40
7.3.260.0000.02116.36
7.3.250.0100.00716.38
7.3.240.0130.00716.26
7.3.230.0090.00616.39
7.3.210.0090.00616.61
7.3.200.0120.00416.45
7.3.190.0040.01116.22
7.3.180.0070.01416.51
7.3.170.0080.00816.43
7.3.160.0100.00716.55
7.3.10.0050.01016.73
7.3.00.0050.00516.54
7.2.330.0190.00716.29
7.2.320.0090.01216.63
7.2.310.0030.01316.59
7.2.300.0040.01116.55
7.2.290.0100.00716.64
7.2.130.0090.00316.91
7.2.120.0110.00316.80
7.2.110.0110.00016.70
7.2.100.0000.01216.90
7.2.90.0060.00316.53
7.2.80.0070.01016.89
7.2.70.0030.01416.88
7.2.60.0090.00516.68
7.2.50.0000.01116.70
7.2.40.0100.00616.55
7.2.30.0030.00916.78
7.2.20.0070.00716.85
7.2.10.0000.01616.53
7.2.00.0040.00618.00
7.1.250.0070.00315.82
7.1.200.0040.00415.63
7.1.100.0050.00317.95
7.1.70.0030.00517.26
7.1.60.0070.01719.14
7.1.50.0230.01634.71
7.1.00.0030.07722.43
7.0.200.0000.00716.45
7.0.70.4800.04019.83
7.0.60.0200.07019.93
7.0.50.0070.06317.89
7.0.40.0000.04720.11
7.0.30.0170.04720.11
7.0.20.0230.08320.41
7.0.10.0370.07320.21
7.0.00.0130.05720.22
5.6.280.0070.05021.08
5.6.210.0070.08020.54
5.6.200.0070.07718.29
5.6.190.0130.05020.50
5.6.180.0070.06320.65
5.6.170.0230.04720.44
5.6.160.0030.08720.57
5.6.150.0100.07718.29
5.6.140.0100.03318.21
5.6.130.0100.07718.17
5.6.120.0100.08320.99
5.6.110.0070.09020.89
5.6.100.0070.05720.98
5.6.90.0200.07321.08
5.6.80.0130.07720.29
5.6.70.0200.07320.36
5.5.350.0000.04720.33
5.5.340.0030.06017.99
5.5.330.0200.08020.28
5.5.320.0070.03720.13
5.5.310.0270.05020.32
5.5.300.0100.08017.95
5.5.290.0030.05017.97
5.5.280.0130.08020.77
5.5.270.0070.08320.98
5.5.260.0070.08720.68
5.5.250.0130.08020.55
5.5.240.0070.07320.29
5.4.450.0070.06319.14
5.4.440.0100.05719.38
5.4.430.0170.04719.54
5.4.420.0070.05719.63
5.4.410.0130.05319.46
5.4.400.0170.04718.81
5.4.390.0170.05019.21
5.4.380.0170.04319.04
5.4.370.0200.04019.26
5.4.360.0030.06019.19
5.4.350.0100.05319.09
5.4.340.0070.05719.20
5.4.320.0130.05019.24
5.4.310.0070.05319.05
5.4.300.0300.03019.23
5.4.290.0230.04319.25
5.4.280.0130.05018.88
5.4.270.0030.06018.80
5.4.260.0070.05318.80
5.4.250.0100.05019.21
5.4.240.0070.05319.20
5.4.230.0200.04318.98
5.4.220.0130.05019.04
5.4.210.0130.04719.04
5.4.200.0170.04318.88
5.4.190.0100.05319.10
5.4.180.0070.05719.29
5.4.170.0070.05718.88
5.4.160.0130.04719.07
5.4.150.0100.05318.97
5.4.140.0130.04716.41
5.4.130.0130.04316.46
5.4.120.0200.04016.34
5.4.110.0100.05016.46
5.4.100.0030.05716.56
5.4.90.0130.04716.55
5.4.80.0130.04316.44
5.4.70.0070.05316.54
5.4.60.0100.06716.48
5.4.50.0000.07316.21
5.4.40.0000.04716.22
5.4.30.0030.04016.49
5.4.20.0170.06316.55
5.4.10.0270.07016.32

preferences:
54.3 ms | 400 KiB | 5 Q