3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name=array("raj","ram","pooja"); $rel=array("brother","father","sister"); echo "123"; 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 = 16
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 5
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 5
Branch analysis from position: 20
Branch analysis from position: 5
filename:       /in/d8KBC
function name:  (null)
number of ops:  21
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>
    4     2        ECHO                                                     '123'
    6     3        ASSIGN                                                   !2, 0
          4      > JMP                                                      ->16
    8     5    >   FETCH_DIM_R                                      ~6      !0, !2
          6        CONCAT                                           ~7      '', ~6
          7        CONCAT                                           ~8      ~7, '+'
          8        FETCH_DIM_R                                      ~9      !1, !2
          9        CONCAT                                           ~10     ~8, ~9
         10        CONCAT                                           ~11     ~10, '+'
         11        ADD                                              ~12     !2, 1
         12        FETCH_DIM_R                                      ~13     !0, ~12
         13        CONCAT                                           ~14     ~11, ~13
         14        ECHO                                                     ~14
    6    15        PRE_INC                                                  !2
         16    >   FETCH_CONSTANT                                   ~16     'i'
         17        COUNT                                            ~17     !0
         18        IS_SMALLER                                               ~16, ~17
         19      > JMPNZ                                                    ~18, ->5
    9    20    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.23 ms | 1393 KiB | 13 Q