3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'https://medium.com/on-coding/5963ca9d6499'; $params = array( 'type' => '11', 'PPSX' => 'Pass', 'NewUser' => '1', 'LoginOptions' => '1', 'i3' => '71126', 'm1' => '1366', 'm2' => '768', 'm3' => '0', 'i12' => '1', 'i17' => '0', 'i18' => '__Login_Host|1,', ); if ($array_keys[0] != 0) { foreach ($params as &$params) { implode('=', $params); } } if (substr($url, -1) !== '?') { if (substr($url, -1) !== '/') { $url .= '/'; } $url .= '?'; } print $url .= implode('&', $params);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 13
Branch analysis from position: 5
2 jumps found. (Code = 125) Position 1 = 6, Position 2 = 12
Branch analysis from position: 6
2 jumps found. (Code = 126) Position 1 = 7, Position 2 = 12
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 19, Position 2 = 27
Branch analysis from position: 19
2 jumps found. (Code = 43) Position 1 = 25, Position 2 = 26
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 26
Branch analysis from position: 27
Branch analysis from position: 12
Branch analysis from position: 13
filename:       /in/CPhqb
function name:  (null)
number of ops:  34
compiled vars:  !0 = $url, !1 = $params, !2 = $array_keys
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'https%3A%2F%2Fmedium.com%2Fon-coding%2F5963ca9d6499'
    5     1        ASSIGN                                                   !1, <array>
   19     2        FETCH_DIM_R                                      ~5      !2, 0
          3        IS_NOT_EQUAL                                             ~5, 0
          4      > JMPZ                                                     ~6, ->13
   20     5    > > FE_RESET_RW                                      $7      !1, ->12
          6    > > FE_FETCH_RW                                              $7, !1, ->12
   21     7    >   INIT_FCALL                                               'implode'
          8        SEND_VAL                                                 '%3D'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                                 
   20    11      > JMP                                                      ->6
         12    >   FE_FREE                                                  $7
   25    13    >   INIT_FCALL                                               'substr'
         14        SEND_VAR                                                 !0
         15        SEND_VAL                                                 -1
         16        DO_ICALL                                         $9      
         17        IS_NOT_IDENTICAL                                         $9, '%3F'
         18      > JMPZ                                                     ~10, ->27
   26    19    >   INIT_FCALL                                               'substr'
         20        SEND_VAR                                                 !0
         21        SEND_VAL                                                 -1
         22        DO_ICALL                                         $11     
         23        IS_NOT_IDENTICAL                                         $11, '%2F'
         24      > JMPZ                                                     ~12, ->26
   27    25    >   ASSIGN_OP                                     8          !0, '%2F'
   29    26    >   ASSIGN_OP                                     8          !0, '%3F'
   33    27    >   INIT_FCALL                                               'implode'
         28        SEND_VAL                                                 '%26'
         29        SEND_VAR                                                 !1
         30        DO_ICALL                                         $15     
         31        ASSIGN_OP                                     8  ~16     !0, $15
         32        ECHO                                                     ~16
         33      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.45 ms | 1396 KiB | 17 Q