3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(strcasecmp('string1', 'string1') == 0) { echo ' Strings match.1 '; } else { echo ' Strings do not match.2 '; } if(strcasecmp('string1', 'String1') == 0) { echo ' Strings match.3 '; } else { echo ' Strings do not match.4 '; } if(!strcasecmp('string1', 'STRING2')) { echo ' Strings match.5 '; } else { echo ' Strings do not match.3 '; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 17
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
2 jumps found. (Code = 43) Position 1 = 24, Position 2 = 26
Branch analysis from position: 24
1 jumps found. (Code = 42) Position 1 = 27
Branch analysis from position: 27
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
2 jumps found. (Code = 43) Position 1 = 24, Position 2 = 26
Branch analysis from position: 24
Branch analysis from position: 26
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 17
Branch analysis from position: 15
Branch analysis from position: 17
filename:       /in/N7eO6
function name:  (null)
number of ops:  28
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strcasecmp'
          1        SEND_VAL                                                 'string1'
          2        SEND_VAL                                                 'string1'
          3        DO_ICALL                                         $0      
          4        IS_EQUAL                                                 $0, 0
          5      > JMPZ                                                     ~1, ->8
    5     6    >   ECHO                                                     '%0AStrings+match.1%0A'
          7      > JMP                                                      ->9
    9     8    >   ECHO                                                     '%0AStrings+do+not+match.2%0A'
   13     9    >   INIT_FCALL                                               'strcasecmp'
         10        SEND_VAL                                                 'string1'
         11        SEND_VAL                                                 'String1'
         12        DO_ICALL                                         $2      
         13        IS_EQUAL                                                 $2, 0
         14      > JMPZ                                                     ~3, ->17
   15    15    >   ECHO                                                     '%0AStrings+match.3%0A'
         16      > JMP                                                      ->18
   19    17    >   ECHO                                                     '%0AStrings+do+not+match.4%0A'
   23    18    >   INIT_FCALL                                               'strcasecmp'
         19        SEND_VAL                                                 'string1'
         20        SEND_VAL                                                 'STRING2'
         21        DO_ICALL                                         $4      
         22        BOOL_NOT                                         ~5      $4
         23      > JMPZ                                                     ~5, ->26
   25    24    >   ECHO                                                     '%0AStrings+match.5%0A'
         25      > JMP                                                      ->27
   29    26    >   ECHO                                                     '%0AStrings+do+not+match.3%0A'
   32    27    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.85 ms | 1388 KiB | 15 Q