3v4l.org

run code in 300+ PHP versions simultaneously
<?php $urlParams = array( 'username' => $this->getIdUser(), 'password' => strtolower($this->getIdUser()), 'id' => $portfolioName, 'style' => 'JPM' ); echo str_replace('&amp;', '&', http_build_query($urlParams));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kQj4i
function name:  (null)
number of ops:  24
compiled vars:  !0 = $urlParams, !1 = $portfolioName
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   FETCH_THIS                                       $2      
          1        INIT_METHOD_CALL                                         $2, 'getIdUser'
          2        DO_FCALL                                      0  $3      
          3        INIT_ARRAY                                       ~4      $3, 'username'
    5     4        INIT_FCALL                                               'strtolower'
          5        FETCH_THIS                                       $5      
          6        INIT_METHOD_CALL                                         $5, 'getIdUser'
          7        DO_FCALL                                      0  $6      
          8        SEND_VAR                                                 $6
          9        DO_ICALL                                         $7      
         10        ADD_ARRAY_ELEMENT                                ~4      $7, 'password'
    6    11        ADD_ARRAY_ELEMENT                                ~4      !1, 'id'
    7    12        ADD_ARRAY_ELEMENT                                ~4      'JPM', 'style'
    3    13        ASSIGN                                                   !0, ~4
    9    14        INIT_FCALL                                               'str_replace'
         15        SEND_VAL                                                 '%26amp%3B'
         16        SEND_VAL                                                 '%26'
         17        INIT_FCALL                                               'http_build_query'
         18        SEND_VAR                                                 !0
         19        DO_ICALL                                         $9      
         20        SEND_VAR                                                 $9
         21        DO_ICALL                                         $10     
         22        ECHO                                                     $10
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.95 ms | 1395 KiB | 19 Q