3v4l.org

run code in 300+ PHP versions simultaneously
<?php $brush_price = 5; ?> <table border="1" align="center"> <tr><th>Quantity</th> <th>Price</th></tr> <?php for ( $counter = 10; $counter <= 100; $counter += 10) { echo $counter; echo $brush_price * $counter; } ?> </table>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 4
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 4
Branch analysis from position: 10
Branch analysis from position: 4
filename:       /in/RKHdu
function name:  (null)
number of ops:  12
compiled vars:  !0 = $brush_price, !1 = $counter
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 5
    4     1        ECHO                                                     '%3Ctable+border%3D%221%22+align%3D%22center%22%3E%0A%3Ctr%3E%3Cth%3EQuantity%3C%2Fth%3E%0A%3Cth%3EPrice%3C%2Fth%3E%3C%2Ftr%3E%0A%0A'
    9     2        ASSIGN                                                   !1, 10
          3      > JMP                                                      ->8
   10     4    >   ECHO                                                     !1
   11     5        MUL                                              ~4      !0, !1
          6        ECHO                                                     ~4
    9     7        ASSIGN_OP                                     1          !1, 10
          8    >   IS_SMALLER_OR_EQUAL                                      !1, 100
          9      > JMPNZ                                                    ~6, ->4
   14    10    >   ECHO                                                     '%3C%2Ftable%3E'
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.52 ms | 1393 KiB | 13 Q