3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "@$http _post_vars"; $str1 = "http"; if(stristr($str, '$http')){ echo "fsdfdsa"; }else{ echo "tt"; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 12
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RqJO3
function name:  (null)
number of ops:  14
compiled vars:  !0 = $str, !1 = $http, !2 = $str1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ROPE_INIT                                     3  ~4      '%40'
          1        ROPE_ADD                                      1  ~4      ~4, !1
          2        ROPE_END                                      2  ~3      ~4, '+_post_vars'
          3        ASSIGN                                                   !0, ~3
    3     4        ASSIGN                                                   !2, 'http'
    5     5        INIT_FCALL                                               'stristr'
          6        SEND_VAR                                                 !0
          7        SEND_VAL                                                 '%24http'
          8        DO_ICALL                                         $8      
          9      > JMPZ                                                     $8, ->12
    6    10    >   ECHO                                                     'fsdfdsa'
         11      > JMP                                                      ->13
    8    12    >   ECHO                                                     'tt'
   10    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.67 ms | 1394 KiB | 15 Q