3v4l.org

run code in 300+ PHP versions simultaneously
<?php class TestClass { public function __destruct() { App::$flg = true; } } class App { public static $flg = false; public static function main() { $methods = array_filter( (new \ReflectionClass(__CLASS__))->getMethods(), function (\ReflectionMethod $r) { return preg_match('/^test/', $r->getName()); } ); array_walk($methods, function (\ReflectionMethod $r) { $r->invoke(null, null); }); } public static function testArray() { self::$flg = false; call_user_func(function () { $aa = new TestClass(); $bb = array($aa); $aa->bb = $bb; }); gc_collect_cycles(); printf("%s: %s\n", __FUNCTION__, var_export(self::$flg, true)); } public static function testObject() { self::$flg = false; call_user_func(function () { $aa = new TestClass(); $bb = new \stdClass(); $bb->aa = $aa; $aa->bb = $bb; }); gc_collect_cycles(); printf("%s: %s\n", __FUNCTION__, var_export(self::$flg, true)); } public static function testSplFixedArray() { self::$flg = false; call_user_func(function () { $aa = new TestClass(); $bb = new \SplFixedArray(1); $bb[0] = $aa; $aa->bb = $bb; }); gc_collect_cycles(); printf("%s: %s\n", __FUNCTION__, var_export(self::$flg, true)); } public static function testSplObjectStorage() { self::$flg = false; call_user_func(function () { $aa = new TestClass(); $bb = new \SplObjectStorage(); $bb->attach($aa); $aa->bb = $bb; }); gc_collect_cycles(); printf("%s: %s\n", __FUNCTION__, var_export(self::$flg, true)); } public static function testArrayObject() { self::$flg = false; call_user_func(function () { $aa = new TestClass(); $bb = new \ArrayObject([$aa]); $aa->bb = $bb; }); gc_collect_cycles(); printf("%s: %s\n", __FUNCTION__, var_export(self::$flg, true)); } public static function testSplDoublyLinkedList() { self::$flg = false; call_user_func(function () { $aa = new TestClass(); $bb = new \SplDoublyLinkedList(); $bb->push($aa); $aa->bb = $bb; }); gc_collect_cycles(); printf("%s: %s\n", __FUNCTION__, var_export(self::$flg, true)); } public static function testSplMaxHeap() { self::$flg = false; call_user_func(function () { $aa = new TestClass(); $bb = new \SplMaxHeap(); $bb->insert($aa); $aa->bb = $bb; }); gc_collect_cycles(); printf("%s: %s\n", __FUNCTION__, var_export(self::$flg, true)); } public static function testSplPriorityQueue() { self::$flg = false; call_user_func(function () { $aa = new TestClass(); $bb = new \SplPriorityQueue(); $bb->insert($aa, 1); $aa->bb = $bb; }); gc_collect_cycles(); printf("%s: %s\n", __FUNCTION__, var_export(self::$flg, true)); } } App::main();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hW7s7
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  147     0  E >   INIT_STATIC_METHOD_CALL                                  'App', 'main'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FhW7s7%3A18%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hW7s7
function name:  {closure}
number of ops:  9
compiled vars:  !0 = $r
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   18     0  E >   RECV                                             !0      
   19     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2F%5Etest%2F'
          3        INIT_METHOD_CALL                                         !0, 'getName'
          4        DO_FCALL                                      0  $1      
          5        SEND_VAR                                                 $1
          6        DO_ICALL                                         $2      
          7      > RETURN                                                   $2
   20     8*     > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FhW7s7%3A18%240

Function %00%7Bclosure%7D%2Fin%2FhW7s7%3A23%241:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hW7s7
function name:  {closure}
number of ops:  6
compiled vars:  !0 = $r
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   23     0  E >   RECV                                             !0      
   24     1        INIT_METHOD_CALL                                         !0, 'invoke'
          2        SEND_VAL_EX                                              null
          3        SEND_VAL_EX                                              null
          4        DO_FCALL                                      0          
   25     5      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FhW7s7%3A23%241

Function %00%7Bclosure%7D%2Fin%2FhW7s7%3A32%242:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hW7s7
function name:  {closure}
number of ops:  8
compiled vars:  !0 = $aa, !1 = $bb
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   33     0  E >   NEW                                              $2      'TestClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
   34     3        INIT_ARRAY                                       ~5      !0
          4        ASSIGN                                                   !1, ~5
   35     5        ASSIGN_OBJ                                               !0, 'bb'
          6        OP_DATA                                                  !1
   36     7      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FhW7s7%3A32%242

Function %00%7Bclosure%7D%2Fin%2FhW7s7%3A46%243:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hW7s7
function name:  {closure}
number of ops:  11
compiled vars:  !0 = $aa, !1 = $bb
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   47     0  E >   NEW                                              $2      'TestClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
   48     3        NEW                                              $5      'stdClass'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !1, $5
   49     6        ASSIGN_OBJ                                               !1, 'aa'
          7        OP_DATA                                                  !0
   50     8        ASSIGN_OBJ                                               !0, 'bb'
          9        OP_DATA                                                  !1
   51    10      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FhW7s7%3A46%243

Function %00%7Bclosure%7D%2Fin%2FhW7s7%3A61%244:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hW7s7
function name:  {closure}
number of ops:  12
compiled vars:  !0 = $aa, !1 = $bb
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   62     0  E >   NEW                                              $2      'TestClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
   63     3        NEW                                              $5      'SplFixedArray'
          4        SEND_VAL_EX                                              1
          5        DO_FCALL                                      0          
          6        ASSIGN                                                   !1, $5
   64     7        ASSIGN_DIM                                               !1, 0
          8        OP_DATA                                                  !0
   65     9        ASSIGN_OBJ                                               !0, 'bb'
         10        OP_DATA                                                  !1
   66    11      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FhW7s7%3A61%244

Function %00%7Bclosure%7D%2Fin%2FhW7s7%3A76%245:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hW7s7
function name:  {closure}
number of ops:  12
compiled vars:  !0 = $aa, !1 = $bb
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   77     0  E >   NEW                                              $2      'TestClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
   78     3        NEW                                              $5      'SplObjectStorage'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !1, $5
   79     6        INIT_METHOD_CALL                                         !1, 'attach'
          7        SEND_VAR_EX                                              !0
          8        DO_FCALL                                      0          
   80     9        ASSIGN_OBJ                                               !0, 'bb'
         10        OP_DATA                                                  !1
   81    11      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FhW7s7%3A76%245

Function %00%7Bclosure%7D%2Fin%2FhW7s7%3A91%246:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hW7s7
function name:  {closure}
number of ops:  11
compiled vars:  !0 = $aa, !1 = $bb
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   92     0  E >   NEW                                              $2      'TestClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
   93     3        NEW                                              $5      'ArrayObject'
          4        INIT_ARRAY                                       ~6      !0
          5        SEND_VAL_EX                                              ~6
          6        DO_FCALL                                      0          
          7        ASSIGN                                                   !1, $5
   94     8        ASSIGN_OBJ                                               !0, 'bb'
          9        OP_DATA                                                  !1
   95    10      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FhW7s7%3A91%246

Function %00%7Bclosure%7D%2Fin%2FhW7s7%3A105%247:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hW7s7
function name:  {closure}
number of ops:  12
compiled vars:  !0 = $aa, !1 = $bb
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  106     0  E >   NEW                                              $2      'TestClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
  107     3        NEW                                              $5      'SplDoublyLinkedList'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !1, $5
  108     6        INIT_METHOD_CALL                                         !1, 'push'
          7        SEND_VAR_EX                                              !0
          8        DO_FCALL                                      0          
  109     9        ASSIGN_OBJ                                               !0, 'bb'
         10        OP_DATA                                                  !1
  110    11      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FhW7s7%3A105%247

Function %00%7Bclosure%7D%2Fin%2FhW7s7%3A120%248:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hW7s7
function name:  {closure}
number of ops:  12
compiled vars:  !0 = $aa, !1 = $bb
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  121     0  E >   NEW                                              $2      'TestClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
  122     3        NEW                                              $5      'SplMaxHeap'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !1, $5
  123     6        INIT_METHOD_CALL                                         !1, 'insert'
          7        SEND_VAR_EX                                              !0
          8        DO_FCALL                                      0          
  124     9        ASSIGN_OBJ                                               !0, 'bb'
         10        OP_DATA                                                  !1
  125    11      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FhW7s7%3A120%248

Function %00%7Bclosure%7D%2Fin%2FhW7s7%3A135%249:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hW7s7
function name:  {closure}
number of ops:  13
compiled vars:  !0 = $aa, !1 = $bb
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  136     0  E >   NEW                                              $2      'TestClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
  137     3        NEW                                              $5      'SplPriorityQueue'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !1, $5
  138     6        INIT_METHOD_CALL                                         !1, 'insert'
          7        SEND_VAR_EX                                              !0
          8        SEND_VAL_EX                                              1
          9        DO_FCALL                                      0          
  139    10        ASSIGN_OBJ                                               !0, 'bb'
         11        OP_DATA                                                  !1
  140    12      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FhW7s7%3A135%249

Class TestClass:
Function __destruct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hW7s7
function name:  __destruct
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   ASSIGN_STATIC_PROP                                       'flg', 'App'
          1        OP_DATA                                                  <true>
    7     2      > RETURN                                                   null

End of function __destruct

End of class TestClass.

Class App:
Function main:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hW7s7
function name:  main
number of ops:  17
compiled vars:  !0 = $methods
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   INIT_FCALL                                               'array_filter'
   17     1        NEW                                              $1      'ReflectionClass'
          2        SEND_VAL_EX                                              'App'
          3        DO_FCALL                                      0          
          4        INIT_METHOD_CALL                                         $1, 'getMethods'
          5        DO_FCALL                                      0  $3      
          6        SEND_VAR                                                 $3
   18     7        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FhW7s7%3A18%240'
   20     8        SEND_VAL                                                 ~4
          9        DO_ICALL                                         $5      
   16    10        ASSIGN                                                   !0, $5
   23    11        INIT_FCALL                                               'array_walk'
         12        SEND_REF                                                 !0
         13        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FhW7s7%3A23%241'
   25    14        SEND_VAL                                                 ~7
         15        DO_ICALL                                                 
   26    16      > RETURN                                                   null

End of function main

Function testarray:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hW7s7
function name:  testArray
number of ops:  18
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   30     0  E >   ASSIGN_STATIC_PROP                                       'flg'
          1        OP_DATA                                                  <false>
   32     2        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FhW7s7%3A32%242'
   36     3        INIT_USER_CALL                                0          'call_user_func', ~1
          4        DO_FCALL                                      0          
   38     5        INIT_FCALL                                               'gc_collect_cycles'
          6        DO_ICALL                                                 
   39     7        INIT_FCALL                                               'printf'
          8        SEND_VAL                                                 '%25s%3A+%25s%0A'
          9        SEND_VAL                                                 'testArray'
         10        INIT_FCALL                                               'var_export'
         11        FETCH_STATIC_PROP_R          unknown             ~4      'flg'
         12        SEND_VAL                                                 ~4
         13        SEND_VAL                                                 <true>
         14        DO_ICALL                                         $5      
         15        SEND_VAR                                                 $5
         16        DO_ICALL                                                 
   40    17      > RETURN                                                   null

End of function testarray

Function testobject:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hW7s7
function name:  testObject
number of ops:  18
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   44     0  E >   ASSIGN_STATIC_PROP                                       'flg'
          1        OP_DATA                                                  <false>
   46     2        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FhW7s7%3A46%243'
   51     3        INIT_USER_CALL                                0          'call_user_func', ~1
          4        DO_FCALL                                      0          
   53     5        INIT_FCALL                                               'gc_collect_cycles'
          6        DO_ICALL                                                 
   54     7        INIT_FCALL                                               'printf'
          8        SEND_VAL                                                 '%25s%3A+%25s%0A'
          9        SEND_VAL                                                 'testObject'
         10        INIT_FCALL                                               'var_export'
         11        FETCH_STATIC_PROP_R          unknown             ~4      'flg'
         12        SEND_VAL                                                 ~4
         13        SEND_VAL                                                 <true>
         14        DO_ICALL                                         $5      
         15        SEND_VAR                                                 $5
         16        DO_ICALL                                                 
   55    17      > RETURN                                                   null

End of function testobject

Function testsplfixedarray:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hW7s7
function name:  testSplFixedArray
number of ops:  18
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   59     0  E >   ASSIGN_STATIC_PROP                                       'flg'
          1        OP_DATA                                                  <false>
   61     2        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FhW7s7%3A61%244'
   66     3        INIT_USER_CALL                                0          'call_user_func', ~1
          4        DO_FCALL                                      0          
   68     5        INIT_FCALL                                               'gc_collect_cycles'
          6        DO_ICALL                                                 
   69     7        INIT_FCALL                                               'printf'
          8        SEND_VAL                                                 '%25s%3A+%25s%0A'
          9        SEND_VAL                                                 'testSplFixedArray'
         10        INIT_FCALL                                               'var_export'
         11        FETCH_STATIC_PROP_R          unknown             ~4      'flg'
         12        SEND_VAL                                                 ~4
         13        SEND_VAL                                                 <true>
         14        DO_ICALL                                         $5      
         15        SEND_VAR                                                 $5
         16        DO_ICALL                                                 
   70    17      > RETURN                                                   null

End of function testsplfixedarray

Function testsplobjectstorage:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hW7s7
function name:  testSplObjectStorage
number of ops:  18
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   74     0  E >   ASSIGN_STATIC_PROP                                       'flg'
          1        OP_DATA                                                  <false>
   76     2        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FhW7s7%3A76%245'
   81     3        INIT_USER_CALL                                0          'call_user_func', ~1
          4        DO_FCALL                                      0          
   83     5        INIT_FCALL                                               'gc_collect_cycles'
          6        DO_ICALL                                                 
   84     7        INIT_FCALL                                               'printf'
          8        SEND_VAL                                                 '%25s%3A+%25s%0A'
          9        SEND_VAL                                                 'testSplObjectStorage'
         10        INIT_FCALL                                               'var_export'
         11        FETCH_STATIC_PROP_R          unknown             ~4      'flg'
         12        SEND_VAL                                                 ~4
         13        SEND_VAL                                                 <true>
         14        DO_ICALL                                         $5      
         15        SEND_VAR                                                 $5
         16        DO_ICALL                                                 
   85    17      > RETURN                                                   null

End of function testsplobjectstorage

Function testarrayobject:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hW7s7
function name:  testArrayObject
number of ops:  18
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   89     0  E >   ASSIGN_STATIC_PROP                                       'flg'
          1        OP_DATA                                                  <false>
   91     2        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FhW7s7%3A91%246'
   95     3        INIT_USER_CALL                                0          'call_user_func', ~1
          4        DO_FCALL                                      0          
   97     5        INIT_FCALL                                               'gc_collect_cycles'
          6        DO_ICALL                                                 
   98     7        INIT_FCALL                                               'printf'
          8        SEND_VAL                                                 '%25s%3A+%25s%0A'
          9        SEND_VAL                                                 'testArrayObject'
         10        INIT_FCALL                                               'var_export'
         11        FETCH_STATIC_PROP_R          unknown             ~4      'flg'
         12        SEND_VAL                                                 ~4
         13        SEND_VAL                                                 <true>
         14        DO_ICALL                                         $5      
         15        SEND_VAR                                                 $5
         16        DO_ICALL                                                 
   99    17      > RETURN                                                   null

End of function testarrayobject

Function testspldoublylinkedlist:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hW7s7
function name:  testSplDoublyLinkedList
number of ops:  18
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  103     0  E >   ASSIGN_STATIC_PROP                                       'flg'
          1        OP_DATA                                                  <false>
  105     2        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FhW7s7%3A105%247'
  110     3        INIT_USER_CALL                                0          'call_user_func', ~1
          4        DO_FCALL                                      0          
  112     5        INIT_FCALL                                               'gc_collect_cycles'
          6        DO_ICALL                                                 
  113     7        INIT_FCALL                                               'printf'
          8        SEND_VAL                                                 '%25s%3A+%25s%0A'
          9        SEND_VAL                                                 'testSplDoublyLinkedList'
         10        INIT_FCALL                                               'var_export'
         11        FETCH_STATIC_PROP_R          unknown             ~4      'flg'
         12        SEND_VAL                                                 ~4
         13        SEND_VAL                                                 <true>
         14        DO_ICALL                                         $5      
         15        SEND_VAR                                                 $5
         16        DO_ICALL                                                 
  114    17      > RETURN                                                   null

End of function testspldoublylinkedlist

Function testsplmaxheap:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hW7s7
function name:  testSplMaxHeap
number of ops:  18
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  118     0  E >   ASSIGN_STATIC_PROP                                       'flg'
          1        OP_DATA                                                  <false>
  120     2        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FhW7s7%3A120%248'
  125     3        INIT_USER_CALL                                0          'call_user_func', ~1
          4        DO_FCALL                                      0          
  127     5        INIT_FCALL                                               'gc_collect_cycles'
          6        DO_ICALL                                                 
  128     7        INIT_FCALL                                               'printf'
          8        SEND_VAL                                                 '%25s%3A+%25s%0A'
          9        SEND_VAL                                                 'testSplMaxHeap'
         10        INIT_FCALL                                               'var_export'
         11        FETCH_STATIC_PROP_R          unknown             ~4      'flg'
         12        SEND_VAL                                                 ~4
         13        SEND_VAL                                                 <true>
         14        DO_ICALL                                         $5      
         15        SEND_VAR                                                 $5
         16        DO_ICALL                                                 
  129    17      > RETURN                                                   null

End of function testsplmaxheap

Function testsplpriorityqueue:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hW7s7
function name:  testSplPriorityQueue
number of ops:  18
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  133     0  E >   ASSIGN_STATIC_PROP                                       'flg'
          1        OP_DATA                                                  <false>
  135     2        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FhW7s7%3A135%249'
  140     3        INIT_USER_CALL                                0          'call_user_func', ~1
          4        DO_FCALL                                      0          
  142     5        INIT_FCALL                                               'gc_collect_cycles'
          6        DO_ICALL                                                 
  143     7        INIT_FCALL                                               'printf'
          8        SEND_VAL                                                 '%25s%3A+%25s%0A'
          9        SEND_VAL                                                 'testSplPriorityQueue'
         10        INIT_FCALL                                               'var_export'
         11        FETCH_STATIC_PROP_R          unknown             ~4      'flg'
         12        SEND_VAL                                                 ~4
         13        SEND_VAL                                                 <true>
         14        DO_ICALL                                         $5      
         15        SEND_VAR                                                 $5
         16        DO_ICALL                                                 
  144    17      > RETURN                                                   null

End of function testsplpriorityqueue

End of class App.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.33 ms | 1424 KiB | 25 Q