3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo str_pad($fldDob_Day, 2, '0', PAD_LEFT);
Output for 7.2.0 - 7.2.6
Notice: Undefined variable: fldDob_Day in /in/vb3si on line 3 Warning: Use of undefined constant PAD_LEFT - assumed 'PAD_LEFT' (this will throw an Error in a future version of PHP) in /in/vb3si on line 3 Warning: str_pad() expects parameter 4 to be integer, string given in /in/vb3si on line 3
Output for 7.0.0 - 7.1.20
Notice: Undefined variable: fldDob_Day in /in/vb3si on line 3 Notice: Use of undefined constant PAD_LEFT - assumed 'PAD_LEFT' in /in/vb3si on line 3 Warning: str_pad() expects parameter 4 to be integer, string given in /in/vb3si on line 3
Output for 5.3.0 - 5.6.28
Notice: Undefined variable: fldDob_Day in /in/vb3si on line 3 Notice: Use of undefined constant PAD_LEFT - assumed 'PAD_LEFT' in /in/vb3si on line 3 Warning: str_pad() expects parameter 4 to be long, string given in /in/vb3si on line 3
Output for 5.0.4 - 5.2.17
Notice: Undefined variable: fldDob_Day in /in/vb3si on line 3 Notice: Use of undefined constant PAD_LEFT - assumed 'PAD_LEFT' in /in/vb3si on line 3 00
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: fldDob_Day in /in/vb3si on line 3 Notice: Use of undefined constant PAD_LEFT - assumed 'PAD_LEFT' in /in/vb3si on line 3 00