3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo "<table border='1'>"; for($i=1;$i<=9;$i++){ for($j=1;$j<=9;$j++){ if($j==1) echo "<tr>"; echo "<td>".$i.' X '.$j." = ".($i*$j)."</td>"; if($j==9) echo "</tr>"; } } echo "</table>";
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
<table border='1'><tr><td>1 X 1 = 1</td><td>1 X 2 = 2</td><td>1 X 3 = 3</td><td>1 X 4 = 4</td><td>1 X 5 = 5</td><td>1 X 6 = 6</td><td>1 X 7 = 7</td><td>1 X 8 = 8</td><td>1 X 9 = 9</td></tr><tr><td>2 X 1 = 2</td><td>2 X 2 = 4</td><td>2 X 3 = 6</td><td>2 X 4 = 8</td><td>2 X 5 = 10</td><td>2 X 6 = 12</td><td>2 X 7 = 14</td><td>2 X 8 = 16</td><td>2 X 9 = 18</td></tr><tr><td>3 X 1 = 3</td><td>3 X 2 = 6</td><td>3 X 3 = 9</td><td>3 X 4 = 12</td><td>3 X 5 = 15</td><td>3 X 6 = 18</td><td>3 X 7 = 21</td><td>3 X 8 = 24</td><td>3 X 9 = 27</td></tr><tr><td>4 X 1 = 4</td><td>4 X 2 = 8</td><td>4 X 3 = 12</td><td>4 X 4 = 16</td><td>4 X 5 = 20</td><td>4 X 6 = 24</td><td>4 X 7 = 28</td><td>4 X 8 = 32</td><td>4 X 9 = 36</td></tr><tr><td>5 X 1 = 5</td><td>5 X 2 = 10</td><td>5 X 3 = 15</td><td>5 X 4 = 20</td><td>5 X 5 = 25</td><td>5 X 6 = 30</td><td>5 X 7 = 35</td><td>5 X 8 = 40</td><td>5 X 9 = 45</td></tr><tr><td>6 X 1 = 6</td><td>6 X 2 = 12</td><td>6 X 3 = 18</td><td>6 X 4 = 24</td><td>6 X 5 = 30</td><td>6 X 6 = 36</td><td>6 X 7 = 42</td><td>6 X 8 = 48</td><td>6 X 9 = 54</td></tr><tr><td>7 X 1 = 7</td><td>7 X 2 = 14</td><td>7 X 3 = 21</td><td>7 X 4 = 28</td><td>7 X 5 = 35</td><td>7 X 6 = 42</td><td>7 X 7 = 49</td><td>7 X 8 = 56</td><td>7 X 9 = 63</td></tr><tr><td>8 X 1 = 8</td><td>8 X 2 = 16</td><td>8 X 3 = 24</td><td>8 X 4 = 32</td><td>8 X 5 = 40</td><td>8 X 6 = 48</td><td>8 X 7 = 56</td><td>8 X 8 = 64</td><td>8 X 9 = 72</td></tr><tr><td>9 X 1 = 9</td><td>9 X 2 = 18</td><td>9 X 3 = 27</td><td>9 X 4 = 36</td><td>9 X 5 = 45</td><td>9 X 6 = 54</td><td>9 X 7 = 63</td><td>9 X 8 = 72</td><td>9 X 9 = 81</td></tr></table>
Output for hhvm-3.10.0

Process exited with code 153.