3v4l.org

run code in 300+ PHP versions simultaneously
<?php $width = $height = 1024; $stepSize = 100; for ($x=0; $x < $width; $x+=$stepSize) { for ($y=0; $y < $height; $y+=$stepSize) { echo "Checking pixel at ($x, $y)" . PHP_EOL; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 5
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 7
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 5
Branch analysis from position: 20
Branch analysis from position: 5
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 7
Branch analysis from position: 17
Branch analysis from position: 7
filename:       /in/Csoj9
function name:  (null)
number of ops:  21
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, 100
    5     3        ASSIGN                                                   !3, 0
          4      > JMP                                                      ->18
    6     5    >   ASSIGN                                                   !4, 0
          6      > JMP                                                      ->15
    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        CONCAT                                           ~14     ~10, '%0A'
         13        ECHO                                                     ~14
    6    14        ASSIGN_OP                                     1          !4, !2
         15    >   IS_SMALLER                                               !4, !1
         16      > JMPNZ                                                    ~16, ->7
    5    17    >   ASSIGN_OP                                     1          !3, !2
         18    >   IS_SMALLER                                               !3, !0
         19      > JMPNZ                                                    ~18, ->5
    9    20    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.27 ms | 1394 KiB | 13 Q