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; echo 'memory usage: ' . (memory_get_usage() - $mem) . PHP_EOL; } } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 40
Branch analysis from position: 40
2 jumps found. (Code = 44) Position 1 = 42, Position 2 = 5
Branch analysis from position: 42
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 37
Branch analysis from position: 37
2 jumps found. (Code = 44) Position 1 = 39, Position 2 = 7
Branch analysis from position: 39
2 jumps found. (Code = 44) Position 1 = 42, Position 2 = 5
Branch analysis from position: 42
Branch analysis from position: 5
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 34
Branch analysis from position: 34
2 jumps found. (Code = 44) Position 1 = 36, Position 2 = 9
Branch analysis from position: 36
2 jumps found. (Code = 44) Position 1 = 39, Position 2 = 7
Branch analysis from position: 39
Branch analysis from position: 7
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 36, Position 2 = 9
Branch analysis from position: 36
Branch analysis from position: 9
filename:       /in/994Zi
function name:  (null)
number of ops:  43
compiled vars:  !0 = $mem, !1 = $classI, !2 = $argsI, !3 = $varnameI, !4 = $classname, !5 = $varname, !6 = $args
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   41     0  E >   INIT_FCALL                                               'memory_get_usage'
          1        DO_ICALL                                         $7      
          2        ASSIGN                                                   !0, $7
   43     3        ASSIGN                                                   !1, 1
          4      > JMP                                                      ->40
   45     5    >   ASSIGN                                                   !2, 1
          6      > JMP                                                      ->37
   47     7    >   ASSIGN                                                   !3, 1
          8      > JMP                                                      ->34
   50     9    >   CONCAT                                           ~12     'DerivedClass', !1
         10        ASSIGN                                                   !4, ~12
   51    11        CONCAT                                           ~14     'instance', !3
         12        ASSIGN                                                   !5, ~14
   52    13        CONCAT                                           ~16     'foo', !2
         14        ASSIGN                                                   !6, ~16
   53    15        FETCH_CLASS                                   0  $19     !4
         16        INIT_STATIC_METHOD_CALL                                  $19, 'getInstance'
         17        SEND_VAR_EX                                              !6
         18        DO_FCALL                                      0  $20     
         19        FETCH_W                      local               $18     !5
         20        ASSIGN                                                   $18, $20
   55    21        CONCAT                                           ~22     'called+', !4
         22        CONCAT                                           ~23     ~22, '%3A%3AgetInstance%28'
         23        CONCAT                                           ~24     ~23, !6
         24        CONCAT                                           ~25     ~24, '%29'
         25        CONCAT                                           ~26     ~25, '%0A'
         26        ECHO                                                     ~26
   56    27        INIT_FCALL                                               'memory_get_usage'
         28        DO_ICALL                                         $27     
         29        SUB                                              ~28     $27, !0
         30        CONCAT                                           ~29     'memory+usage%3A+', ~28
         31        CONCAT                                           ~30     ~29, '%0A'
         32        ECHO                                                     ~30
   47    33        PRE_INC                                                  !3
         34    >   IS_SMALLER                                               !3, 20
         35      > JMPNZ                                                    ~32, ->9
   45    36    >   PRE_INC                                                  !2
         37    >   IS_SMALLER                                               !2, 20
         38      > JMPNZ                                                    ~34, ->7
   43    39    >   PRE_INC                                                  !1
         40    >   IS_SMALLER                                               !1, 10
         41      > JMPNZ                                                    ~36, ->5
   61    42    > > 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/994Zi
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/994Zi
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/994Zi
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/994Zi
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/994Zi
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/994Zi
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/994Zi
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/994Zi
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/994Zi
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/994Zi
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/994Zi
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/994Zi
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/994Zi
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/994Zi
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/994Zi
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/994Zi
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/994Zi
function name:  setProperty
number of ops:  4
compiled vars:  !0 = $property
line      #* E I O op                           fetch          ext 

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.57 ms | 1428 KiB | 17 Q