3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php abstract class WorkUnitDataType { //============================================== // consts / vars //============================================== const NoneDataType = 0; const BoolDataType = 1; const StringDataType = 2; const ArrayDataType = 3; const JsonDataType = 4; const UrlDataType = 5; const FileDataType = 6; private $value; private $name; //============================================== // construct //============================================== protected function __construct() { $this->setByName(get_class($this)); } protected function setByValue($value) { if (is_int($value)) { $this->value = $value; $this->name = WorkUnitDataType::getNameFromConst($value); } } protected function setByName($name) { if (is_string($name)) { $this->value = $this->name = $name; } } //============================================== // accessing //============================================== public function toString() { return $this->name; } public function toValue() { return $this->value; } //============================================== // convenience //============================================== public static function None() { return new NoneDataType();} public static function Bool() { return new BoolDataType();} public static function String() { return new StringDataType();} public static function Array() { return new ArrayDataType();} public static function Json() { return new JsonDataType();} public static function Url() { return new UrlDataType();} public static function File() { return new FileDataType();} //============================================== // utility //============================================== public static function getNameFromConst($const) { $class = new ReflectionClass('WorkUnitDataType'); $constants = $class->getConstants(); foreach ($constants as $name => $value) { if ($value == $const) { return $name; } } return Null; } public static function getValueFromName($text) { $class = new ReflectionClass('WorkUnitDataType'); $constants = $class->getConstants(); foreach ($constants as $name => $value) { if ($name == $text) { return $value; } } return -1; } } class NoneDataType extends WorkUnitDataType {} class BoolDataType extends WorkUnitDataType {} class StringDataType extends WorkUnitDataType {} class ArrayDataType extends WorkUnitDataType {} class JsonDataType extends WorkUnitDataType {} class UrlDataType extends WorkUnitDataType {} class FileDataType extends WorkUnitDataType {} $a = WorkUnitDataType::None(); var_dump($a);
based on bYhs0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Cc20d
function name:  (null)
number of ops:  22
compiled vars:  !0 = $a
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   NOP                                                      
 100     1        NOP                                                      
         2        NOP                                                      
 102     3        NOP                                                      
         4        NOP                                                      
 104     5        NOP                                                      
         6        NOP                                                      
 106     7        NOP                                                      
         8        NOP                                                      
 108     9        NOP                                                      
        10        NOP                                                      
 110    11        NOP                                                      
        12        NOP                                                      
 112    13        NOP                                                      
        14        NOP                                                      
 114    15        INIT_STATIC_METHOD_CALL                                  'WorkUnitDataType', 'None'
        16        DO_FCALL                                      0  $16     
        17        ASSIGN                                                   !0, $16
 115    18        INIT_FCALL                                               'var_dump'
        19        SEND_VAR                                                 !0
        20        DO_ICALL                                                 
        21      > RETURN                                                   1

Class WorkUnitDataType:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Cc20d
function name:  __construct
number of ops:  6
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  25     0  E >   INIT_METHOD_CALL                                         'setByName'
         1        FETCH_THIS                                       $0      
         2        GET_CLASS                                        ~1      $0
         3        SEND_VAL                                                 ~1
         4        DO_FCALL                                      0          
  26     5      > RETURN                                                   null

End of function __construct

Function setbyvalue:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 10
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/Cc20d
function name:  setByValue
number of ops:  11
compiled vars:  !0 = $value
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  28     0  E >   RECV                                             !0      
  29     1        TYPE_CHECK                                    4  ~1      !0
         2      > JMPZ                                                     ~1, ->10
  30     3    >   ASSIGN_OBJ                                               'value'
         4        OP_DATA                                                  !0
  31     5        INIT_STATIC_METHOD_CALL                                  'WorkUnitDataType', 'getNameFromConst'
         6        SEND_VAR_EX                                              !0
         7        DO_FCALL                                      0  $4      
         8        ASSIGN_OBJ                                               'name'
         9        OP_DATA                                                  $4
  33    10    > > RETURN                                                   null

End of function setbyvalue

Function setbyname:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 7
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
filename:       /in/Cc20d
function name:  setByName
number of ops:  8
compiled vars:  !0 = $name
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  35     0  E >   RECV                                             !0      
  36     1        TYPE_CHECK                                    6  ~1      !0
         2      > JMPZ                                                     ~1, ->7
  38     3    >   ASSIGN_OBJ                                       $3      'name'
         4        OP_DATA                                                  !0
  37     5        ASSIGN_OBJ                                               'value'
  38     6        OP_DATA                                                  $3
  40     7    > > RETURN                                                   null

End of function setbyname

Function tostring:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Cc20d
function name:  toString
number of ops:  3
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  48     0  E >   FETCH_OBJ_R                                      $0      'name'
         1      > RETURN                                                   $0
  49     2*     > RETURN                                                   null

End of function tostring

Function tovalue:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Cc20d
function name:  toValue
number of ops:  3
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  52     0  E >   FETCH_OBJ_R                                      $0      'value'
         1      > RETURN                                                   $0
  53     2*     > RETURN                                                   null

End of function tovalue

Function none:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Cc20d
function name:  None
number of ops:  4
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  60     0  E >   NEW                                              $0      :-5
         1        DO_FCALL                                      0          
         2      > RETURN                                                   $0
         3*     > RETURN                                                   null

End of function none

Function bool:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Cc20d
function name:  Bool
number of ops:  4
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  61     0  E >   NEW                                              $0      :-5
         1        DO_FCALL                                      0          
         2      > RETURN                                                   $0
         3*     > RETURN                                                   null

End of function bool

Function string:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Cc20d
function name:  String
number of ops:  4
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  62     0  E >   NEW                                              $0      :-5
         1        DO_FCALL                                      0          
         2      > RETURN                                                   $0
         3*     > RETURN                                                   null

End of function string

Function array:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Cc20d
function name:  Array
number of ops:  4
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  63     0  E >   NEW                                              $0      :-5
         1        DO_FCALL                                      0          
         2      > RETURN                                                   $0
         3*     > RETURN                                                   null

End of function array

Function json:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Cc20d
function name:  Json
number of ops:  4
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  64     0  E >   NEW                                              $0      :-5
         1        DO_FCALL                                      0          
         2      > RETURN                                                   $0
         3*     > RETURN                                                   null

End of function json

Function url:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Cc20d
function name:  Url
number of ops:  4
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  65     0  E >   NEW                                              $0      :-5
         1        DO_FCALL                                      0          
         2      > RETURN                                                   $0
         3*     > RETURN                                                   null

End of function url

Function file:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Cc20d
function name:  File
number of ops:  4
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  66     0  E >   NEW                                              $0      :-5
         1        DO_FCALL                                      0          
         2      > RETURN                                                   $0
         3*     > RETURN                                                   null

End of function file

Function getnamefromconst:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 9, Position 2 = 16
Branch analysis from position: 9
2 jumps found. (Code = 78) Position 1 = 10, Position 2 = 16
Branch analysis from position: 10
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 15
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/Cc20d
function name:  getNameFromConst
number of ops:  19
compiled vars:  !0 = $const, !1 = $class, !2 = $constants, !3 = $value, !4 = $name
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  73     0  E >   RECV                                             !0      
  74     1        NEW                                              $5      :-5
         2        SEND_VAL_EX                                              'WorkUnitDataType'
         3        DO_FCALL                                      0          
         4        ASSIGN                                                   !1, $5
  75     5        INIT_METHOD_CALL                                         !1, 'getConstants'
         6        DO_FCALL                                      0  $8      
         7        ASSIGN                                                   !2, $8
  77     8      > FE_RESET_R                                       $10     !2, ->16
         9    > > FE_FETCH_R                                       ~11     $10, !3, ->16
        10    >   ASSIGN                                                   !4, ~11
  78    11        IS_EQUAL                                         ~13     !3, !0
        12      > JMPZ                                                     ~13, ->15
  79    13    >   FE_FREE                                                  $10
        14      > RETURN                                                   !4
        15    > > JMP                                                      ->9
        16    >   FE_FREE                                                  $10
  83    17      > RETURN                                                   null
  84    18*     > RETURN                                                   null

End of function getnamefromconst

Function getvaluefromname:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 9, Position 2 = 16
Branch analysis from position: 9
2 jumps found. (Code = 78) Position 1 = 10, Position 2 = 16
Branch analysis from position: 10
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 15
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/Cc20d
function name:  getValueFromName
number of ops:  19
compiled vars:  !0 = $text, !1 = $class, !2 = $constants, !3 = $value, !4 = $name
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  86     0  E >   RECV                                             !0      
  87     1        NEW                                              $5      :-5
         2        SEND_VAL_EX                                              'WorkUnitDataType'
         3        DO_FCALL                                      0          
         4        ASSIGN                                                   !1, $5
  88     5        INIT_METHOD_CALL                                         !1, 'getConstants'
         6        DO_FCALL                                      0  $8      
         7        ASSIGN                                                   !2, $8
  90     8      > FE_RESET_R                                       $10     !2, ->16
         9    > > FE_FETCH_R                                       ~11     $10, !3, ->16
        10    >   ASSIGN                                                   !4, ~11
  91    11        IS_EQUAL                                         ~13     !4, !0
        12      > JMPZ                                                     ~13, ->15
  92    13    >   FE_FREE                                                  $10
        14      > RETURN                                                   !3
        15    > > JMP                                                      ->9
        16    >   FE_FREE                                                  $10
  96    17      > RETURN                                                   -1
  97    18*     > RETURN                                                   null

End of function getvaluefromname

End of class WorkUnitDataType.

Class NoneDataType:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Cc20d
function name:  __construct
number of ops:  6
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  25     0  E >   INIT_METHOD_CALL                                         'setByName'
         1        FETCH_THIS                                       $0      
         2        GET_CLASS                                        ~1      $0
         3        SEND_VAL                                                 ~1
         4        DO_FCALL                                      0          
  26     5      > RETURN                                                   null

End of function __construct

Function setbyvalue:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 10
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/Cc20d
function name:  setByValue
number of ops:  11
compiled vars:  !0 = $value
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  28     0  E >   RECV                                             !0      
  29     1        TYPE_CHECK                                    4  ~1      !0
         2      > JMPZ                                                     ~1, ->10
  30     3    >   ASSIGN_OBJ                                               'value'
         4        OP_DATA                                                  !0
  31     5        INIT_STATIC_METHOD_CALL                                  'WorkUnitDataType', 'getNameFromConst'
         6        SEND_VAR_EX                                              !0
         7        DO_FCALL                                      0  $4      
         8        ASSIGN_OBJ                                               'name'
         9        OP_DATA                                                  $4
  33    10    > > RETURN                                                   null

End of function setbyvalue

Function setbyname:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 7
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
filename:       /in/Cc20d
function name:  setByName
number of ops:  8
compiled vars:  !0 = $name
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  35     0  E >   RECV                                             !0      
  36     1        TYPE_CHECK                                    6  ~1      !0
         2      > JMPZ                                                     ~1, ->7
  38     3    >   ASSIGN_OBJ                                       $3      'name'
         4        OP_DATA                                                  !0
  37     5        ASSIGN_OBJ                                               'value'
  38     6        OP_DATA                                                  $3
  40     7    > > RETURN                                                   null

End of function setbyname

Function tostring:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Cc20d
function name:  toString
number of ops:  3
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  48     0  E >   FETCH_OBJ_R                                      $0      'name'
         1      > RETURN                                                   $0
  49     2*     > RETURN                                                   null

End of function tostring

Function tovalue:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Cc20d
function name:  toValue
number of ops:  3
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  52     0  E >   FETCH_OBJ_R                                      $0      'value'
         1      > RETURN                                                   $0
  53     2*     > RETURN                                                   null

End of function tovalue

Function none:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Cc20d
function name:  None
number of ops:  4
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  60     0  E >   NEW                                              $0      :-5
         1        DO_FCALL                                      0          
         2      > RETURN                                                   $0
         3*     > RETURN                                                   null

End of function none

Function bool:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Cc20d
function name:  Bool
number of ops:  4
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  61     0  E >   NEW                                              $0      :-5
         1        DO_FCALL                                      0          
         2      > RETURN                                                   $0
         3*     > RETURN                                                   null

End of function bool

Function string:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Cc20d
function name:  String
number of ops:  4
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  62     0  E >   NEW                                              $0      :-5
         1        DO_FCALL                                      0          
         2      > RETURN                                                   $0
         3*     > RETURN                                                   null

End of function string

Function array:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Cc20d
function name:  Array
number of ops:  4
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  63     0  E >   NEW                                              $0      :-5
         1        DO_FCALL                                      0          
         2      > RETURN                                                   $0
         3*     > RETURN                                                   null

End of function array

Function json:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Cc20d
function name:  Json
number of ops:  4
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  64     0  E >   NEW                                              $0      :-5
         1        DO_FCALL                                      0          
         2      > RETURN                                                   $0
         3*     > RETURN                                                   null

End of function json

Function url:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Cc20d
function name:  Url
number of ops:  4
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  65     0  E >   NEW                                              $0      :-5
         1        DO_FCALL                                      0          
         2      > RETURN                                                   $0
         3*     > RETURN                                                   null

End of function url

Function file:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Cc20d
function name:  File
number of ops:  4
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  66     0  E >   NEW                                              $0      :-5
         1        DO_FCALL                                      0          
         2      > RETURN                                                   $0
         3*     > RETURN                                                   null

End of function file

Function getnamefromconst:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 9, Position 2 = 16
Branch analysis from position: 9
2 jumps found. (Code = 78) Position 1 = 10, Position 2 = 16
Branch analysis from position: 10
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 15
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/Cc20d
function name:  getNameFromConst
number of ops:  19
compiled vars:  !0 = $const, !1 = $class, !2 = $constants, !3 = $value, !4 = $name
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  73     0  E >   RECV                                             !0      
  74     1        NEW                                              $5      :-5
         2        SEND_VAL_EX                                              'WorkUnitDataType'
         3        DO_FCALL                                      0          
         4        ASSIGN                                                   !1, $5
  75     5        INIT_METHOD_CALL                                         !1, 'getConstants'
         6        DO_FCALL                                      0  $8      
         7        ASSIGN                                                   !2, $8
  77     8      > FE_RESET_R                                       $10     !2, ->16
         9    > > FE_FETCH_R                                       ~11     $10, !3, ->16
        10    >   ASSIGN                                                   !4, ~11
  78    11        IS_EQUAL                                         ~13     !3, !0
        12      > JMPZ                                                     ~13, ->15
  79    13    >   FE_FREE                                                  $10
        14      > RETURN                                                   !4
        15    > > JMP                                                      ->9
        16    >   FE_FREE                                                  $10
  83    17      > RETURN                                                   null
  84    18*     > RETURN                                                   null

End of function getnamefromconst

Function getvaluefromname:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 9, Position 2 = 16
Branch analysis from position: 9
2 jumps found. (Code = 78) Position 1 = 10, Position 2 = 16
Branch analysis from position: 10
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 15
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/Cc20d
function name:  getValueFromName
number of ops:  19
compiled vars:  !0 = $text, !1 = $class, !2 = $constants, !3 = $value, !4 = $name
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  86     0  E >   RECV                                             !0      
  87     1        NEW                                              $5      :-5
         2        SEND_VAL_EX                                              'WorkUnitDataType'
         3        DO_FCALL                                      0          
         4        ASSIGN                                                   !1, $5
  88     5        INIT_METHOD_CALL                                         !1, 'getConstants'
         6        DO_FCALL                                      0  $8      
         7        ASSIGN                                                   !2, $8
  90     8      > FE_RESET_R                                       $10     !2, ->16
         9    > > FE_FETCH_R                                       ~11     $10, !3, ->16
        10    >   ASSIGN                                                   !4, ~11
  91    11        IS_EQUAL                                         ~13     !4, !0
        12      > JMPZ                                                     ~13, ->15
  92    13    >   FE_FREE                                                  $10
        14      > RETURN                                                   !3
        15    > > JMP                                                      ->9
        16    >   FE_FREE                                                  $10
  96    17      > RETURN                                                   -1
  97    18*     > RETURN                                                   null

End of function getvaluefromname

End of class NoneDataType.

Class BoolDataType:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Cc20d
function name:  __construct
number of ops:  6
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  25     0  E >   INIT_METHOD_CALL                                         'setByName'
         1        FETCH_THIS                                       $0      
         2        GET_CLASS                                        ~1      $0
         3        SEND_VAL                                                 ~1
         4        DO_FCALL                                      0          
  26     5      > RETURN                                                   null

End of function __construct

Function setbyvalue:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 10
Branch analysis from posi

Generated using Vulcan Logic Dumper, using php 7.3.0