3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = '{ "GetDataResult": {} }'; var_dump(strpos($s, 'Password')); if (strpos($s, 'Password') !== false) { echo 'Yeah!'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 15
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
filename:       /in/fNv9Y
function name:  (null)
number of ops:  16
compiled vars:  !0 = $s
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%7B%0A++++%22GetDataResult%22%3A+%7B%7D%0A%7D'
    7     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'strpos'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 'Password'
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                                 
    8     8        INIT_FCALL                                               'strpos'
          9        SEND_VAR                                                 !0
         10        SEND_VAL                                                 'Password'
         11        DO_ICALL                                         $4      
         12        TYPE_CHECK                                  1018          $4
         13      > JMPZ                                                     ~5, ->15
    9    14    >   ECHO                                                     'Yeah%21'
   10    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.01 ms | 1010 KiB | 15 Q