3v4l.org

run code in 300+ PHP versions simultaneously
<?php $catalogName = 'bzp'; $mktList = "ama,pmi,cdi,fna"; $mktList_arr = explode(",",$mktList); //var_export($mktList_arr); foreach($mktList_arr as $a){ $$a = $catalogName; echo "$catalogName$a"."__products\n"; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 8, Position 2 = 16
Branch analysis from position: 8
2 jumps found. (Code = 78) Position 1 = 9, Position 2 = 16
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/IsIds
function name:  (null)
number of ops:  18
compiled vars:  !0 = $catalogName, !1 = $mktList, !2 = $mktList_arr, !3 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'bzp'
    3     1        ASSIGN                                                   !1, 'ama%2Cpmi%2Ccdi%2Cfna'
    4     2        INIT_FCALL                                               'explode'
          3        SEND_VAL                                                 '%2C'
          4        SEND_VAR                                                 !1
          5        DO_ICALL                                         $6      
          6        ASSIGN                                                   !2, $6
    8     7      > FE_RESET_R                                       $8      !2, ->16
          8    > > FE_FETCH_R                                               $8, !3, ->16
    9     9    >   FETCH_W                      local               $9      !3
         10        ASSIGN                                                   $9, !0
   10    11        NOP                                                      
         12        FAST_CONCAT                                      ~11     !0, !3
         13        CONCAT                                           ~12     ~11, '__products%0A'
         14        ECHO                                                     ~12
    8    15      > JMP                                                      ->8
         16    >   FE_FREE                                                  $8
   13    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.53 ms | 1395 KiB | 15 Q