3v4l.org

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

End of function doredirect

End of class LoginExtern.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.4 ms | 1384 KiB | 13 Q