3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.81 ms | 1394 KiB | 17 Q