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 ($mahd,$proid,'$prodName',$taken,$price)"; echo $sql; }
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $mahd in /in/DNP4k on line 9 Warning: Undefined variable $proid in /in/DNP4k on line 9 Warning: Undefined variable $prodName in /in/DNP4k on line 9 Warning: Undefined variable $taken in /in/DNP4k on line 9 Warning: Undefined variable $price in /in/DNP4k on line 9 INSERT INTO `tblchitiethoadon`(`Ma_HD`, `Ma_SP`, `Ten_SP`, `SoLuong`, `Gia`) VALUES (,,'',,) Warning: Undefined variable $mahd in /in/DNP4k on line 9 Warning: Undefined variable $proid in /in/DNP4k on line 9 Warning: Undefined variable $prodName in /in/DNP4k on line 9 Warning: Undefined variable $taken in /in/DNP4k on line 9 Warning: Undefined variable $price in /in/DNP4k on line 9 INSERT INTO `tblchitiethoadon`(`Ma_HD`, `Ma_SP`, `Ten_SP`, `SoLuong`, `Gia`) VALUES (,,'',,)

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
39.89 ms | 402 KiB | 8 Q