3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (!function_exists('hash_equals')) exit; var_dump(hash_equals('75410fc8791d8dc96f044895146ff355', '75410fc8791d8dc96f044895146ff355')); var_dump(hash_equals('65225f27f5c6c7f8fade48034c80f65f', '65225f27f5c6c7f8fade48034c80f65f')); var_dump(hash_equals('48d889179e4327b3537e43241bf73ff7', '48d889179e4327b3537e43241bf73ff7'));
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 6
Branch analysis from position: 5
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SALbZ
function name:  (null)
number of ops:  28
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'function_exists'
          1        SEND_VAL                                                 'hash_equals'
          2        DO_ICALL                                         $0      
          3        BOOL_NOT                                         ~1      $0
          4      > JMPZ                                                     ~1, ->6
          5    > > EXIT                                                     
    5     6    >   INIT_FCALL                                               'var_dump'
          7        INIT_FCALL                                               'hash_equals'
          8        SEND_VAL                                                 '75410fc8791d8dc96f044895146ff355'
          9        SEND_VAL                                                 '75410fc8791d8dc96f044895146ff355'
         10        DO_ICALL                                         $2      
         11        SEND_VAR                                                 $2
         12        DO_ICALL                                                 
    6    13        INIT_FCALL                                               'var_dump'
         14        INIT_FCALL                                               'hash_equals'
         15        SEND_VAL                                                 '65225f27f5c6c7f8fade48034c80f65f'
         16        SEND_VAL                                                 '65225f27f5c6c7f8fade48034c80f65f'
         17        DO_ICALL                                         $4      
         18        SEND_VAR                                                 $4
         19        DO_ICALL                                                 
    7    20        INIT_FCALL                                               'var_dump'
         21        INIT_FCALL                                               'hash_equals'
         22        SEND_VAL                                                 '48d889179e4327b3537e43241bf73ff7'
         23        SEND_VAL                                                 '48d889179e4327b3537e43241bf73ff7'
         24        DO_ICALL                                         $6      
         25        SEND_VAR                                                 $6
         26        DO_ICALL                                                 
         27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
187.17 ms | 1395 KiB | 19 Q