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; ?>
Output for 5.4.0 - 5.4.28
Parse error: syntax error, unexpected end of file in /in/eUNL1 on line 17
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected $end in /in/eUNL1 on line 17
Process exited with code 255.

preferences:
171.87 ms | 1399 KiB | 65 Q