3v4l.org

run code in 300+ PHP versions simultaneously
<?php function encrypt($input) { return eval("return (('0x'.unpack('H*', '$input')) * 37 + 13);"); } print encrypt('aaa');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QeKD4
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'encrypt'
          1        SEND_VAL                                                 'aaa'
          2        DO_FCALL                                      0  $0      
          3        ECHO                                                     $0
          4      > RETURN                                                   1

Function encrypt:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QeKD4
function name:  encrypt
number of ops:  7
compiled vars:  !0 = $input
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    5     1        ROPE_INIT                                     3  ~2      'return+%28%28%270x%27.unpack%28%27H%2A%27%2C+%27'
          2        ROPE_ADD                                      1  ~2      ~2, !0
          3        ROPE_END                                      2  ~1      ~2, '%27%29%29+%2A+37+%2B+13%29%3B'
          4        INCLUDE_OR_EVAL                                  $4      ~1, EVAL
          5      > RETURN                                                   $4
    6     6*     > RETURN                                                   null

End of function encrypt

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.3 ms | 1397 KiB | 14 Q