3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pos = strpos("sfasfsap", "&p"); if ($pos == null) echo "Not set!"; echo $pos; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 8
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
filename:       /in/kf1Uj
function name:  (null)
number of ops:  10
compiled vars:  !0 = $pos
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strpos'
          1        SEND_VAL                                                 'sfasfsap'
          2        SEND_VAL                                                 '%26p'
          3        DO_ICALL                                         $1      
          4        ASSIGN                                                   !0, $1
    4     5        IS_EQUAL                                                 !0, null
          6      > JMPZ                                                     ~3, ->8
          7    >   ECHO                                                     'Not+set%21'
    5     8    >   ECHO                                                     !0
    7     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.18 ms | 1385 KiB | 15 Q