3v4l.org

run code in 300+ PHP versions simultaneously
<?php //weird encoding $mydata="Entity: This data must work." ; echo (strpos($mydata,'Εntity') === false) ? 'normal' : 'other'; //normal $mydata="Εntity: This data must work." ; echo (strpos($mydata,'Εntity') === false) ? 'normal' : 'other';
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 20
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 20
Branch analysis from position: 18
Branch analysis from position: 20
filename:       /in/lbL4v
function name:  (null)
number of ops:  23
compiled vars:  !0 = $mydata
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 'Entity%3A+This+data+must+work.'
    5     1        INIT_FCALL                                               'strpos'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 '%CE%95ntity'
          4        DO_ICALL                                         $2      
          5        TYPE_CHECK                                    4          $2
          6      > JMPZ                                                     ~3, ->9
          7    >   QM_ASSIGN                                        ~4      'normal'
          8      > JMP                                                      ->10
          9    >   QM_ASSIGN                                        ~4      'other'
         10    >   ECHO                                                     ~4
    9    11        ASSIGN                                                   !0, '%CE%95ntity%3A+This+data+must+work.'
   10    12        INIT_FCALL                                               'strpos'
         13        SEND_VAR                                                 !0
         14        SEND_VAL                                                 '%CE%95ntity'
         15        DO_ICALL                                         $6      
         16        TYPE_CHECK                                    4          $6
         17      > JMPZ                                                     ~7, ->20
         18    >   QM_ASSIGN                                        ~8      'normal'
         19      > JMP                                                      ->21
         20    >   QM_ASSIGN                                        ~8      'other'
         21    >   ECHO                                                     ~8
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
129.45 ms | 1436 KiB | 14 Q