3v4l.org

run code in 300+ PHP versions simultaneously
<?php $e = new SplMaxHeap(); die(new ReflectionObject($e)); $e->push(1); foreach ($e as $t) { echo $t.'.'; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/trceh
function name:  (null)
number of ops:  17
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
    4     3        NEW                                              $5      'ReflectionObject'
          4        SEND_VAR_EX                                              !0
          5        DO_FCALL                                      0          
          6      > EXIT                                                     $5
    5     7*       INIT_METHOD_CALL                                         !0, 'push'
          8*       SEND_VAL_EX                                              1
          9*       DO_FCALL                                      0          
    7    10*       FE_RESET_R                                       $8      !0, ->15
         11*       FE_FETCH_R                                               $8, !1, ->15
    8    12*       CONCAT                                           ~9      !1, '.'
         13*       ECHO                                                     ~9
    7    14*       JMP                                                      ->11
         15*       FE_FREE                                                  $8
    9    16*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.32 ms | 1397 KiB | 13 Q