3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hash = md5('240610708'); if ($hash == md5('QNKCDZO')) echo 'ok'; 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/Ejo1p
function name:  (null)
number of ops:  60
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'
   11    10    >   INIT_FCALL                                               'var_dump'
         11        INIT_FCALL                                               'md5'
         12        SEND_VAL                                                 '240610708'
         13        DO_ICALL                                         $5      
         14        INIT_FCALL                                               'md5'
         15        SEND_VAL                                                 'QNKCDZO'
         16        DO_ICALL                                         $6      
         17        IS_EQUAL                                         ~7      $5, $6
         18        SEND_VAL                                                 ~7
         19        DO_ICALL                                                 
   12    20        INIT_FCALL                                               'var_dump'
         21        INIT_FCALL                                               'md5'
         22        SEND_VAL                                                 'aabg7XSs'
         23        DO_ICALL                                         $9      
         24        INIT_FCALL                                               'md5'
         25        SEND_VAL                                                 'aabC9RqS'
         26        DO_ICALL                                         $10     
         27        IS_EQUAL                                         ~11     $9, $10
         28        SEND_VAL                                                 ~11
         29        DO_ICALL                                                 
   13    30        INIT_FCALL                                               'var_dump'
         31        INIT_FCALL                                               'sha1'
         32        SEND_VAL                                                 'aaroZmOk'
         33        DO_ICALL                                         $13     
         34        INIT_FCALL                                               'sha1'
         35        SEND_VAL                                                 'aaK1STfY'
         36        DO_ICALL                                         $14     
         37        IS_EQUAL                                         ~15     $13, $14
         38        SEND_VAL                                                 ~15
         39        DO_ICALL                                                 
   14    40        INIT_FCALL                                               'var_dump'
         41        INIT_FCALL                                               'sha1'
         42        SEND_VAL                                                 'aaO8zKZF'
         43        DO_ICALL                                         $17     
         44        INIT_FCALL                                               'sha1'
         45        SEND_VAL                                                 'aa3OFF9m'
         46        DO_ICALL                                         $18     
         47        IS_EQUAL                                         ~19     $17, $18
         48        SEND_VAL                                                 ~19
         49        DO_ICALL                                                 
   15    50        INIT_FCALL                                               'var_dump'
         51        SEND_VAL                                                 <true>
         52        DO_ICALL                                                 
   16    53        INIT_FCALL                                               'var_dump'
         54        SEND_VAL                                                 <false>
         55        DO_ICALL                                                 
   17    56        INIT_FCALL                                               'var_dump'
         57        SEND_VAL                                                 <false>
         58        DO_ICALL                                                 
         59      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
244.67 ms | 1400 KiB | 19 Q