3v4l.org

run code in 300+ PHP versions simultaneously
<?php $width = $height = 1024; $stepSize = 10; for ($x=0; $x < $width; $x+=$stepSize) { for ($y=0; $y < $height; $y+=$stepSize) { echo "Checking pixel at ($x, $y)"; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 5
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 7
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 5
Branch analysis from position: 19
Branch analysis from position: 5
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 7
Branch analysis from position: 16
Branch analysis from position: 7
filename:       /in/097Aa
function name:  (null)
number of ops:  20
compiled vars:  !0 = $width, !1 = $height, !2 = $stepSize, !3 = $x, !4 = $y
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                           ~5      !1, 1024
          1        ASSIGN                                                   !0, ~5
    4     2        ASSIGN                                                   !2, 10
    5     3        ASSIGN                                                   !3, 0
          4      > JMP                                                      ->17
    6     5    >   ASSIGN                                                   !4, 0
          6      > JMP                                                      ->14
    7     7    >   ROPE_INIT                                     5  ~11     'Checking+pixel+at+%28'
          8        ROPE_ADD                                      1  ~11     ~11, !3
          9        ROPE_ADD                                      2  ~11     ~11, '%2C+'
         10        ROPE_ADD                                      3  ~11     ~11, !4
         11        ROPE_END                                      4  ~10     ~11, '%29'
         12        ECHO                                                     ~10
    6    13        ASSIGN_OP                                     1          !4, !2
         14    >   IS_SMALLER                                               !4, !1
         15      > JMPNZ                                                    ~15, ->7
    5    16    >   ASSIGN_OP                                     1          !3, !2
         17    >   IS_SMALLER                                               !3, !0
         18      > JMPNZ                                                    ~17, ->5
    9    19    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
255.81 ms | 1394 KiB | 14 Q