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', ); echo $oauth2_clients; } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZnZc0
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   18     0  E > > RETURN                                                   1

Function strava_oauth2_clients:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZnZc0
function name:  strava_oauth2_clients
number of ops:  15
compiled vars:  !0 = $server_url, !1 = $client_url, !2 = $oauth2_clients
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 'https%3A%2F%2Fwww.strava.com'
    5     1        ASSIGN                                                   !1, 'https%3A%2F%2Ffitness.bonustomato.com'
    9     2        CONCAT                                           ~6      !0, '%2Foauth%2Ftoken'
          3        INIT_ARRAY                                       ~7      ~6, 'token_endpoint'
   10     4        ADD_ARRAY_ELEMENT                                ~7      'server-side', 'authentication_flow'
   11     5        ADD_ARRAY_ELEMENT                                ~7      '638', 'client_id'
   12     6        ADD_ARRAY_ELEMENT                                ~7      '0cf8c26bedb0c48c23a9c7e0f61ec4d4b1ca5c09+', 'client_secret'
   13     7        CONCAT                                           ~8      !0, '%2Foauth%2Fauthorize'
          8        ADD_ARRAY_ELEMENT                                ~7      ~8, 'authorization_endpoint'
   14     9        CONCAT                                           ~9      !1, '%2Foauth2%2Fauthorized'
         10        ADD_ARRAY_ELEMENT                                ~7      ~9, 'redirect_uri'
    8    11        ASSIGN_DIM                                               !2, 'strava'
   14    12        OP_DATA                                                  ~7
   16    13        ECHO                                                     !2
   17    14      > RETURN                                                   null

End of function strava_oauth2_clients

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.98 ms | 1394 KiB | 13 Q