3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $d=5; $num=1; for($a=1;$a<=$d;$a++) { for($b=0;$b<=$c;$b++) { echo " "; $num++; } echo " "; }
based on AXCAG
Output for 5.0.4 - 7.1.0
Notice: Undefined variable: c in /in/oMTX9 on line 7 Notice: Undefined variable: c in /in/oMTX9 on line 7 Notice: Undefined variable: c in /in/oMTX9 on line 7 Notice: Undefined variable: c in /in/oMTX9 on line 7 Notice: Undefined variable: c in /in/oMTX9 on line 7 Notice: Undefined variable: c in /in/oMTX9 on line 7 Notice: Undefined variable: c in /in/oMTX9 on line 7 Notice: Undefined variable: c in /in/oMTX9 on line 7 Notice: Undefined variable: c in /in/oMTX9 on line 7 Notice: Undefined variable: c in /in/oMTX9 on line 7
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: c in /in/oMTX9 on line 7 Notice: Undefined variable: c in /in/oMTX9 on line 7 Notice: Undefined variable: c in /in/oMTX9 on line 7 Notice: Undefined variable: c in /in/oMTX9 on line 7 Notice: Undefined variable: c in /in/oMTX9 on line 7 Notice: Undefined variable: c in /in/oMTX9 on line 7 Notice: Undefined variable: c in /in/oMTX9 on line 7 Notice: Undefined variable: c in /in/oMTX9 on line 7 Notice: Undefined variable: c in /in/oMTX9 on line 7 Notice: Undefined variable: c in /in/oMTX9 on line 7