3v4l.org

run code in 300+ PHP versions simultaneously
<?php class ModeSwitcher { const MODEL_ALL_MEMBERS = 0b1; const MODE_SINGLE_MEMBER = 0b01; const MODE_ALL_TYPES = 0b001; const MODE_SINGLE_TYPE = 0b0001; private $mode; public function __construct() { $this->mode = MODEL_ALL_MEMBERS | MODE_SINGLE_MEMBER; } function isMode($mode) { } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mXmgo
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   22     0  E > > RETURN                                                   1

Class ModeSwitcher:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mXmgo
function name:  __construct
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E >   FETCH_CONSTANT                                   ~1      'MODEL_ALL_MEMBERS'
          1        FETCH_CONSTANT                                   ~2      'MODE_SINGLE_MEMBER'
          2        BW_OR                                            ~3      ~1, ~2
          3        ASSIGN_OBJ                                               'mode'
          4        OP_DATA                                                  ~3
   16     5      > RETURN                                                   null

End of function __construct

Function ismode:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mXmgo
function name:  isMode
number of ops:  2
compiled vars:  !0 = $mode
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   18     0  E >   RECV                                             !0      
   21     1      > RETURN                                                   null

End of function ismode

End of class ModeSwitcher.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.66 ms | 1397 KiB | 13 Q