3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str[106] = 106; if(strpos($str, "\\'") !== false || strpos($str, '\\"') !== false){ return true; } else { return false; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 8, Position 2 = 14
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 17
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/StIRh
function name:  (null)
number of ops:  19
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN_DIM                                               !0, 106
          1        OP_DATA                                                  106
    4     2        INIT_FCALL                                               'strpos'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 '%5C%27'
          5        DO_ICALL                                         $2      
          6        TYPE_CHECK                                  1018  ~3      $2
          7      > JMPNZ_EX                                         ~3      ~3, ->14
          8    >   INIT_FCALL                                               'strpos'
          9        SEND_VAR                                                 !0
         10        SEND_VAL                                                 '%5C%22'
         11        DO_ICALL                                         $4      
         12        TYPE_CHECK                                  1018  ~5      $4
         13        BOOL                                             ~3      ~5
         14    > > JMPZ                                                     ~3, ->17
    5    15    > > RETURN                                                   <true>
         16*       JMP                                                      ->18
    7    17    > > RETURN                                                   <false>
    8    18*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
191.49 ms | 1399 KiB | 15 Q