3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.26 ms | 1394 KiB | 23 Q