3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hash = hash('sha256', ''); echo $hash; echo $timestamp = gmstrftime('%Y%m%d%H%M%S'); $hash = hash(sha256, ''); echo $hash;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4pJ6n
function name:  (null)
number of ops:  19
compiled vars:  !0 = $hash, !1 = $timestamp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'hash'
          1        SEND_VAL                                                 'sha256'
          2        SEND_VAL                                                 ''
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    6     5        ECHO                                                     !0
    7     6        INIT_FCALL                                               'gmstrftime'
          7        SEND_VAL                                                 '%25Y%25m%25d%25H%25M%25S'
          8        DO_ICALL                                         $4      
          9        ASSIGN                                           ~5      !1, $4
         10        ECHO                                                     ~5
   10    11        INIT_FCALL                                               'hash'
         12        FETCH_CONSTANT                                   ~6      'sha256'
         13        SEND_VAL                                                 ~6
         14        SEND_VAL                                                 ''
         15        DO_ICALL                                         $7      
         16        ASSIGN                                                   !0, $7
   12    17        ECHO                                                     !0
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.59 ms | 1398 KiB | 17 Q