3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo md5('gxMCmi') === md5('iFHBbu') ."\n"; echo "Strcmp: ".(strcmp(md5('gxMCmi'), md5('iFHBbu')) === 0) ."\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HB8Ka
function name:  (null)
number of ops:  24
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'md5'
          1        SEND_VAL                                                 'gxMCmi'
          2        DO_ICALL                                         $0      
          3        INIT_FCALL                                               'md5'
          4        SEND_VAL                                                 'iFHBbu'
          5        DO_ICALL                                         $1      
          6        CONCAT                                           ~2      $1, '%0A'
          7        IS_IDENTICAL                                     ~3      $0, ~2
          8        ECHO                                                     ~3
    5     9        INIT_FCALL                                               'strcmp'
         10        INIT_FCALL                                               'md5'
         11        SEND_VAL                                                 'gxMCmi'
         12        DO_ICALL                                         $4      
         13        SEND_VAR                                                 $4
         14        INIT_FCALL                                               'md5'
         15        SEND_VAL                                                 'iFHBbu'
         16        DO_ICALL                                         $5      
         17        SEND_VAR                                                 $5
         18        DO_ICALL                                         $6      
         19        IS_IDENTICAL                                     ~7      $6, 0
         20        CONCAT                                           ~8      'Strcmp%3A+', ~7
         21        CONCAT                                           ~9      ~8, '%0A'
         22        ECHO                                                     ~9
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.57 ms | 1395 KiB | 17 Q