3v4l.org

run code in 300+ PHP versions simultaneously
<?php class LoginExtern { var $sWindow = "redirect"; public function doRedirect() { var_dump($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/h5frJ
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 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/h5frJ
function name:  doRedirect
number of ops:  10
compiled vars:  !0 = $sWindow
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'var_dump'
          1        SEND_VAR                                                 !0
          2        DO_ICALL                                                 
    6     3        FETCH_OBJ_R                                      ~2      'sWindow'
          4        IS_EQUAL                                                 ~2, 'redirect'
          5      > JMPZ                                                     ~3, ->8
    7     6    > > RETURN                                                   <true>
          7*       JMP                                                      ->9
    9     8    > > RETURN                                                   <false>
   11     9*     > RETURN                                                   null

End of function doredirect

End of class LoginExtern.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.97 ms | 1395 KiB | 15 Q