3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for($i;$i<=9;$i+=1) { for($j;$j<=$i;$j+=1) { echo $i."*".$j."=".$i*$j; if($i<>$j) { echo "\t"; } else { echo "<br>"; } } }
Output for 7.0.0 - 7.1.0
Notice: Undefined variable: i in /in/PKXuY on line 2 Notice: Undefined variable: j in /in/PKXuY on line 4 Notice: Undefined variable: i in /in/PKXuY on line 4 Notice: Undefined variable: i in /in/PKXuY on line 6 Notice: Undefined variable: j in /in/PKXuY on line 6 Notice: Undefined variable: i in /in/PKXuY on line 6 Notice: Undefined variable: j in /in/PKXuY on line 6 *=0 Notice: Undefined variable: i in /in/PKXuY on line 7 Notice: Undefined variable: j in /in/PKXuY on line 7 <br> Notice: Undefined variable: j in /in/PKXuY on line 4 Notice: Undefined variable: i in /in/PKXuY on line 4 Notice: Undefined variable: i in /in/PKXuY on line 2 1*1=1<br>2*2=4<br>3*3=9<br>4*4=16<br>5*5=25<br>6*6=36<br>7*7=49<br>8*8=64<br>9*9=81<br>
Output for hhvm-3.10.0 - 3.12.0
Notice: Undefined variable: i in /in/PKXuY on line 16 Notice: Undefined variable: i in /in/PKXuY on line 2 Notice: Undefined variable: j in /in/PKXuY on line 15 Notice: Undefined variable: i in /in/PKXuY on line 4 Notice: Undefined variable: j in /in/PKXuY on line 4 Notice: Undefined variable: i in /in/PKXuY on line 6 Notice: Undefined variable: j in /in/PKXuY on line 6 Notice: Undefined variable: j in /in/PKXuY on line 6 Notice: Undefined variable: i in /in/PKXuY on line 6 *=0 Notice: Undefined variable: j in /in/PKXuY on line 7 Notice: Undefined variable: i in /in/PKXuY on line 7 <br> Notice: Undefined variable: i in /in/PKXuY on line 4 1*1=1<br>2*2=4<br>3*3=9<br>4*4=16<br>5*5=25<br>6*6=36<br>7*7=49<br>8*8=64<br>9*9=81<br>
Output for 5.1.0 - 5.6.28
Notice: Undefined variable: i in /in/PKXuY on line 2 Notice: Undefined variable: i in /in/PKXuY on line 4 Notice: Undefined variable: j in /in/PKXuY on line 4 Notice: Undefined variable: i in /in/PKXuY on line 6 Notice: Undefined variable: j in /in/PKXuY on line 6 Notice: Undefined variable: j in /in/PKXuY on line 6 Notice: Undefined variable: i in /in/PKXuY on line 6 *=0 Notice: Undefined variable: j in /in/PKXuY on line 7 Notice: Undefined variable: i in /in/PKXuY on line 7 <br> Notice: Undefined variable: j in /in/PKXuY on line 4 Notice: Undefined variable: i in /in/PKXuY on line 4 Notice: Undefined variable: i in /in/PKXuY on line 2 1*1=1<br>2*2=4<br>3*3=9<br>4*4=16<br>5*5=25<br>6*6=36<br>7*7=49<br>8*8=64<br>9*9=81<br>
Output for 5.0.4 - 5.0.5
Notice: Undefined variable: i in /in/PKXuY on line 2 Notice: Undefined variable: i in /in/PKXuY on line 2 Notice: Undefined variable: j in /in/PKXuY on line 4 Notice: Undefined variable: j in /in/PKXuY on line 4 Notice: Undefined variable: i in /in/PKXuY on line 4 Notice: Undefined variable: i in /in/PKXuY on line 6 Notice: Undefined variable: j in /in/PKXuY on line 6 Notice: Undefined variable: i in /in/PKXuY on line 6 Notice: Undefined variable: j in /in/PKXuY on line 6 *=0 Notice: Undefined variable: i in /in/PKXuY on line 7 Notice: Undefined variable: j in /in/PKXuY on line 7 <br> Notice: Undefined variable: j in /in/PKXuY on line 4 Notice: Undefined variable: i in /in/PKXuY on line 4 Notice: Undefined variable: i in /in/PKXuY on line 2 1*1=1<br>2*2=4<br>3*3=9<br>4*4=16<br>5*5=25<br>6*6=36<br>7*7=49<br>8*8=64<br>9*9=81<br>
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: i in /in/PKXuY on line 2 Notice: Undefined variable: i in /in/PKXuY on line 2 Notice: Undefined variable: j in /in/PKXuY on line 4 Notice: Undefined variable: j in /in/PKXuY on line 4 Notice: Undefined variable: i in /in/PKXuY on line 4 Notice: Undefined variable: i in /in/PKXuY on line 6 Notice: Undefined variable: j in /in/PKXuY on line 6 Notice: Undefined variable: i in /in/PKXuY on line 6 Notice: Undefined variable: j in /in/PKXuY on line 6 *=0 Notice: Undefined variable: i in /in/PKXuY on line 7 Notice: Undefined variable: j in /in/PKXuY on line 7 <br> Notice: Undefined variable: j in /in/PKXuY on line 4 Notice: Undefined variable: i in /in/PKXuY on line 4 Notice: Undefined variable: i in /in/PKXuY on line 2 1*1=1<br>2*2=4<br>3*3=9<br>4*4=16<br>5*5=25<br>6*6=36<br>7*7=49<br>8*8=64<br>9*9=81<br>