3v4l.org

run code in 300+ PHP versions simultaneously
<?php $params = [ 'response_type' => 'code', 'client_id' => 'client_id', 'redirect_uri' => 'redirectUri', 'scope' => [], 'access_type' => 'offline' ]; echo 'https://accounts.google.com/o/oauth2/auth'.http_build_query($params, null, '&');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/H9VXp
function name:  (null)
number of ops:  9
compiled vars:  !0 = $params
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   10     1        INIT_FCALL                                               'http_build_query'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 null
          4        SEND_VAL                                                 '%26'
          5        DO_ICALL                                         $2      
          6        CONCAT                                           ~3      'https%3A%2F%2Faccounts.google.com%2Fo%2Foauth2%2Fauth', $2
          7        ECHO                                                     ~3
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.71 ms | 1398 KiB | 15 Q