3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<html> <body> <table align="left" border="1" cellpadding="3" cellspacing="0"> <?php for($i=1;$i<=6;$i++) { echo "<tr>"; for ($j=1;$j<=5;$j++) { echo "<td>$i * $j = ".$i*$j."</td>"; } echo "</tr>"; } ?> </table> </body> </html>
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
<html> <body> <table align="left" border="1" cellpadding="3" cellspacing="0"> <tr><td>1 * 1 = 1</td><td>1 * 2 = 2</td><td>1 * 3 = 3</td><td>1 * 4 = 4</td><td>1 * 5 = 5</td></tr><tr><td>2 * 1 = 2</td><td>2 * 2 = 4</td><td>2 * 3 = 6</td><td>2 * 4 = 8</td><td>2 * 5 = 10</td></tr><tr><td>3 * 1 = 3</td><td>3 * 2 = 6</td><td>3 * 3 = 9</td><td>3 * 4 = 12</td><td>3 * 5 = 15</td></tr><tr><td>4 * 1 = 4</td><td>4 * 2 = 8</td><td>4 * 3 = 12</td><td>4 * 4 = 16</td><td>4 * 5 = 20</td></tr><tr><td>5 * 1 = 5</td><td>5 * 2 = 10</td><td>5 * 3 = 15</td><td>5 * 4 = 20</td><td>5 * 5 = 25</td></tr><tr><td>6 * 1 = 6</td><td>6 * 2 = 12</td><td>6 * 3 = 18</td><td>6 * 4 = 24</td><td>6 * 5 = 30</td></tr> </table> </body> </html>