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); dump($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.0070.01118.68
8.3.50.0120.00621.07
8.3.40.0100.00318.74
8.3.30.0130.00318.61
8.3.20.0000.00720.34
8.3.10.0040.00422.02
8.3.00.0040.00420.21
8.2.180.0110.00818.46
8.2.170.0140.00322.96
8.2.160.0110.00320.37
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0080.00026.16
8.2.120.0080.00017.50
8.2.110.0000.00921.95
8.2.100.0090.00317.50
8.2.90.0000.00719.22
8.2.80.0060.00317.97
8.2.70.0030.00517.63
8.2.60.0040.00417.80
8.2.50.0000.00818.07
8.2.40.0000.00819.25
8.2.30.0100.00020.63
8.2.20.0040.00417.61
8.2.10.0040.00418.14
8.2.00.0060.00318.10
8.1.280.0090.00625.92
8.1.270.0140.00723.89
8.1.260.0080.00026.35
8.1.250.0050.00328.09
8.1.240.0040.00422.52
8.1.230.0090.00317.42
8.1.220.0050.00317.78
8.1.210.0040.00418.77
8.1.200.0040.00417.22
8.1.190.0040.00417.10
8.1.180.0050.00318.10
8.1.170.0080.00018.66
8.1.160.0000.00722.01
8.1.150.0040.00418.85
8.1.140.0030.00617.34
8.1.130.0000.00717.66
8.1.120.0000.00717.50
8.1.110.0070.00017.45
8.1.100.0050.00217.32
8.1.90.0040.00417.43
8.1.80.0000.00817.23
8.1.70.0000.00717.43
8.1.60.0030.00517.46
8.1.50.0080.00017.61
8.1.40.0030.00517.44
8.1.30.0090.00017.50
8.1.20.0070.00017.58
8.1.10.0000.00717.54
8.1.00.0070.00017.41
8.0.300.0000.00818.77
8.0.290.0040.00416.61
8.0.280.0000.00718.47
8.0.270.0040.00417.25
8.0.260.0000.00617.09
8.0.250.0000.00717.03
8.0.240.0070.00016.85
8.0.230.0030.00317.02
8.0.220.0030.00316.88
8.0.210.0040.00416.89
8.0.200.0030.00716.91
8.0.190.0040.00817.02
8.0.180.0000.00716.83
8.0.170.0040.00416.87
8.0.160.0030.00316.97
8.0.150.0030.00516.86
8.0.140.0040.00416.88
8.0.130.0000.00613.39
8.0.120.0000.00716.82
8.0.110.0000.00816.93
8.0.100.0080.00016.77
8.0.90.0040.00416.79
8.0.80.0040.01116.96
8.0.70.0070.00016.80
8.0.60.0040.00416.84
8.0.50.0040.00416.83
8.0.30.0080.00917.08
8.0.20.0110.00917.40
8.0.10.0000.00717.09
8.0.00.0060.01016.75
7.4.330.0000.00515.09
7.4.320.0040.00416.48
7.4.300.0030.00316.43
7.4.290.0000.00716.67
7.4.280.0090.00016.51
7.4.270.0040.00416.51
7.4.260.0000.00716.41
7.4.250.0030.00516.44
7.4.240.0040.00316.60
7.4.230.0030.00516.51
7.4.220.0100.00716.58
7.4.210.0070.01316.52
7.4.200.0000.00716.42
7.4.160.0100.01316.59
7.4.150.0130.00617.40
7.4.140.0070.01117.86
7.4.130.0130.00716.51
7.4.120.0090.00716.47
7.4.110.0060.01316.73
7.4.100.0060.01716.75
7.4.90.0070.01016.50
7.4.80.0090.00919.39
7.4.70.0060.00916.45
7.4.60.0060.01016.62
7.4.50.0030.00616.63
7.4.40.0170.00416.38
7.4.30.0070.01016.46
7.4.00.0060.00915.18
7.3.330.0030.00313.12
7.3.320.0050.00013.18
7.3.310.0040.00416.27
7.3.300.0030.00316.19
7.3.290.0060.01116.26
7.3.280.0130.00716.32
7.3.270.0080.00817.40
7.3.260.0120.01216.64
7.3.250.0050.01116.28
7.3.240.0170.00616.45
7.3.230.0040.01316.53
7.3.210.0110.00516.28
7.3.200.0090.00916.55
7.3.190.0130.00316.51
7.3.180.0060.01216.52
7.3.170.0060.00916.27
7.3.160.0100.01316.40
7.3.10.0150.00415.95
7.3.00.0090.00916.30
7.2.330.0110.00716.75
7.2.320.0140.00716.52
7.2.310.0100.00716.65
7.2.300.0140.00316.70
7.2.290.0060.01216.75
7.2.130.0160.00516.28
7.2.120.0110.00716.25
7.2.110.0180.00616.76
7.2.100.0100.01016.49
7.2.90.0120.00616.25
7.2.80.0110.00716.26
7.2.70.0130.01016.37
7.2.60.0110.00816.63
7.2.50.0120.00916.71
7.2.40.0070.01416.65
7.2.30.0110.00316.27
7.2.20.0120.01216.05
7.2.10.0100.00716.07
7.2.00.0110.00717.94
7.1.250.0200.00315.73
7.1.200.0090.00615.73
7.1.100.0100.00618.22
7.1.70.0040.00416.87
7.1.60.0100.01319.14
7.1.50.0230.01334.75
7.1.00.0070.07322.52
7.0.200.0050.00316.89
7.0.70.4600.04019.97
7.0.60.0130.07720.05
7.0.50.0070.04317.88
7.0.40.0070.08320.24
7.0.30.0270.07020.23
7.0.20.0330.06320.37
7.0.10.0370.07720.15
7.0.00.0030.05320.16
5.6.280.0000.07721.13
5.6.210.0030.05720.75
5.6.200.0170.02718.29
5.6.190.0070.04320.32
5.6.180.0000.07320.44
5.6.170.0300.05020.44
5.6.160.0070.06720.55
5.6.150.0130.07318.15
5.6.140.0070.04018.20
5.6.130.0070.05018.17
5.6.120.0030.04020.98
5.6.110.0130.07321.00
5.6.100.0130.08021.13
5.6.90.0030.04021.10
5.6.80.0070.08020.41
5.6.70.0100.08020.37
5.5.350.0030.08320.43
5.5.340.0030.09017.94
5.5.330.0070.04020.41
5.5.320.0070.08020.41
5.5.310.0300.08320.27
5.5.300.0070.03717.95
5.5.290.0130.08017.93
5.5.280.0070.04020.80
5.5.270.0100.04320.96
5.5.260.0100.06020.76
5.5.250.0030.08020.62
5.5.240.0100.07320.36
5.4.450.0170.05019.35
5.4.440.0100.05719.64
5.4.430.0100.05719.59
5.4.420.0100.05319.41
5.4.410.0130.05319.43
5.4.400.0130.05019.23
5.4.390.0130.05319.31
5.4.380.0070.06319.21
5.4.370.0200.05019.19
5.4.360.0070.05718.99
5.4.350.0130.05019.07
5.4.340.0170.04719.04
5.4.320.0270.04719.20
5.4.310.0100.05019.30
5.4.300.0070.05719.02
5.4.290.0130.05019.15
5.4.280.0100.05319.21
5.4.270.0100.05319.26
5.4.260.0170.04318.85
5.4.250.0130.06719.04
5.4.240.0130.05019.02
5.4.230.0100.05319.30
5.4.220.0130.05319.04
5.4.210.0100.05319.20
5.4.200.0130.04719.27
5.4.190.0100.05319.18
5.4.180.0130.05019.30
5.4.170.0070.05718.84
5.4.160.0130.05319.19
5.4.150.0070.05719.00
5.4.140.0100.05016.46
5.4.130.0130.04716.33
5.4.120.0130.05016.45
5.4.110.0170.06316.56
5.4.100.0070.05016.54
5.4.90.0170.04016.63
5.4.80.0170.04016.45
5.4.70.0000.05316.54
5.4.60.0000.05316.54
5.4.50.0100.04016.51
5.4.40.0000.04016.43
5.4.30.0030.06716.53
5.4.20.0200.05316.16
5.4.10.0230.03716.16

preferences:
58.59 ms | 401 KiB | 5 Q