3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.12 ms | 1394 KiB | 19 Q