3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = explode(' ', microtime()); $r = substr($t[1], 1) . rand(111111, 999999) . substr($t[0], 2, 6); echo ($r);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PNRmR
function name:  (null)
number of ops:  27
compiled vars:  !0 = $t, !1 = $r
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'explode'
          1        SEND_VAL                                                 '+'
          2        INIT_FCALL                                               'microtime'
          3        DO_ICALL                                         $2      
          4        SEND_VAR                                                 $2
          5        DO_ICALL                                         $3      
          6        ASSIGN                                                   !0, $3
    5     7        INIT_FCALL                                               'substr'
          8        FETCH_DIM_R                                      ~5      !0, 1
          9        SEND_VAL                                                 ~5
         10        SEND_VAL                                                 1
         11        DO_ICALL                                         $6      
         12        INIT_FCALL                                               'rand'
         13        SEND_VAL                                                 111111
         14        SEND_VAL                                                 999999
         15        DO_ICALL                                         $7      
         16        CONCAT                                           ~8      $6, $7
         17        INIT_FCALL                                               'substr'
         18        FETCH_DIM_R                                      ~9      !0, 0
         19        SEND_VAL                                                 ~9
         20        SEND_VAL                                                 2
         21        SEND_VAL                                                 6
         22        DO_ICALL                                         $10     
         23        CONCAT                                           ~11     ~8, $10
         24        ASSIGN                                                   !1, ~11
    8    25        ECHO                                                     !1
         26      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.59 ms | 1387 KiB | 21 Q