3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.05 ms | 1393 KiB | 13 Q