3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start =1; $end = 15; echo '<table>'; echo"<table border='border'>"; echo"<caption>multiplication table</caption>"; echo '<tr><th>x</th>'; for ($a = $start; $a <= $end; $a++) echo '<th>'.$a.'</th>'; echo '</tr>'; for ($b = $start; $b <= $end; $b++): echo '<tr><th>'.$b.'</th>'; for ($c = $start; $c <= $end; $c++): echo '<td>'.($b * $c).'</td>'; endfor; echo '</tr>'; endfor; echo '</table>'; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 8
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 31
Branch analysis from position: 31
2 jumps found. (Code = 44) Position 1 = 33, Position 2 = 17
Branch analysis from position: 33
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
1 jumps found. (Code = 42) Position 1 = 27
Branch analysis from position: 27
2 jumps found. (Code = 44) Position 1 = 29, Position 2 = 22
Branch analysis from position: 29
2 jumps found. (Code = 44) Position 1 = 33, Position 2 = 17
Branch analysis from position: 33
Branch analysis from position: 17
Branch analysis from position: 22
2 jumps found. (Code = 44) Position 1 = 29, Position 2 = 22
Branch analysis from position: 29
Branch analysis from position: 22
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 8
Branch analysis from position: 14
Branch analysis from position: 8
filename:       /in/5W3Vd
function name:  (null)
number of ops:  35
compiled vars:  !0 = $start, !1 = $end, !2 = $a, !3 = $b, !4 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 1
    5     1        ASSIGN                                                   !1, 15
    7     2        ECHO                                                     '%3Ctable%3E'
    8     3        ECHO                                                     '%3Ctable+border%3D%27border%27%3E'
    9     4        ECHO                                                     '%3Ccaption%3Emultiplication+table%3C%2Fcaption%3E'
   11     5        ECHO                                                     '%3Ctr%3E%3Cth%3Ex%3C%2Fth%3E'
   13     6        ASSIGN                                                   !2, !0
          7      > JMP                                                      ->12
   15     8    >   CONCAT                                           ~8      '%3Cth%3E', !2
          9        CONCAT                                           ~9      ~8, '%3C%2Fth%3E'
         10        ECHO                                                     ~9
   13    11        PRE_INC                                                  !2
         12    >   IS_SMALLER_OR_EQUAL                                      !2, !1
         13      > JMPNZ                                                    ~11, ->8
   17    14    >   ECHO                                                     '%3C%2Ftr%3E'
   19    15        ASSIGN                                                   !3, !0
         16      > JMP                                                      ->31
   21    17    >   CONCAT                                           ~13     '%3Ctr%3E%3Cth%3E', !3
         18        CONCAT                                           ~14     ~13, '%3C%2Fth%3E'
         19        ECHO                                                     ~14
   23    20        ASSIGN                                                   !4, !0
         21      > JMP                                                      ->27
   25    22    >   MUL                                              ~16     !3, !4
         23        CONCAT                                           ~17     '%3Ctd%3E', ~16
         24        CONCAT                                           ~18     ~17, '%3C%2Ftd%3E'
         25        ECHO                                                     ~18
   23    26        PRE_INC                                                  !4
         27    >   IS_SMALLER_OR_EQUAL                                      !4, !1
         28      > JMPNZ                                                    ~20, ->22
   29    29    >   ECHO                                                     '%3C%2Ftr%3E'
   19    30        PRE_INC                                                  !3
         31    >   IS_SMALLER_OR_EQUAL                                      !3, !1
         32      > JMPNZ                                                    ~22, ->17
   33    33    >   ECHO                                                     '%3C%2Ftable%3E'
   35    34      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.23 ms | 1399 KiB | 13 Q