3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(mb_stripos('MÄSNAD HOSSAIN NEHITH', 'Mäsnad') !== false) { echo "UTF - 8 string".PHP_EOL; } if(mb_stripos('MASNAD HOSSAIN NEHITH', 'Masnad') !== false) { echo "Normal String"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 7
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 14
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
Branch analysis from position: 7
filename:       /in/u4eJt
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'mb_stripos'
          1        SEND_VAL                                                 'M%C3%84SNAD+HOSSAIN+NEHITH'
          2        SEND_VAL                                                 'M%C3%A4snad'
          3        DO_ICALL                                         $0      
          4        TYPE_CHECK                                  1018          $0
          5      > JMPZ                                                     ~1, ->7
    5     6    >   ECHO                                                     'UTF+-+8+string%0A'
    8     7    >   INIT_FCALL                                               'mb_stripos'
          8        SEND_VAL                                                 'MASNAD+HOSSAIN+NEHITH'
          9        SEND_VAL                                                 'Masnad'
         10        DO_ICALL                                         $2      
         11        TYPE_CHECK                                  1018          $2
         12      > JMPZ                                                     ~3, ->14
   10    13    >   ECHO                                                     'Normal+String'
   11    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.94 ms | 1435 KiB | 14 Q