3v4l.org

run code in 300+ PHP versions simultaneously
<?php $base_url = 'https://www.strava.com'; $data = 'client_id=638&response_type=code&redirect_uri=http:fitness.bonustomato.com/user&scope=write&approval_prompt=force'; $options= array( 'headers' => array( 'Accept' => 'application/json', ), 'method' => 'GET', 'data' => $data, ); $newbase_url = $base_url . "/oauth/authorize?"; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BIoaT
function name:  (null)
number of ops:  9
compiled vars:  !0 = $base_url, !1 = $data, !2 = $options, !3 = $newbase_url
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'https%3A%2F%2Fwww.strava.com'
    3     1        ASSIGN                                                   !1, 'client_id%3D638%26response_type%3Dcode%26redirect_uri%3Dhttp%3Afitness.bonustomato.com%2Fuser%26scope%3Dwrite%26approval_prompt%3Dforce'
    6     2        INIT_ARRAY                                       ~6      <array>, 'headers'
    8     3        ADD_ARRAY_ELEMENT                                ~6      'GET', 'method'
    9     4        ADD_ARRAY_ELEMENT                                ~6      !1, 'data'
    4     5        ASSIGN                                                   !2, ~6
   11     6        CONCAT                                           ~8      !0, '%2Foauth%2Fauthorize%3F'
          7        ASSIGN                                                   !3, ~8
   12     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.57 ms | 1384 KiB | 13 Q