3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for($i;$i<10;$i++){ echo $i."</br>"; }
Output for 5.1.0 - 5.6.28, 7.0.0 - 7.1.0
Notice: Undefined variable: i in /in/2bhMP on line 2 Notice: Undefined variable: i in /in/2bhMP on line 3 </br> Notice: Undefined variable: i in /in/2bhMP on line 2 1</br>2</br>3</br>4</br>5</br>6</br>7</br>8</br>9</br>
Output for hhvm-3.10.0 - 3.12.0
Notice: Undefined variable: i in /in/2bhMP on line 4 Notice: Undefined variable: i in /in/2bhMP on line 2 Notice: Undefined variable: i in /in/2bhMP on line 3 </br> Notice: Undefined variable: i in /in/2bhMP on line 2 1</br>2</br>3</br>4</br>5</br>6</br>7</br>8</br>9</br>
Output for 5.0.4 - 5.0.5
Notice: Undefined variable: i in /in/2bhMP on line 2 Notice: Undefined variable: i in /in/2bhMP on line 2 Notice: Undefined variable: i in /in/2bhMP on line 3 </br> Notice: Undefined variable: i in /in/2bhMP on line 2 1</br>2</br>3</br>4</br>5</br>6</br>7</br>8</br>9</br>
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: i in /in/2bhMP on line 2 Notice: Undefined variable: i in /in/2bhMP on line 2 Notice: Undefined variable: i in /in/2bhMP on line 3 </br> Notice: Undefined variable: i in /in/2bhMP on line 2 1</br>2</br>3</br>4</br>5</br>6</br>7</br>8</br>9</br>