3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arg = array( 'auto_refresh' => '0', 'tags' => $fieldcontent ); foreach($arg as $k=>$v){ $finalArg.= $k.'='.$v.'&'; } $finalArg = substr($finalArg,0,-1); echo $finalArg;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 11
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 11
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename:       /in/dBbsJ
function name:  (null)
number of ops:  20
compiled vars:  !0 = $arg, !1 = $fieldcontent, !2 = $v, !3 = $k, !4 = $finalArg
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_ARRAY                                       ~5      '0', 'auto_refresh'
          1        ADD_ARRAY_ELEMENT                                ~5      !1, 'tags'
          2        ASSIGN                                                   !0, ~5
    4     3      > FE_RESET_R                                       $7      !0, ->11
          4    > > FE_FETCH_R                                       ~8      $7, !2, ->11
          5    >   ASSIGN                                                   !3, ~8
    5     6        CONCAT                                           ~10     !3, '%3D'
          7        CONCAT                                           ~11     ~10, !2
          8        CONCAT                                           ~12     ~11, '%26'
          9        ASSIGN_OP                                     8          !4, ~12
    4    10      > JMP                                                      ->4
         11    >   FE_FREE                                                  $7
    8    12        INIT_FCALL                                               'substr'
         13        SEND_VAR                                                 !4
         14        SEND_VAL                                                 0
         15        SEND_VAL                                                 -1
         16        DO_ICALL                                         $14     
         17        ASSIGN                                                   !4, $14
   10    18        ECHO                                                     !4
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.08 ms | 1399 KiB | 15 Q