3v4l.org

run code in 300+ PHP versions simultaneously
<?php $oggetto = "CONSEGNA: Validazione indirizzo PEC"; $subject = "dgdgfdg"; //$subject = "CONSEGNA: Validazione indirizzo PEC [ca282bf8#25125]"; $position = stripos($subject, 'CONSEGNA: Validazione indirizzo PEC'); if(false === $position || $position !== 0) { echo "NO"; }
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/oavlL
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, 'dgdgfdg'
    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        TYPE_CHECK                                    4  ~7      !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 8.0.0


preferences:
155.34 ms | 1394 KiB | 15 Q