3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.4 ms | 1396 KiB | 21 Q