3v4l.org

run code in 300+ PHP versions simultaneously
<?php $goods=["ABC","XYZ","PQR","DEF"]; $qty=[12345,25120,14521,12541]; $rate=[12.00,13.02,15.00,14.00]; $words=["Total Value", "Frieght", "Total Taxable Value", "Tax", "Tax", "Tax", "Total Tax Amount"]; ?> <table> <tr> <th>Sr No.</th> <th>Goods Description</th> <th>Total Quantity(pcs)</th> <th>Rate per unit(Rs.)</th> <th colspan="3">Amount</th> </tr> <?php for($i=0;$i<count($words);$i++) { ?> <tr> <td><?php echo $goods[$i];?></td> <td><?php echo $qty[$i];?></td> <td><?php echo $rate[$i];?></td> <td><?php echo $words[$i];?></td> </tr> <?php } ?> </table>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
2 jumps found. (Code = 44) Position 1 = 24, Position 2 = 7
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 24, Position 2 = 7
Branch analysis from position: 24
Branch analysis from position: 7
filename:       /in/m9Vu0
function name:  (null)
number of ops:  26
compiled vars:  !0 = $goods, !1 = $qty, !2 = $rate, !3 = $words, !4 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, <array>
    5     2        ASSIGN                                                   !2, <array>
    6     3        ASSIGN                                                   !3, <array>
    8     4        ECHO                                                     '++++%3Ctable%3E%0A++++++%3Ctr%3E%0A++++++++%3Cth%3ESr+No.%3C%2Fth%3E%0A++++++++%3Cth%3EGoods+Description%3C%2Fth%3E%0A++++++++%3Cth%3ETotal+Quantity%28pcs%29%3C%2Fth%3E%0A++++++++%3Cth%3ERate+per+unit%28Rs.%29%3C%2Fth%3E%0A++++++++%3Cth+colspan%3D%223%22%3EAmount%3C%2Fth%3E%0A++++++%3C%2Ftr%3E%0A+'
   17     5        ASSIGN                                                   !4, 0
          6      > JMP                                                      ->21
   19     7    >   ECHO                                                     '++++++++%3Ctr%3E%0A++++++++%3Ctd%3E'
   20     8        FETCH_DIM_R                                      ~10     !0, !4
          9        ECHO                                                     ~10
         10        ECHO                                                     '%3C%2Ftd%3E%0A++++++++%3Ctd%3E'
   21    11        FETCH_DIM_R                                      ~11     !1, !4
         12        ECHO                                                     ~11
         13        ECHO                                                     '%3C%2Ftd%3E%0A++++++++%3Ctd%3E'
   22    14        FETCH_DIM_R                                      ~12     !2, !4
         15        ECHO                                                     ~12
         16        ECHO                                                     '%3C%2Ftd%3E%0A++++++++%3Ctd%3E'
   23    17        FETCH_DIM_R                                      ~13     !3, !4
         18        ECHO                                                     ~13
         19        ECHO                                                     '%3C%2Ftd%3E%0A++++++++%3C%2Ftr%3E%0A++++++'
   17    20        PRE_INC                                                  !4
         21    >   COUNT                                            ~15     !3
         22        IS_SMALLER                                               !4, ~15
         23      > JMPNZ                                                    ~16, ->7
   26    24    >   ECHO                                                     '++++%3C%2Ftable%3E'
         25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.99 ms | 1395 KiB | 13 Q