3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $oggetto = "CONSEGNA: Validazione indirizzo PEC"; $subject = "AVVISO DI MANCATA CONSEGNA: Validazione indirizzo PEC [ca282bf8#25125]"; //$subject = "CONSEGNA: Validazione indirizzo PEC [ca282bf8#25125]"; $position = stripos($subject, 'CONSEGNA: Validazione indirizzo PEC'); if(false === $position || $position !== 0) { echo "NO"; }
based on 07V9C
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 9, Position 2 = 11
Branch analysis from position: 9
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 13
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
Branch analysis from position: 11
filename:       /in/EmJ3P
function name:  (null)
number of ops:  14
compiled vars:  !0 = $oggetto, !1 = $subject, !2 = $position
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   ASSIGN                                                   !0, 'CONSEGNA%3A+Validazione+indirizzo+PEC'
   4     1        ASSIGN                                                   !1, 'AVVISO+DI+MANCATA+CONSEGNA%3A+Validazione+indirizzo+PEC+%5Bca282bf8%2325125%5D'
   6     2        INIT_FCALL                                               'stripos'
         3        SEND_VAR                                                 !1
         4        SEND_VAL                                                 'CONSEGNA%3A+Validazione+indirizzo+PEC'
         5        DO_ICALL                                         $5      
         6        ASSIGN                                                   !2, $5
   8     7        IS_IDENTICAL                                     ~7      <false>, !2
         8      > JMPNZ_EX                                         ~7      ~7, ->11
         9    >   IS_NOT_IDENTICAL                                 ~8      !2, 0
        10        BOOL                                             ~7      ~8
        11    > > JMPZ                                                     ~7, ->13
  10    12    >   ECHO                                                     'NO'
  11    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0