3v4l.org

run code in 300+ PHP versions simultaneously
<?php $salt = 'foo'; $pass = 'bar'; $algo = 'md5'; $poor = hash($algo, $salt . $pass); echo "$poor\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/aC5Y7
function name:  (null)
number of ops:  13
compiled vars:  !0 = $salt, !1 = $pass, !2 = $algo, !3 = $poor
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'foo'
    3     1        ASSIGN                                                   !1, 'bar'
    4     2        ASSIGN                                                   !2, 'md5'
    7     3        INIT_FCALL                                               'hash'
          4        SEND_VAR                                                 !2
          5        CONCAT                                           ~7      !0, !1
          6        SEND_VAL                                                 ~7
          7        DO_ICALL                                         $8      
          8        ASSIGN                                                   !3, $8
    9     9        NOP                                                      
         10        FAST_CONCAT                                      ~10     !3, '%0A'
         11        ECHO                                                     ~10
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.9 ms | 1394 KiB | 15 Q