3v4l.org

run code in 300+ PHP versions simultaneously
<?php $n=range(11,20); shuffle($n); for ($x=0; $x<10; $x++) { echo $n[$x].' '; } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 10
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 10
Branch analysis from position: 16
Branch analysis from position: 10
filename:       /in/24pYR
function name:  (null)
number of ops:  17
compiled vars:  !0 = $n, !1 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'range'
          1        SEND_VAL                                                 11
          2        SEND_VAL                                                 20
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    3     5        INIT_FCALL                                               'shuffle'
          6        SEND_REF                                                 !0
          7        DO_ICALL                                                 
    4     8        ASSIGN                                                   !1, 0
          9      > JMP                                                      ->14
    6    10    >   FETCH_DIM_R                                      ~6      !0, !1
         11        CONCAT                                           ~7      ~6, '+'
         12        ECHO                                                     ~7
    4    13        PRE_INC                                                  !1
         14    >   IS_SMALLER                                               !1, 10
         15      > JMPNZ                                                    ~9, ->10
    8    16    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.93 ms | 940 KiB | 18 Q