3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach (array_rand($numbers, 19) as $key) { echo '<div class="avatar"><img src="'.$numbers[$key].'.png" /></div>'; }?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 5, Position 2 = 11
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 11
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename:       /in/JkoDW
function name:  (null)
number of ops:  13
compiled vars:  !0 = $numbers, !1 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   INIT_FCALL                                               'array_rand'
          1        SEND_VAR                                                 !0
          2        SEND_VAL                                                 19
          3        DO_ICALL                                         $2      
          4      > FE_RESET_R                                       $3      $2, ->11
          5    > > FE_FETCH_R                                               $3, !1, ->11
    2     6    >   FETCH_DIM_R                                      ~4      !0, !1
          7        CONCAT                                           ~5      '%3Cdiv+class%3D%22avatar%22%3E%3Cimg+src%3D%22', ~4
          8        CONCAT                                           ~6      ~5, '.png%22+%2F%3E%3C%2Fdiv%3E'
          9        ECHO                                                     ~6
    1    10      > JMP                                                      ->5
         11    >   FE_FREE                                                  $3
    3    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.98 ms | 1394 KiB | 15 Q