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 "$a$catalogName"."__products\n"; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 11, Position 2 = 19
Branch analysis from position: 11
2 jumps found. (Code = 78) Position 1 = 12, Position 2 = 19
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
filename:       /in/YZRJU
function name:  (null)
number of ops:  21
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
    6     7        INIT_FCALL                                               'var_export'
          8        SEND_VAR                                                 !2
          9        DO_ICALL                                                 
    8    10      > FE_RESET_R                                       $9      !2, ->19
         11    > > FE_FETCH_R                                               $9, !3, ->19
    9    12    >   FETCH_W                      local               $10     !3
         13        ASSIGN                                                   $10, !0
   10    14        NOP                                                      
         15        FAST_CONCAT                                      ~12     !3, !0
         16        CONCAT                                           ~13     ~12, '__products%0A'
         17        ECHO                                                     ~13
    8    18      > JMP                                                      ->11
         19    >   FE_FREE                                                  $9
   13    20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.88 ms | 1395 KiB | 17 Q