3v4l.org

run code in 300+ PHP versions simultaneously
<?php $farbtabelle = array(); $step = 32; $farbwert = ""; for($i = 255;$i >= 0;$i -= $step){ for($j = 255;$j >= 0;$j -= $step){ for($k = 255;$k >= 0;$k -= $step){ //$farbwert = $farbtabelle[] = sprintf("#%02x%02x%02x", $i, $j, $k); } } } $i=1; foreach($farbtabelle as $farbe){ echo 'Farbnummer: '.$i.'<div style="background-color:'.$farbe.';">'.$farbe.'</div>', "\n"; $i++; } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 24
Branch analysis from position: 24
2 jumps found. (Code = 44) Position 1 = 26, Position 2 = 5
Branch analysis from position: 26
2 jumps found. (Code = 77) Position 1 = 28, Position 2 = 39
Branch analysis from position: 28
2 jumps found. (Code = 78) Position 1 = 29, Position 2 = 39
Branch analysis from position: 29
1 jumps found. (Code = 42) Position 1 = 28
Branch analysis from position: 28
Branch analysis from position: 39
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 39
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
2 jumps found. (Code = 44) Position 1 = 23, Position 2 = 7
Branch analysis from position: 23
2 jumps found. (Code = 44) Position 1 = 26, Position 2 = 5
Branch analysis from position: 26
Branch analysis from position: 5
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 9
Branch analysis from position: 20
2 jumps found. (Code = 44) Position 1 = 23, Position 2 = 7
Branch analysis from position: 23
Branch analysis from position: 7
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 9
Branch analysis from position: 20
Branch analysis from position: 9
filename:       /in/g70j1
function name:  (null)
number of ops:  41
compiled vars:  !0 = $farbtabelle, !1 = $step, !2 = $farbwert, !3 = $i, !4 = $j, !5 = $k, !6 = $farbe
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, 32
    4     2        ASSIGN                                                   !2, ''
    5     3        ASSIGN                                                   !3, 255
          4      > JMP                                                      ->24
    6     5    >   ASSIGN                                                   !4, 255
          6      > JMP                                                      ->21
    7     7    >   ASSIGN                                                   !5, 255
          8      > JMP                                                      ->18
    9     9    >   INIT_FCALL                                               'sprintf'
         10        SEND_VAL                                                 '%23%2502x%2502x%2502x'
         11        SEND_VAR                                                 !3
         12        SEND_VAR                                                 !4
         13        SEND_VAR                                                 !5
         14        DO_ICALL                                         $14     
         15        ASSIGN_DIM                                               !0
         16        OP_DATA                                                  $14
    7    17        ASSIGN_OP                                     2          !5, !1
         18    >   IS_SMALLER_OR_EQUAL                                      0, !5
         19      > JMPNZ                                                    ~16, ->9
    6    20    >   ASSIGN_OP                                     2          !4, !1
         21    >   IS_SMALLER_OR_EQUAL                                      0, !4
         22      > JMPNZ                                                    ~18, ->7
    5    23    >   ASSIGN_OP                                     2          !3, !1
         24    >   IS_SMALLER_OR_EQUAL                                      0, !3
         25      > JMPNZ                                                    ~20, ->5
   14    26    >   ASSIGN                                                   !3, 1
   15    27      > FE_RESET_R                                       $22     !0, ->39
         28    > > FE_FETCH_R                                               $22, !6, ->39
   16    29    >   CONCAT                                           ~23     'Farbnummer%3A+', !3
         30        CONCAT                                           ~24     ~23, '%3Cdiv+style%3D%22background-color%3A'
         31        CONCAT                                           ~25     ~24, !6
         32        CONCAT                                           ~26     ~25, '%3B%22%3E'
         33        CONCAT                                           ~27     ~26, !6
         34        CONCAT                                           ~28     ~27, '%3C%2Fdiv%3E'
         35        ECHO                                                     ~28
         36        ECHO                                                     '%0A'
   17    37        PRE_INC                                                  !3
   15    38      > JMP                                                      ->28
         39    >   FE_FREE                                                  $22
   20    40      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.33 ms | 1400 KiB | 15 Q