3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name=array("raj","ram","pooja"); $rel=array("brother","father","sister"); for($i=0;i<sizeof($name);$i++) { echo "".$name[$i]." ".$rel[$i]." ".$name[$i+1]; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 4
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 4
Branch analysis from position: 19
Branch analysis from position: 4
filename:       /in/BdqVW
function name:  (null)
number of ops:  20
compiled vars:  !0 = $name, !1 = $rel, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
          1        ASSIGN                                                   !1, <array>
    5     2        ASSIGN                                                   !2, 0
          3      > JMP                                                      ->15
    7     4    >   FETCH_DIM_R                                      ~6      !0, !2
          5        CONCAT                                           ~7      '', ~6
          6        CONCAT                                           ~8      ~7, '+'
          7        FETCH_DIM_R                                      ~9      !1, !2
          8        CONCAT                                           ~10     ~8, ~9
          9        CONCAT                                           ~11     ~10, '+'
         10        ADD                                              ~12     !2, 1
         11        FETCH_DIM_R                                      ~13     !0, ~12
         12        CONCAT                                           ~14     ~11, ~13
         13        ECHO                                                     ~14
    5    14        PRE_INC                                                  !2
         15    >   FETCH_CONSTANT                                   ~16     'i'
         16        COUNT                                            ~17     !0
         17        IS_SMALLER                                               ~16, ~17
         18      > JMPNZ                                                    ~18, ->4
    8    19    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.93 ms | 1393 KiB | 13 Q