3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php define('WORD','abcde'); for($w=WORD;$_=$w[$i++];print(chr(ord($_)+13)));
Output for 5.4.5 - 7.2.0
Notice: Undefined variable: i in /in/LTJgF on line 5 Notice: String offset cast occurred in /in/LTJgF on line 5 nopqr Notice: Uninitialized string offset: 5 in /in/LTJgF on line 5
Output for 5.4.0 - 5.4.4
Notice: Undefined variable: i in /in/LTJgF on line 5 Notice: String offset cast occured in /in/LTJgF on line 5 nopqr Notice: Uninitialized string offset: 5 in /in/LTJgF on line 5
Output for 5.2.10 - 5.3.29
Notice: Undefined variable: i in /in/LTJgF on line 5 nopqr Notice: Uninitialized string offset: 5 in /in/LTJgF on line 5
Output for 5.0.4 - 5.2.9
Notice: Undefined variable: i in /in/LTJgF on line 5 nopqr Notice: Uninitialized string offset: 5 in /in/LTJgF on line 5
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: i in /in/LTJgF on line 5 nopqr Notice: Uninitialized string offset: 5 in /in/LTJgF on line 5