3v4l.org

run code in 200+ php & hhvm versions
<?php for($i==1;$i<13;$i++){ $myarray=date('d',strtotime($i.'/01/'.date('Y').' tuesday')); }
Output for 7.1.25 - 7.4.0beta4
Notice: Undefined variable: i in /in/uNuT8 on line 3 Notice: Undefined variable: i in /in/uNuT8 on line 3 Notice: Undefined variable: i in /in/uNuT8 on line 4 Notice: Undefined variable: i in /in/uNuT8 on line 3