3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hash = md5('240610708'); if ($hash == md5('QNKCDZO')) echo 'ok'; var_dump(md5('240610708')); var_dump(md5('QNKCDZO')); var_dump(md5('240610708') == md5('QNKCDZO')); var_dump(md5('aabg7XSs') == md5('aabC9RqS')); var_dump(sha1('aaroZmOk') == sha1('aaK1STfY')); var_dump(sha1('aaO8zKZF') == sha1('aa3OFF9m')); var_dump('0010e2' == '1e3'); var_dump('0x1234Ab' == '1193131'); var_dump('0xABCdef' == ' 0xABCdef');
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 10
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/LNEBX
function name:  (null)
number of ops:  72
compiled vars:  !0 = $hash
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'md5'
          1        SEND_VAL                                                 '240610708'
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
    7     4        INIT_FCALL                                               'md5'
          5        SEND_VAL                                                 'QNKCDZO'
          6        DO_ICALL                                         $3      
          7        IS_EQUAL                                                 !0, $3
          8      > JMPZ                                                     ~4, ->10
    9     9    >   ECHO                                                     'ok'
   12    10    >   INIT_FCALL                                               'var_dump'
         11        INIT_FCALL                                               'md5'
         12        SEND_VAL                                                 '240610708'
         13        DO_ICALL                                         $5      
         14        SEND_VAR                                                 $5
         15        DO_ICALL                                                 
   14    16        INIT_FCALL                                               'var_dump'
         17        INIT_FCALL                                               'md5'
         18        SEND_VAL                                                 'QNKCDZO'
         19        DO_ICALL                                         $7      
         20        SEND_VAR                                                 $7
         21        DO_ICALL                                                 
   15    22        INIT_FCALL                                               'var_dump'
         23        INIT_FCALL                                               'md5'
         24        SEND_VAL                                                 '240610708'
         25        DO_ICALL                                         $9      
         26        INIT_FCALL                                               'md5'
         27        SEND_VAL                                                 'QNKCDZO'
         28        DO_ICALL                                         $10     
         29        IS_EQUAL                                         ~11     $9, $10
         30        SEND_VAL                                                 ~11
         31        DO_ICALL                                                 
   16    32        INIT_FCALL                                               'var_dump'
         33        INIT_FCALL                                               'md5'
         34        SEND_VAL                                                 'aabg7XSs'
         35        DO_ICALL                                         $13     
         36        INIT_FCALL                                               'md5'
         37        SEND_VAL                                                 'aabC9RqS'
         38        DO_ICALL                                         $14     
         39        IS_EQUAL                                         ~15     $13, $14
         40        SEND_VAL                                                 ~15
         41        DO_ICALL                                                 
   17    42        INIT_FCALL                                               'var_dump'
         43        INIT_FCALL                                               'sha1'
         44        SEND_VAL                                                 'aaroZmOk'
         45        DO_ICALL                                         $17     
         46        INIT_FCALL                                               'sha1'
         47        SEND_VAL                                                 'aaK1STfY'
         48        DO_ICALL                                         $18     
         49        IS_EQUAL                                         ~19     $17, $18
         50        SEND_VAL                                                 ~19
         51        DO_ICALL                                                 
   18    52        INIT_FCALL                                               'var_dump'
         53        INIT_FCALL                                               'sha1'
         54        SEND_VAL                                                 'aaO8zKZF'
         55        DO_ICALL                                         $21     
         56        INIT_FCALL                                               'sha1'
         57        SEND_VAL                                                 'aa3OFF9m'
         58        DO_ICALL                                         $22     
         59        IS_EQUAL                                         ~23     $21, $22
         60        SEND_VAL                                                 ~23
         61        DO_ICALL                                                 
   19    62        INIT_FCALL                                               'var_dump'
         63        SEND_VAL                                                 <true>
         64        DO_ICALL                                                 
   20    65        INIT_FCALL                                               'var_dump'
         66        SEND_VAL                                                 <false>
         67        DO_ICALL                                                 
   21    68        INIT_FCALL                                               'var_dump'
         69        SEND_VAL                                                 <false>
         70        DO_ICALL                                                 
         71      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.03 ms | 1400 KiB | 19 Q