3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new SplObjectStorage(); for($i=0; $i < 1000;$i++) { $a->attach( (object) array( 'val' => $i )); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 5
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 5
Branch analysis from position: 13
Branch analysis from position: 5
filename:       /in/ZLC6W
function name:  (null)
number of ops:  14
compiled vars:  !0 = $a, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $2      'SplObjectStorage'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
    5     3        ASSIGN                                                   !1, 0
          4      > JMP                                                      ->11
    7     5    >   INIT_METHOD_CALL                                         !0, 'attach'
          6        INIT_ARRAY                                       ~6      !1, 'val'
          7        CAST                                          8  ~7      ~6
          8        SEND_VAL_EX                                              ~7
          9        DO_FCALL                                      0          
    5    10        PRE_INC                                                  !1
         11    >   IS_SMALLER                                               !1, 1000
         12      > JMPNZ                                                    ~10, ->5
    8    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.37 ms | 1393 KiB | 13 Q