3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php for($i;$i<10;$i++){ echo $i."</br>"; }
Output for 5.1.0 - 7.2.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 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>