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); } 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 = 61
Branch analysis from position: 61
2 jumps found. (Code = 44) Position 1 = 63, Position 2 = 5
Branch analysis from position: 63
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 58
Branch analysis from position: 58
2 jumps found. (Code = 44) Position 1 = 60, Position 2 = 7
Branch analysis from position: 60
2 jumps found. (Code = 44) Position 1 = 63, Position 2 = 5
Branch analysis from position: 63
Branch analysis from position: 5
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 55
Branch analysis from position: 55
2 jumps found. (Code = 44) Position 1 = 57, Position 2 = 9
Branch analysis from position: 57
2 jumps found. (Code = 44) Position 1 = 60, Position 2 = 7
Branch analysis from position: 60
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 = 40
Branch analysis from position: 33
2 jumps found. (Code = 43) Position 1 = 43, Position 2 = 48
Branch analysis from position: 43
2 jumps found. (Code = 44) Position 1 = 57, Position 2 = 9
Branch analysis from position: 57
Branch analysis from position: 9
Branch analysis from position: 48
Branch analysis from position: 40
Branch analysis from position: 32
filename:       /in/QDDLK
function name:  (null)
number of ops:  64
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                                                      ->61
   45     5    >   ASSIGN                                                   !2, 1
          6      > JMP                                                      ->58
   47     7    >   ASSIGN                                                   !3, 1
          8      > JMP                                                      ->55
   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, ->40
   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                                                 
   62    40    >   ISSET_ISEMPTY_CV                                 ~36     !7
         41        BOOL_NOT                                         ~37     ~36
         42      > JMPZ                                                     ~37, ->48
   63    43    >   FETCH_R                      local               ~38     !5
         44        INIT_METHOD_CALL                                         ~38, 'setProperty'
         45        SEND_VAL_EX                                              'bar'
         46        DO_FCALL                                      0          
   64    47        ASSIGN                                                   !7, <true>
   67    48    >   INIT_FCALL                                               'memory_get_usage'
         49        DO_ICALL                                         $41     
         50        SUB                                              ~42     $41, !0
         51        CONCAT                                           ~43     'memory+usage%3A+', ~42
         52        CONCAT                                           ~44     ~43, '%0A'
         53        ECHO                                                     ~44
   47    54        PRE_INC                                                  !3
         55    >   IS_SMALLER                                               !3, 20
         56      > JMPNZ                                                    ~46, ->9
   45    57    >   PRE_INC                                                  !2
         58    >   IS_SMALLER                                               !2, 20
         59      > JMPNZ                                                    ~48, ->7
   43    60    >   PRE_INC                                                  !1
         61    >   IS_SMALLER                                               !1, 10
         62      > JMPNZ                                                    ~50, ->5
   72    63    > > 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/QDDLK
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/QDDLK
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/QDDLK
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/QDDLK
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/QDDLK
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/QDDLK
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/QDDLK
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/QDDLK
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/QDDLK
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/QDDLK
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/QDDLK
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/QDDLK
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/QDDLK
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/QDDLK
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/QDDLK
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/QDDLK
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              

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
254.29 ms | 1428 KiB | 20 Q