3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $da='2014-04-26'; $date = strtotime($da .' -6 months'); $final=date('Y-m-d', $date); echo $final1; ?>
Output for 5.0.4 - 7.1.7
Notice: Undefined variable: final1 in /in/3BE1c on line 7
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: final1 in /in/3BE1c on line 7