3v4l.org

run code in 300+ PHP versions simultaneously
<?php $e = new SplMaxHeap(); //die(new ReflectionObject($e)); $e->insert(1); $e->insert(7); echo $e->extract(); foreach ($e as $t) { echo $t.'.'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 13, Position 2 = 17
Branch analysis from position: 13
2 jumps found. (Code = 78) Position 1 = 14, Position 2 = 17
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
filename:       /in/dMBfs
function name:  (null)
number of ops:  19
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, 'extract'
         10        DO_FCALL                                      0  $7      
         11        ECHO                                                     $7
   11    12      > FE_RESET_R                                       $8      !0, ->17
         13    > > FE_FETCH_R                                               $8, !1, ->17
   12    14    >   CONCAT                                           ~9      !1, '.'
         15        ECHO                                                     ~9
   11    16      > JMP                                                      ->13
         17    >   FE_FREE                                                  $8
   13    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.25 ms | 1394 KiB | 13 Q