3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cache = array('Blah\Blah\Blah', 'src/Blah/Blah/Blag.php'); for ($i = 0; $i < 1000; $i++) { $class = reset($cache); $file = end($cache); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 3
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 3
Branch analysis from position: 14
Branch analysis from position: 3
filename:       /in/D7g5G
function name:  (null)
number of ops:  15
compiled vars:  !0 = $cache, !1 = $i, !2 = $class, !3 = $file
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->12
    6     3    >   INIT_FCALL                                               'reset'
          4        SEND_REF                                                 !0
          5        DO_ICALL                                         $6      
          6        ASSIGN                                                   !2, $6
    7     7        INIT_FCALL                                               'end'
          8        SEND_REF                                                 !0
          9        DO_ICALL                                         $8      
         10        ASSIGN                                                   !3, $8
    5    11        PRE_INC                                                  !1
         12    >   IS_SMALLER                                               !1, 1000
         13      > JMPNZ                                                    ~11, ->3
    8    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.97 ms | 1394 KiB | 17 Q