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 = 10, Position 2 = 12
Branch analysis from position: 10
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: 12
filename:       /in/gTo90
function name:  (null)
number of ops:  15
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'
    5     2        ASSIGN                                                   !1, 'CONSEGNA%3A+Validazione+indirizzo+PEC+%5Bca282bf8%2325125%5D'
    6     3        INIT_FCALL                                               'stripos'
          4        SEND_VAR                                                 !1
          5        SEND_VAL                                                 'CONSEGNA%3A+Validazione+indirizzo+PEC'
          6        DO_ICALL                                         $6      
          7        ASSIGN                                                   !2, $6
    8     8        TYPE_CHECK                                    4  ~8      !2
          9      > JMPNZ_EX                                         ~8      ~8, ->12
         10    >   IS_NOT_IDENTICAL                                 ~9      !2, 0
         11        BOOL                                             ~8      ~9
         12    > > JMPZ                                                     ~8, ->14
   10    13    >   ECHO                                                     'NO'
   11    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.87 ms | 1394 KiB | 15 Q