3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hkey = "12345"; $date = new DateTime('now'); $shash = sha1($hkey.$date->format('Y-m-d H:i')); echo $shash;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VnMZe
function name:  (null)
number of ops:  15
compiled vars:  !0 = $hkey, !1 = $date, !2 = $shash
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '12345'
    3     1        NEW                                              $4      'DateTime'
          2        SEND_VAL_EX                                              'now'
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !1, $4
    4     5        INIT_FCALL                                               'sha1'
          6        INIT_METHOD_CALL                                         !1, 'format'
          7        SEND_VAL_EX                                              'Y-m-d+H%3Ai'
          8        DO_FCALL                                      0  $7      
          9        CONCAT                                           ~8      !0, $7
         10        SEND_VAL                                                 ~8
         11        DO_ICALL                                         $9      
         12        ASSIGN                                                   !2, $9
    5    13        ECHO                                                     !2
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.8 ms | 1394 KiB | 15 Q