3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.2 ms | 1395 KiB | 23 Q