3v4l.org

run code in 300+ PHP versions simultaneously
<?php $spl = new SplMinHeap(); $spl->insert(0); $spl->insert(1); foreach ($spl as $el1) { foreach ($spl as $el2) { echo "$el1.$el2\n"; } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 10, Position 2 = 21
Branch analysis from position: 10
2 jumps found. (Code = 78) Position 1 = 11, Position 2 = 21
Branch analysis from position: 11
2 jumps found. (Code = 77) Position 1 = 12, Position 2 = 19
Branch analysis from position: 12
2 jumps found. (Code = 78) Position 1 = 13, Position 2 = 19
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
Branch analysis from position: 19
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
Branch analysis from position: 19
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 21
filename:       /in/YUYUr
function name:  (null)
number of ops:  23
compiled vars:  !0 = $spl, !1 = $el1, !2 = $el2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $3      'SplMinHeap'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $3
    3     3        INIT_METHOD_CALL                                         !0, 'insert'
          4        SEND_VAL_EX                                              0
          5        DO_FCALL                                      0          
    4     6        INIT_METHOD_CALL                                         !0, 'insert'
          7        SEND_VAL_EX                                              1
          8        DO_FCALL                                      0          
    5     9      > FE_RESET_R                                       $8      !0, ->21
         10    > > FE_FETCH_R                                               $8, !1, ->21
    6    11    > > FE_RESET_R                                       $9      !0, ->19
         12    > > FE_FETCH_R                                               $9, !2, ->19
    7    13    >   ROPE_INIT                                     4  ~11     !1
         14        ROPE_ADD                                      1  ~11     ~11, '.'
         15        ROPE_ADD                                      2  ~11     ~11, !2
         16        ROPE_END                                      3  ~10     ~11, '%0A'
         17        ECHO                                                     ~10
    6    18      > JMP                                                      ->12
         19    >   FE_FREE                                                  $9
    5    20      > JMP                                                      ->10
         21    >   FE_FREE                                                  $8
    9    22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.65 ms | 1007 KiB | 13 Q