3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = range(1,100000); for($i = 1; $i < count($arr); $i++) { //do nothing }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 7
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 7
Branch analysis from position: 11
Branch analysis from position: 7
filename:       /in/ONOqb
function name:  (null)
number of ops:  12
compiled vars:  !0 = $arr, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'range'
          1        SEND_VAL                                                 1
          2        SEND_VAL                                                 100000
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    5     5        ASSIGN                                                   !1, 1
          6      > JMP                                                      ->8
          7    >   PRE_INC                                                  !1
          8    >   COUNT                                            ~6      !0
          9        IS_SMALLER                                               !1, ~6
         10      > JMPNZ                                                    ~7, ->7
    8    11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.02 ms | 1394 KiB | 15 Q