3v4l.org

run code in 500+ PHP versions simultaneously
<?php $first = '2.php'; $second = '3.php'; $third = '4.php'; $array = array($first, $second, $third); shuffle($array); foreach($array as $el) { echo $el; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 11, Position 2 = 14
Branch analysis from position: 11
2 jumps found. (Code = 78) Position 1 = 12, Position 2 = 14
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/V2GTk
function name:  (null)
number of ops:  16
compiled vars:  !0 = $first, !1 = $second, !2 = $third, !3 = $array, !4 = $el
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '2.php'
    4     1        ASSIGN                                                       !1, '3.php'
    5     2        ASSIGN                                                       !2, '4.php'
    7     3        INIT_ARRAY                                           ~8      !0
          4        ADD_ARRAY_ELEMENT                                    ~8      !1
          5        ADD_ARRAY_ELEMENT                                    ~8      !2
          6        ASSIGN                                                       !3, ~8
    8     7        INIT_FCALL                                                   'shuffle'
          8        SEND_REF                                                     !3
          9        DO_ICALL                                                     
   11    10      > FE_RESET_R                                           $11     !3, ->14
         11    > > FE_FETCH_R                                                   $11, !4, ->14
   12    12    >   ECHO                                                         !4
   11    13      > JMP                                                          ->11
         14    >   FE_FREE                                                      $11
   13    15      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
162.24 ms | 1973 KiB | 14 Q