3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name=array("raj","ram","pooja"); $rel=array("brother","father"); $array=array(); for($i=0;$i<sizeof($name);$i++) { if($i<(sizeof($name)-1)) { echo "".$name[$i]." ".$rel[$i]." ".$name[$i+1]."<br>"; $arrays = $name[$i]." ".$rel[$i]." ".$name[$i+1]; } array_push($array, $arrays); } print_r($array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 34
Branch analysis from position: 34
2 jumps found. (Code = 44) Position 1 = 37, Position 2 = 5
Branch analysis from position: 37
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 29
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 37, Position 2 = 5
Branch analysis from position: 37
Branch analysis from position: 5
Branch analysis from position: 29
filename:       /in/85R8Q
function name:  (null)
number of ops:  41
compiled vars:  !0 = $name, !1 = $rel, !2 = $array, !3 = $i, !4 = $arrays
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
          1        ASSIGN                                                   !1, <array>
    4     2        ASSIGN                                                   !2, <array>
    6     3        ASSIGN                                                   !3, 0
          4      > JMP                                                      ->34
    8     5    >   COUNT                                            ~9      !0
          6        SUB                                              ~10     ~9, 1
          7        IS_SMALLER                                               !3, ~10
          8      > JMPZ                                                     ~11, ->29
    9     9    >   FETCH_DIM_R                                      ~12     !0, !3
         10        CONCAT                                           ~13     '', ~12
         11        CONCAT                                           ~14     ~13, '+'
         12        FETCH_DIM_R                                      ~15     !1, !3
         13        CONCAT                                           ~16     ~14, ~15
         14        CONCAT                                           ~17     ~16, '+'
         15        ADD                                              ~18     !3, 1
         16        FETCH_DIM_R                                      ~19     !0, ~18
         17        CONCAT                                           ~20     ~17, ~19
         18        CONCAT                                           ~21     ~20, '%3Cbr%3E'
         19        ECHO                                                     ~21
   10    20        FETCH_DIM_R                                      ~22     !0, !3
         21        CONCAT                                           ~23     ~22, '+'
         22        FETCH_DIM_R                                      ~24     !1, !3
         23        CONCAT                                           ~25     ~23, ~24
         24        CONCAT                                           ~26     ~25, '+'
         25        ADD                                              ~27     !3, 1
         26        FETCH_DIM_R                                      ~28     !0, ~27
         27        CONCAT                                           ~29     ~26, ~28
         28        ASSIGN                                                   !4, ~29
   11    29    >   INIT_FCALL                                               'array_push'
         30        SEND_REF                                                 !2
         31        SEND_VAR                                                 !4
         32        DO_ICALL                                                 
    6    33        PRE_INC                                                  !3
         34    >   COUNT                                            ~33     !0
         35        IS_SMALLER                                               !3, ~33
         36      > JMPNZ                                                    ~34, ->5
   14    37    >   INIT_FCALL                                               'print_r'
         38        SEND_VAR                                                 !2
         39        DO_ICALL                                                 
         40      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.54 ms | 1400 KiB | 17 Q