3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump('0x1234Ab' == '1193131'); var_dump(dechex(1193131)); var_dump('1193131'); var_dump('0x1234Ab'); var_dump(md5('aabg7XSs') == md5('aabC9RqS')); var_dump(sha1('aaO8zKZF') == sha1('aa3OFF9m'));
based on vNOsq
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/ZtAiX
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        SEND_VAL                                                 <false>
         2        DO_ICALL                                                 
   3     3        INIT_FCALL                                               'var_dump'
         4        INIT_FCALL                                               'dechex'
         5        SEND_VAL                                                 1193131
         6        DO_ICALL                                         $1      
         7        SEND_VAR                                                 $1
         8        DO_ICALL                                                 
   4     9        INIT_FCALL                                               'var_dump'
        10        SEND_VAL                                                 '1193131'
        11        DO_ICALL                                                 
   5    12        INIT_FCALL                                               'var_dump'
        13        SEND_VAL                                                 '0x1234Ab'
        14        DO_ICALL                                                 
   6    15        INIT_FCALL                                               'var_dump'
        16        INIT_FCALL                                               'md5'
        17        SEND_VAL                                                 'aabg7XSs'
        18        DO_ICALL                                         $5      
        19        INIT_FCALL                                               'md5'
        20        SEND_VAL                                                 'aabC9RqS'
        21        DO_ICALL                                         $6      
        22        IS_EQUAL                                         ~7      $5, $6
        23        SEND_VAL                                                 ~7
        24        DO_ICALL                                                 
   7    25        INIT_FCALL                                               'var_dump'
        26        INIT_FCALL                                               'sha1'
        27        SEND_VAL                                                 'aaO8zKZF'
        28        DO_ICALL                                         $9      
        29        INIT_FCALL                                               'sha1'
        30        SEND_VAL                                                 'aa3OFF9m'
        31        DO_ICALL                                         $10     
        32        IS_EQUAL                                         ~11     $9, $10
        33        SEND_VAL                                                 ~11
        34        DO_ICALL                                                 
        35      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0