3v4l.org

run code in 300+ PHP versions simultaneously
<?php function strava_oauth2_clients() { $server_url = 'https://www.strava.com'; $client_url = 'https://fitness.bonustomato.com'; // server-side flow $oauth2_clients['strava'] = array( 'token_endpoint' => $server_url . '/oauth/token', 'authentication_flow' => 'server-side', 'client_id' => '638', 'client_secret' => '0cf8c26bedb0c48c23a9c7e0f61ec4d4b1ca5c09 ', 'authorization_endpoint' => $server_url . '/oauth/authorize', 'redirect_uri' => $client_url . '/oauth2/authorized', ); return $oauth2_clients; ?>

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)
5.4.280.0110.05912.37
5.4.270.0110.06012.37
5.4.260.0130.06312.37
5.4.250.0160.06012.37
5.4.240.0210.06412.38
5.4.230.0100.06412.37
5.4.220.0110.04912.37
5.4.210.0180.06812.37
5.4.200.0160.06412.37
5.4.190.0120.03912.36
5.4.180.0100.04012.36
5.4.170.0090.04112.37
5.4.160.0130.06112.37
5.4.150.0380.07112.36
5.4.140.0110.04112.05
5.4.130.0130.08612.04
5.4.120.0120.05112.00
5.4.110.0150.05212.00
5.4.100.0110.07211.99
5.4.90.0210.06512.00
5.4.80.0150.06611.99
5.4.70.0100.05012.00
5.4.60.0110.06811.99
5.4.50.0320.07411.99
5.4.40.0160.06111.98
5.4.30.0150.07111.98
5.4.20.0100.05111.97
5.4.10.0060.06211.98
5.4.00.0110.05511.47
5.3.280.0080.05912.71
5.3.270.0110.06012.73
5.3.260.0220.08212.72
5.3.250.0120.05412.72
5.3.240.0090.05512.72
5.3.230.0100.05112.71
5.3.220.0110.04112.68
5.3.210.0110.07312.68
5.3.200.0060.05612.68
5.3.190.0100.03912.68
5.3.180.0100.04012.67
5.3.170.0090.03712.67
5.3.160.0060.04512.68
5.3.150.0140.03812.67
5.3.140.0100.04312.66
5.3.130.0050.04412.66
5.3.120.0050.04312.65
5.3.110.0060.04312.66
5.3.100.0080.03912.12
5.3.90.0120.03512.08
5.3.80.0070.03812.07
5.3.70.0110.04412.08
5.3.60.0060.04012.06
5.3.50.0140.04812.00
5.3.40.0090.05612.00
5.3.30.0070.06311.95
5.3.20.0110.05111.74
5.3.10.0180.04311.71
5.3.00.0140.05211.70

preferences:
142.12 ms | 1394 KiB | 7 Q