3v4l.org

run code in 300+ PHP versions simultaneously
<?php $n=range(11,20);print_r($n); shuffle($n);print_r($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 = 20
Branch analysis from position: 20
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 16
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 16
Branch analysis from position: 22
Branch analysis from position: 16
filename:       /in/R8d34
function name:  (null)
number of ops:  23
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
          5        INIT_FCALL                                               'print_r'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
    3     8        INIT_FCALL                                               'shuffle'
          9        SEND_REF                                                 !0
         10        DO_ICALL                                                 
         11        INIT_FCALL                                               'print_r'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                                 
    4    14        ASSIGN                                                   !1, 0
         15      > JMP                                                      ->20
    6    16    >   FETCH_DIM_R                                      ~8      !0, !1
         17        CONCAT                                           ~9      ~8, '+'
         18        ECHO                                                     ~9
    4    19        PRE_INC                                                  !1
         20    >   IS_SMALLER                                               !1, 10
         21      > JMPNZ                                                    ~11, ->16
    8    22    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.34 ms | 1395 KiB | 19 Q