3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i = 0; $i < 2; $i++) { $sql = "INSERT INTO `tblchitiethoadon`(`Ma_HD`, `Ma_SP`, `Ten_SP`, `SoLuong`, `Gia`)"; $sql.=" VALUES (2,2,'prodName',2,4);"; echo $sql; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 8, Position 2 = 2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 8, Position 2 = 2
Branch analysis from position: 8
Branch analysis from position: 2
filename:       /in/HErhY
function name:  (null)
number of ops:  9
compiled vars:  !0 = $i, !1 = $sql
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                   !0, 0
          1      > JMP                                                      ->6
    8     2    >   ASSIGN                                                   !1, 'INSERT+INTO+%60tblchitiethoadon%60%28%60Ma_HD%60%2C+%60Ma_SP%60%2C+%60Ten_SP%60%2C+%60SoLuong%60%2C+%60Gia%60%29'
    9     3        ASSIGN_OP                                     8          !1, '++VALUES+%282%2C2%2C%27prodName%27%2C2%2C4%29%3B'
   10     4        ECHO                                                     !1
    5     5        PRE_INC                                                  !0
          6    >   IS_SMALLER                                               !0, 2
          7      > JMPNZ                                                    ~6, ->2
   13     8    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
186.82 ms | 1384 KiB | 13 Q