3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.85 ms | 1396 KiB | 17 Q