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 = 9, Position 2 = 11
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VFGHq
function name:  (null)
number of ops:  13
compiled vars:  !0 = $str, !1 = $http, !2 = $str1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NOP                                                      
          1        FAST_CONCAT                                      ~3      !1, '+_post_vars'
          2        ASSIGN                                                   !0, ~3
    3     3        ASSIGN                                                   !2, 'http'
    5     4        INIT_FCALL                                               'stristr'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 '%24http'
          7        DO_ICALL                                         $6      
          8      > JMPZ                                                     $6, ->11
    6     9    >   ECHO                                                     'fsdfdsa'
         10      > JMP                                                      ->12
    8    11    >   ECHO                                                     'tt'
    9    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.74 ms | 1394 KiB | 15 Q