3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = md5('240610708'); $b = md5('QNKCDZO'); echo "$a\n"; echo "$b\n"; echo "\n"; if (strcmp ($a,$b) != 0) { echo 'again equal'; } var_dump($a == $b); var_dump($a === $b);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 21, Position 2 = 22
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
filename:       /in/bfr2B
function name:  (null)
number of ops:  31
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'md5'
          1        SEND_VAL                                                 '240610708'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    4     4        INIT_FCALL                                               'md5'
          5        SEND_VAL                                                 'QNKCDZO'
          6        DO_ICALL                                         $4      
          7        ASSIGN                                                   !1, $4
    6     8        NOP                                                      
          9        FAST_CONCAT                                      ~6      !0, '%0A'
         10        ECHO                                                     ~6
    7    11        NOP                                                      
         12        FAST_CONCAT                                      ~7      !1, '%0A'
         13        ECHO                                                     ~7
    8    14        ECHO                                                     '%0A'
   11    15        INIT_FCALL                                               'strcmp'
         16        SEND_VAR                                                 !0
         17        SEND_VAR                                                 !1
         18        DO_ICALL                                         $8      
         19        IS_NOT_EQUAL                                             $8, 0
         20      > JMPZ                                                     ~9, ->22
   12    21    >   ECHO                                                     'again+equal'
   14    22    >   INIT_FCALL                                               'var_dump'
         23        IS_EQUAL                                         ~10     !0, !1
         24        SEND_VAL                                                 ~10
         25        DO_ICALL                                                 
   15    26        INIT_FCALL                                               'var_dump'
         27        IS_IDENTICAL                                     ~12     !0, !1
         28        SEND_VAL                                                 ~12
         29        DO_ICALL                                                 
         30      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.6 ms | 1387 KiB | 19 Q