3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.15 ms | 940 KiB | 18 Q