3v4l.org

run code in 300+ PHP versions simultaneously
<?php if((strpos($tr_code,'B')!== false)){ //print out anything contain "B" echo 1; } else 2;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
filename:       /in/Mavfv
function name:  (null)
number of ops:  9
compiled vars:  !0 = $tr_code
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'strpos'
          1        SEND_VAR                                                 !0
          2        SEND_VAL                                                 'B'
          3        DO_ICALL                                         $1      
          4        TYPE_CHECK                                  1018          $1
          5      > JMPZ                                                     ~2, ->8
    3     6    >   ECHO                                                     1
          7      > JMP                                                      ->8
    6     8    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.82 ms | 939 KiB | 16 Q