3v4l.org

run code in 300+ PHP versions simultaneously
<?php print sprintf('%04x%04x-%04x-%04x-%04x-%04x%04x%04x', // 32 bits for "time_low" mt_rand(0, 0xffff), mt_rand(0, 0xffff), // 16 bits for "time_mid" mt_rand(0, 0xffff), // 16 bits for "time_hi_and_version", // four most significant bits holds version number 4 mt_rand(0, 0x0fff) | 0x4000, // 16 bits, 8 bits for "clk_seq_hi_res", // 8 bits for "clk_seq_low", // two most significant bits holds zero and one for variant DCE1.1 mt_rand(0, 0x3fff) | 0x8000, // 48 bits for "node" mt_rand(0, 0xffff), mt_rand(0, 0xffff), mt_rand(0, 0xffff) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6aI7m
function name:  (null)
number of ops:  47
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'sprintf'
          1        SEND_VAL                                                 '%2504x%2504x-%2504x-%2504x-%2504x-%2504x%2504x%2504x'
    6     2        INIT_FCALL                                               'mt_rand'
          3        SEND_VAL                                                 0
          4        SEND_VAL                                                 65535
          5        DO_ICALL                                         $0      
          6        SEND_VAR                                                 $0
          7        INIT_FCALL                                               'mt_rand'
          8        SEND_VAL                                                 0
          9        SEND_VAL                                                 65535
         10        DO_ICALL                                         $1      
         11        SEND_VAR                                                 $1
    9    12        INIT_FCALL                                               'mt_rand'
         13        SEND_VAL                                                 0
         14        SEND_VAL                                                 65535
         15        DO_ICALL                                         $2      
         16        SEND_VAR                                                 $2
   13    17        INIT_FCALL                                               'mt_rand'
         18        SEND_VAL                                                 0
         19        SEND_VAL                                                 4095
         20        DO_ICALL                                         $3      
         21        BW_OR                                            ~4      $3, 16384
         22        SEND_VAL                                                 ~4
   18    23        INIT_FCALL                                               'mt_rand'
         24        SEND_VAL                                                 0
         25        SEND_VAL                                                 16383
         26        DO_ICALL                                         $5      
         27        BW_OR                                            ~6      $5, 32768
         28        SEND_VAL                                                 ~6
   21    29        INIT_FCALL                                               'mt_rand'
         30        SEND_VAL                                                 0
         31        SEND_VAL                                                 65535
         32        DO_ICALL                                         $7      
         33        SEND_VAR                                                 $7
         34        INIT_FCALL                                               'mt_rand'
         35        SEND_VAL                                                 0
         36        SEND_VAL                                                 65535
         37        DO_ICALL                                         $8      
         38        SEND_VAR                                                 $8
         39        INIT_FCALL                                               'mt_rand'
         40        SEND_VAL                                                 0
         41        SEND_VAL                                                 65535
         42        DO_ICALL                                         $9      
         43        SEND_VAR                                                 $9
         44        DO_ICALL                                         $10     
         45        ECHO                                                     $10
   22    46      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.07 ms | 1400 KiB | 17 Q