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 "$cdi$a__"; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 10, Position 2 = 17
Branch analysis from position: 10
2 jumps found. (Code = 78) Position 1 = 11, Position 2 = 17
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
filename:       /in/puTsY
function name:  (null)
number of ops:  19
compiled vars:  !0 = $mktList, !1 = $mktList_arr, !2 = $a, !3 = $cdi, !4 = $a__
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                                         $6      
          5        ASSIGN                                                   !1, $6
    5     6        INIT_FCALL                                               'var_export'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
    7     9      > FE_RESET_R                                       $9      !1, ->17
         10    > > FE_FETCH_R                                               $9, !2, ->17
    8    11    >   FETCH_W                      local               $10     !2
         12        ASSIGN                                                   $10, 'bzp'
    9    13        NOP                                                      
         14        FAST_CONCAT                                      ~12     !3, !4
         15        ECHO                                                     ~12
    7    16      > JMP                                                      ->10
         17    >   FE_FREE                                                  $9
   12    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.38 ms | 1395 KiB | 17 Q