3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump('100e58' == '1e60'); var_dump(md5('240610708') == md5('QNKCDZO')); var_dump(md5('240610708')); var_dump(md5('240610708') == 0); if ((string)md5('240610708') === 0) { echo 'haha'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 32, Position 2 = 33
Branch analysis from position: 32
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 33
filename:       /in/mmb1a
function name:  (null)
number of ops:  34
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
          1        SEND_VAL                                                 <true>
          2        DO_ICALL                                                 
    5     3        INIT_FCALL                                               'var_dump'
          4        INIT_FCALL                                               'md5'
          5        SEND_VAL                                                 '240610708'
          6        DO_ICALL                                         $1      
          7        INIT_FCALL                                               'md5'
          8        SEND_VAL                                                 'QNKCDZO'
          9        DO_ICALL                                         $2      
         10        IS_EQUAL                                         ~3      $1, $2
         11        SEND_VAL                                                 ~3
         12        DO_ICALL                                                 
    7    13        INIT_FCALL                                               'var_dump'
         14        INIT_FCALL                                               'md5'
         15        SEND_VAL                                                 '240610708'
         16        DO_ICALL                                         $5      
         17        SEND_VAR                                                 $5
         18        DO_ICALL                                                 
   10    19        INIT_FCALL                                               'var_dump'
         20        INIT_FCALL                                               'md5'
         21        SEND_VAL                                                 '240610708'
         22        DO_ICALL                                         $7      
         23        IS_EQUAL                                         ~8      $7, 0
         24        SEND_VAL                                                 ~8
         25        DO_ICALL                                                 
   12    26        INIT_FCALL                                               'md5'
         27        SEND_VAL                                                 '240610708'
         28        DO_ICALL                                         $10     
         29        CAST                                          6  ~11     $10
         30        IS_IDENTICAL                                             ~11, 0
         31      > JMPZ                                                     ~12, ->33
   14    32    >   ECHO                                                     'haha'
   15    33    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.37 ms | 1396 KiB | 17 Q