3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "mama"; $array = array ( 1 => "a", 2 => "b", 3=> "c", ); $andra = array( 1=>12, 3=>14); $andra[]=56; $nr=count($andra); for($i=0;$i<$nr;$i++){ echo "eu si tu : {$andra[$i]}\n"; } var_dump($array); ?>
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 = 17, Position 2 = 9
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 9
Branch analysis from position: 17
Branch analysis from position: 9
filename:       /in/bbXBQ
function name:  (null)
number of ops:  21
compiled vars:  !0 = $array, !1 = $andra, !2 = $nr, !3 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ECHO                                                     'mama'
    4     1        ASSIGN                                                   !0, <array>
   11     2        ASSIGN                                                   !1, <array>
   13     3        ASSIGN_DIM                                               !1
          4        OP_DATA                                                  56
   15     5        COUNT                                            ~7      !1
          6        ASSIGN                                                   !2, ~7
   16     7        ASSIGN                                                   !3, 0
          8      > JMP                                                      ->15
   18     9    >   ROPE_INIT                                     3  ~12     'eu+si+tu+%3A+'
         10        FETCH_DIM_R                                      ~10     !1, !3
         11        ROPE_ADD                                      1  ~12     ~12, ~10
         12        ROPE_END                                      2  ~11     ~12, '%0A'
         13        ECHO                                                     ~11
   16    14        PRE_INC                                                  !3
         15    >   IS_SMALLER                                               !3, !2
         16      > JMPNZ                                                    ~15, ->9
   21    17    >   INIT_FCALL                                               'var_dump'
         18        SEND_VAR                                                 !0
         19        DO_ICALL                                                 
   23    20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.45 ms | 1386 KiB | 15 Q