3v4l.org

run code in 300+ PHP versions simultaneously
<table border = "1"> <tr> <td><b>x</b></td> <td><b>x<sup>2</sup></b></td> </tr> <?php for ($i = 1; $i < 10; $i++) { $x = $i*$i; echo "<tr> <td>$i</td> <td>$x</td> </tr>"; } ?> </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 = 3
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 3
Branch analysis from position: 14
Branch analysis from position: 3
filename:       /in/agk7E
function name:  (null)
number of ops:  16
compiled vars:  !0 = $i, !1 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3Ctable+border+%3D+%221%22%3E%0A%3Ctr%3E%0A%09%3Ctd%3E%3Cb%3Ex%3C%2Fb%3E%3C%2Ftd%3E%0A%09%3Ctd%3E%3Cb%3Ex%3Csup%3E2%3C%2Fsup%3E%3C%2Fb%3E%3C%2Ftd%3E%0A%3C%2Ftr%3E%0A'
    7     1        ASSIGN                                                   !0, 1
          2      > JMP                                                      ->12
    8     3    >   MUL                                              ~3      !0, !0
          4        ASSIGN                                                   !1, ~3
    9     5        ROPE_INIT                                     5  ~6      '%3Ctr%3E%0A++++++++%3Ctd%3E'
   10     6        ROPE_ADD                                      1  ~6      ~6, !0
          7        ROPE_ADD                                      2  ~6      ~6, '%3C%2Ftd%3E%0A++++++++%3Ctd%3E'
   11     8        ROPE_ADD                                      3  ~6      ~6, !1
          9        ROPE_END                                      4  ~5      ~6, '%3C%2Ftd%3E%0A++++%3C%2Ftr%3E'
         10        ECHO                                                     ~5
    7    11        PRE_INC                                                  !0
         12    >   IS_SMALLER                                               !0, 10
         13      > JMPNZ                                                    ~10, ->3
   16    14    >   ECHO                                                     '%3C%2Ftable%3E'
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150 ms | 1393 KiB | 13 Q