3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i = 1; $i <= 20; $i++) { echo "\n\nNombre $i : "; echo "$i % 2 = ".($i%2); echo "\n$i % 8 = ".($i%8); }
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 = 2
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 2
Branch analysis from position: 20
Branch analysis from position: 2
filename:       /in/0WGrr
function name:  (null)
number of ops:  21
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 1
          1      > JMP                                                      ->18
    5     2    >   ROPE_INIT                                     3  ~3      '%0A%0ANombre+'
          3        ROPE_ADD                                      1  ~3      ~3, !0
          4        ROPE_END                                      2  ~2      ~3, '+%3A+'
          5        ECHO                                                     ~2
    6     6        NOP                                                      
          7        FAST_CONCAT                                      ~5      !0, '+%25+2+%3D+'
          8        MOD                                              ~6      !0, 2
          9        CONCAT                                           ~7      ~5, ~6
         10        ECHO                                                     ~7
    7    11        ROPE_INIT                                     3  ~9      '%0A'
         12        ROPE_ADD                                      1  ~9      ~9, !0
         13        ROPE_END                                      2  ~8      ~9, '+%25+8+%3D+'
         14        MOD                                              ~11     !0, 8
         15        CONCAT                                           ~12     ~8, ~11
         16        ECHO                                                     ~12
    3    17        PRE_INC                                                  !0
         18    >   IS_SMALLER_OR_EQUAL                                      !0, 20
         19      > JMPNZ                                                    ~14, ->2
    8    20    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.22 ms | 1394 KiB | 13 Q