3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.34 ms | 1394 KiB | 23 Q