3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(sha1('aaroZmOk')); var_dump(sha1('aaK1STfY')); var_dump(sha1('aaroZmOk') == sha1('aaK1STfY')); var_dump(hash_equals(sha1('aaroZmOk'),sha1('aaK1STfY')));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5Nm9L
function name:  (null)
number of ops:  36
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'sha1'
          2        SEND_VAL                                                 'aaroZmOk'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
    3     6        INIT_FCALL                                               'var_dump'
          7        INIT_FCALL                                               'sha1'
          8        SEND_VAL                                                 'aaK1STfY'
          9        DO_ICALL                                         $2      
         10        SEND_VAR                                                 $2
         11        DO_ICALL                                                 
    4    12        INIT_FCALL                                               'var_dump'
         13        INIT_FCALL                                               'sha1'
         14        SEND_VAL                                                 'aaroZmOk'
         15        DO_ICALL                                         $4      
         16        INIT_FCALL                                               'sha1'
         17        SEND_VAL                                                 'aaK1STfY'
         18        DO_ICALL                                         $5      
         19        IS_EQUAL                                         ~6      $4, $5
         20        SEND_VAL                                                 ~6
         21        DO_ICALL                                                 
    5    22        INIT_FCALL                                               'var_dump'
         23        INIT_FCALL                                               'hash_equals'
         24        INIT_FCALL                                               'sha1'
         25        SEND_VAL                                                 'aaroZmOk'
         26        DO_ICALL                                         $8      
         27        SEND_VAR                                                 $8
         28        INIT_FCALL                                               'sha1'
         29        SEND_VAL                                                 'aaK1STfY'
         30        DO_ICALL                                         $9      
         31        SEND_VAR                                                 $9
         32        DO_ICALL                                         $10     
         33        SEND_VAR                                                 $10
         34        DO_ICALL                                                 
         35      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.43 ms | 1396 KiB | 19 Q