3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(shuffle(print_r(array_slice(range(0,1337)),true),0,1));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Xn4Xl
function name:  (null)
number of ops:  20
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'shuffle'
          2        INIT_FCALL                                               'print_r'
          3        INIT_FCALL                                               'array_slice'
          4        INIT_FCALL                                               'range'
          5        SEND_VAL                                                 0
          6        SEND_VAL                                                 1337
          7        DO_ICALL                                         $0      
          8        SEND_VAR                                                 $0
          9        DO_ICALL                                         $1      
         10        SEND_VAR                                                 $1
         11        SEND_VAL                                                 <true>
         12        DO_ICALL                                         $2      
         13        SEND_VAR_NO_REF                               0          $2
         14        SEND_VAL                                                 0
         15        SEND_VAL                                                 1
         16        DO_ICALL                                         $3      
         17        SEND_VAR                                                 $3
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.58 ms | 1394 KiB | 23 Q