3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data="a,b,c,d,e,f"; $run= explode("",$data); echo "data asli,$data"; for ($i=1; $i<=6; $i++){ echo "huruf ke,$i : ".$run[i]."br"; };
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 20
Branch analysis from position: 20
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 11
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 11
Branch analysis from position: 22
Branch analysis from position: 11
filename:       /in/K96m1
function name:  (null)
number of ops:  23
compiled vars:  !0 = $data, !1 = $run, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'a%2Cb%2Cc%2Cd%2Ce%2Cf'
    4     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 ''
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $4      
          5        ASSIGN                                                   !1, $4
    5     6        NOP                                                      
          7        FAST_CONCAT                                      ~6      'data+asli%2C', !0
          8        ECHO                                                     ~6
    7     9        ASSIGN                                                   !2, 1
         10      > JMP                                                      ->20
    8    11    >   ROPE_INIT                                     3  ~9      'huruf+ke%2C'
         12        ROPE_ADD                                      1  ~9      ~9, !2
         13        ROPE_END                                      2  ~8      ~9, '+%3A+'
         14        FETCH_CONSTANT                                   ~11     'i'
         15        FETCH_DIM_R                                      ~12     !1, ~11
         16        CONCAT                                           ~13     ~8, ~12
         17        CONCAT                                           ~14     ~13, 'br'
         18        ECHO                                                     ~14
    7    19        PRE_INC                                                  !2
         20    >   IS_SMALLER_OR_EQUAL                                      !2, 6
         21      > JMPNZ                                                    ~16, ->11
    9    22    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.02 ms | 1395 KiB | 15 Q