3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach( array_merge( range( 0, 2), range( 4, 8), range( 10, 15)) as $i) { echo $i; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 18, Position 2 = 21
Branch analysis from position: 18
2 jumps found. (Code = 78) Position 1 = 19, Position 2 = 21
Branch analysis from position: 19
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 21
filename:       /in/BTiZ6
function name:  (null)
number of ops:  23
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'array_merge'
          1        INIT_FCALL                                               'range'
          2        SEND_VAL                                                 0
          3        SEND_VAL                                                 2
          4        DO_ICALL                                         $1      
          5        SEND_VAR                                                 $1
          6        INIT_FCALL                                               'range'
          7        SEND_VAL                                                 4
          8        SEND_VAL                                                 8
          9        DO_ICALL                                         $2      
         10        SEND_VAR                                                 $2
         11        INIT_FCALL                                               'range'
         12        SEND_VAL                                                 10
         13        SEND_VAL                                                 15
         14        DO_ICALL                                         $3      
         15        SEND_VAR                                                 $3
         16        DO_ICALL                                         $4      
         17      > FE_RESET_R                                       $5      $4, ->21
         18    > > FE_FETCH_R                                               $5, !0, ->21
    4    19    >   ECHO                                                     !0
    3    20      > JMP                                                      ->18
         21    >   FE_FREE                                                  $5
    5    22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.27 ms | 1395 KiB | 17 Q