3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class Catalog_Model_DbSelect_Abstract { /** All created instances so far */ protected static $_instances = array(); protected $property; /** * Gets the singleton of a select statement * @param array|string $args The arguments arguments that are needed to build the select (e.g. attribute set names, product types). * @return Catalog_Model_DbSelect_Abstract The select instance */ public static function getInstance($args = null) { $class = get_called_class(); $key = $class . (is_array($args) ? implode('_', $args) : $args); if (!array_key_exists($key, static::$_instances)) { static::$_instances[$key] = new $class($args); } return clone static::$_instances[$key]; } public function setProperty($property) { $this->property=$property;} public function getProperty() { return $this->property;} } class DerivedClass1 extends Catalog_Model_DbSelect_Abstract {} class DerivedClass2 extends Catalog_Model_DbSelect_Abstract {} class DerivedClass3 extends Catalog_Model_DbSelect_Abstract {} class DerivedClass4 extends Catalog_Model_DbSelect_Abstract {} class DerivedClass5 extends Catalog_Model_DbSelect_Abstract {} class DerivedClass6 extends Catalog_Model_DbSelect_Abstract {} class DerivedClass7 extends Catalog_Model_DbSelect_Abstract {} class DerivedClass8 extends Catalog_Model_DbSelect_Abstract {} class DerivedClass9 extends Catalog_Model_DbSelect_Abstract {} $mem = memory_get_usage(); for ($classI = 1; $classI < 10; $classI++) { for ($argsI = 1; $argsI < 20; $argsI++) { for ($varnameI = 1; $varnameI < 20; $varnameI++) { $classname = 'DerivedClass' . $classI; $varname = 'instance' . $varnameI; $args = 'foo' . $argsI; $$varname = $classname::getInstance($args); echo 'called ' . $classname . '::getInstance(' . $args . ')' . PHP_EOL; if (isset($propertySet) && !isset($propertyRead)) { $propertyRead = $$varname->getProperty(); var_dump($propertyRead); $propertyRead = true; } if (!isset($propertySet)) { $$varname->setProperty('bar'); $propertySet = true; } echo 'memory usage: ' . (memory_get_usage() - $mem) . PHP_EOL; } } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 62
Branch analysis from position: 62
2 jumps found. (Code = 44) Position 1 = 64, Position 2 = 5
Branch analysis from position: 64
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 59
Branch analysis from position: 59
2 jumps found. (Code = 44) Position 1 = 61, Position 2 = 7
Branch analysis from position: 61
2 jumps found. (Code = 44) Position 1 = 64, Position 2 = 5
Branch analysis from position: 64
Branch analysis from position: 5
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 56
Branch analysis from position: 56
2 jumps found. (Code = 44) Position 1 = 58, Position 2 = 9
Branch analysis from position: 58
2 jumps found. (Code = 44) Position 1 = 61, Position 2 = 7
Branch analysis from position: 61
Branch analysis from position: 7
Branch analysis from position: 9
2 jumps found. (Code = 46) Position 1 = 29, Position 2 = 32
Branch analysis from position: 29
2 jumps found. (Code = 43) Position 1 = 33, Position 2 = 41
Branch analysis from position: 33
2 jumps found. (Code = 43) Position 1 = 44, Position 2 = 49
Branch analysis from position: 44
2 jumps found. (Code = 44) Position 1 = 58, Position 2 = 9
Branch analysis from position: 58
Branch analysis from position: 9
Branch analysis from position: 49
Branch analysis from position: 41
Branch analysis from position: 32
filename:       /in/lpDrW
function name:  (null)
number of ops:  65
compiled vars:  !0 = $mem, !1 = $classI, !2 = $argsI, !3 = $varnameI, !4 = $classname, !5 = $varname, !6 = $args, !7 = $propertySet, !8 = $propertyRead
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   41     0  E >   INIT_FCALL                                               'memory_get_usage'
          1        DO_ICALL                                         $9      
          2        ASSIGN                                                   !0, $9
   43     3        ASSIGN                                                   !1, 1
          4      > JMP                                                      ->62
   45     5    >   ASSIGN                                                   !2, 1
          6      > JMP                                                      ->59
   47     7    >   ASSIGN                                                   !3, 1
          8      > JMP                                                      ->56
   50     9    >   CONCAT                                           ~14     'DerivedClass', !1
         10        ASSIGN                                                   !4, ~14
   51    11        CONCAT                                           ~16     'instance', !3
         12        ASSIGN                                                   !5, ~16
   52    13        CONCAT                                           ~18     'foo', !2
         14        ASSIGN                                                   !6, ~18
   53    15        FETCH_CLASS                                   0  $21     !4
         16        INIT_STATIC_METHOD_CALL                                  $21, 'getInstance'
         17        SEND_VAR_EX                                              !6
         18        DO_FCALL                                      0  $22     
         19        FETCH_W                      local               $20     !5
         20        ASSIGN                                                   $20, $22
   55    21        CONCAT                                           ~24     'called+', !4
         22        CONCAT                                           ~25     ~24, '%3A%3AgetInstance%28'
         23        CONCAT                                           ~26     ~25, !6
         24        CONCAT                                           ~27     ~26, '%29'
         25        CONCAT                                           ~28     ~27, '%0A'
         26        ECHO                                                     ~28
   57    27        ISSET_ISEMPTY_CV                                 ~29     !7
         28      > JMPZ_EX                                          ~29     ~29, ->32
         29    >   ISSET_ISEMPTY_CV                                 ~30     !8
         30        BOOL_NOT                                         ~31     ~30
         31        BOOL                                             ~29     ~31
         32    > > JMPZ                                                     ~29, ->41
   58    33    >   FETCH_R                      local               ~32     !5
         34        INIT_METHOD_CALL                                         ~32, 'getProperty'
         35        DO_FCALL                                      0  $33     
         36        ASSIGN                                                   !8, $33
   59    37        INIT_FCALL                                               'var_dump'
         38        SEND_VAR                                                 !8
         39        DO_ICALL                                                 
   60    40        ASSIGN                                                   !8, <true>
   63    41    >   ISSET_ISEMPTY_CV                                 ~37     !7
         42        BOOL_NOT                                         ~38     ~37
         43      > JMPZ                                                     ~38, ->49
   64    44    >   FETCH_R                      local               ~39     !5
         45        INIT_METHOD_CALL                                         ~39, 'setProperty'
         46        SEND_VAL_EX                                              'bar'
         47        DO_FCALL                                      0          
   65    48        ASSIGN                                                   !7, <true>
   68    49    >   INIT_FCALL                                               'memory_get_usage'
         50        DO_ICALL                                         $42     
         51        SUB                                              ~43     $42, !0
         52        CONCAT                                           ~44     'memory+usage%3A+', ~43
         53        CONCAT                                           ~45     ~44, '%0A'
         54        ECHO                                                     ~45
   47    55        PRE_INC                                                  !3
         56    >   IS_SMALLER                                               !3, 20
         57      > JMPNZ                                                    ~47, ->9
   45    58    >   PRE_INC                                                  !2
         59    >   IS_SMALLER                                               !2, 20
         60      > JMPNZ                                                    ~49, ->7
   43    61    >   PRE_INC                                                  !1
         62    >   IS_SMALLER                                               !1, 10
         63      > JMPNZ                                                    ~51, ->5
   73    64    > > RETURN                                                   1

Class Catalog_Model_DbSelect_Abstract:
Function getinstance:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 11
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 25
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 25
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 25
Branch analysis from position: 18
Branch analysis from position: 25
filename:       /in/lpDrW
function name:  getInstance
number of ops:  30
compiled vars:  !0 = $args, !1 = $class, !2 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   RECV_INIT                                        !0      null
   16     1        GET_CALLED_CLASS                                 ~3      
          2        ASSIGN                                                   !1, ~3
   17     3        TYPE_CHECK                                  128          !0
          4      > JMPZ                                                     ~5, ->11
          5    >   INIT_FCALL                                               'implode'
          6        SEND_VAL                                                 '_'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $6      
          9        QM_ASSIGN                                        ~7      $6
         10      > JMP                                                      ->12
         11    >   QM_ASSIGN                                        ~7      !0
         12    >   CONCAT                                           ~8      !1, ~7
         13        ASSIGN                                                   !2, ~8
   18    14        FETCH_STATIC_PROP_R          global lock         ~10     '_instances'
         15        ARRAY_KEY_EXISTS                                 ~11     !2, ~10
         16        BOOL_NOT                                         ~12     ~11
         17      > JMPZ                                                     ~12, ->25
   19    18    >   FETCH_CLASS                                   0  $15     !1
         19        NEW                                              $16     $15
         20        SEND_VAR_EX                                              !0
         21        DO_FCALL                                      0          
         22        FETCH_STATIC_PROP_W          unknown             $13     '_instances'
         23        ASSIGN_DIM                                               $13, !2
         24        OP_DATA                                                  $16
   21    25    >   FETCH_STATIC_PROP_R          unknown             ~18     '_instances'
         26        FETCH_DIM_R                                      ~19     ~18, !2
         27        CLONE                                            ~20     ~19
         28      > RETURN                                                   ~20
   22    29*     > RETURN                                                   null

End of function getinstance

Function setproperty:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lpDrW
function name:  setProperty
number of ops:  4
compiled vars:  !0 = $property
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   24     0  E >   RECV                                             !0      
          1        ASSIGN_OBJ                                               'property'
          2        OP_DATA                                                  !0
          3      > RETURN                                                   null

End of function setproperty

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

End of function getproperty

End of class Catalog_Model_DbSelect_Abstract.

Class DerivedClass1:
Function getinstance:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 11
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 25
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 25
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 25
Branch analysis from position: 18
Branch analysis from position: 25
filename:       /in/lpDrW
function name:  getInstance
number of ops:  30
compiled vars:  !0 = $args, !1 = $class, !2 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   RECV_INIT                                        !0      null
   16     1        GET_CALLED_CLASS                                 ~3      
          2        ASSIGN                                                   !1, ~3
   17     3        TYPE_CHECK                                  128          !0
          4      > JMPZ                                                     ~5, ->11
          5    >   INIT_FCALL                                               'implode'
          6        SEND_VAL                                                 '_'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $6      
          9        QM_ASSIGN                                        ~7      $6
         10      > JMP                                                      ->12
         11    >   QM_ASSIGN                                        ~7      !0
         12    >   CONCAT                                           ~8      !1, ~7
         13        ASSIGN                                                   !2, ~8
   18    14        FETCH_STATIC_PROP_R          global lock         ~10     '_instances'
         15        ARRAY_KEY_EXISTS                                 ~11     !2, ~10
         16        BOOL_NOT                                         ~12     ~11
         17      > JMPZ                                                     ~12, ->25
   19    18    >   FETCH_CLASS                                   0  $15     !1
         19        NEW                                              $16     $15
         20        SEND_VAR_EX                                              !0
         21        DO_FCALL                                      0          
         22        FETCH_STATIC_PROP_W          unknown             $13     '_instances'
         23        ASSIGN_DIM                                               $13, !2
         24        OP_DATA                                                  $16
   21    25    >   FETCH_STATIC_PROP_R          unknown             ~18     '_instances'
         26        FETCH_DIM_R                                      ~19     ~18, !2
         27        CLONE                                            ~20     ~19
         28      > RETURN                                                   ~20
   22    29*     > RETURN                                                   null

End of function getinstance

Function setproperty:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lpDrW
function name:  setProperty
number of ops:  4
compiled vars:  !0 = $property
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   24     0  E >   RECV                                             !0      
          1        ASSIGN_OBJ                                               'property'
          2        OP_DATA                                                  !0
          3      > RETURN                                                   null

End of function setproperty

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

End of function getproperty

End of class DerivedClass1.

Class DerivedClass2:
Function getinstance:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 11
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 25
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 25
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 25
Branch analysis from position: 18
Branch analysis from position: 25
filename:       /in/lpDrW
function name:  getInstance
number of ops:  30
compiled vars:  !0 = $args, !1 = $class, !2 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   RECV_INIT                                        !0      null
   16     1        GET_CALLED_CLASS                                 ~3      
          2        ASSIGN                                                   !1, ~3
   17     3        TYPE_CHECK                                  128          !0
          4      > JMPZ                                                     ~5, ->11
          5    >   INIT_FCALL                                               'implode'
          6        SEND_VAL                                                 '_'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $6      
          9        QM_ASSIGN                                        ~7      $6
         10      > JMP                                                      ->12
         11    >   QM_ASSIGN                                        ~7      !0
         12    >   CONCAT                                           ~8      !1, ~7
         13        ASSIGN                                                   !2, ~8
   18    14        FETCH_STATIC_PROP_R          global lock         ~10     '_instances'
         15        ARRAY_KEY_EXISTS                                 ~11     !2, ~10
         16        BOOL_NOT                                         ~12     ~11
         17      > JMPZ                                                     ~12, ->25
   19    18    >   FETCH_CLASS                                   0  $15     !1
         19        NEW                                              $16     $15
         20        SEND_VAR_EX                                              !0
         21        DO_FCALL                                      0          
         22        FETCH_STATIC_PROP_W          unknown             $13     '_instances'
         23        ASSIGN_DIM                                               $13, !2
         24        OP_DATA                                                  $16
   21    25    >   FETCH_STATIC_PROP_R          unknown             ~18     '_instances'
         26        FETCH_DIM_R                                      ~19     ~18, !2
         27        CLONE                                            ~20     ~19
         28      > RETURN                                                   ~20
   22    29*     > RETURN                                                   null

End of function getinstance

Function setproperty:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lpDrW
function name:  setProperty
number of ops:  4
compiled vars:  !0 = $property
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   24     0  E >   RECV                                             !0      
          1        ASSIGN_OBJ                                               'property'
          2        OP_DATA                                                  !0
          3      > RETURN                                                   null

End of function setproperty

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

End of function getproperty

End of class DerivedClass2.

Class DerivedClass3:
Function getinstance:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 11
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 25
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 25
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 25
Branch analysis from position: 18
Branch analysis from position: 25
filename:       /in/lpDrW
function name:  getInstance
number of ops:  30
compiled vars:  !0 = $args, !1 = $class, !2 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   RECV_INIT                                        !0      null
   16     1        GET_CALLED_CLASS                                 ~3      
          2        ASSIGN                                                   !1, ~3
   17     3        TYPE_CHECK                                  128          !0
          4      > JMPZ                                                     ~5, ->11
          5    >   INIT_FCALL                                               'implode'
          6        SEND_VAL                                                 '_'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $6      
          9        QM_ASSIGN                                        ~7      $6
         10      > JMP                                                      ->12
         11    >   QM_ASSIGN                                        ~7      !0
         12    >   CONCAT                                           ~8      !1, ~7
         13        ASSIGN                                                   !2, ~8
   18    14        FETCH_STATIC_PROP_R          global lock         ~10     '_instances'
         15        ARRAY_KEY_EXISTS                                 ~11     !2, ~10
         16        BOOL_NOT                                         ~12     ~11
         17      > JMPZ                                                     ~12, ->25
   19    18    >   FETCH_CLASS                                   0  $15     !1
         19        NEW                                              $16     $15
         20        SEND_VAR_EX                                              !0
         21        DO_FCALL                                      0          
         22        FETCH_STATIC_PROP_W          unknown             $13     '_instances'
         23        ASSIGN_DIM                                               $13, !2
         24        OP_DATA                                                  $16
   21    25    >   FETCH_STATIC_PROP_R          unknown             ~18     '_instances'
         26        FETCH_DIM_R                                      ~19     ~18, !2
         27        CLONE                                            ~20     ~19
         28      > RETURN                                                   ~20
   22    29*     > RETURN                                                   null

End of function getinstance

Function setproperty:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lpDrW
function name:  setProperty
number of ops:  4
compiled vars:  !0 = $property
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   24     0  E >   RECV                                             !0      
          1        ASSIGN_OBJ                                               'property'
          2        OP_DATA                                                  !0
          3      > RETURN                                                   null

End of function setproperty

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

End of function getproperty

End of class DerivedClass3.

Class DerivedClass4:
Function getinstance:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 11
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 25
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 25
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 25
Branch analysis from position: 18
Branch analysis from position: 25
filename:       /in/lpDrW
function name:  getInstance
number of ops:  30
compiled vars:  !0 = $args, !1 = $class, !2 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   RECV_INIT                                        !0      null
   16     1        GET_CALLED_CLASS                                 ~3      
          2        ASSIGN                                                   !1, ~3
   17     3        TYPE_CHECK                                  128          !0
          4      > JMPZ                                                     ~5, ->11
          5    >   INIT_FCALL                                               'implode'
          6        SEND_VAL                                                 '_'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $6      
          9        QM_ASSIGN                                        ~7      $6
         10      > JMP                                                      ->12
         11    >   QM_ASSIGN                                        ~7      !0
         12    >   CONCAT                                           ~8      !1, ~7
         13        ASSIGN                                                   !2, ~8
   18    14        FETCH_STATIC_PROP_R          global lock         ~10     '_instances'
         15        ARRAY_KEY_EXISTS                                 ~11     !2, ~10
         16        BOOL_NOT                                         ~12     ~11
         17      > JMPZ                                                     ~12, ->25
   19    18    >   FETCH_CLASS                                   0  $15     !1
         19        NEW                                              $16     $15
         20        SEND_VAR_EX                                              !0
         21        DO_FCALL                                      0          
         22        FETCH_STATIC_PROP_W          unknown             $13     '_instances'
         23        ASSIGN_DIM                                               $13, !2
         24        OP_DATA                                                  $16
   21    25    >   FETCH_STATIC_PROP_R          unknown             ~18     '_instances'
         26        FETCH_DIM_R                                      ~19     ~18, !2
         27        CLONE                                            ~20     ~19
         28      > RETURN                                                   ~20
   22    29*     > RETURN                                                   null

End of function getinstance

Function setproperty:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lpDrW
function name:  setProperty
number of ops:  4
compiled vars:  !0 = $property
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   24     0  E >   RECV                                             !0      
          1        ASSIGN_OBJ                                               'property'
          2        OP_DATA                                                  !0
          3      > RETURN                                                   null

End of function setproperty

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

End of function getproperty

End of class DerivedClass4.

Class DerivedClass5:
Function getinstance:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 11
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 25
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 25
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 25
Branch analysis from position: 18
Branch analysis from position: 25
filename:       /in/lpDrW
function name:  getInstance
number of ops:  30
compiled vars:  !0 = $args, !1 = $class, !2 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   RECV_INIT                                        !0      null
   16     1        GET_CALLED_CLASS                                 ~3      
          2        ASSIGN                                                   !1, ~3
   17     3        TYPE_CHECK                                  128          !0
          4      > JMPZ                                                     ~5, ->11
          5    >   INIT_FCALL                                               'implode'
          6        SEND_VAL       

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
254.62 ms | 1428 KiB | 20 Q