3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tablename = array ('referer_medium', 'referer_source', 'referer_campaign'); foreach ($tablename as $name) { echo ("ALTER TABLE `". Piwik_Common::prefixTable('log_visit') . "` DROP `{$name}`"); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 13
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 13
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
filename:       /in/G4QT1
function name:  (null)
number of ops:  15
compiled vars:  !0 = $tablename, !1 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, <array>
    6     1      > FE_RESET_R                                       $3      !0, ->13
          2    > > FE_FETCH_R                                               $3, !1, ->13
    7     3    >   INIT_STATIC_METHOD_CALL                                  'Piwik_Common', 'prefixTable'
          4        SEND_VAL_EX                                              'log_visit'
          5        DO_FCALL                                      0  $4      
          6        CONCAT                                           ~5      'ALTER+TABLE+%60', $4
          7        ROPE_INIT                                     3  ~7      '%60+DROP+%60'
          8        ROPE_ADD                                      1  ~7      ~7, !1
          9        ROPE_END                                      2  ~6      ~7, '%60'
         10        CONCAT                                           ~9      ~5, ~6
         11        ECHO                                                     ~9
    6    12      > JMP                                                      ->2
         13    >   FE_FREE                                                  $3
    8    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.55 ms | 1397 KiB | 13 Q