3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.43 ms | 1395 KiB | 21 Q