3v4l.org

run code in 300+ PHP versions simultaneously
<?php class LoginExtern { var $sWindow = "redirect"; public function doRedirect() { var_dump($this->sWindow); if ($this->sWindow == "redirect") { return true; } else { return false; } } } LoginExtern::doRedirect();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HLKfB
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   INIT_STATIC_METHOD_CALL                                  'LoginExtern', 'doRedirect'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   1

Class LoginExtern:
Function doredirect:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HLKfB
function name:  doRedirect
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'var_dump'
          1        FETCH_OBJ_R                                      ~0      'sWindow'
          2        SEND_VAL                                                 ~0
          3        DO_ICALL                                                 
    6     4        FETCH_OBJ_R                                      ~2      'sWindow'
          5        IS_EQUAL                                                 ~2, 'redirect'
          6      > JMPZ                                                     ~3, ->9
    7     7    > > RETURN                                                   <true>
          8*       JMP                                                      ->10
    9     9    > > RETURN                                                   <false>
   11    10*     > RETURN                                                   null

End of function doredirect

End of class LoginExtern.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.28 ms | 1395 KiB | 15 Q