3v4l.org

run code in 300+ PHP versions simultaneously
<?php $uniqid_with_more_entropy = uniqid('', true); $uniqid_13x = substr($uniqid_with_more_entropy, 0, 13); $more_entropy = substr($uniqid_with_more_entropy, 13); $more_entropy = str_replace('.', '', $more_entropy); dechex(mt_rand(0, 0xFFF)) . dechex(mt_rand(0, 0xFFFFFFFF)) . $uniqid_13x . dechex((int)((string)mt_rand(0, 4) . $more_entropy));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1Pb4h
function name:  (null)
number of ops:  51
compiled vars:  !0 = $uniqid_with_more_entropy, !1 = $uniqid_13x, !2 = $more_entropy
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                                         $3      
          4        ASSIGN                                                   !0, $3
    3     5        INIT_FCALL                                               'substr'
          6        SEND_VAR                                                 !0
          7        SEND_VAL                                                 0
          8        SEND_VAL                                                 13
          9        DO_ICALL                                         $5      
         10        ASSIGN                                                   !1, $5
    4    11        INIT_FCALL                                               'substr'
         12        SEND_VAR                                                 !0
         13        SEND_VAL                                                 13
         14        DO_ICALL                                         $7      
         15        ASSIGN                                                   !2, $7
    5    16        INIT_FCALL                                               'str_replace'
         17        SEND_VAL                                                 '.'
         18        SEND_VAL                                                 ''
         19        SEND_VAR                                                 !2
         20        DO_ICALL                                         $9      
         21        ASSIGN                                                   !2, $9
    6    22        INIT_FCALL                                               'dechex'
         23        INIT_FCALL                                               'mt_rand'
         24        SEND_VAL                                                 0
         25        SEND_VAL                                                 4095
         26        DO_ICALL                                         $11     
         27        SEND_VAR                                                 $11
         28        DO_ICALL                                         $12     
         29        INIT_FCALL                                               'dechex'
         30        INIT_FCALL                                               'mt_rand'
         31        SEND_VAL                                                 0
         32        SEND_VAL                                                 4294967295
         33        DO_ICALL                                         $13     
         34        SEND_VAR                                                 $13
         35        DO_ICALL                                         $14     
         36        CONCAT                                           ~15     $12, $14
         37        CONCAT                                           ~16     ~15, !1
         38        INIT_FCALL                                               'dechex'
         39        INIT_FCALL                                               'mt_rand'
         40        SEND_VAL                                                 0
         41        SEND_VAL                                                 4
         42        DO_ICALL                                         $17     
         43        CAST                                          6  ~18     $17
         44        CONCAT                                           ~19     ~18, !2
         45        CAST                                          4  ~20     ~19
         46        SEND_VAL                                                 ~20
         47        DO_ICALL                                         $21     
         48        CONCAT                                           ~22     ~16, $21
         49        FREE                                                     ~22
         50      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.94 ms | 1400 KiB | 23 Q