3v4l.org

run code in 300+ PHP versions simultaneously
<?php $e = new SplMaxHeap(); //die(new ReflectionObject($e)); $e->insert(1); $e->insert(7); $e->top(); foreach ($e as $t) { echo $t.'.'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 12, Position 2 = 16
Branch analysis from position: 12
2 jumps found. (Code = 78) Position 1 = 13, Position 2 = 16
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/uRNjW
function name:  (null)
number of ops:  18
compiled vars:  !0 = $e, !1 = $t
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $2      'SplMaxHeap'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
    5     3        INIT_METHOD_CALL                                         !0, 'insert'
          4        SEND_VAL_EX                                              1
          5        DO_FCALL                                      0          
    6     6        INIT_METHOD_CALL                                         !0, 'insert'
          7        SEND_VAL_EX                                              7
          8        DO_FCALL                                      0          
    8     9        INIT_METHOD_CALL                                         !0, 'top'
         10        DO_FCALL                                      0          
   10    11      > FE_RESET_R                                       $8      !0, ->16
         12    > > FE_FETCH_R                                               $8, !1, ->16
   11    13    >   CONCAT                                           ~9      !1, '.'
         14        ECHO                                                     ~9
   10    15      > JMP                                                      ->12
         16    >   FE_FREE                                                  $8
   12    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.56 ms | 1398 KiB | 13 Q